/* Trasfondos — portada inmersiva: el reportaje a pantalla completa, lecturas
   numeradas, series por capítulos. Petróleo, arena, menta y coral. */
:root {
	--c-bg: #F2E3C9;
	--c-surface: #FBF4E6;
	--c-ink: #0B3C49;
	--c-ink-2: #1F4D59;
	--c-muted: #3F5D64;
	--c-line: #D9C6A3;
	--c-placeholder: #E6D5B5;
	--c-accent: #9ED9CC;
	--c-on-accent: #0B3C49;
	--c-alt: #9ED9CC;
	--c-on-alt: #0B3C49;
	--c-tag-ink: #0B3C49;
	--c-on-tag-ink: #F2E3C9;
	--c-footer-bg: #0B3C49;
	--c-footer-ink: #D9CCB4;
	--c-focus: #0B3C49;
	--c-focus-dark: #9ED9CC;
	--c-link-underline: #FF6B5B;
	--c-quote-bg: #FBF4E6;
	--c-rank: #0B3C49;
	--f-display: "Unbounded", "Arial Black", sans-serif;
	--f-text: "Figtree", Arial, sans-serif;
	--w-display: 800;
	--ls-display: -1px;
	--lh-display: 1.1;
	--radius: 18px;
	--radius-sm: 12px;
}
.tf-wrap { max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
@media (max-width: 575.98px) { .tf-wrap { padding-left: 16px; padding-right: 16px; } }
a:hover { text-decoration-color: #FF6B5B; }
.tf-h2, .tf-cover__title, .tf-row__n, .tf-row__title, .tf-chapter__title, .tf-nl__title, .tf-band__title, .nt-wordmark { font-family: var(--f-display); font-weight: 800; letter-spacing: -1px; }
.tf-h2, .tf-cover__title, .tf-row__n, .tf-band__title, .nt-wordmark { text-shadow: 3px 3px 0 #FF6B5B; }

/* Logotipo */
.nt-wordmark { font-size: 26px; color: #F2E3C9; }
.nt-logo { color: #F2E3C9; gap: 12px; }
.nt-logo .nt-mark { width: 44px; height: auto; }

/* Cabecera */
.tf-head { background: #0B3C49; color: #F2E3C9; position: relative; z-index: 1030; }
.tf-head--over { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.admin-bar .tf-head--over { top: 32px; }
@media (max-width: 782px) { .admin-bar .tf-head--over { top: 46px; } }
.tf-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.tf-head__actions { display: flex; gap: 10px; }
.tf-iconbtn { width: 46px; height: 46px; border: 2px solid #F2E3C9; border-radius: 23px; background: rgba(11, 60, 73, .5); color: #F2E3C9; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tf-iconbtn[aria-expanded="true"] { background: #9ED9CC; border-color: #9ED9CC; color: #0B3C49; }
.tf-menubtn { min-height: 46px; padding: 0 20px; border: 0; border-radius: 23px; background: #F2E3C9; color: #0B3C49; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.tf-menubtn[aria-expanded="true"] { background: #9ED9CC; }
.tf-head :focus-visible { outline-color: #9ED9CC; }
.nt-search { background: #0B3C49; }
.tf-menu { background: #0B3C49; padding: 18px 0 24px; border-top: 1px solid #134C5B; }
.tf-menu[hidden] { display: none; }
.tf-menu .nt-menu { flex-wrap: wrap; overflow: visible; padding: 0; gap: 10px; }
.tf-menu .nt-menu a { background: #134C5B; color: #F2E3C9; font-size: 16px; font-weight: 600; }
.tf-menu .nt-menu .current-menu-item > a { background: #9ED9CC; color: #0B3C49; }

/* Portada a pantalla completa */
.tf-cover { position: relative; min-height: 680px; background: #134C5B; color: #F2E3C9; display: flex; align-items: flex-end; }
.tf-cover--plain { min-height: 0; padding-top: 30px; }
.tf-cover__media { position: absolute; inset: 0; }
.tf-cover__media .nt-img--empty { background: #134C5B; }
.tf-cover__inner { position: relative; width: 100%; padding-top: 120px; padding-bottom: 64px; }
.tf-cover--plain .tf-cover__inner { padding-top: 20px; padding-bottom: 48px; }
.tf-cover__box { max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; background: rgba(11, 60, 73, .92); padding: 30px 32px 32px; border-radius: 24px; }
.tf-cover__title { margin: 0; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; }
.tf-cover__title a { color: #F2E3C9; }
.tf-cover__excerpt { margin: 0; font-size: 19px; line-height: 1.6; color: #E5D7BE; }
.tf-cover__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 15px; color: #CDBFA6; }
.tf-cover__actions strong { color: #F2E3C9; }
.tf-cover :focus-visible { outline-color: #9ED9CC; }
.tf-chip { display: inline-block; background: #9ED9CC; color: #0B3C49; padding: 5px 12px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.tf-chip:hover { color: #0B3C49; text-decoration: none; }
.tf-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 25px; background: #F2E3C9; color: #0B3C49; font-weight: 700; }
.tf-btn:hover { color: #0B3C49; text-decoration: none; filter: brightness(1.05); }
@media (max-width: 575.98px) { .tf-cover { min-height: 560px; } .tf-cover__box { padding: 22px; } }

/* Bloques */
.tf-block { padding-top: 72px; }
.tf-h2 { margin: 0 0 8px; font-size: clamp(30px, 3.6vw, 42px); }
.tf-sub { margin: 0 0 28px; font-size: 17px; color: var(--c-ink-2); max-width: 60ch; }
.tf-row { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; padding: 26px 0; border-top: 2px solid #0B3C49; }
.tf-row__n { flex: 0 0 110px; font-size: 64px; line-height: 1; }
.tf-row__body { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tf-row__meta { margin: 0; font-weight: 700; font-size: 14px; color: var(--c-ink-2); }
.tf-row__title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.tf-row__excerpt { margin: 0; font-size: 16px; line-height: 1.55; color: var(--c-ink-2); }
.tf-layers-sm { flex: 0 0 200px; position: relative; aspect-ratio: 4 / 3; margin: 0 12px 12px 0; }
.tf-layers-sm::before, .tf-layers-sm::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.tf-layers-sm::before { background: #FF6B5B; transform: translate(12px, 12px); }
.tf-layers-sm::after { background: #9ED9CC; transform: translate(6px, 6px); }
.tf-layers-sm > span { position: absolute; inset: 0; z-index: 1; border-radius: 16px; overflow: hidden; background: var(--c-placeholder); }
@media (max-width: 575.98px) { .tf-row__n { flex-basis: auto; font-size: 44px; } .tf-layers-sm { flex-basis: 100%; } }

.tf-series { margin-top: 80px; background: #0B3C49; color: #F2E3C9; padding: 64px 0; }
.tf-series__kicker { font-weight: 700; font-size: 14px; color: #9ED9CC; letter-spacing: 1px; text-transform: uppercase; }
.tf-series .tf-sub { color: #E5D7BE; }
.tf-series__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.tf-chapter { display: flex; flex-direction: column; gap: 12px; color: #F2E3C9; }
.tf-chapter:hover { color: #F2E3C9; text-decoration: none; }
.tf-chapter:hover .tf-chapter__title { text-decoration: underline; text-decoration-color: #FF6B5B; }
.tf-chapter__media { display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #134C5B; box-shadow: 7px 7px 0 #9ED9CC, 14px 14px 0 #FF6B5B; margin: 0 14px 14px 0; }
.tf-chapter__media .nt-img--empty { background: #134C5B; }
.tf-chapter__n { font-weight: 700; font-size: 14px; color: #9ED9CC; }
.tf-chapter__title { font-size: 21px; line-height: 1.2; }
.tf-series__all { display: inline-block; margin-top: 28px; font-weight: 700; color: #9ED9CC; }

.tf-briefs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 40px; }
@media (max-width: 575.98px) { .tf-briefs { grid-template-columns: minmax(0, 1fr); } }
.tf-brief { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--c-line); }
.tf-brief__meta { font-weight: 700; font-size: 13px; color: var(--c-muted); }
.tf-brief__title { font-weight: 700; font-size: 19px; line-height: 1.3; }

.tf-nl { background: #FBF4E6; border-radius: 24px; padding: 40px; box-shadow: 8px 8px 0 #9ED9CC, 16px 16px 0 #FF6B5B; margin: 0 16px 16px 0; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; scroll-margin-top: 40px; }
.tf-nl__text { flex: 1 1 380px; }
.tf-nl__title { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.tf-nl__text p { margin: 0; font-size: 17px; color: var(--c-ink-2); }
.tf-nl__form { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 10px; }
.tf-nl__form input { flex: 1 1 200px; min-height: 50px; border: 2px solid #0B3C49; border-radius: 25px; padding: 0 18px; font: inherit; font-size: 16px; }
.tf-nl__form button { min-height: 50px; padding: 0 24px; border: 0; border-radius: 25px; background: #0B3C49; color: #F2E3C9; font: inherit; font-weight: 700; cursor: pointer; }

/* Nota */
.tf-caption { margin-top: 10px; font-size: 13px; color: var(--c-muted); }
.tf-reading { max-width: 780px; margin: 0 auto; padding: 40px 32px 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 575.98px) { .tf-reading { padding-left: 16px; padding-right: 16px; } }
.tf-content { max-width: none; font-size: 20px; line-height: 1.75; }
.nt-content h2 { font-size: 30px; text-shadow: 2px 2px 0 #FF6B5B; }
.nt-content blockquote { background: #FBF4E6; border: 2px solid #0B3C49; box-shadow: 6px 6px 0 #FF6B5B; }
.nt-content blockquote p { font-size: 22px; letter-spacing: -0.5px; }
.tf-article__foot { padding-top: 20px; border-top: 2px solid #0B3C49; display: flex; flex-direction: column; gap: 14px; }
.nt-share__btn { background: #FBF4E6; border-color: #0B3C49; }
.nt-tags a { background: #FBF4E6; }

.tf-band { background: #0B3C49; color: #F2E3C9; padding: 48px 0 40px; }
.tf-band__title { margin: 0; font-size: clamp(32px, 5vw, 54px); line-height: 1.08; }
.tf-band__desc { margin-top: 12px; font-size: 17px; color: #E5D7BE; max-width: 64ch; }
.tf-band__search { max-width: 640px; margin-top: 16px; }
.tf-band + .tf-block { padding-top: 36px; }

.nt-footer { margin-top: 80px; }
.nt-footer .nt-wordmark { font-size: 24px; }
.nt-main > .nt-section { max-width: 1180px; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
