/* ==========================================================================
   Calcular Sueldo — theme.css
   Desarrollo LM ♣
   ========================================================================== */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/roboto-latin-900-normal.woff2") format("woff2"); }

:root {
	--cs-navy: #004b93;
	--cs-navy-2: #00356b;
	--cs-night: #0e1b2e;
	--cs-footer: #0b1f3a;
	--cs-ink: #10223d;
	--cs-muted: #4f5b6b;
	--cs-line: #e3e8ef;
	--cs-cel: #3172ae;
	--cs-cel-soft: #a9d6f2;
	--cs-tint: #eef5fb;
	--cs-acc: #c2187f;
	--cs-acc-light: #ff8bda;
	--cs-wa: #0e7a40;
	--cs-radius: 10px;
	--cs-contenedor: 1200px;
	--cs-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--cs-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--cs-ink);
	background: #fff;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--cs-navy); }
button { font-family: inherit; }
.cs-icon { display: block; flex: none; }

.cs-contenedor { width: 100%; max-width: var(--cs-contenedor); margin: 0 auto; padding: 0 24px; }
.cs-sr, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.cs-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cs-navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.cs-skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cs-cel); outline-offset: 2px; }

/* ---------- Barra de datos (celeste) ---------- */
.cs-topbar { background: var(--cs-cel); color: #fff; font-size: 13px; }
.cs-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 20px; overflow: hidden; white-space: nowrap; }
.cs-topbar__data { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; min-width: 0; }
.cs-topbar__data li { display: flex; align-items: center; }
.cs-topbar__data li + li::before { content: ""; width: 1px; height: 14px; background: rgba(255, 255, 255, .35); margin: 0 18px; }
.cs-topbar__data a { color: #fff; text-decoration: none; }
.cs-topbar__data a:hover b { text-decoration: underline; }
.cs-topbar__k { color: #fff; margin-right: 6px; }
.cs-topbar b { font-weight: 700; }
.cs-show-sm { display: none; }

.cs-redes { display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cs-redes a { color: #fff; display: flex; padding: 4px; border-radius: 50%; }
.cs-redes a:hover { opacity: .8; }
.cs-topbar__social .cs-icon { width: 16px; height: 16px; }

/* ---------- Encabezado ---------- */
.cs-header { background: #fff; border-bottom: 1px solid var(--cs-line); position: relative; z-index: 20; }
.cs-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 92px; }
.cs-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cs-navy); }
.cs-logo__img { display: block; width: auto; max-height: 60px; max-width: 300px; }
.cs-logo--text span { font-weight: 900; font-size: 25px; letter-spacing: -.01em; white-space: nowrap; }
.cs-logo--text svg { width: 48px; height: 48px; }

.cs-header__search { flex: 0 1 400px; }
.cs-search { display: flex; width: 100%; border: 1.5px solid var(--cs-line); border-radius: 999px; overflow: hidden; background: #fff; }
.cs-search:focus-within { border-color: var(--cs-cel); }
.cs-search__input { flex: 1; min-width: 0; border: 0; padding: 0 20px; height: 46px; font: inherit; font-size: 15px; color: var(--cs-ink); background: transparent; outline: none; }
.cs-search__input::-webkit-search-cancel-button { display: none; }
.cs-search__btn { border: 0; width: 56px; background: #eef2f6; color: var(--cs-navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cs-search__btn:hover { background: #e2e8ef; }

.cs-header__actions { display: none; align-items: center; gap: 2px; }
.cs-iconbtn { width: 46px; height: 46px; border: 0; background: none; color: var(--cs-navy); display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.cs-iconbtn .cs-icon-close { display: none; }
.cs-menu-open .cs-iconbtn .cs-icon-open { display: none; }
.cs-menu-open .cs-iconbtn .cs-icon-close { display: block; }
.cs-round { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }
.cs-round--wa { background: var(--cs-wa); }
.cs-round--wa:hover { background: #0b6634; color: #fff; }

/* ---------- Menú ---------- */
.cs-nav { background: var(--cs-navy); }
.cs-nav__inner { display: flex; align-items: center; gap: 12px; min-height: 50px; }
.cs-menu { display: flex; flex-wrap: wrap; align-items: stretch; gap: 2px; margin: 0; padding: 0; list-style: none; flex: 1; min-width: 0; }
.cs-menu > li { position: relative; display: flex; }
.cs-menu > li > a {
	display: flex; align-items: center; min-height: 50px; padding: 0 13px;
	color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 700;
	border-bottom: 3px solid transparent; border-top: 3px solid transparent;
}
.cs-menu > li > a:hover,
.cs-menu > .current-menu-item > a,
.cs-menu > .current-menu-ancestor > a,
.cs-menu > .current-menu-parent > a { border-bottom-color: #fff; color: #fff; }
.cs-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 260px; margin: 0; padding: 8px 0; list-style: none;
	background: #fff; border-radius: 0 0 10px 10px; box-shadow: 0 16px 32px rgba(16, 34, 61, .18);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 30;
}
.cs-menu > li:hover > .sub-menu,
.cs-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cs-menu .sub-menu a { display: block; padding: 9px 18px; color: var(--cs-ink); text-decoration: none; font-size: 14.5px; }
.cs-menu .sub-menu a:hover { background: var(--cs-tint); color: var(--cs-navy); }
.cs-sub-toggle { display: none; }
.cs-nav__wa {
	display: flex; align-items: center; justify-content: center; flex: none;
	width: 36px; height: 36px; border-radius: 50%; background: var(--cs-wa); color: #fff; text-decoration: none;
}
.cs-nav__wa span { display: none; }
.cs-nav__wa:hover { background: #0b6634; color: #fff; }

/* ---------- Bloques comunes ---------- */
.cs-main { display: block; }
.cs-block { padding-top: 48px; }
.cs-block--tight { padding-top: 44px; }
.cs-grid { display: grid; gap: 28px; }
.cs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

.cs-sec { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; }
.cs-sec__title {
	display: flex; align-items: center; gap: 12px; margin: 0;
	font-size: 30px; line-height: 1.15; font-weight: 900; color: var(--cs-navy); letter-spacing: -.01em;
}
.cs-sec__title::before { content: ""; flex: none; width: 5px; height: 26px; border-radius: 3px; background: var(--cs-acc); }
.cs-sec__link { color: var(--cs-cel); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.cs-sec__link:hover { text-decoration: underline; }
.cs-sec--dark .cs-sec__title { color: #fff; }
.cs-sec--dark .cs-sec__title::before { background: var(--cs-acc-light); }

.cs-cat {
	display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .07em;
	text-transform: uppercase; color: var(--cs-acc); text-decoration: none;
}
a.cs-cat:hover { text-decoration: underline; }

.cs-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #dce7f2; }
.cs-media .cs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-media--empty { display: flex; align-items: center; justify-content: center; color: #8aa6c4; }

.cs-boton {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px; border-radius: 10px; border: 0; cursor: pointer;
	font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.cs-boton--primary { background: var(--cs-navy); color: #fff; }
.cs-boton--primary:hover { background: #003f7d; color: #fff; }
.cs-boton--wa { background: var(--cs-wa); color: #fff; min-height: 52px; }
.cs-boton--wa:hover { background: #0b6634; color: #fff; }
.cs-boton--outline { border: 2px solid var(--cs-navy); color: var(--cs-navy); background: #fff; }
.cs-boton--outline:hover { background: var(--cs-tint); }
.cs-more { text-align: center; margin: 40px 0 0; }
.cs-home > :last-child { padding-bottom: 56px; }

/* ---------- Tarjetas de nota ---------- */
.cs-nota { min-width: 0; }
.cs-nota__link { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; height: 100%; }
.cs-nota__body { display: flex; flex-direction: column; gap: 8px; }
.cs-nota__title { margin: 0; font-size: 20px; line-height: 1.22; font-weight: 900; color: var(--cs-ink); letter-spacing: -.005em; }
.cs-nota__link:hover .cs-nota__title { color: var(--cs-navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cs-nota__excerpt { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cs-muted); }
.cs-nota--hero .cs-nota__link { gap: 16px; }
.cs-nota--hero .cs-nota__title { font-size: 38px; line-height: 1.1; letter-spacing: -.015em; }
.cs-nota--hero .cs-nota__excerpt { font-size: 18px; }
.cs-nota--side .cs-nota__title { font-size: 22px; line-height: 1.18; }
.cs-nota--list .cs-nota__link { flex-direction: row-reverse; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--cs-line); }
.cs-nota--list .cs-media { flex: 0 0 136px; }
.cs-nota--list .cs-nota__body { flex: 1; min-width: 0; gap: 6px; }
.cs-nota--list .cs-nota__title { font-size: 17px; }

/* ---------- Home ---------- */
.cs-portada { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; padding-top: 32px; }
.cs-portada__side { display: flex; flex-direction: column; gap: 28px; }

.cs-ind { background: var(--cs-navy-2); color: #fff; margin-top: 48px; padding: 44px 0 48px; }
.cs-ind__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cs-ind__card {
	display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 12px; text-decoration: none; color: #fff;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); transition: background .15s;
}
.cs-ind__card:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cs-ind__label { font-size: 14px; font-weight: 700; color: var(--cs-cel-soft); }
.cs-ind__value { font-size: 34px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.cs-ind__sub { font-size: 13px; color: var(--cs-cel-soft); }
.cs-ind__link { font-size: 14px; font-weight: 700; color: var(--cs-acc-light); margin-top: 8px; }

.cs-calc { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.cs-calc__tile {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 18px; text-align: center;
	background: var(--cs-navy); color: #fff; font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.25;
}
.cs-calc__tile .cs-icon { color: var(--cs-acc-light); }
.cs-calc__title { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 900; color: var(--cs-ink); }
.cs-calc:hover .cs-calc__title { color: var(--cs-navy); text-decoration: underline; text-underline-offset: 3px; }

.cs-canal {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	background: var(--cs-night); color: #fff; border-radius: 16px; padding: 30px 36px;
}
.cs-canal__kicker { color: var(--cs-acc-light); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cs-canal__title { margin: 8px 0 6px; font-size: 26px; line-height: 1.2; font-weight: 900; }
.cs-canal__sub { margin: 0; color: #b8c4d3; font-size: 15px; }
.cs-canal--inline { padding: 22px 26px; margin: 30px 0; }
.cs-canal--inline .cs-canal__title { font-size: 20px; }
.cs-canal--inline .cs-canal__sub { font-size: 14px; }

.cs-tools { background: var(--cs-navy); color: #fff; margin-top: 52px; padding: 48px 0; }
.cs-tools__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.cs-tools__name { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--cs-cel-soft); font-weight: 700; }
.cs-tools ul { margin: 0; padding: 0; list-style: none; }
.cs-tools a { display: block; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-size: 15px; }
.cs-tools a:hover { text-decoration: underline; color: #fff; }

/* ---------- Listados ---------- */
.cs-archive { padding-top: 32px; padding-bottom: 56px; }
.cs-archive__head { margin-bottom: 8px; }
.cs-archive__desc { color: var(--cs-muted); font-size: 17px; max-width: 760px; margin: -8px 0 24px; }
.cs-archive__search { max-width: 560px; margin-bottom: 28px; }
.cs-empty { padding: 24px; background: var(--cs-tint); border-radius: 12px; }
.cs-pagination { margin-top: 44px; }
.cs-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.cs-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	border: 1.5px solid var(--cs-line); border-radius: 10px; color: var(--cs-navy); text-decoration: none; font-weight: 700;
}
.cs-pagination .page-numbers.current { background: var(--cs-navy); border-color: var(--cs-navy); color: #fff; }
.cs-pagination .page-numbers.dots { border: 0; }
.cs-crumbs { font-size: 13px; color: var(--cs-muted); margin-bottom: 16px; }
.cs-crumbs a { color: var(--cs-cel); font-weight: 700; text-decoration: none; }
.cs-crumbs a:hover { text-decoration: underline; }

/* ---------- Nota ---------- */
.cs-single { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 28px; padding-bottom: 56px; }
.cs-article { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.cs-aside { flex: 1 1 300px; max-width: 320px; }
.cs-aside__sticky { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 24px; }
.cs-page .cs-article { max-width: 860px; margin: 0 auto; }
.cs-page { padding-top: 28px; padding-bottom: 56px; }

.cs-article__title { margin: 10px 0 14px; font-size: 42px; line-height: 1.1; font-weight: 900; letter-spacing: -.015em; }
.cs-article__dek { margin: 0 0 20px; font-size: 20px; line-height: 1.45; color: var(--cs-muted); }
.cs-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 14px 0 12px; border-top: 1px solid var(--cs-line); font-size: 14px; color: var(--cs-muted); }
.cs-author { display: flex; align-items: center; gap: 10px; color: var(--cs-ink); text-decoration: none; font-size: 15px; }
.cs-author strong { color: var(--cs-navy); }
.cs-author:hover strong { text-decoration: underline; }
.cs-author__img { border-radius: 50%; width: 44px; height: 44px; background: #dce7f2; }
.cs-article__dates time { white-space: nowrap; }

.cs-share { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-share--top { padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--cs-line); }
.cs-share__btn {
	display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px;
	border: 1.5px solid var(--cs-line); background: #fff; color: var(--cs-ink); font: inherit; font-size: 14px; font-weight: 700;
	text-decoration: none; cursor: pointer;
}
.cs-share__btn:hover { border-color: var(--cs-navy); color: var(--cs-navy); }
.cs-share__btn--whatsapp { background: var(--cs-wa); border-color: var(--cs-wa); color: #fff; }
.cs-share__btn--whatsapp:hover { background: #0e7a40; border-color: #0b6634; color: #fff; }

.cs-article__figure { margin: 0 0 8px; }
.cs-article__figure .cs-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #dce7f2; }
.cs-article__figure figcaption { font-size: 13px; color: var(--cs-muted); margin-top: 8px; }

/* Texto de la nota */
.cs-content { font-size: 18.5px; line-height: 1.7; margin-top: 24px; overflow-wrap: break-word; }
.cs-content > * { margin-top: 0; margin-bottom: 22px; }
.cs-content h2 { font-size: 27px; line-height: 1.25; margin: 38px 0 16px; font-weight: 900; color: var(--cs-navy); }
.cs-content h3 { font-size: 22px; line-height: 1.3; margin: 30px 0 12px; font-weight: 900; }
.cs-content h4 { font-size: 19px; margin: 26px 0 10px; font-weight: 900; }
.cs-content a { color: var(--cs-navy); text-decoration: underline; text-underline-offset: 2px; }
.cs-content a:hover { color: var(--cs-acc); }
.cs-content ul, .cs-content ol { padding-left: 1.3em; }
.cs-content li { margin-bottom: 8px; }
.cs-content blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--cs-acc); font-size: 20px; color: var(--cs-ink); }
.cs-content img { border-radius: 8px; }
.cs-content figure { margin-left: 0; margin-right: 0; }
.cs-content figcaption { font-size: 13px; color: var(--cs-muted); margin-top: 8px; line-height: 1.4; }
.cs-content .wp-block-table, .cs-content .cs-table-wrap { overflow-x: auto; }
.cs-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.cs-content th { background: var(--cs-navy); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; }
.cs-content td { padding: 11px 14px; border-bottom: 1px solid var(--cs-line); }
.cs-content tr:nth-child(even) td { background: #f7fafd; }
.cs-content iframe { width: 100%; border: 0; }
.cs-content .wp-block-table table, .cs-content .wp-block-table th, .cs-content .wp-block-table td, .cs-content .wp-block-table thead { border: 0; }
.cs-content .wp-block-table td { border-bottom: 1px solid var(--cs-line); }
.cs-content td > p, .cs-content th > p, .cs-content li > p { margin: 0; }
.cs-content .wp-block-table figcaption { text-align: left; }
.cs-content .cs-canal a.cs-boton, .cs-content .cs-calc-cta a.cs-boton { color: #fff; text-decoration: none; }
.cs-content .cs-canal, .cs-content .cs-calc-cta, .cs-content .cs-sugerida { font-size: 16px; }

.cs-content .wp-block-embed__wrapper iframe { aspect-ratio: 16 / 9; height: auto; }

/* Sugerida entre párrafos */
.cs-sugerida { margin: 8px 0 30px; }
.cs-sugerida a {
	display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: center;
	padding: 14px; background: var(--cs-tint); border-radius: 12px; text-decoration: none; color: inherit;
}
.cs-sugerida a:not(:has(.cs-media)) { grid-template-columns: 1fr; }
.cs-sugerida .cs-media { aspect-ratio: 16 / 10; }
.cs-sugerida__body { display: block; }
.cs-sugerida__label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--cs-acc); margin-bottom: 6px; line-height: 1.2; }
.cs-sugerida__label::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--cs-acc); }
.cs-sugerida__title { display: block; font-size: 19px; line-height: 1.3; font-weight: 900; color: var(--cs-ink); }
.cs-sugerida a:hover .cs-sugerida__title { color: var(--cs-navy); text-decoration: underline; }

/* Recuadro calculadora en la nota */
.cs-calc-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	border: 2px solid var(--cs-navy); border-radius: 12px; padding: 18px 22px; margin: 4px 0 30px; line-height: 1.35;
}
.cs-calc-cta__title { display: block; font-size: 18px; font-weight: 900; color: var(--cs-navy); }
.cs-calc-cta__sub { display: block; font-size: 15px; color: var(--cs-muted); margin-top: 4px; }

/* Publicidad */
.cs-publi { margin: 26px 0; min-height: 280px; text-align: center; overflow: hidden; }
.cs-publi__label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #5f6b7a; margin-bottom: 6px; }
.cs-taboola { margin: 32px 0; }

/* Pie de la nota */
.cs-article__foot { border-top: 1px solid var(--cs-line); padding-top: 22px; margin-top: 10px; }
.cs-article__share-title { margin: 0 0 12px; font-weight: 700; font-size: 15px; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.cs-tags a { display: inline-block; font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: var(--cs-tint); color: var(--cs-navy); text-decoration: none; }
.cs-tags a:hover { background: #dde9f5; }
.cs-related { margin-top: 44px; }
.cs-related .cs-sec__title { font-size: 26px; }
.cs-related .cs-nota__title { font-size: 17px; }

/* Columna lateral */
.cs-aside-calc {
	display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 12px;
	background: var(--cs-navy); color: #fff; text-decoration: none;
}
.cs-aside-calc:hover { background: #003f7d; color: #fff; }
.cs-aside-calc__kicker { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--cs-cel-soft); }
.cs-aside-calc__title { font-size: 22px; line-height: 1.2; font-weight: 900; }
.cs-aside-calc__desc { font-size: 14.5px; line-height: 1.5; color: #d6e6f5; }
.cs-aside-calc__btn {
	margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px;
	border-radius: 10px; background: #fff; color: var(--cs-navy); font-weight: 900; font-size: 15px;
}
.cs-box { border: 1px solid var(--cs-line); border-radius: 12px; padding: 20px; }
.cs-box__title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 19px; font-weight: 900; color: var(--cs-navy); }
.cs-box__title::before { content: ""; flex: none; width: 5px; height: 22px; border-radius: 3px; background: var(--cs-acc); }
.cs-box__list { margin: 0; padding: 0; list-style: none; }
.cs-box__list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--cs-line); color: var(--cs-ink); text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.35; }
.cs-box__list li:last-child a { border-bottom: 0; }
.cs-box__list a:hover { color: var(--cs-navy); text-decoration: underline; }
.cs-box__all { color: var(--cs-acc) !important; }
.cs-box__list--ranked { counter-reset: cs-rank; }
.cs-box__list--ranked li { counter-increment: cs-rank; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; }
.cs-box__list--ranked li::before { content: counter(cs-rank); font-size: 24px; font-weight: 900; color: var(--cs-acc); line-height: 1; padding-top: 9px; }
.cs-box__list--ranked a { justify-content: flex-start; }

/* Widgets (columna de calculadoras y pie) */
.cs-widget__title { margin: 0 0 12px; font-size: 18px; color: var(--cs-navy); font-weight: 900; }
.cs-footer .cs-widget__title { font-size: 14px; color: #fff; font-weight: 700; }

/* ---------- Pie ---------- */
.cs-footer { background: var(--cs-footer); color: #c9d4e2; font-size: 14px; margin-top: 0; }
.cs-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.cs-footer .cs-logo { color: #fff; }
.cs-footer .cs-logo--text span { font-size: 19px; }
.cs-footer .cs-logo--text svg { width: 40px; height: 40px; }
.cs-footer__brand p { margin: 16px 0 18px; line-height: 1.55; max-width: 300px; }
.cs-footer__social { gap: 10px; }
.cs-footer__social a { width: 36px; height: 36px; justify-content: center; align-items: center; background: rgba(255, 255, 255, .1); }
.cs-footer ul { margin: 0; padding: 0; list-style: none; }
.cs-footer__col a, .cs-footer .cs-widget a { display: block; padding: 5px 0; color: #c9d4e2; text-decoration: none; }
.cs-footer__col a:hover { color: #fff; text-decoration: underline; }
.cs-footer .cs-widget p { margin: 0 0 8px; }
.cs-footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); }
.cs-footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; }


/* ---------- Todas las calculadoras ---------- */
.cs-ix { padding-top: 24px; padding-bottom: 56px; }
.cs-ix__head { padding: 8px 0 12px; }
.cs-ix__title { margin: 8px 0 10px; font-size: 42px; line-height: 1.1; font-weight: 900; letter-spacing: -.015em; }
.cs-ix__dek { margin: 0 0 22px; font-size: 19px; color: var(--cs-muted); max-width: 760px; }
.cs-ix__search { display: flex; align-items: center; gap: 4px; max-width: 680px; border: 2px solid var(--cs-navy); border-radius: 14px; padding-left: 16px; color: var(--cs-navy); background: #fff; }
.cs-ix__search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; height: 58px; font: inherit; font-size: 18px; color: var(--cs-ink); outline: none; background: transparent; }
.cs-ix__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.cs-ix__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--cs-line); color: var(--cs-ink); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.cs-ix__chips a:hover { border-color: var(--cs-navy); color: var(--cs-navy); }
.cs-ix__top, .cs-ix__group { margin-top: 38px; scroll-margin-top: 16px; }
.cs-ix__topgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cs-ix__toptile { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 16px; background: var(--cs-navy); color: #fff; text-decoration: none; font-weight: 900; font-size: 19px; line-height: 1.2; }
.cs-ix__toptile:hover { background: #003f7d; color: #fff; }
.cs-ix__topico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; color: var(--cs-acc-light); }
.cs-ix__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cs-ix__tile { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border: 1px solid var(--cs-line); border-radius: 12px; color: var(--cs-ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.25; }
.cs-ix__tile:hover { border-color: var(--cs-navy); color: var(--cs-navy); }
.cs-ix__ico { width: 34px; height: 34px; border-radius: 9px; background: var(--cs-tint); color: var(--cs-navy); display: flex; align-items: center; justify-content: center; flex: none; }
.cs-ix__empty { margin: 28px 0 0; padding: 20px; background: var(--cs-tint); border-radius: 12px; font-weight: 700; }
.cs-ix__content { max-width: 820px; margin-top: 48px; }
.cs-ix__canal { margin-top: 44px; }
[hidden] { display: none !important; }
@media (max-width: 1080px) { .cs-ix__tiles, .cs-ix__topgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
	.cs-ix { padding-top: 14px; }
	.cs-ix__title { font-size: 30px; }
	.cs-ix__dek { font-size: 16.5px; }
	.cs-ix__search input { height: 54px; font-size: 16px; }
	.cs-ix__tiles, .cs-ix__topgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cs-ix__toptile { padding: 16px; font-size: 16px; }
	.cs-ix__tile { font-size: 14px; padding: 10px; gap: 10px; }
	.cs-ix__ico { width: 30px; height: 30px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.cs-grid--4, .cs-ind__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-tools__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cs-footer__cols { grid-template-columns: 1fr 1fr; }
	.cs-topbar__social { display: none; }
}

@media (max-width: 900px) {
	.cs-portada { grid-template-columns: 1fr; gap: 28px; }
	.cs-portada__side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
	.cs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-aside { max-width: none; flex-basis: 100%; }
	.cs-aside__sticky { position: static; }
}

@media (max-width: 768px) {
	.cs-contenedor { padding: 0 16px; }

	/* Barra de datos: 3 datos fijos, sin scroll */
	.cs-topbar { font-size: 12px; }
	.cs-topbar__inner { height: 34px; }
	.cs-topbar__data { width: 100%; justify-content: space-between; }
	.cs-topbar__data li + li::before { display: none; }
	.cs-topbar__k { margin-right: 4px; }
	.cs-hide-sm { display: none; }
	.cs-show-sm { display: inline; }

	/* Encabezado */
	.cs-header { border-bottom: 3px solid var(--cs-navy); }
	.cs-header__inner { min-height: 64px; gap: 8px; padding-right: 6px; }
	.cs-logo__img { max-height: 42px; max-width: 210px; }
	.cs-logo--text svg { width: 36px; height: 36px; }
	.cs-logo--text span { font-size: 18px; }
	.cs-header__actions { display: flex; }
	.cs-header__search {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		padding: 12px 16px; background: #fff; box-shadow: 0 14px 24px rgba(16, 34, 61, .16);
	}
	.cs-search-open .cs-header__search { display: block; }

	/* Menú desplegable */
	.cs-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 18px 30px rgba(16, 34, 61, .22); max-height: calc(100vh - 100px); overflow-y: auto; }
	.cs-menu-open .cs-nav { display: block; }
	.cs-nav__inner { display: block; padding: 0; }
	.cs-menu { display: block; }
	.cs-menu > li { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--cs-line); }
	.cs-menu > li > a { flex: 1; color: var(--cs-ink); min-height: 52px; padding: 0 18px; font-size: 16px; border: 0; }
	.cs-menu > li > a:hover, .cs-menu > .current-menu-item > a { color: var(--cs-navy); border: 0; }
	.cs-sub-toggle { display: flex; align-items: center; justify-content: center; width: 52px; border: 0; background: none; color: var(--cs-navy); cursor: pointer; }
	.cs-sub-toggle svg { transition: transform .15s; }
	.cs-menu .is-open > .cs-sub-toggle svg { transform: rotate(180deg); }
	.cs-menu .sub-menu { position: static; display: none; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; padding: 0 0 8px; background: var(--cs-tint); }
	.cs-menu .is-open > .sub-menu { display: block; }
	.cs-menu .sub-menu a { padding: 11px 28px; font-size: 15px; }
	.cs-nav__wa { width: auto; height: 48px; margin: 16px; border-radius: 10px; gap: 8px; font-weight: 700; }
	.cs-nav__wa span { display: inline; }

	/* Bloques */
	.cs-block { padding-top: 32px; }
	.cs-block--tight { padding-top: 30px; }
	.cs-sec { margin-bottom: 16px; }
	.cs-sec__title { font-size: 24px; gap: 10px; }
	.cs-sec__title::before { height: 24px; }
	.cs-sec__link { font-size: 14px; }

	/* Home mobile: lista con miniatura 16:9 a la derecha */
	.cs-portada { padding-top: 16px; gap: 0; }
	.cs-nota--hero .cs-nota__title { font-size: 28px; }
	.cs-nota--hero .cs-nota__excerpt { font-size: 15.5px; }
	.cs-portada__side { display: block; }
	.cs-portada__side .cs-nota, .cs-grid--4 .cs-nota, .cs-grid--3 .cs-nota { border-bottom: 1px solid var(--cs-line); }
	.cs-portada__side .cs-nota__link, .cs-grid--4 .cs-nota__link, .cs-grid--3 .cs-nota__link { flex-direction: row-reverse; align-items: flex-start; gap: 14px; padding: 16px 0; }
	.cs-portada__side .cs-media, .cs-grid--4 .cs-nota .cs-media, .cs-grid--3 .cs-nota .cs-media { flex: 0 0 136px; }
	.cs-portada__side .cs-nota__body, .cs-grid--4 .cs-nota__body, .cs-grid--3 .cs-nota__body { flex: 1; min-width: 0; gap: 6px; }
	.cs-portada__side .cs-nota__title, .cs-grid--4 .cs-nota__title, .cs-grid--3 .cs-nota__title { font-size: 17px; line-height: 1.22; }
	.cs-grid--4 .cs-nota__excerpt, .cs-grid--3 .cs-nota__excerpt { display: none; }
	.cs-grid--4:not(.cs-grid--calcs), .cs-grid--3 { display: block; }
	.cs-portada__side .cs-nota:first-child .cs-nota__link { padding-top: 20px; }
	.cs-cat { font-size: 11.5px; }

	.cs-ind { margin-top: 28px; padding: 26px 0 28px; }
	.cs-ind__grid { gap: 12px; }
	.cs-ind__card { padding: 14px; gap: 4px; }
	.cs-ind__label { font-size: 12.5px; }
	.cs-ind__value { font-size: 23px; }
	.cs-ind__sub { font-size: 11.5px; }
	.cs-ind__link { display: none; }

	.cs-grid--calcs { gap: 14px; }
	.cs-calc { gap: 8px; }
	.cs-calc__title { font-size: 16px; }
	.cs-calc__tile { font-size: 12.5px; gap: 8px; }
	.cs-calc__tile .cs-icon { width: 30px; height: 30px; }

	.cs-canal { flex-direction: column; align-items: stretch; padding: 22px 20px; gap: 16px; border-radius: 14px; }
	.cs-canal__title { font-size: 21px; }
	.cs-canal__sub { font-size: 14px; }
	.cs-canal .cs-boton { width: 100%; }

	.cs-tools { margin-top: 32px; padding: 28px 0; }
	.cs-tools__cols { grid-template-columns: 1fr; gap: 20px; }
	.cs-tools ul { column-count: 2; column-gap: 16px; }
	.cs-tools li { break-inside: avoid; }
	.cs-tools a { font-size: 14px; padding: 9px 0; }

	/* Nota */
	.cs-single, .cs-page { padding-top: 18px; gap: 32px; }
	.cs-article__title { font-size: 29px; }
	.cs-article__dek { font-size: 17.5px; }
	.cs-share__btn { height: 40px; padding: 0 13px; font-size: 13.5px; }
	.cs-share--top .cs-share__btn:not(.cs-share__btn--whatsapp) span { display: none; }
	.cs-share--top .cs-share__btn:not(.cs-share__btn--whatsapp) { width: 40px; padding: 0; justify-content: center; }
	.cs-content { font-size: 18px; line-height: 1.65; }
	.cs-content h2 { font-size: 23px; }
	.cs-sugerida a { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.cs-sugerida__title { font-size: 16.5px; }
	.cs-calc-cta { flex-direction: column; align-items: stretch; }
	.cs-calc-cta .cs-boton { width: 100%; }
	.cs-publi { min-height: 250px; }

	/* Pie */
	.cs-footer__cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 32px; }
	.cs-footer__brand { grid-column: 1 / -1; }
	.cs-footer__bar-inner { font-size: 12.5px; }
}

@media (max-width: 380px) {
	.cs-topbar { font-size: 11px; }
	.cs-portada__side .cs-media, .cs-grid--4 .cs-nota .cs-media, .cs-grid--3 .cs-nota .cs-media { flex-basis: 112px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ── Páginas institucionales (Contacto, Quiénes somos, Reporte, Suscribite) ── */
.cs-inst { background: #fff; }
.cs-inst__wrap { max-width: 780px; margin: 0 auto; padding: 28px 20px 48px; font-family: var(--cs-font); color: var(--cs-ink); }
.cs-inst__titulo { font-size: 40px; line-height: 1.1; font-weight: 900; letter-spacing: -.015em; margin: 6px 0 18px; color: var(--cs-ink); }
.cs-inst__texto { font-size: 17.5px; line-height: 1.65; }
.cs-inst__texto h2 { font-size: 25px; font-weight: 900; margin: 34px 0 10px; line-height: 1.2; color: var(--cs-ink); }
.cs-inst__texto h3 { font-size: 19px; font-weight: 900; margin: 24px 0 8px; color: var(--cs-ink); }
.cs-inst__texto p { margin: 0 0 14px; }
.cs-inst__texto ul, .cs-inst__texto ol { margin: 0 0 16px; padding-left: 22px; }
.cs-inst__texto li { margin-bottom: 6px; }
.cs-inst__texto a { color: var(--cs-navy); font-weight: 700; }
.cs-inst__lead { font-size: 20px; line-height: 1.55; color: var(--cs-muted); }
.cs-inst-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 26px; padding: 0 !important; list-style: none; }
.cs-inst-grid > * { border: 1px solid var(--cs-line); border-radius: 14px; padding: 16px 18px; background: #fff; margin: 0 !important; }
.cs-inst-grid strong { display: block; font-size: 17px; margin-bottom: 4px; color: var(--cs-ink); }
.cs-inst-grid span { display: block; font-size: 15px; line-height: 1.5; color: var(--cs-muted); }
.cs-inst-grid a { text-decoration: none; }
.cs-inst-nota { background: var(--cs-tint); border-radius: 14px; padding: 14px 18px; font-size: 15.5px; margin: 18px 0; }
.cs-inst-datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 24px; padding: 0 !important; list-style: none; }
.cs-inst-datos li { background: var(--cs-tint); border-radius: 14px; padding: 14px 16px; margin: 0 !important; }
.cs-inst-datos strong { display: block; font-size: 28px; font-weight: 900; color: var(--cs-navy); line-height: 1.1; }
.cs-inst-datos span { font-size: 14px; color: var(--cs-muted); }

/* Formularios de Contact Form 7 */
.cs-inst .wpcf7 { margin: 22px 0 10px; }
.cs-inst .wpcf7-form { border: 1px solid var(--cs-line); border-radius: 16px; padding: 22px; background: #f8fafc; }
.cs-inst .wpcf7-form p { margin: 0 0 14px; }
.cs-inst .wpcf7-form label { display: block; font-weight: 700; font-size: 15.5px; color: var(--cs-ink); }
.cs-inst .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.cs-inst .wpcf7 input[type="text"], .cs-inst .wpcf7 input[type="email"], .cs-inst .wpcf7 input[type="tel"], .cs-inst .wpcf7 input[type="url"], .cs-inst .wpcf7 select, .cs-inst .wpcf7 textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #cfd8e3; border-radius: 10px; background: #fff; font: inherit; font-size: 16.5px; font-weight: 400; color: var(--cs-ink); box-sizing: border-box;
}
.cs-inst .wpcf7 textarea { min-height: 150px; resize: vertical; }
.cs-inst .wpcf7 input:focus, .cs-inst .wpcf7 select:focus, .cs-inst .wpcf7 textarea:focus { outline: none; border-color: var(--cs-cel); box-shadow: 0 0 0 3px rgba(49, 114, 174, .2); }
.cs-inst .wpcf7-submit { display: inline-block; width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: var(--cs-navy); color: #fff; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
.cs-inst .wpcf7-submit:hover { background: var(--cs-navy-2); }
.cs-inst .wpcf7-spinner { display: block; margin: 10px auto 0; }
.cs-inst .wpcf7-not-valid-tip { font-size: 14px; color: #b42318; margin-top: 4px; }
.cs-inst .wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.cs-inst .wpcf7 form.sent .wpcf7-response-output { border-color: var(--cs-wa); background: #e9f7ef; }
.cs-inst .wpcf7-list-item { margin: 0 14px 0 0; }

/* Canales al pie */
.cs-inst-canales { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--cs-line); }
.cs-inst-canales h2 { font-size: 22px; font-weight: 900; margin: 0 0 14px; color: var(--cs-ink); }
.cs-inst-wa { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--cs-wa); color: #fff !important; text-decoration: none !important; margin-bottom: 12px; }
.cs-inst-wa:hover { filter: brightness(1.08); }
.cs-inst-wa span { display: flex; flex-direction: column; gap: 2px; }
.cs-inst-wa strong { font-size: 18px; }
.cs-inst-wa em { font-style: normal; font-size: 14.5px; opacity: .9; }
.cs-inst-redes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.cs-inst-redes a { display: block; border: 1px solid var(--cs-line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--cs-ink); }
.cs-inst-redes a:hover { border-color: var(--cs-navy); }
.cs-inst-redes strong { display: block; color: var(--cs-navy); }
.cs-inst-redes span { font-size: 14px; color: var(--cs-muted); }
@media (max-width: 640px) {
	.cs-inst__titulo { font-size: 32px; }
	.cs-inst-grid, .cs-inst-datos { grid-template-columns: 1fr; }
}
.cs-inst-grid a span { font-weight: 400; } .cs-inst-grid a strong { color: var(--cs-navy); }
