/* DólarNews — shared site stylesheet (non-AMP). Mobile-first. */

* {
	box-sizing: border-box;
	font-family: 'Fira Sans', sans-serif;
}

body {
	margin: 0;
	color: #1a1a1a;
}

img {
	max-width: 100%;
	height: auto;
}

.content-width {
	width: 90%;
	max-width: 1100px;
	margin: 0 auto;
}

.content {
	padding: 30px 0;
	line-height: 140%;
}

h1 {
	font-size: 180%;
	text-align: center;
}

h1.custom:after,
h2.custom:after {
	display: block;
	height: 2px;
	background-color: #19b5fe;
	content: ' ';
	width: 100px;
	margin: 20px auto 0;
}

h2 {
	font-size: 150%;
	text-align: center;
	margin-bottom: 20px;
	letter-spacing: 1px;
}

.sub-text {
	text-align: center;
	font-weight: 400;
	color: #6b7280;
}

/* Header / nav */
.site-header {
	background: #0B0C10;
	position: sticky;
	top: 0;
	z-index: 999;
}

.site-header .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img {
	height: 48px;
	width: auto;
	display: block;
}

.nav-toggle {
	background: none;
	border: 0;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	display: inline-block;
}

.links {
	display: none;
	flex-direction: column;
	width: 100%;
	padding-bottom: 10px;
}

.links.open {
	display: flex;
}

.links .link {
	color: #fff;
	text-decoration: none;
	padding: 10px 0;
	border-top: 1px solid #23242b;
}

.links .link:hover {
	color: #19b5fe;
}

.nav-dropdown summary {
	cursor: pointer;
	list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
	display: none;
}

.nav-dropdown summary::after {
	content: ' ▾';
	font-size: 11px;
}

.dropdown-menu {
	display: flex;
	flex-direction: column;
	padding-left: 12px;
}

.dropdown-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
	padding: 8px 0;
	font-size: 14px;
}

.dropdown-menu a:hover {
	color: #19b5fe;
}

.top-ad {
	text-align: center;
	padding: 8px 0;
	overflow: hidden;
}

.top-ad ins {
	max-width: 100%;
}

.ad-middle {
	text-align: center;
	padding: 24px 0;
}

/* Clima financiero */
.clima-financiero {
	background: #eef2f7;
	border-bottom: 1px solid #dbe2ea;
}

.clima-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
}

.clima-icono {
	font-size: 32px;
	line-height: 1;
	flex-shrink: 0;
}

.clima-texto {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.clima-texto strong {
	font-size: 15px;
	color: #1a1a1a;
}

.clima-detalle {
	font-size: 12px;
	color: #6b7280;
}

@media only screen and (max-width: 600px) {
	.clima-detalle {
		display: block;
	}
}

/* Acciones (estrellas) */
.acciones-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 10px;
}

.acciones-columna {
	flex: 1 1 320px;
	background: #fff;
	border: 1px solid #edecec;
	border-radius: 6px;
	padding: 16px;
}

.acciones-titulo {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #6b7280;
	margin: 0 0 10px;
	text-align: left;
}

.accion-fila {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #f3f4f6;
	flex-wrap: wrap;
}

.accion-fila:last-child {
	border-bottom: none;
}

.accion-ticker {
	font-weight: 700;
	width: 55px;
	flex-shrink: 0;
}

.accion-nombre {
	flex: 1;
	color: #6b7280;
	font-size: 13px;
	min-width: 100px;
}

.accion-estrellas {
	font-size: 15px;
	letter-spacing: 1px;
	white-space: nowrap;
}

.estrellas-verde {
	color: #16a34a;
}

.estrellas-gris {
	color: #9ca3af;
}

.estrellas-rojo {
	color: #dc2626;
}

.accion-var {
	font-size: 13px;
	font-weight: 600;
	width: 60px;
	text-align: right;
	flex-shrink: 0;
}

.var-positiva {
	color: #16a34a;
}

.var-negativa {
	color: #dc2626;
}

/* Price cards */
#plans {
	background: #f8faff;
}

#plans .content {
	padding: 30px 0;
}

.plans-container {
	margin: 10px auto 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.columns,
.columnsx1,
.columnsx2,
.columnsx5 {
	width: 100%;
}

.plan {
	flex: 1 1 220px;
	border: 1px solid #edecec;
	background: #fff;
	list-style-type: none;
	margin: 0;
	padding: 0;
	box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.1);
}

.plan .header {
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 600;
	padding: 16px 10px;
	text-align: center;
	border-bottom: 1px solid #edecec;
}

.plan li {
	border-bottom: 1px solid #edecec;
	padding: 14px;
	text-align: center;
}

.plan li:last-child {
	border-bottom: none;
}

.plan .pricing-container {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	border-bottom: 1px solid #edecec;
}

.plan .pricing-container .columnsx1,
.plan .pricing-container .columnsx2 {
	padding: 14px;
	border: none;
}

.plan .pricing-container .columnsx2 {
	width: 50%;
	border-right: 1px solid #edecec;
}

.plan .pricing-container .columnsx2:last-child {
	border-right: none;
}

.plan .pricing {
	font-size: 32px;
	font-weight: 700;
}

.plan .title-pricing {
	font-size: 13px;
	text-transform: uppercase;
	color: #6b7280;
}

.comentarios_monedas {
	font-size: 12px;
	color: #6b7280;
}

/* News list */
#services {
	display: flex;
	flex-direction: column;
}

.services-info {
	padding: 30px 0;
}

.services-info ul {
	margin: 0;
	padding: 0;
}

.services-info ul li {
	list-style: none;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #edecec;
}

.services-info h3 {
	margin-bottom: 6px;
}

.services-info p {
	color: #4b5563;
}

.services-info .news-source {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #6b7280;
	font-size: 13px;
}

.services-info .news-source img {
	width: 18px;
	height: 18px;
}

.services-info .noticia-card {
	background: #f8faff;
	border: 1px solid #edecec;
	border-radius: 6px;
	padding: 16px;
	margin: 0 -16px 30px;
}

.services-info h3 a {
	color: inherit;
	text-decoration: none;
}

.services-info h3 a:hover {
	color: #19b5fe;
}

.noticia-titulo {
	display: flex;
	align-items: center;
	gap: 8px;
}

.logo-mini {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	object-fit: cover;
}

.articulo-cuerpo p {
	margin-bottom: 16px;
	line-height: 1.6;
}

.articulo-imagen {
	display: block;
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	border-radius: 8px;
	margin: 16px 0 24px;
}

.ver-todas {
	list-style: none;
	text-align: center;
	border-bottom: none !important;
}

.ver-todas a {
	color: #19b5fe;
	font-weight: 600;
	text-decoration: none;
}

.ver-todas a:hover {
	text-decoration: underline;
}

.pagina-intro {
	font-size: 16px;
	color: #4b5563;
	border-left: 4px solid #19b5fe;
	padding-left: 16px;
	margin-bottom: 30px;
}

.pagina-seccion {
	margin-bottom: 26px;
}

.pagina-seccion h2 {
	font-size: 130%;
	text-align: left;
	margin-bottom: 10px;
}

.pagina-cuerpo {
	color: #374151;
	line-height: 1.6;
}

.pagina-cuerpo p {
	margin-bottom: 12px;
}

.pagina-cuerpo ul {
	margin: 0 0 12px 20px;
	padding: 0;
}

.pagina-cuerpo li {
	margin-bottom: 6px;
}

.articulos-paginacion {
	margin-top: 20px;
	display: flex;
	justify-content: center;
}

.articulos-paginacion nav > div {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
}

.articulos-paginacion a,
.articulos-paginacion span {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid #edecec;
	border-radius: 4px;
	color: #374151;
	text-decoration: none;
	font-size: 14px;
}

.articulos-paginacion a:hover {
	background: #f8faff;
	border-color: #19b5fe;
}

/* Footer */
footer {
	background-color: #0B0C10;
	color: #fff;
}

footer a {
	color: #fff;
	text-decoration: none;
}

footer a:hover {
	color: #19b5fe;
	text-decoration: underline;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.footer-item {
	flex: 1 1 200px;
}

.footer-item h2 {
	font-size: 130%;
	text-align: left;
}

.footer-item ul {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

.footer-item ul li {
	margin-bottom: 6px;
	font-size: 14px;
}

.social ul {
	display: flex;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.social ul li a {
	color: #ebebeb;
	font-size: 20px;
}

.meta-content {
	font-size: 13px;
	color: #9ca3af;
	margin-top: 20px;
}

/* Tablet and up */
@media only screen and (min-width: 768px) {
	.nav-toggle {
		display: none;
	}

	.links {
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		gap: 18px;
		width: auto;
		padding-bottom: 0;
	}

	.links .link {
		border-top: none;
		padding: 0;
	}

	.nav-dropdown {
		position: relative;
	}

	.dropdown-menu {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		margin-top: 12px;
		min-width: 200px;
		background: #0B0C10;
		border: 1px solid #23242b;
		border-radius: 4px;
		padding: 6px 0;
		box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
	}

	.nav-dropdown[open] .dropdown-menu {
		display: flex;
	}

	.dropdown-menu a {
		padding: 8px 16px;
		white-space: nowrap;
	}

	.columns {
		width: calc(25% - 9px);
	}

	.columnsx5 {
		width: calc(20% - 10px);
	}

	#services {
		flex-direction: row;
		gap: 40px;
	}

	.services-info {
		flex: 1;
	}
}
