:root {
  /* COLORES MEJORADOS - Mayor contraste WCAG AA */
  --bg: #f5f3f0;
  --paper: #ffffff;
  --ink: #0a0a0a;
  --muted: #5a5450;
  --line: #d0c8c0;
  --accent: #d83c31;
  --accent-2: #005a6d;
  --success: #0d6b3d;
  --danger: #b41f1f;
  --info: #0052cc;
  --tertiary: #5a5450;
  --dark: #0a0a0a;
  --radius: 6px;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

/* Footer editorial */
.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(280px, 1.4fr) auto;
  align-items: start;
  gap: 28px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
}

.site-footer__brand span,
.site-footer__note {
  display: block;
  max-width: 360px;
  color: #5f5a52;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding-top: 4px;
}

.site-footer__links a {
  color: #26231f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__note {
  justify-self: end;
  max-width: 220px;
  padding-top: 4px;
  text-align: right;
}

.category-load-more {
  display: flex;
  justify-content: center;
  padding: 24px 0 6px;
}

.category-load-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}

.category-load-more a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 760px) {
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0 34px;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__note {
    justify-self: start;
    text-align: left;
  }
}

/* Mobile hardening: esta capa queda al final para evitar que reglas antiguas pisen el layout movil. */
@media (max-width: 620px) {
  html,
  body {
    overflow-x: hidden;
  }

  .market-strip,
  .breaking {
    display: none !important;
  }

  .brand-row,
  .topline__inner,
  .nav,
  .site-search,
  main,
  .site-footer {
    width: min(100% - 22px, 1180px);
  }

  .brand-row {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .brand--image {
    width: min(210px, 52vw);
  }

  .brand-actions {
    margin-left: auto;
  }

  .btn-search {
    width: 42px;
    height: 42px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .nav-wrap {
    display: none !important;
  }

  .site-header.is-menu-open .nav-wrap {
    display: block !important;
  }

  .nav-wrap:target {
    display: block !important;
  }

  .nav.is-open {
    display: grid !important;
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .nav-wrap:target .nav {
    display: grid !important;
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .nav a,
  .nav a:first-child {
    width: 100%;
    height: 40px;
    padding: 0;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .site-search {
    grid-template-columns: 1fr;
  }

  .site-search button,
  .search-page__form button {
    width: 100%;
  }

  .hero-grid {
    gap: 12px;
  }

  .hero-story {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .hero-story__content {
    padding: 16px;
  }

  .hero-story h1 {
    max-width: 100%;
    font-size: clamp(24px, 8vw, 34px);
    line-height: .98;
    -webkit-line-clamp: 3;
  }

  .hero-story p {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .side-rail {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .rail-item {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 96px;
    max-height: none;
    padding: 10px;
    text-align: left;
  }

  .rail-item img {
    width: 96px;
    height: 76px;
    max-height: none;
  }

  .rail-item span {
    align-self: start;
    font-size: 10px;
  }

  .rail-item strong {
    font-size: 16px;
    line-height: 1.08;
    -webkit-line-clamp: 3;
  }

  .cards-grid,
  .cards-grid--three,
  .cards-grid--four,
  .mini-grid,
  .compact-sections {
    grid-template-columns: 1fr !important;
  }

  .story-card {
    padding: 0;
  }

  .story-card h3 {
    font-size: 20px;
    line-height: 1.12;
  }

  .article-shell h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .article-category-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Home 26 final override: corrige gigantismo, blancos repetidos y grillas planas */
body.home26 {
  --home26-bg: #fff7f1;
  --home26-paper: #fbf0e7;
  --home26-panel: #f6e8db;
  --home26-warm: #f1dfd0;
  --home26-ink: #17120f;
  --home26-line: #c9b8aa;
}

body.home26 .home26-cover {
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .76fr) 330px;
  gap: 14px;
  border: 0;
  background: transparent;
}

body.home26 .home26-lead,
body.home26 .home26-cover__stack,
body.home26 .home26-latest {
  border: 1px solid var(--home26-line);
  background: var(--home26-paper);
}

body.home26 .home26-lead__image {
  aspect-ratio: 16 / 7.2;
}

body.home26 .home26-lead__text {
  padding: 18px 24px 24px;
  background: linear-gradient(180deg, #fbf0e7 0%, #f5e3d5 100%);
}

body.home26 .home26-lead h1 {
  max-width: 680px;
  font-size: clamp(34px, 3.15vw, 52px);
  line-height: .96;
  font-weight: 700;
}

body.home26 .home26-lead p {
  max-width: 620px;
  font-size: 15px;
}

body.home26 .home26-feature {
  padding: 14px;
  background: var(--home26-panel);
}

body.home26 .home26-feature:nth-child(even) {
  background: #efe1d3;
}

body.home26 .home26-feature img {
  aspect-ratio: 16 / 8.5;
}

body.home26 .home26-feature h2,
body.home26 .home26-feature h3 {
  font-size: clamp(22px, 1.75vw, 30px);
  line-height: 1;
  font-weight: 700;
}

body.home26 .home26-latest {
  background: #202930;
  color: #fff;
}

body.home26 .home26-latest .home26-section-head {
  border-bottom-color: rgba(255, 255, 255, .72);
}

body.home26 .home26-latest .home26-section-head h2,
body.home26 .home26-latest strong {
  color: #fff;
}

body.home26 .home26-latest a {
  border-bottom-color: rgba(255, 255, 255, .18);
}

body.home26 .home26-latest strong {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.18;
}

body.home26 .home26-underlead,
body.home26 .home26-mosaic {
  gap: 14px;
  border: 0;
  background: transparent;
}

body.home26 .home26-underlead a {
  min-height: 94px;
  border: 1px solid var(--home26-line);
  background: var(--home26-warm);
}

body.home26 .home26-underlead a:nth-child(2) {
  background: #202930;
  color: #fff;
}

body.home26 .home26-underlead a:nth-child(2) span {
  color: #ffb273;
}

body.home26 .home26-underlead strong {
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.04;
}

body.home26 .home26-section-head h2 {
  font-size: clamp(24px, 2.1vw, 34px);
}

body.home26 .home26-card {
  border: 1px solid var(--home26-line);
  background: var(--home26-panel);
}

body.home26 .home26-card:nth-child(3n) {
  background: #202930;
  color: #fff;
}

body.home26 .home26-card:nth-child(3n) span {
  color: #ffb273;
}

body.home26 .home26-card:nth-child(4n) {
  background: var(--home26-warm);
}

body.home26 .home26-card--wide {
  grid-column: span 2;
  background: #ead8c7;
}

body.home26 .home26-card h3 {
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 700;
}

body.home26 .home26-card--wide h3 {
  font-size: clamp(26px, 2.35vw, 38px);
  line-height: 1;
}

body.home26 .home26-video,
body.home26 .home26-opinion,
body.home26 .home26-topic,
body.home26 .home26-compact .compact-section {
  background: var(--home26-panel);
}

body.home26 .home26-opinion h2,
body.home26 .home26-agenda h2 {
  font-size: clamp(24px, 1.9vw, 31px);
}

body.home26 .home26-paper-band {
  gap: 16px;
  background: #ead8c7;
}

body.home26 .home26-topic--cronicas {
  background: #2d4353;
}

body.home26 .home26-topic__main h3 {
  font-size: clamp(25px, 2.2vw, 36px);
}

body.home26 .home26-mini h3,
body.home26 .home26-line,
body.home26 .home26-security__list a {
  font-size: clamp(17px, 1.35vw, 22px);
}

body.home26 .home26-compact {
  gap: 14px;
}

body.home26 .home26-compact .compact-section:nth-child(even) {
  background: #202930;
  color: #fff;
}

body.home26 .home26-compact .compact-section:nth-child(even) a {
  color: #fff;
}

@media (max-width: 1020px) {
  body.home26 .home26-cover {
    grid-template-columns: 1fr;
  }

  body.home26 .home26-cover__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.home26 .home26-lead__image {
    aspect-ratio: 16 / 9;
  }

  body.home26 .home26-lead h1 {
    font-size: clamp(29px, 8.5vw, 42px);
  }

  body.home26 .home26-cover__stack,
  body.home26 .home26-mosaic,
  body.home26 .home26-underlead {
    grid-template-columns: 1fr;
  }

  body.home26 .home26-card--wide {
    grid-column: span 1;
  }
}

/* Home 26 revision: baja titulares gigantes, rompe bloques repetidos y reduce fondos blancos */
body.home26 {
  --home26-bg: #fff7f1;
  --home26-paper: #fbf0e7;
  --home26-panel: #f6e8db;
  --home26-warm: #f1dfd0;
  --home26-ink: #17120f;
  --home26-line: #c9b8aa;
}

body.home26 .home26-main {
  color: var(--home26-ink);
}

body.home26 .home26-cover {
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .76fr) 330px;
  gap: 14px;
  border: 0;
  background: transparent;
}

body.home26 .home26-lead,
body.home26 .home26-cover__stack,
body.home26 .home26-latest {
  border: 1px solid var(--home26-line);
  background: var(--home26-paper);
}

body.home26 .home26-lead {
  grid-template-rows: auto auto;
}

body.home26 .home26-lead__image {
  aspect-ratio: 16 / 7.2;
}

body.home26 .home26-lead__text {
  padding: 18px 24px 24px;
  background: linear-gradient(180deg, #fbf0e7 0%, #f5e3d5 100%);
}

body.home26 .home26-lead h1 {
  max-width: 680px;
  font-size: clamp(34px, 3.15vw, 52px);
  line-height: .96;
  font-weight: 700;
}

body.home26 .home26-lead p {
  max-width: 620px;
  font-size: 15px;
}

body.home26 .home26-feature {
  padding: 14px;
  background: var(--home26-panel);
}

body.home26 .home26-feature:nth-child(even) {
  background: #efe1d3;
}

body.home26 .home26-feature img {
  aspect-ratio: 16 / 8.5;
}

body.home26 .home26-feature h2,
body.home26 .home26-feature h3 {
  font-size: clamp(22px, 1.75vw, 30px);
  line-height: 1;
  font-weight: 700;
}

body.home26 .home26-latest {
  background: #202930;
  color: #fff;
}

body.home26 .home26-latest .home26-section-head {
  border-bottom-color: rgba(255, 255, 255, .72);
}

body.home26 .home26-latest .home26-section-head h2,
body.home26 .home26-latest strong {
  color: #fff;
}

body.home26 .home26-latest a {
  border-bottom-color: rgba(255, 255, 255, .18);
}

body.home26 .home26-latest strong {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.18;
}

body.home26 .home26-underlead {
  gap: 14px;
  border: 0;
  background: transparent;
}

body.home26 .home26-underlead a {
  min-height: 94px;
  border: 1px solid var(--home26-line);
  background: var(--home26-warm);
}

body.home26 .home26-underlead a:nth-child(2) {
  background: #202930;
  color: #fff;
}

body.home26 .home26-underlead a:nth-child(2) span {
  color: #ffb273;
}

body.home26 .home26-underlead strong {
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.04;
}

body.home26 .home26-section-head h2 {
  font-size: clamp(24px, 2.1vw, 34px);
}

body.home26 .home26-mosaic {
  gap: 14px;
  border: 0;
  background: transparent;
}

body.home26 .home26-card {
  border: 1px solid var(--home26-line);
  background: var(--home26-panel);
}

body.home26 .home26-card:nth-child(3n) {
  background: #202930;
  color: #fff;
}

body.home26 .home26-card:nth-child(3n) span {
  color: #ffb273;
}

body.home26 .home26-card:nth-child(4n) {
  background: var(--home26-warm);
}

body.home26 .home26-card--wide {
  grid-column: span 2;
  background: #ead8c7;
}

body.home26 .home26-card h3 {
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 700;
}

body.home26 .home26-card--wide h3 {
  font-size: clamp(26px, 2.35vw, 38px);
  line-height: 1;
}

body.home26 .home26-card p {
  font-size: 14px;
}

body.home26 .home26-video,
body.home26 .home26-opinion {
  background: var(--home26-panel);
}

body.home26 .home26-opinion h2,
body.home26 .home26-agenda h2 {
  font-size: clamp(24px, 1.9vw, 31px);
}

body.home26 .home26-paper-band {
  gap: 16px;
  background: #ead8c7;
}

body.home26 .home26-topic {
  background: var(--home26-paper);
}

body.home26 .home26-topic--cronicas {
  background: #2d4353;
}

body.home26 .home26-topic__main h3 {
  font-size: clamp(25px, 2.2vw, 36px);
}

body.home26 .home26-mini h3,
body.home26 .home26-line,
body.home26 .home26-security__list a {
  font-size: clamp(17px, 1.35vw, 22px);
}

body.home26 .home26-security {
  background: #111;
}

body.home26 .home26-compact {
  gap: 14px;
}

body.home26 .home26-compact .compact-section {
  background: var(--home26-panel);
}

body.home26 .home26-compact .compact-section:nth-child(even) {
  background: #202930;
  color: #fff;
}

body.home26 .home26-compact .compact-section:nth-child(even) a {
  color: #fff;
}

body.home26 .site-footer {
  background: transparent;
}

@media (max-width: 1020px) {
  body.home26 .home26-cover {
    grid-template-columns: 1fr;
  }

  body.home26 .home26-cover__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.home26 .home26-lead__image {
    aspect-ratio: 16 / 9;
  }

  body.home26 .home26-lead h1 {
    font-size: clamp(29px, 8.5vw, 42px);
  }

  body.home26 .home26-cover__stack,
  body.home26 .home26-mosaic,
  body.home26 .home26-underlead {
    grid-template-columns: 1fr;
  }

  body.home26 .home26-card--wide {
    grid-column: span 1;
  }
}

/* Home 26: portada editorial inspirada en el ancho y ritmo de DF.cl */
body.home26 {
  --df-shell: 1240px;
  --home26-bg: #fff7f1;
  --home26-paper: #fffdf9;
  --home26-soft: #f4ece4;
  --home26-line: #b9b1aa;
  --home26-ink: #141414;
  --home26-orange: #f7751d;
  --home26-blue: #2d4353;
  background: var(--home26-bg);
}

body.home26 .topline__inner,
body.home26 .brand-row,
body.home26 .nav,
body.home26 .site-search,
body.home26 main,
body.home26 .site-footer,
body.home26 .market-strip {
  width: min(var(--df-shell), calc(100% - 30px));
}

body.home26 .breaking__badge {
  padding-left: max(15px, calc((100vw - var(--df-shell)) / 2));
}

body.home26 .site-header,
body.home26 .topline,
body.home26 .brand-row {
  background: var(--home26-bg);
}

body.home26 .brand-row {
  border-bottom-color: var(--home26-orange);
}

body.home26 .nav-wrap,
body.home26 .market-strip,
body.home26 .home26-main {
  background: var(--home26-bg);
}

.home26-main {
  padding-top: 18px;
}

.home26-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 5px solid var(--home26-ink);
}

.home26-section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  line-height: .95;
}

.home26-section-head span,
.home26-section-head > a {
  color: var(--home26-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home26-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(260px, .62fr) 310px;
  gap: 0;
  border-top: 1px solid var(--home26-line);
  border-left: 1px solid var(--home26-line);
  background: var(--home26-paper);
}

.home26-lead,
.home26-cover__stack,
.home26-latest {
  border-right: 1px solid var(--home26-line);
  border-bottom: 1px solid var(--home26-line);
}

.home26-lead {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.home26-lead__image {
  aspect-ratio: 16 / 9;
  background: #ddd;
}

.home26-lead__text {
  padding: 18px 20px 22px;
}

.home26-lead__text span,
.home26-feature span,
.home26-card span,
.home26-agenda span {
  display: block;
  margin-bottom: 7px;
  color: var(--home26-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home26-lead h1 {
  max-width: 760px;
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.7vw, 68px);
  line-height: .9;
}

.home26-lead p {
  max-width: 720px;
  margin: 0;
  color: #4f4841;
  font-size: 18px;
  line-height: 1.35;
}

.home26-cover__stack {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
}

.home26-feature {
  min-width: 0;
  padding: 15px;
  border-bottom: 1px solid var(--home26-line);
}

.home26-feature:last-child {
  border-bottom: 0;
}

.home26-feature img {
  aspect-ratio: 16 / 10;
  height: auto;
  margin-bottom: 12px;
}

.home26-feature h2,
.home26-feature h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.02;
}

.home26-latest {
  padding: 15px;
  background: #fff;
}

.home26-latest .home26-section-head {
  border-bottom-width: 3px;
  margin-bottom: 4px;
}

.home26-latest .home26-section-head h2 {
  font-size: 26px;
}

.home26-latest a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #ded7d0;
}

.home26-latest time {
  color: var(--home26-orange);
  font-size: 12px;
  font-weight: 900;
}

.home26-latest strong {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.08;
}

.home26-underlead {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid var(--home26-line);
  border-left: 1px solid var(--home26-line);
  background: var(--home26-paper);
}

.home26-underlead a {
  min-height: 112px;
  padding: 16px;
  border-right: 1px solid var(--home26-line);
  border-bottom: 1px solid var(--home26-line);
}

.home26-underlead span {
  display: block;
  margin-bottom: 8px;
  color: var(--home26-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home26-underlead strong {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.02;
}

.home26-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  margin-top: 32px;
}

.home26-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--home26-line);
  border-left: 1px solid var(--home26-line);
  background: var(--home26-paper);
}

.home26-card {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--home26-line);
  border-bottom: 1px solid var(--home26-line);
}

.home26-card--wide {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 16px;
  align-items: start;
}

.home26-card__image {
  display: block;
  margin-bottom: 12px;
}

.home26-card--wide .home26-card__image {
  margin-bottom: 0;
}

.home26-card__image img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.home26-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.05;
}

.home26-card--wide h3 {
  font-size: 32px;
  line-height: .98;
}

.home26-card p {
  margin: 10px 0 0;
  color: #57504a;
  line-height: 1.4;
}

.home26-side {
  display: grid;
  align-content: start;
  gap: 22px;
}

.home26-video,
.home26-opinion,
.home26-agenda {
  border: 1px solid var(--home26-line);
  background: var(--home26-paper);
}

.home26-opinion,
.home26-agenda {
  padding: 18px;
}

.home26-opinion {
  border-top: 5px solid var(--home26-orange);
}

.home26-opinion > span {
  color: var(--home26-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home26-opinion h2,
.home26-agenda h2 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: .98;
}

.home26-opinion p {
  margin: 0;
  color: #57504a;
  line-height: 1.45;
}

.home26-agenda {
  background: #202930;
  color: #fff;
}

.home26-agenda h2 {
  margin-top: 0;
}

.home26-agenda a {
  display: block;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.1;
}

.home26-agenda span {
  color: #ffb273;
}

.home26-paper-band,
.home26-security {
  margin-top: 34px;
}

.home26-paper-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 24px;
  padding: 22px;
  background: var(--home26-soft);
  border-top: 1px solid var(--home26-line);
  border-bottom: 1px solid var(--home26-line);
}

.home26-topic {
  min-width: 0;
  padding: 18px;
  background: var(--home26-paper);
  border: 1px solid var(--home26-line);
}

.home26-topic--cronicas {
  background: #2d4353;
  color: #fff;
}

.home26-topic--cronicas .home26-section-head {
  border-bottom-color: rgba(255, 255, 255, .72);
}

.home26-topic--cronicas .home26-section-head h2,
.home26-topic--cronicas .home26-section-head > a {
  color: #fff;
}

.home26-topic__main img {
  aspect-ratio: 16 / 9;
  height: auto;
  margin-bottom: 12px;
}

.home26-topic__main h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: .98;
}

.home26-line {
  display: block;
  padding: 13px 0;
  border-top: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.08;
}

.home26-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--home26-line);
  border-left: 1px solid var(--home26-line);
}

.home26-mini {
  padding: 12px;
  border-right: 1px solid var(--home26-line);
  border-bottom: 1px solid var(--home26-line);
}

.home26-mini img {
  aspect-ratio: 4 / 3;
  height: auto;
  margin-bottom: 10px;
}

.home26-mini h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.04;
}

.home26-security {
  padding: 20px;
  background: #151515;
  color: #fff;
}

.home26-security .home26-section-head {
  border-bottom-color: #fff;
}

.home26-security .home26-section-head h2,
.home26-security .home26-section-head a {
  color: #fff;
}

.home26-security__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 300px;
  gap: 16px;
}

.home26-feature--dark {
  padding: 0;
  border: 0;
}

.home26-feature--dark img {
  margin-bottom: 12px;
}

.home26-security__list {
  display: grid;
  align-content: start;
  background: #fff;
  color: var(--home26-ink);
}

.home26-security__list a {
  padding: 17px;
  border-bottom: 1px solid var(--home26-line);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.08;
}

.home26-compact .compact-section {
  border-radius: 0;
  background: var(--home26-paper);
}

@media (max-width: 1020px) {
  .home26-cover,
  .home26-layout,
  .home26-paper-band,
  .home26-security__grid {
    grid-template-columns: 1fr;
  }

  .home26-cover__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

@media (max-width: 760px) {
  body.home26 .topline__inner,
  body.home26 .brand-row,
  body.home26 .nav,
  body.home26 .site-search,
  body.home26 main,
  body.home26 .site-footer,
  body.home26 .market-strip {
    width: min(100% - 22px, var(--df-shell));
  }

  .home26-section-head,
  .home26-underlead,
  .home26-mosaic,
  .home26-card--wide,
  .home26-cover__stack,
  .home26-two-col {
    grid-template-columns: 1fr;
  }

  .home26-section-head {
    display: block;
  }

  .home26-section-head span,
  .home26-section-head > a {
    display: block;
    margin-top: 8px;
  }

  .home26-lead h1 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .home26-lead p {
    font-size: 16px;
  }

  .home26-card--wide {
    display: block;
    grid-column: span 1;
  }

  .home26-card--wide .home26-card__image {
    margin-bottom: 12px;
  }

  .home26-card--wide h3,
  .home26-topic__main h3 {
    font-size: 27px;
  }
}

/* Footer editorial: capa final para evitar overrides antiguos */
.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(280px, 1.4fr) auto;
  align-items: start;
  gap: 28px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
}

.site-footer__brand span,
.site-footer__note {
  display: block;
  max-width: 360px;
  color: #5f5a52;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding-top: 4px;
}

.site-footer__links a {
  color: #26231f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__note {
  justify-self: end;
  max-width: 220px;
  padding-top: 4px;
  text-align: right;
}

.category-load-more {
  display: flex;
  justify-content: center;
  padding: 24px 0 6px;
}

.category-load-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}

.category-load-more a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 760px) {
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0 34px;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__note {
    justify-self: start;
    text-align: left;
  }
}

/* Footer editorial: capa final para evitar overrides antiguos */
.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(280px, 1.4fr) auto;
  align-items: start;
  gap: 28px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
}

.site-footer__brand span,
.site-footer__note {
  display: block;
  max-width: 360px;
  color: #5f5a52;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding-top: 4px;
}

.site-footer__links a {
  color: #26231f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__note {
  justify-self: end;
  max-width: 220px;
  padding-top: 4px;
  text-align: right;
}

@media (max-width: 760px) {
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0 34px;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__note {
    justify-self: start;
    text-align: left;
  }
}

/* Verificación de contraste: 
   --paper (#ffffff) + --ink (#0a0a0a) = 17:1 (WCAG AAA ✅)
   --bg (#f5f3f0) + --ink (#0a0a0a) = 15.8:1 (WCAG AAA ✅)
   --muted (#5a5450) + --paper = 7.2:1 (WCAG AA ✅) */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  decoding: async;
}

/* ===============================================
   SITE HEADER — REDISEÑO 2026
   =============================================== */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--bg);
}

.site-header--article {
  position: relative;
}

main,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* --- Topline --- */
.topline {
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.topline__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6px 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Brand row --- */
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 14px;
  background: var(--bg);
  border-bottom: 3px solid var(--accent-2);
}

.brand--image {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand--image img {
  height: 46px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
}

.brand-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.edition-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 12px;
}

.brand-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-search {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
}

.btn-search:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.site-search {
  display: flex;
  align-items: end;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.site-search[hidden] {
  display: none;
}

.site-search label {
  display: grid;
  gap: 5px;
  flex: 1;
}

.site-search span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-search input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 12px;
  font: 600 14px/1 var(--sans);
}

.site-search button,
.search-page__form button {
  height: 38px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  font: 900 11px/1 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-sus {
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  padding: 9px 18px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sus:hover {
  background: var(--danger);
}

/* --- Nav --- */
.nav-wrap {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  padding: 0 14px;
  height: 40px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a:first-child {
  padding-left: 0;
}

.nav a.nav--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav a:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

/* --- Market strip --- */
.market-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  height: 34px;
}

.market-strip::-webkit-scrollbar {
  display: none;
}

.market-strip__item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px 0 0;
  margin-right: 10px;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
  height: 34px;
}

.market-strip__item:first-child {
  padding-left: 0;
}

.market-strip__item:last-of-type {
  border-right: 0;
}

.market-strip__name {
  font-size: 12px;
  font-weight: 700;
  color: #4f4a43;
  letter-spacing: 0;
  text-transform: none;
}

.market-strip__val {
  font-size: 12px;
  font-weight: 500;
  color: #6b665f;
}

.market-strip__chg {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
}

.market-strip__chg--up {
  background: #dff0e8;
  color: #1a6b3a;
}

.market-strip__chg--dn {
  background: #fde8e8;
  color: var(--danger);
}

.market-strip__chg--flat {
  background: #ebebeb;
  color: var(--muted);
}

.market-strip__extra {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
}

.market-strip__extra a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  height: 34px;
  border-left: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #5f5a53;
  white-space: nowrap;
}

.market-strip__extra a:hover {
  color: var(--accent);
}

/* --- Ticker marquesina --- */
.breaking {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--dark);
  height: 36px;
  overflow: hidden;
  margin-bottom: 0;
  border-top: none;
  border-bottom: none;
  position: relative;
}

.breaking__badge {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  padding: 0 16px 0 max(16px, calc((100vw - 1180px) / 2));
  background: var(--dark);
  z-index: 2;
  gap: 0;
}

.breaking__badge strong {
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  line-height: 1;
}

.breaking__badge::after {
  content: '';
  display: block;
  width: 1px;
  height: 14px;
  background: #333;
  margin-left: 14px;
}

.breaking__viewport {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.breaking__track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
  will-change: transform;
}

.breaking__track:hover {
  animation-play-state: paused;
}

.breaking__track a {
  color: #bbb;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
  padding: 0 32px 0 0;
  text-decoration: none;
}

.breaking__track a:hover {
  color: #fff;
}

.breaking__track a b {
  color: #fff;
  font-weight: 700;
}

.breaking__sep {
  color: #1e5c1e;
  font-weight: 900;
  font-size: 16px;
  padding: 0 16px 0 0;
  flex-shrink: 0;
  line-height: 1;
}

/* --- Menu button (mobile) --- */
.menu-button,
.back-link {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: 700 11px/1 var(--sans);
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.05em;
}

.menu-button {
  display: none;
}

main {
  padding: 20px 0 46px;
}



.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.62fr);
  gap: 14px;
  align-items: stretch;
}

.hero-story {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  max-height: 430px;
  overflow: hidden;
  background: var(--dark);
  border-radius: var(--radius);
}

.hero-story::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(17, 19, 22, 0.02) 18%, rgba(17, 19, 22, 0.86) 100%);
}

.hero-story__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(18px, 2.35vw, 30px);
  color: #fff;
}

.hero-story__content span,
.article-kicker,
.story-card__media span {
  display: inline-flex;
  width: fit-content;
  background: var(--accent);
  color: #fff;
  padding: 6px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-story h1 {
  display: -webkit-box;
  max-width: 760px;
  margin: 12px 0 10px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(30px, 2.9vw, 42px);
  line-height: 1.01;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hero-story p {
  display: -webkit-box;
  max-width: 720px;
  margin: 0 0 12px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-story time,
.story-card time,
.article-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.side-rail {
  display: grid;
  grid-template-rows: repeat(4, minmax(92px, 1fr));
  gap: 8px;
  min-height: 0;
}

.rail-item {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 5px 11px;
  min-height: 92px;
  max-height: 104px;
  padding: 9px 11px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rail-item img {
  grid-row: 1 / span 2;
  width: 98px;
  height: 100%;
  max-height: 86px;
  min-height: 0;
  border-radius: 4px;
}

.rail-item span {
  align-self: end;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rail-item strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.06;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  margin-top: 34px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.section-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.section-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title > a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title--light {
  border-color: rgba(255, 255, 255, 0.32);
}

.section-title--light h2,
.section-title--light a {
  color: #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cards-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.story-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.story-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #ddd;
}

.story-card__media span {
  position: absolute;
  left: 10px;
  bottom: 10px;
}

.story-card__body {
  padding: 14px;
}

.story-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.12;
}

.story-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.story-card--compact h3 {
  font-size: 19px;
}

.search-page {
  padding-top: 22px;
}

.search-page .section-title h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 72px);
  line-height: .95;
}

.search-page__form {
  display: flex;
  gap: 10px;
  margin: 18px 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.search-page__form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
  font: 600 16px/1 var(--sans);
}

.search-page__empty {
  color: var(--muted);
  font-size: 17px;
}

.search-page__results {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.pulse-panel {
  align-self: start;
  position: relative;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px;
}

.pulse-panel h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 32px;
}

.pulse-panel p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
}

.pulse-panel a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
  line-height: 1.2;
}

.pulse-panel span {
  color: var(--accent);
}

.sidebar-stack {
  display: grid;
  align-self: start;
  gap: 14px;
}

.video-widget {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.06);
}

.video-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.video-widget__head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.video-widget__head a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.video-widget__player {
  overflow: hidden;
  background: #000;
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 14px 34px rgba(20, 20, 20, 0.16);
}

.video-widget__player.is-short,
.video-widget--short .video-widget__player {
  width: min(100%, 250px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
}

.video-widget__player.is-wide,
.video-widget--wide .video-widget__player {
  aspect-ratio: 16 / 9;
}

.video-widget iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.editorial-widget {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: var(--radius);
}

.editorial-widget span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.editorial-widget h2 {
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.05;
}

.editorial-widget p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.category-band,
.related-section {
  margin-top: 38px;
}

.alert-band {
  margin-top: 34px;
  padding: 20px;
  background: #f7f6f1;
  border-top: 4px solid var(--accent);
  border-right: 1px solid #cfc7bc;
  border-bottom: 1px solid #cfc7bc;
  border-left: 1px solid #cfc7bc;
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.alert-band__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}

.alert-band__head span,
.alert-band__head a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.alert-band__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.alert-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.alert-main {
  position: relative;
  min-height: 430px;
  background: var(--paper);
  border: 1px solid #cfc7bc;
  border-radius: var(--radius);
  overflow: hidden;
}

.alert-main a {
  display: block;
  height: 100%;
}

.alert-main a::after {
  position: absolute;
  inset: 36% 0 0;
  content: "";
  background: linear-gradient(180deg, rgba(17, 19, 22, 0), rgba(17, 19, 22, .88));
  pointer-events: none;
}

.alert-main img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center center;
  background: var(--dark);
}

.alert-main h3 {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.alert-list {
  display: grid;
  align-content: start;
  background: var(--paper);
  border: 1px solid #cfc7bc;
  border-radius: var(--radius);
}

.alert-list a {
  display: -webkit-box;
  padding: 16px 18px;
  overflow: hidden;
  border-bottom: 1px solid #d8d1c8;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.alert-list a:last-child {
  border-bottom: 0;
}

.split-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 34px;
}

.split-block {
  padding: 18px;
  border-radius: var(--radius);
}

.split-block--green {
  background: #0f4f44;
  color: #fff;
}

.split-block--paper {
  background: var(--paper);
  border: 1px solid var(--line);
}

.line-story {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.line-story:last-child {
  border-bottom: 0;
}

.line-story img {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
}

.line-story strong {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.06;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compact-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.compact-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.compact-section__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.compact-section__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
}

.compact-section__head a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.compact-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.compact-row:last-child {
  border-bottom: 0;
}

.compact-row span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.compact-row strong {
  font-size: 17px;
  line-height: 1.18;
}

.category-hero {
  margin: 8px 0 22px;
  padding: 24px 0 18px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.category-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: end;
  margin: 8px 0 18px;
  padding: 18px 0 16px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.category-masthead span,
.category-masthead a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-masthead h1 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1;
}

.category-masthead p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.category-masthead aside {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-masthead aside strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 0.9;
}

.category-masthead aside span {
  display: block;
  margin: 8px 0 14px;
  color: var(--muted);
}

.category-hero span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-hero h1 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 0.98;
}

.category-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.category-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.category-main {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.category-main img {
  aspect-ratio: 16 / 8;
}

.category-main h2 {
  display: -webkit-box;
  margin: 14px 18px 8px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.05;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.category-main p {
  display: -webkit-box;
  margin: 0 18px 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-main time {
  display: block;
  margin: 0 18px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.category-stack--cover {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}

.category-stack--cover .rail-item {
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 0;
  padding: 10px 12px;
}

.category-stack--cover .rail-item strong {
  font-size: 16px;
  -webkit-line-clamp: 3;
}

.category-stack--cover .rail-item span {
  font-size: 11px;
}

.category-stack {
  display: grid;
  gap: 12px;
}

.category-stack--cover {
  grid-template-columns: 1fr;
}

.category-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  margin-top: 28px;
}

.category-feed-list {
  display: grid;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-feed-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.category-feed-row:last-child {
  border-bottom: 0;
}

.category-feed-row__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
}

.category-feed-row h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.08;
}

.category-feed-row p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.45;
}

.category-feed-row time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-nav-box {
  padding: 16px;
  background: #fcf2e8;
  border: 1px solid #e7cdb9;
  border-radius: var(--radius);
}

.category-nav-box h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 28px;
}

.category-nav-box a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #e7cdb9;
  font-weight: 800;
}

.article-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.article-shell {
  width: 100%;
  min-width: 0;
  margin: 22px auto 0;
  padding-top: 28px;
  border-top: 3px solid var(--ink);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-page .article-hero {
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.article-hero__title {
  min-width: 0;
}

.article-shell h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.7vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.article-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.42;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-transform: uppercase;
}

.article-image {
  margin: 30px 0 36px;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.article-image img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

.article-content {
  width: min(720px, 100%);
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.68;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin: 0 0 1.2em;
}

.article-content img {
  height: auto;
  border-radius: var(--radius);
}

.article-content blockquote {
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-size: 25px;
  line-height: 1.35;
}

.article-comments {
  width: min(720px, 100%);
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.article-comments__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.article-comments__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.article-comments__head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-comments__list {
  border-top: 1px solid var(--line);
}

.article-comments__empty {
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

.article-comment {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.article-comment header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.article-comment strong {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
}

.article-comment time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-comment p {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

.article-comment-form {
  margin-top: 28px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(20, 20, 20, 0.05);
}

.article-comment-form__intro {
  margin-bottom: 18px;
}

.article-comment-form__intro span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-comment-form__intro h3 {
  margin: 4px 0 6px;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1;
}

.article-comment-form__intro p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}

.article-comment-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-comment-form__field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-family: var(--sans);
}

.article-comment-form__field--full {
  grid-column: 1 / -1;
}

.article-comment-form__field span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-comment-form__field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.article-comment-form input,
.article-comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  outline: 0;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.article-comment-form input {
  height: 46px;
  padding: 0 13px;
}

.article-comment-form textarea {
  min-height: 150px;
  padding: 13px;
  resize: vertical;
}

.article-comment-form input:focus,
.article-comment-form textarea:focus {
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(210, 16, 45, 0.1);
}

.article-comment-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.article-comment-message {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
}

.article-comment-message p {
  margin: 0;
}

.article-comment-message p + p {
  margin-top: 5px;
}

.article-comment-message.is-success {
  background: #eef8f2;
  border-color: #b7dac3;
  color: #0f5f2d;
}

.article-comment-message.is-error {
  background: #fff0f1;
  border-color: #efc0c7;
  color: #9c1125;
}

.article-comment-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-comment-form__actions p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.35;
}

.article-comment-form__actions button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.article-comment-form__actions button:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.article-sidebar {
  position: sticky;
  top: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 3px solid var(--accent);
}

.article-sidebar__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.article-sidebar__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.article-sidebar__head span,
.article-side-card time,
.article-category-card time {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-sidebar__list {
  display: grid;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}

.article-side-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.article-side-card:last-child {
  border-bottom: 0;
}

.article-side-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}

.article-side-card h3,
.article-category-card h3 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.12;
}

.article-popular {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 3px solid var(--ink);
}

.article-popular__head {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.article-popular__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.article-popular__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.article-popular__list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.article-popular__list span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 800;
  line-height: .9;
}

.article-popular__list a {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.22;
}

.article-category-latest {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.article-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.article-category-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 146px;
  max-height: 146px;
  padding: 14px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-category-card__image {
  grid-row: 1 / span 2;
  width: 132px;
  height: 100%;
  min-height: 118px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ddd;
}

.article-category-card time {
  align-self: end;
  margin: 0;
  font-size: 11px;
  line-height: 1;
}

.article-category-card h3 {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.market-hero {
  margin: 30px 0 20px;
  padding: 34px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.market-hero span,
.usd-analysis__main span,
.market-chart__head span,
.fundamental-panel__intro span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.market-hero h1,
.usd-analysis h2,
.market-chart h2,
.fundamental-panel h2,
.prompt-box h2 {
  margin: 8px 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.market-hero p,
.fundamental-panel__intro p,
.market-chart__head p,
.prompt-box p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.market-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.market-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-card h2 {
  margin: 8px 0 4px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.market-card p {
  margin: 0;
  color: var(--muted);
}

.usd-analysis,
.fundamental-panel,
.prompt-box,
.market-chart {
  margin: 24px 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.usd-analysis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.35fr;
  gap: 24px;
  background: #111418;
  color: #fff;
}

.usd-analysis__main p {
  max-width: 560px;
  margin: 10px 0 0;
  color: #d8dde4;
  font-size: 20px;
  line-height: 1.45;
}

.usd-analysis__data dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.usd-analysis__data div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
}

.usd-analysis__data dt {
  color: #9fa8b5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.usd-analysis__data dd {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 800;
}

.market-chart__head,
.fundamental-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 22px;
}

.market-chart__canvas {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
  overflow: hidden;
}

.market-chart__canvas svg {
  display: block;
  width: 100%;
  height: auto;
}

.market-chart__area {
  fill: rgba(0, 112, 66, .14);
}

.market-chart__line {
  fill: none;
  stroke: #007042;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-chart__labels text {
  fill: var(--muted);
  font: 800 13px var(--sans);
}

.market-chart__embed {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fundamental-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fundamental-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f4ee;
}

.fundamental-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.fundamental-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.market-report {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.market-report article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.market-report span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.market-report h2 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.market-report p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.market-disclaimer {
  max-width: 760px;
  margin: 20px 0 40px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.markets-page {
  padding-top: 24px;
}

.markets-masthead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.markets-masthead h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1;
  font-weight: 800;
}

.markets-masthead__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.markets-masthead__badge::before {
  content: "\25CF";
  font-size: 8px;
}

.markets-masthead__badge--cierre {
  background: #182228;
}

.markets-masthead__time {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.market-daily--compact .risk-panel--inline {
  margin: 0;
  padding: 16px 26px;
  border: 0;
  border-bottom: 1px solid #ddd3c6;
  border-radius: 0;
  background: #fff;
}

.market-daily--compact .risk-panel--inline p {
  max-width: 920px;
}

.market-daily--compact .market-daily__radar {
  border-top: 0;
}

.paridades-panel {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.paridades-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.paridades-panel__head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.paridades-panel__head h2 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.paridades-panel__head small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.paridades-panel__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.paridad-card {
  min-width: 0;
  padding: 12px;
  border: .5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.paridad-card--usd {
  border-top: 2px solid var(--success);
}

.paridad-card > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.paridad-card > strong {
  display: block;
  min-height: 32px;
  margin: 5px 0 10px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
}

.paridad-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.paridad-card dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.paridad-card dd {
  margin: 3px 0 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.paridad-card em {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.paridad-card .is-up {
  color: var(--success);
}

.paridad-card .is-up::before {
  content: "\2191 ";
}

.paridad-card .is-down {
  color: var(--danger);
}

.paridad-card .is-down::before {
  content: "\2193 ";
}

.paridad-card .is-neutral {
  color: var(--tertiary);
}

.paridad-card .is-neutral::before {
  content: "\2192 ";
}

.markets-observed {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 24px;
}

.markets-observed__side {
  display: flex;
  align-items: stretch;
}

.observed-price-card,
.observed-interest-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: 22px;
  background: #dedbd5;
  border-radius: 0;
}

.observed-price-card {
  width: 100%;
  border-left: 4px solid #26313d;
}

.observed-price-card span,
.observed-interest-card span,
.observed-report__text span {
  color: #ef8d9b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.observed-price-card span {
  color: rgba(0, 0, 0, .48);
  font-size: 13px;
}

.observed-price-card strong {
  display: block;
  margin-top: 12px;
  color: #000;
  font-family: var(--serif);
  font-size: 38px;
  line-height: .92;
  font-weight: 900;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.observed-price-card em {
  display: block;
  margin-top: 12px;
  color: #0f7a45;
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
}

.observed-price-card em.is-down {
  color: #b4232a;
}

.observed-interest-card {
  align-items: flex-start;
  color: #171717;
}

.observed-price-card dl {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .14);
}

.observed-price-card__metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.observed-price-card__metrics dd {
  font-size: 16px;
}

.observed-report__lead {
  font-size: 16px;
  line-height: 1.5;
}

.observed-report__technical {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 15px;
  line-height: 1.55;
}

.observed-report__technical strong {
  display: block;
  margin-bottom: 6px;
  color: #ef8d9b;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.observed-price-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.observed-price-card dt {
  color: rgba(0, 0, 0, .55);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.observed-price-card dd {
  margin: 0;
  color: #111;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 800;
}

.observed-price-card small {
  display: block;
  margin-top: 18px;
  color: rgba(0, 0, 0, .55);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.observed-interest-card p {
  max-width: 18ch;
  margin: 10px 0 0;
  color: #111;
  font-size: 15px;
  line-height: 1.28;
}

.markets-observed__report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .42fr);
  gap: 32px;
  align-items: start;
  min-height: 0;
  padding: 22px 34px;
  background: #26313d;
  color: #fff;
}

.observed-report__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.observed-report__text h1 {
  max-width: 620px;
  margin: 10px 0 16px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(24px, 2.15vw, 32px);
  line-height: 1.06;
  font-weight: 800;
}

.observed-report__text p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 1.45;
}

.observed-report__text p + p {
  margin-top: 14px;
}

.observed-report__chart {
  align-self: start;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
}

.markets-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.markets-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  padding: 6px 12px 6px 8px;
}

.markets-hero__copy > span,
.market-radar__head span,
.market-deep__text span,
.market-editorial span,
.pocket-impact span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.markets-hero h1 {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  line-height: .95;
}

.markets-quote {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 4px 14px;
  margin-bottom: 12px;
}

.markets-quote strong {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.markets-quote b {
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 56px);
  line-height: .88;
}

.markets-quote em,
.pulse-card em {
  align-self: end;
  color: #0f7a45;
  font-style: normal;
  font-weight: 900;
}

.markets-quote em.is-down,
.pulse-card.is-down em {
  color: #b4232a;
}

.markets-hero p {
  max-width: 520px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.markets-hero small {
  color: var(--muted);
  font-weight: 800;
}

.markets-hero__chart {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.market-pulse {
  margin-top: 18px;
}

.market-pulse .section-title h2 {
  font-size: 24px;
}

.market-pulse .section-title {
  margin-bottom: 0;
  padding-bottom: 10px;
}

.market-pulse--strip {
  margin-top: 24px;
}

.market-pulse--strip .section-title {
  padding-bottom: 8px;
}

.market-pulse--strip .section-title h2 {
  font-size: 22px;
}

.market-pulse-strip {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid #1b1b1b;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.market-pulse-strip::-webkit-scrollbar {
  display: none;
}

.market-pulse-strip__item {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 245px;
  padding: 11px 16px 12px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.market-pulse-strip__item:last-child {
  border-right: 0;
}

.market-pulse-strip__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-pulse-strip__item strong {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
}

.market-pulse-strip__item em {
  color: #0f7a45;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-pulse-strip__item.is-down em {
  color: #b4232a;
}

.market-pulse-strip__item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.market-pulse__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper);
}

.pulse-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 8px;
  min-height: 66px;
  padding: 10px 14px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.pulse-card:last-child {
  border-right: 0;
}

.pulse-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pulse-card strong {
  display: block;
  margin: 4px 0 1px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
}

.pulse-card em {
  display: inline-block;
  font-size: 12px;
}

.pulse-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.sparkline {
  align-self: end;
  width: 58px;
  height: 30px;
}

.sparkline__line {
  fill: none;
  stroke: #0f7a45;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-card.is-down .sparkline__line {
  stroke: #b4232a;
}

.market-radar {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 22px;
  margin: 30px 0;
  padding: 24px;
  border-radius: var(--radius);
  background: #111418;
  color: #fff;
}

.market-daily {
  margin: 24px 0;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid #c9bca8;
  background: #fbfaf6;
  color: var(--ink);
  overflow: hidden;
}

.market-daily__head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid #ddd3c6;
  background: linear-gradient(135deg, #182228 0%, #223139 100%);
}

.market-daily__head span,
.market-daily__main span,
.levels-panel span,
.risk-panel span,
.market-daily__radar span,
.market-chart-story__text span,
.market-context span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.market-daily__head h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
  color: #fff;
}

.market-daily__head p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.42;
}

.market-daily__head small {
  display: block;
  margin-top: 8px;
  color: #c9bca8;
  font-weight: 800;
}

.market-daily__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .48fr);
  gap: 18px;
  padding: 22px 26px 18px;
}

.market-daily__main,
.levels-panel,
.risk-panel {
  border: 1px solid #dbe4da;
  border-radius: var(--radius);
  background: #fff;
}

.market-daily__main {
  padding: 22px;
}

.market-daily__main p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
}

.market-daily__side {
  display: grid;
  gap: 12px;
}

.levels-panel,
.risk-panel {
  padding: 16px;
}

.levels-panel dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.levels-panel div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.levels-panel div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.levels-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.levels-panel dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
}

.risk-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.market-daily__radar {
  display: grid;
  grid-template-columns: 220px repeat(3, 1fr);
  gap: 10px;
  padding: 18px 26px 24px;
  border-top: 1px solid #ddd3c6;
}

.market-daily__radar h3 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}

.market-radar h2,
.market-deep__text h2,
.pocket-impact h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
}

.market-radar__items {
  display: grid;
  gap: 10px;
}

.radar-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dbe4da;
  border-radius: var(--radius);
  background: #fff;
}

.radar-item i {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: #d7aa2d;
}

.radar-item--green i {
  background: #23a55a;
}

.radar-item--red i {
  background: #d62d45;
}

.radar-item p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
}

.market-daily .radar-item {
  min-height: 86px;
  background: #fff;
}

.market-deep {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
  margin: 30px 0;
}

.market-chart-story {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .65fr);
  gap: 16px;
  margin: 22px 0;
  align-items: stretch;
}

.market-chart-story__chart,
.market-chart-story__text,
.market-context article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.market-chart-story__chart {
  padding: 18px;
  display: flex;
  align-items: center;
}

.market-chart-story__chart .market-chart__canvas {
  width: 100%;
  margin-top: 0;
}

.market-chart-story__text,
.market-context article {
  padding: 22px;
}

.market-chart-story__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.market-chart-story__text h2,
.market-context h2 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1;
}

.market-chart-story__text p,
.market-context p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

.market-context__fundamental {
  background: linear-gradient(135deg, #182228 0%, #223139 100%);
  color: #fff;
}

.market-context__fundamental span {
  color: #ef8d9b;
}

.market-context__fundamental h2 {
  color: #fff;
}

.market-context__fundamental p {
  color: rgba(255, 255, 255, .88);
}

.market-news__placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8e4dc 0%, #d9d3ca 100%);
}

.market-news__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.market-context {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 12px;
  margin: 22px 0 30px;
  align-items: stretch;
}

.market-context__pocket {
  background: #f8efe6 !important;
}

.market-deep__chart,
.market-deep__text,
.market-editorial article,
.pocket-impact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.market-deep__chart {
  padding: 18px;
}

.market-deep__text {
  padding: 24px;
}

.market-deep__text p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.market-deep__text dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0 0;
}

.market-deep__text dl div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.market-deep__text dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-deep__text dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
}

.market-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.market-editorial article {
  padding: 20px;
}

.market-editorial h2 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

.market-editorial p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.market-news {
  margin: 34px 0;
}

.market-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.market-news article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.market-news img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.market-news span {
  display: block;
  margin: 14px 14px 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-news h3 {
  margin: 0 14px 16px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.05;
}

.pocket-impact {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 18px;
  padding: 24px;
  margin: 30px 0;
  background: #f8efe6;
}

.pocket-impact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pocket-impact__grid article,
.pocket-impact__grid div {
  padding: 14px;
  border: 1px solid #e7cdb9;
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
  line-height: 1.35;
}

.prompt-box {
  background: #f8efe6;
}

.prompt-box pre {
  margin: 18px 0 0;
  padding: 18px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: #151515;
  color: #f4f1ea;
  font: 13px/1.55 Consolas, Monaco, monospace;
  white-space: pre-wrap;
}

.weather-page {
  padding-top: 28px;
}

.weather-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: end;
  padding: 30px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.weather-hero span,
.weather-current span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.weather-hero h1 {
  max-width: 780px;
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: .95;
}

.weather-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.weather-hero aside {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent-2);
  background: var(--paper);
}

.weather-hero small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.weather-hero strong {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 78px;
  line-height: .9;
}

.weather-hero em {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.weather-current {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 34px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.weather-current article {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.weather-current strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}

.weather-hours,
.weather-days {
  margin-top: 34px;
}

.weather-hours__grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.weather-hours__grid article {
  min-width: 120px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.weather-hours__grid time,
.weather-days__list time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.weather-hours__grid strong {
  display: block;
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.weather-hours__grid span,
.weather-hours__grid small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.weather-days__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.weather-days__list article {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(90px, auto));
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.weather-days__list strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.05;
}

.weather-days__list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.weather-empty {
  margin-top: 24px;
  padding: 24px;
  border: 1px dashed var(--line);
  background: var(--paper);
}

.weather-empty h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 34px;
}

.weather-empty p {
  margin: 0;
  color: var(--muted);
}

.weather-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
}

.weather-main {
  min-width: 0;
}

.weather-sidebar {
  position: sticky;
  top: 16px;
  padding-top: 18px;
  border-top: 3px solid var(--accent);
}

.weather-page .weather-hero {
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 22px;
  padding: 24px 0 22px;
}

.weather-page .weather-hero h1 {
  max-width: 560px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: .96;
}

.weather-page .weather-hero p {
  max-width: 560px;
  font-size: 17px;
}

.weather-page .weather-hero aside {
  border-top-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.weather-page .weather-hero strong {
  font-size: 62px;
}

.weather-current {
  margin-bottom: 30px;
}

.weather-page .weather-current article {
  background: linear-gradient(180deg, #fffdfa 0%, #f8f5ef 100%);
}

.weather-page .weather-current strong {
  font-size: 30px;
}

.weather-page .weather-hours__grid article {
  background: var(--paper);
}

.weather-page .weather-hours__grid article:first-child {
  background: #f8efe6;
}

.weather-page .weather-hours__grid strong {
  font-size: 28px;
}

.weather-page .weather-days__list article {
  padding: 16px;
  background: var(--paper);
}

.weather-page .weather-days__list article:nth-child(even) {
  background: #f8f5ef;
}

.weather-news .article-sidebar__head h2,
.weather-popular .article-popular__head h2 {
  font-size: 26px;
}

.weather-news .article-side-card {
  grid-template-columns: 96px minmax(0, 1fr);
}

.weather-news .article-side-card h3 {
  font-size: 16px;
}

.weather-note {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-2);
  background: #f8efe6;
}

.weather-note span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.weather-note h2 {
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.weather-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(280px, 1.4fr) auto;
  align-items: start;
  gap: 28px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
}

.site-footer__brand span,
.site-footer__note {
  display: block;
  max-width: 360px;
  color: #5f5a52;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding-top: 4px;
}

.site-footer__links a {
  color: #26231f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__note {
  justify-self: end;
  max-width: 220px;
  padding-top: 4px;
  text-align: right;
}

@media (max-width: 920px) {
  .hero-grid,
  .category-layout,
  .category-cover,
  .category-content-grid,
  .category-masthead,
  .market-grid,
  .market-report,
  .markets-observed,
  .markets-observed__report,
  .markets-hero,
  .market-pulse__grid,
  .market-radar,
  .market-daily__head,
  .market-daily__grid,
  .market-daily__radar,
  .market-chart-story,
  .market-context,
  .market-deep,
  .market-editorial,
  .market-news__grid,
  .pocket-impact,
  .pocket-impact__grid,
  .market-chart__head,
  .fundamental-panel,
  .usd-analysis,
  .weather-layout,
  .weather-hero,
  .weather-current,
  .weather-days__list article,
  .article-page,
  .article-hero,
  .article-category-grid,
  .section-grid,
  .alert-band__head,
  .alert-band__grid,
  .split-editorial,
  .mini-grid,
  .compact-sections,
  .cards-grid,
  .cards-grid--three,
  .cards-grid--four {
    grid-template-columns: 1fr;
  }

  .hero-story {
    height: 430px;
  }

  .side-rail {
    grid-template-rows: none;
  }

  .category-stack--cover {
    grid-template-rows: none;
  }

  .pulse-panel {
    position: static;
  }

  .article-sidebar {
    position: static;
  }

  .weather-sidebar {
    position: static;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    flex-basis: 100%;
    justify-content: flex-start;
    order: 3;
    padding-top: 10px;
  }

  .brand-row {
    flex-wrap: wrap;
  }

  .menu-button {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .markets-masthead__time {
    margin-left: 0;
    flex-basis: 100%;
  }

  .paridades-panel {
    padding: 14px;
  }

  .paridades-panel__head {
    display: block;
  }

  .paridades-panel__head small {
    display: block;
    margin-top: 8px;
  }

  .paridades-panel__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .topline__inner,
  .brand-row,
  .nav,
  .site-search,
  main,
  .site-footer {
    width: min(100% - 22px, 1180px);
  }

  .topline,
  .section-title {
    display: block;
  }

  .topline span + span,
  .section-title span {
    display: block;
    margin-top: 6px;
  }

  .brand {
    font-size: 34px;
  }

  .brand--image {
    width: min(220px, 58vw);
  }

  .brand--image img {
    max-height: 50px;
  }

  .brand-actions {
    gap: 8px;
  }

  .market-strip,
  .breaking {
    display: none;
  }

  .nav-wrap {
    display: none;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-menu-open .nav-wrap {
    display: block;
  }

  .nav {
    display: none;
    padding: 8px 0;
    overflow: visible;
  }

  .nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav a,
  .nav a:first-child {
    height: 38px;
    padding: 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .site-search {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-search[hidden] {
    display: none;
  }

  .hero-story h1,
  .category-main h2,
  .article-shell h1 {
    overflow-wrap: anywhere;
  }

  .hero-story {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 5px;
  }

  .hero-story__content {
    padding: 16px;
  }

  .hero-story h1 {
    max-width: 100%;
    margin: 10px 0 9px;
    font-size: clamp(24px, 8vw, 34px);
    line-height: .98;
    -webkit-line-clamp: 3;
  }

  .hero-story p {
    font-size: 14px;
    line-height: 1.32;
    -webkit-line-clamp: 2;
  }

  .hero-story time {
    font-size: 12px;
  }

  .side-rail {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rail-item {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    max-height: none;
    min-height: 96px;
    padding: 10px;
    text-align: left;
  }

  .rail-item img {
    width: 96px;
    height: 76px;
    max-height: none;
  }

  .rail-item span {
    align-self: start;
    font-size: 10px;
  }

  .rail-item strong {
    font-size: 16px;
    line-height: 1.08;
    -webkit-line-clamp: 3;
  }

  .article-shell {
    margin-top: 16px;
    padding-top: 18px;
  }

  .article-hero {
    display: block;
    padding-bottom: 22px;
  }

  .article-shell h1 {
    font-size: clamp(34px, 10vw, 50px);
    line-height: 1;
  }

  .article-excerpt {
    margin-top: 18px;
    font-size: 19px;
  }

  .article-image {
    width: calc(100% + 22px);
    margin: 22px -11px 28px;
    aspect-ratio: auto;
  }

  .article-content {
    font-size: 20px;
    line-height: 1.62;
  }

  .cards-grid,
  .cards-grid--three,
  .cards-grid--four {
    grid-template-columns: 1fr;
  }

  .story-card h3 {
    font-size: 20px;
    line-height: 1.12;
  }

  .article-comment-form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-comment-form__actions {
    display: grid;
    gap: 12px;
  }

  .article-comment-form__actions button {
    width: 100%;
  }

  .weather-hero h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .weather-hero strong {
    font-size: 62px;
  }

  .weather-current article,
  .weather-days__list article {
    padding: 14px;
  }

  .article-side-card,
  .article-category-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .article-category-card {
    min-height: 112px;
  }

  .category-feed-row {
    grid-template-columns: 1fr;
  }

  .usd-analysis__data dl,
  .fundamental-list,
  .markets-observed__side {
    grid-template-columns: 1fr;
  }

  .markets-observed__side {
    grid-template-rows: none;
  }

  .observed-report__text h1 {
    font-size: 18px;
  }

  .observed-report__text p {
    font-size: 15px;
  }
}

/* ===============================================
   TABLET RESPONSIVE - 768px BREAKPOINT
   =============================================== */
@media (max-width: 768px) {
  /* Hero grid: convertir a single column */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .side-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .rail-item {
    text-align: center;
  }

  /* Section grid: single column */
  .section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sidebar-stack {
    gap: 20px;
  }

  /* Split editorial: stack vertical */
  .split-editorial {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .split-block {
    padding: 16px;
  }

  /* Compact sections: ajustar gap */
  .compact-sections {
    gap: 16px;
  }

  .topline__inner {
    font-size: 10px;
  }

  .brand-row {
    gap: 14px;
    padding: 12px 0;
  }

  .brand--image img {
    height: 38px;
  }

  .brand-center {
    display: none;
  }

  .nav a {
    padding: 0 10px;
    font-size: 10px;
  }

  .market-strip__item {
    padding: 0 14px 0 0;
    margin-right: 8px;
  }

  /* Reducir padding en cards */
  .story-card {
    padding: 10px;
  }

  .story-card__body {
    padding: 12px;
  }

  .video-widget--short,
  .video-widget--wide {
    aspect-ratio: auto;
  }
}

/* ===============================================
   MOBILE RESPONSIVE - 480px BREAKPOINT
   =============================================== */
@media (max-width: 480px) {
  /* Header: más compacto */
  .topline__inner {
    font-size: 9px;
    padding: 4px 0;
  }

  .brand-row {
    padding: 10px 0;
    gap: 10px;
  }

  .brand--image img {
    height: 32px;
  }

  .btn-sus {
    display: none;
  }

  .menu-button {
    display: block;
    padding: 6px 10px;
    font-size: 10px;
  }

  .nav-wrap {
    display: none;
  }

  .breaking {
    height: 32px;
  }

  .breaking__badge strong {
    font-size: 8px;
    padding: 3px 7px;
  }

  .breaking__track a {
    font-size: 11px;
  }

  /* Breaking news: scroll horizontal más visible */
  .breaking {
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 8px 0;
  }

  .breaking strong {
    font-size: 11px;
  }

  .breaking__track {
    gap: 16px;
    font-size: 13px;
  }

  /* Cards más pequeñas */
  .story-card {
    padding: 8px;
  }

  .story-card__media span {
    font-size: 10px;
    padding: 4px 6px;
  }

  .story-card__body {
    padding: 10px;
  }

  .story-card__body h3 {
    font-size: 13px;
  }

  .story-card__body p {
    font-size: 12px;
  }

  .story-card__body time {
    font-size: 11px;
  }

  /* Hero story: ajustar height */
  .hero-story {
    aspect-ratio: 16 / 10;
    min-height: 250px;
  }

  .hero-story__content {
    padding: clamp(12px, 2vw, 20px);
  }

  .hero-story h1 {
    font-size: clamp(20px, 2.5vw, 28px);
  }

  /* Compact sections: más verticales */
  .compact-row span {
    font-size: 11px;
  }

  .compact-row strong {
    font-size: 12px;
  }

  /* Pulse panel: reducir grid */
  .pulse-panel {
    grid-template-columns: 1fr;
  }

  .pulse-panel a {
    font-size: 12px;
  }

  /* Footer */
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px 0;
    font-size: 11px;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__note {
    justify-self: start;
    text-align: left;
  }
}

/* Final mobile overrides */
@media (max-width: 620px) {
  html,
  body {
    overflow-x: hidden;
  }

  .market-strip,
  .breaking {
    display: none !important;
  }

  .brand-row,
  .topline__inner,
  .nav,
  .site-search,
  main,
  .site-footer {
    width: min(100% - 22px, 1180px);
  }

  .brand-row {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .brand--image {
    width: min(210px, 52vw);
  }

  .brand-actions {
    margin-left: auto;
  }

  .btn-search {
    width: 42px;
    height: 42px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .nav-wrap {
    display: none !important;
  }

  .site-header.is-menu-open .nav-wrap {
    display: block !important;
  }

  .nav.is-open {
    display: grid !important;
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .nav a,
  .nav a:first-child {
    width: 100%;
    height: 40px;
    padding: 0;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .site-search {
    grid-template-columns: 1fr;
  }

  .site-search button,
  .search-page__form button {
    width: 100%;
  }

  .hero-grid {
    gap: 12px;
  }

  .hero-story {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .hero-story__content {
    padding: 16px;
  }

  .hero-story h1 {
    max-width: 100%;
    font-size: clamp(24px, 8vw, 34px);
    line-height: .98;
    -webkit-line-clamp: 3;
  }

  .hero-story p {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .side-rail {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .rail-item {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 96px;
    max-height: none;
    padding: 10px;
    text-align: left;
  }

  .rail-item img {
    width: 96px;
    height: 76px;
    max-height: none;
  }

  .rail-item span {
    align-self: start;
    font-size: 10px;
  }

  .rail-item strong {
    font-size: 16px;
    line-height: 1.08;
    -webkit-line-clamp: 3;
  }

  .cards-grid,
  .cards-grid--three,
  .cards-grid--four,
  .mini-grid,
  .compact-sections {
    grid-template-columns: 1fr !important;
  }

  .story-card {
    padding: 0;
  }

  .story-card h3 {
    font-size: 20px;
    line-height: 1.12;
  }

  .article-shell h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .article-category-grid {
    grid-template-columns: 1fr !important;
  }
}
