/* ===== Conexion Semanal — Design System ===== */

/* View Transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: cs-fade-out 240ms cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: cs-fade-in 360ms cubic-bezier(.2,.65,.2,1) both; }
@keyframes cs-fade-out {
  to { opacity: 0; transform: translateY(-6px); filter: blur(2px); }
}
@keyframes cs-fade-in {
  from { opacity: 0; transform: translateY(10px); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}


:root {
  /* Brand */
  --brand-blue: #1538A8;
  --brand-blue-deep: #0C2479;
  --brand-blue-soft: #E9EEFB;
  --brand-orange: #E85D24;
  --brand-orange-soft: #FCE6DA;
  --breaking-red: #C81E1E;

  /* Neutrals (warm) */
  --bg: #FAFAF7;
  --bg-alt: #F2F0EA;
  --card: #FFFFFF;
  --ink: #0E0E0C;
  --ink-2: #2A2A28;
  --mute: #6B6A66;
  --mute-2: #8F8E89;
  --line: #E5E3DC;
  --line-2: #CFCDC4;
  --line-soft: rgba(14,14,12,0.08);

  /* Motion */
  --ease: cubic-bezier(.2,.65,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Section accents */
  --c-politica: #1538A8;
  --c-economia: #0E7C5A;
  --c-nacionales: #0F0F0F;
  --c-internacionales: #5B3FD9;
  --c-deportes: #0B6BCB;
  --c-tecnologia: #0F0F0F;
  --c-opinion: #9C2A2A;
  --c-cultura: #B85A1F;
  --c-vida-salud: #0E7C5A;
  --c-clima: #0B6BCB;
  --c-la-semanal: #1538A8;

  /* Type */
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ===== Sticky chrome scroll behavior ===== */
body.is-scrolled .cs-utility { transform: translateY(-100%); opacity: 0; }
body.is-scrolled .cs-masthead-inner { padding: 12px 28px; }
body.is-scrolled .cs-logo-mark { font-size: 30px; }
body.is-scrolled .cs-logo-tagline { opacity: 0; height: 0; margin-top: 0; overflow: hidden; }
.cs-utility, .cs-masthead-inner, .cs-logo-mark, .cs-logo-tagline {
  transition: transform .35s var(--ease), opacity .25s var(--ease), padding .3s var(--ease), font-size .3s var(--ease), height .3s var(--ease), margin .25s var(--ease);
}

/* ===== Top utility bar ===== */
.cs-utility {
  background: var(--ink);
  color: #E9E8E3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #1F1F1C;
  transform-origin: top center;
  will-change: transform, opacity;
}
.cs-utility-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.cs-util-left { display: flex; gap: 22px; align-items: center; }
.cs-util-right { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.cs-util-item { display: inline-flex; align-items: center; gap: 8px; color: #C8C7C2; }
.cs-util-item b { color: #fff; font-weight: 500; }
.cs-util-delta-up { color: #6FE39A; }
.cs-util-delta-down { color: #FF8E8E; }
.cs-util-pill {
  background: #fff;
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 600;
}
.cs-util-date {
  text-transform: uppercase;
  color: #C8C7C2;
}

/* ===== Masthead ===== */
.cs-masthead {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.cs-masthead-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 28px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.cs-mast-left, .cs-mast-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cs-mast-right { justify-content: flex-end; }

.cs-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.cs-logo-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cs-logo-mark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -0.025em;
  color: var(--brand-blue);
  line-height: 1;
}
.cs-logo-divider {
  width: 1px;
  height: 28px;
  background: var(--line-2);
}
.cs-logo-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.2;
  text-align: left;
}
.cs-logo-tagline {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 6px;
}

.cs-search-btn,
.cs-icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  color: var(--ink);
  transition: all .15s ease;
}
.cs-search-btn, .cs-icon-btn { transition: all .2s var(--ease); }
.cs-search-btn:hover, .cs-icon-btn:hover {
  border-color: var(--ink);
  background: var(--bg);
  transform: translateY(-1px);
}
.cs-subscribe {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  padding: 10px 18px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  border-radius: 999px;
}
.cs-subscribe { transition: all .25s var(--ease); position: relative; overflow: hidden; }
.cs-subscribe::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.cs-subscribe:hover { background: var(--brand-blue); border-color: var(--brand-blue); transform: translateY(-1px); }
.cs-subscribe:hover::before { transform: translateX(100%); }

.cs-bookmark-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-2);
}
.cs-bookmark-pill b { font-weight: 600; }

/* ===== Nav ===== */
.cs-nav {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.96);
}
.cs-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cs-nav-inner::-webkit-scrollbar { display: none; }
.cs-nav-item {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 16px;
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}
.cs-nav-item:first-child { padding-left: 0; }
.cs-nav-item .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: currentColor;
  opacity: 0.85;
}
.cs-nav-item.active {
  font-weight: 600;
}

.cs-nav-item { transition: color .2s var(--ease); }
.cs-nav-item::after {
  content: ""; position: absolute;
  left: 16px; right: 16px; bottom: -1px; height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.cs-nav-item:first-child::after { left: 0; }
.cs-nav-item:hover { color: var(--brand-blue); }
.cs-nav-item:hover::after { transform: scaleX(1); }
.cs-nav-item.active::after { transform: scaleX(1); }
.cs-nav-featured {
  color: var(--brand-blue);
  font-weight: 700;
}
.cs-nav-spacer { flex: 1; }
.cs-nav-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 14px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.cs-live-dot {
  width: 8px; height: 8px; background: var(--breaking-red); border-radius: 999px;
  animation: cs-pulse 1.6s ease-in-out infinite;
}
@keyframes cs-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ===== Breaking ticker ===== */
.cs-breaking {
  background: var(--breaking-red);
  color: #fff;
  border-bottom: 1px solid #A11414;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.cs-breaking-label {
  background: #fff;
  color: var(--breaking-red);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #A11414;
  flex-shrink: 0;
}
.cs-breaking-label::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--breaking-red);
  border-radius: 999px;
  animation: cs-pulse 1.6s ease-in-out infinite;
}
.cs-breaking-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.cs-breaking-stream {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  padding-left: 100%;
  animation: cs-ticker 65s linear infinite;
  font-size: 13.5px;
  font-weight: 500;
}
.cs-breaking-stream:hover { animation-play-state: paused; }
.cs-breaking-stream span { display: inline-flex; align-items: center; gap: 22px; }
.cs-breaking-stream span::after {
  content: "";
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.55);
  border-radius: 999px;
  display: inline-block;
}
@keyframes cs-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== Generic ===== */
.cs-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

.cs-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cs-kicker.is-link { cursor: pointer; }
.cs-kicker.is-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.cs-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--mute);
  font-family: var(--sans);
}
.cs-meta .sep { width: 3px; height: 3px; background: var(--mute-2); border-radius: 999px; }

/* ===== Section headers ===== */
.cs-section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 36px 0 18px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 24px;
}
.cs-section-head h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
}
.cs-section-head .more {
  margin-left: auto;
  font-size: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  cursor: pointer;
}
.cs-section-head .more:hover { color: var(--ink); }
.cs-section-head .count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.06em;
}

/* ===== Hero — La Semanal mega ===== */
.cs-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 22px 0 18px;
  align-items: start;
}
.cs-hero-image {
  position: relative;
  width: min(100%, 680px);
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #F7F6F2;
  aspect-ratio: 16/10;
  max-height: 320px;
  cursor: pointer;
  isolation: isolate;
}
.cs-hero-image .cs-img-placeholder,
.cs-strip-card .image .cs-img-placeholder,
.cs-cat-card .image .cs-img-placeholder,
.cs-cat-feature .image .cs-img-placeholder,
.cs-search-result .image .cs-img-placeholder,
.cs-list-thumb .cs-img-placeholder,
.cs-article-hero .cs-img-placeholder {
  transition: transform .7s var(--ease-out), filter .4s var(--ease);
}
.cs-hero-image:hover .cs-img-placeholder,
.cs-strip-card:hover .image .cs-img-placeholder,
.cs-cat-card:hover .image .cs-img-placeholder,
.cs-cat-feature:hover .image .cs-img-placeholder,
.cs-search-result:hover .image .cs-img-placeholder {
  transform: scale(1.025);
}
.cs-hero-image::after {
  display: none;
}
.cs-hero-content {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 2px 0 0;
}
.cs-hero-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 8px 0 12px;
  cursor: pointer;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.cs-hero-title {
  background-image: linear-gradient(var(--brand-blue), var(--brand-blue));
  background-repeat: no-repeat;
  background-size: 0% 3px;
  background-position: 0 100%;
  transition: background-size .5s var(--ease), color .3s var(--ease);
  padding-bottom: 4px;
}
.cs-hero-title:hover { color: var(--brand-blue); background-size: 30% 3px; }
.cs-hero-dek {
  display: none;
}
.cs-hero-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.cs-avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.cs-avatar.amber { background: #B86A14; }
.cs-avatar.blue { background: var(--brand-blue); }
.cs-avatar.rose { background: #B23B5E; }
.cs-avatar.green { background: #0E7C5A; }
.cs-avatar.teal { background: #097B7B; }
.cs-byline-text { display: flex; flex-direction: column; gap: 2px; }
.cs-byline-name { font-size: 14px; font-weight: 600; }
.cs-byline-name:hover { color: var(--brand-blue); cursor: pointer; }
.cs-byline-meta { font-size: 12px; color: var(--mute); font-family: var(--sans); }

/* placeholder image */
.cs-img-placeholder {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #D6D2C5, #BAB5A7);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.cs-img-placeholder.has-image {
  background: #F7F6F2;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.cs-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.cs-img-placeholder img + .caption {
  color: #fff;
  background: rgba(0,0,0,0.52);
  position: relative;
  z-index: 1;
}
.cs-img-placeholder .caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.55);
  background: rgba(255,255,255,0.6);
  padding: 4px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.cs-img-placeholder.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #2A2A28, #0F0F0F);
}
.cs-img-placeholder.dark .caption { color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.4); }
.cs-img-placeholder.blue {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
}
.cs-img-placeholder.blue .caption { color: #fff; background: rgba(0,0,0,0.4); }
.cs-img-placeholder.orange {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #E85D24, #B23F0D);
}
.cs-img-placeholder.orange .caption { color: #fff; background: rgba(0,0,0,0.4); }
.cs-img-placeholder.green {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #2D6A4F, #14502E);
}
.cs-img-placeholder.green .caption { color: #fff; background: rgba(0,0,0,0.4); }

.cs-img-placeholder.has-image,
.cs-img-placeholder.has-image.dark,
.cs-img-placeholder.has-image.blue,
.cs-img-placeholder.has-image.orange,
.cs-img-placeholder.has-image.green {
  background: #F7F6F2;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.cs-img-placeholder.has-image .caption {
  display: none;
}

.cs-hero-image,
.cs-strip-card .image,
.cs-list-thumb,
.cs-cat-feature .image,
.cs-cat-card .image,
.cs-search-result .image,
.cs-article-hero {
  background: #F7F6F2;
  border: 1px solid rgba(14, 14, 12, 0.08);
  box-shadow: 0 6px 18px rgba(14, 14, 12, 0.035);
}
.cs-img-placeholder.has-image img + .caption { display: none; }
.cs-strip-card .image,
.cs-list-thumb,
.cs-cat-feature .image,
.cs-cat-card .image,
.cs-search-result .image {
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

/* ===== Featured strip — La Semanal sub-stories ===== */
.cs-featured-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}
.cs-strip-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  cursor: pointer;
  transition: transform .35s var(--ease);
}
.cs-strip-card:hover { transform: translateY(-3px); }
.cs-strip-card .image {
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.cs-strip-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 4px 0 6px;
  text-wrap: balance;
  transition: color .25s var(--ease);
}
.cs-strip-card:hover h3 { color: var(--brand-blue); }
.cs-strip-card p {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}

/* ===== Main grid: 3-column layout ===== */
.cs-main-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 36px;
  padding: 12px 0 40px;
}
.cs-col h3.col-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cs-col h3.col-title .index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.cs-col .col-list { display: flex; flex-direction: column; }
.cs-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: padding .25s var(--ease);
}
.cs-list-item::before {
  content: ""; position: absolute;
  left: -14px; top: 50%;
  width: 4px; height: 0; background: var(--brand-orange);
  transform: translateY(-50%);
  transition: height .3s var(--ease);
  border-radius: 2px;
}
.cs-list-item:hover { padding-left: 8px; }
.cs-list-item:hover::before { height: 60%; }
.cs-list-item:last-child { border-bottom: 0; }
.cs-list-item .kicker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.cs-section-dot { width: 7px; height: 7px; border-radius: 999px; }
.cs-list-item h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  text-wrap: balance;
  transition: color .25s var(--ease);
}
.cs-list-item:hover h4 { color: var(--brand-blue); }
.cs-list-item p {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0 0 6px;
}
.cs-list-item .meta-row {
  font-size: 11.5px;
  font-family: var(--sans);
  color: var(--mute);
  display: flex;
  gap: 8px;
}
.cs-list-thumb {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  isolation: isolate;
}

/* Right rail */
.cs-rail .rail-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cs-rail .rail-card:hover {
  box-shadow: 0 18px 40px -20px rgba(14,14,12,0.18);
}
.cs-rail h4.rail-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-rail h4.rail-title .icon { color: var(--brand-orange); }

.cs-trending-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.cs-trending-item:hover { transform: translateX(4px); }
.cs-trending-item .cs-trending-num { transition: color .25s var(--ease), transform .25s var(--ease); }
.cs-trending-item:hover .cs-trending-num { color: var(--brand-orange); }
.cs-trending-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cs-trending-item:first-child { padding-top: 0; }
.cs-trending-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.cs-trending-item h5 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.cs-trending-item:hover h5 { color: var(--brand-blue); }
.cs-trending-item .views {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--mute);
  letter-spacing: 0.04em;
}

/* Bookmark rail */
.cs-bookmark-card {
  border: 1px solid var(--brand-blue);
  background: var(--brand-blue-soft);
}
.cs-bookmark-card h4 { border-bottom-color: rgba(21,56,168,0.2); color: var(--brand-blue-deep); }
.cs-bookmark-empty {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--brand-blue-deep);
  line-height: 1.4;
}
.cs-saved-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(21,56,168,0.15);
  cursor: pointer;
}
.cs-saved-item:last-child { border-bottom: 0; }
.cs-saved-item .title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.cs-saved-item .meta { font-family: var(--mono); font-size: 10.5px; color: var(--brand-blue-deep); letter-spacing: 0.04em; }
.cs-rail-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brand-blue);
  color: #fff;
  padding: 10px;
  border: 0;
  border-radius: 3px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  margin-top: 10px;
}

/* Weather widget */
.cs-weather-card {
  background: linear-gradient(135deg, #1538A8 0%, #0C2479 100%);
  color: #fff;
  border: 0;
}
.cs-weather-card h4 { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.15); }
.cs-weather-temp {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--serif);
}
.cs-weather-temp .num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.cs-weather-temp .unit { font-size: 22px; opacity: 0.6; font-weight: 400; }
.cs-weather-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  font-family: var(--mono);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.cs-weather-cond { font-size: 14px; font-weight: 500; margin-top: 6px; }

/* ===== Opinion strip ===== */
.cs-opinion {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  margin: 20px 0;
}
.cs-opinion-grid {
  display: grid;
  grid-template-columns: 220px repeat(3, 1fr);
  gap: 30px;
}
.cs-opinion-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1;
}
.cs-opinion-title .sub {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 10px;
}
.cs-opinion-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  padding-left: 22px;
  border-left: 2px solid var(--c-opinion);
}
.cs-opinion-card .name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-opinion);
}
.cs-opinion-card h4 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.005em;
}
.cs-opinion-card:hover h4 { color: var(--brand-blue); }

/* ===== Footer ===== */
.cs-footer {
  background: var(--ink);
  color: #C8C7C2;
  padding: 60px 0 30px;
  margin-top: 60px;
}
.cs-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2A2A28;
}
.cs-footer-brand {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin-bottom: 18px;
}
.cs-footer-brand span { color: var(--brand-orange); }
.cs-footer-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8F8E89;
  margin-bottom: 24px;
}
.cs-footer p { font-family: var(--serif); font-size: 14px; line-height: 1.5; color: #C8C7C2; max-width: 38ch; }
.cs-footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
  margin: 0 0 16px;
}
.cs-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.cs-footer ul li { font-size: 13.5px; color: #C8C7C2; cursor: pointer; }
.cs-footer ul li:hover { color: #fff; }
.cs-footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: #6B6A66;
  letter-spacing: 0.04em;
}

/* Animated counter style */
.cs-counter { font-variant-numeric: tabular-nums; }

/* ===== Ad Slots — editorial placeholders ===== */
.cs-ad {
  width: 100%;
  max-width: var(--ad-max-w, 970px);
  margin: 20px auto;
  display: flex;
  justify-content: center;
}
.cs-ad-link {
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.cs-ad-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ad-max-w) / var(--ad-h);
  max-height: var(--ad-h);
  background:
    repeating-linear-gradient(45deg,
      rgba(21,56,168,0.025) 0 1px,
      transparent 1px 12px),
    linear-gradient(180deg, #FBFAF5, #F4F2EA);
  border: 1px dashed var(--line-2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cs-ad.has-live-ad .cs-ad-frame {
  background: #fff;
  border-style: solid;
}
.cs-ad-live {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fff;
}
.cs-ad-live img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cs-ad-live-caption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 7px;
}
.cs-ad-corner {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
}
.cs-ad-corner-tl { top: 0; left: 0; }
.cs-ad-corner-tr { top: 0; right: 0; }
.cs-ad-corner-bl { bottom: 0; left: 0; }
.cs-ad-tag {
  background: rgba(255,255,255,0.85);
  padding: 4px 8px;
  border-radius: 2px;
  font-weight: 600;
  color: var(--ink-2);
}
.cs-ad-size {
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
}
.cs-ad-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 0 12px;
}
.cs-ad-label {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.cs-ad-sponsor {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
  font-weight: 600;
}

/* Compact ad sizes — smaller text */
.cs-ad[style*="ad-h: 90"] .cs-ad-label,
.cs-ad[style*="ad-h: 100"] .cs-ad-label {
  font-size: 13px;
}
.cs-ad[style*="ad-h: 90"] .cs-ad-corner-bl,
.cs-ad[style*="ad-h: 100"] .cs-ad-corner-bl {
  display: none;
}

/* Sidebar full-width inside rail */
.cs-rail .cs-ad { margin: 0 0 20px; max-width: 100%; }
.cs-rail .cs-ad-frame { max-height: none; }

/* Article sidebar ad */
.cs-article-side .cs-ad { margin: 0 0 16px; max-width: 100%; }
.cs-article-side .cs-ad-frame { max-height: none; }

/* In-article ad — full width but capped */
.cs-article-body .cs-ad { margin: 36px auto; max-width: 100%; }

/* Top of page leaderboard */
.cs-leaderboard-wrap {
  background: var(--bg);
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
}
.cs-leaderboard-wrap .cs-ad { margin: 0 auto; }

/* Sponsor strip — institutional row of small placements */
.cs-sponsor-strip {
  background: var(--bg-alt);
  padding: 26px 0;
  margin: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-sponsor-strip .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.cs-sponsor-strip .label::before,
.cs-sponsor-strip .label::after {
  content: ""; flex: 0 1 80px; height: 1px; background: var(--line-2);
}
.cs-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cs-sponsor-slot {
  aspect-ratio: 4/2;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.025) 0 1px, transparent 1px 10px),
    #FBFAF5;
  border: 1px dashed var(--line-2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  position: relative;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.cs-sponsor-slot:hover {
  border-color: var(--brand-blue);
  background: #fff;
}
.cs-sponsor-slot span { padding: 0 8px; text-align: center; }

@media (max-width: 900px) {
  .cs-sponsor-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Article page ===== */
.cs-article {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 28px 60px;
}
.cs-article-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}
.cs-article-kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-politica);
  margin-bottom: 22px;
}
.cs-article-title {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 22px;
  text-wrap: balance;
}
.cs-article-dek {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0 0 28px;
  font-weight: 400;
  text-wrap: balance;
}
.cs-article-byline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.cs-article-byline .info { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.cs-article-byline .name { font-weight: 600; font-size: 14px; }
.cs-article-byline .meta { font-size: 12px; color: var(--mute); font-family: var(--sans); }
.cs-article-hero {
  margin: 0 auto 40px;
  max-width: 1180px;
  aspect-ratio: 21/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt);
}

.cs-article-body-wrap {
  display: grid;
  grid-template-columns: 60px 1fr 280px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.cs-article-tools {
  position: sticky;
  top: 80px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-tool-btn {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink);
  transition: all .15s ease;
}
.cs-tool-btn:hover { border-color: var(--ink); background: var(--bg-alt); }
.cs-tool-btn.is-active { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
.cs-tool-btn .count { font-size: 10px; font-family: var(--mono); position: absolute; bottom: 2px; right: 4px; }

.cs-article-body {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 64ch;
}
.cs-article-body p { margin: 0 0 22px; }
.cs-article-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 78px;
  font-weight: 800;
  line-height: 0.85;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--brand-blue);
}
.cs-article-body .subhead {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 32px 0 16px;
  line-height: 1.15;
}
.cs-article-body .pullquote {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  border-left: 4px solid var(--brand-orange);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  color: var(--ink);
  text-wrap: balance;
}

.cs-article-side {
  position: sticky;
  top: 80px;
  align-self: start;
}
.cs-article-side .side-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ===== Category page ===== */
.cs-cat-hero {
  padding: 48px 0 28px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 32px;
}
.cs-cat-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.cs-cat-title {
  font-family: var(--serif);
  font-size: 92px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0 0 18px;
  text-wrap: balance;
}
.cs-cat-dek {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink-2);
  max-width: 70ch;
  line-height: 1.4;
  margin: 0;
}
.cs-cat-stats {
  display: flex;
  gap: 36px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.cs-cat-stats b { color: var(--ink); font-family: var(--serif); font-size: 22px; display: block; letter-spacing: -0.01em; margin-top: 4px; }

.cs-cat-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.cs-cat-feature .image { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; position: relative; isolation: isolate; }
.cs-cat-feature h2 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
  text-wrap: balance;
  cursor: pointer;
}
.cs-cat-feature h2:hover { color: var(--brand-blue); }
.cs-cat-feature p { font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--ink-2); margin: 0 0 20px; }

.cs-cat-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  padding-bottom: 40px;
}
.cs-cat-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .35s var(--ease);
}
.cs-cat-card:hover { transform: translateY(-4px); }
.cs-cat-card .image { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; position: relative; isolation: isolate; }
.cs-cat-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 4px 0 6px;
  text-wrap: balance;
  transition: color .25s var(--ease);
}
.cs-cat-card:hover h3 { color: var(--brand-blue); }
.cs-cat-card p { font-family: var(--serif); font-size: 14.5px; line-height: 1.4; color: var(--ink-2); margin: 0 0 8px; }

/* ===== Author profile ===== */
.cs-author-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 60px 0 50px;
}
.cs-author-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}
.cs-author-avatar {
  width: 130px;
  height: 130px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 48px;
  color: #fff;
  letter-spacing: -0.02em;
}
.cs-author-name {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
}
.cs-author-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 8px 0 14px;
}
.cs-author-bio {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}
.cs-author-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}
.cs-author-stat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.cs-author-stat b {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ===== Search ===== */
.cs-search-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 28px 60px;
}
.cs-search-input-wrap {
  position: relative;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
}
.cs-search-input {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--ink);
  padding: 8px 0;
}
.cs-search-input::placeholder { color: var(--mute-2); }
.cs-search-stats {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mute);
  margin: 18px 0 28px;
}
.cs-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}
.cs-filter-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.cs-filter-chip:hover { border-color: var(--ink); }
.cs-filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cs-search-result {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: transform .3s var(--ease), padding-left .3s var(--ease);
}
.cs-search-result:hover { transform: translateX(4px); }
.cs-search-result:last-child { border-bottom: 0; }
.cs-search-result .image { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; position: relative; isolation: isolate; }
.cs-search-result h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 6px 0 8px;
}
.cs-search-result:hover h3 { color: var(--brand-blue); }
.cs-search-result p { font-family: var(--serif); font-size: 15.5px; line-height: 1.4; color: var(--ink-2); margin: 0 0 10px; }
.cs-search-result mark { background: rgba(232,93,36,0.18); color: var(--ink); padding: 0 2px; }

/* ===== Search modal overlay ===== */
.cs-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,14,12,0.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}
.cs-search-overlay-inner {
  background: var(--card);
  width: min(720px, 92vw);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

/* Loading state for transitions */
.cs-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Tag color helpers ===== */
.cs-tag-politica { color: var(--c-politica); }
.cs-tag-economia { color: var(--c-economia); }
.cs-tag-nacionales { color: var(--c-nacionales); }
.cs-tag-internacionales { color: var(--c-internacionales); }
.cs-tag-deportes { color: var(--c-deportes); }
.cs-tag-tecnologia { color: var(--c-tecnologia); }
.cs-tag-opinion { color: var(--c-opinion); }
.cs-tag-cultura { color: var(--c-cultura); }
.cs-tag-vida-salud { color: var(--c-vida-salud); }
.cs-tag-clima { color: var(--c-clima); }
.cs-tag-la-semanal { color: var(--c-la-semanal); }

.bg-politica, .bg-la-semanal { background: var(--c-politica); }
.bg-economia, .bg-vida-salud { background: var(--c-economia); }
.bg-nacionales, .bg-tecnologia { background: var(--c-nacionales); }
.bg-internacionales { background: var(--c-internacionales); }
.bg-deportes, .bg-clima { background: var(--c-deportes); }
.bg-opinion { background: var(--c-opinion); }
.bg-cultura { background: var(--c-cultura); }

/* ===== Reveal on scroll ===== */
/* Default: visible. Armed by JS only when transitions are confirmed to work. */
.cs-reveal { opacity: 1; transform: none; }
.cs-reveal-armed {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: auto;
}
.cs-reveal-armed.is-in {
  opacity: 1;
  transform: none;
}
.cs-reveal-armed[data-delay="1"] { transition-delay: 60ms; }
.cs-reveal-armed[data-delay="2"] { transition-delay: 120ms; }
.cs-reveal-armed[data-delay="3"] { transition-delay: 180ms; }
.cs-reveal-armed[data-delay="4"] { transition-delay: 240ms; }
.cs-reveal-armed[data-delay="5"] { transition-delay: 300ms; }

/* small fade in on view change (fallback for browsers w/o VT API) */
.cs-view {
  animation: fadeUp 0.4s var(--ease-out);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Density variants */
body.density-compact .cs-hero-title { font-size: 36px; }
body.density-compact .cs-section-head { padding: 22px 0 12px; margin-bottom: 16px; }
body.density-compact .cs-section-head h2 { font-size: 28px; }
body.density-compact .cs-list-item { padding: 12px 0; }
body.density-compact .cs-cat-list { gap: 22px 18px; }
body.density-airy .cs-hero-title { font-size: 40px; line-height: 1.08; }
body.density-airy .cs-section-head { padding: 56px 0 26px; margin-bottom: 36px; }
body.density-airy .cs-section-head h2 { font-size: 44px; }
body.density-airy .cs-cat-list { gap: 48px 36px; }

/* Light utility bar option */
body.utility-light .cs-utility { background: #fff; color: var(--ink-2); border-bottom: 1px solid var(--line); }
body.utility-light .cs-util-item { color: var(--mute); }
body.utility-light .cs-util-item b { color: var(--ink); }
body.utility-light .cs-util-date { color: var(--mute); }
body.utility-light .cs-util-pill { background: var(--ink); color: #fff; }

/* responsive */
@media (max-width: 1100px) {
  .cs-hero { grid-template-columns: 1fr; }
  .cs-hero-title { font-size: 34px; }
  .cs-hero-image { width: 100%; max-height: 300px; }
  .cs-main-grid { grid-template-columns: 1fr; }
  .cs-cat-list { grid-template-columns: repeat(2, 1fr); }
  .cs-opinion-grid { grid-template-columns: 1fr; }
  .cs-article-body-wrap { grid-template-columns: 1fr; }
  .cs-article-tools, .cs-article-side { display: none; }
  .cs-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cs-author-inner { grid-template-columns: 1fr; text-align: center; }
  .cs-author-stats { flex-direction: row; justify-content: center; }
}

@media (max-width: 700px) {
  html,
  body {
    overflow-x: hidden;
  }

  #root,
  main,
  .cs-view {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .cs-container {
    width: 100%;
    max-width: 100%;
    padding: 0 18px;
    overflow-x: hidden;
  }

  .cs-utility-inner {
    padding: 8px 18px;
    align-items: flex-start;
    gap: 10px;
  }

  .cs-util-left,
  .cs-util-right {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .cs-util-right {
    margin-left: 0;
  }

  .cs-util-pill {
    display: none;
  }

  .cs-masthead-inner {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 12px;
    overflow: hidden;
  }

  .cs-mast-left,
  .cs-mast-right {
    width: 100%;
    justify-content: center;
  }

  .cs-logo {
    width: 100%;
    min-width: 0;
  }

  .cs-logo-row {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }

  .cs-logo-mark {
    width: 100%;
    max-width: calc(100vw - 36px);
    font-size: clamp(30px, 8.8vw, 34px);
    line-height: 0.95;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .cs-logo-tagline {
    max-width: 320px;
    letter-spacing: 0.2em;
    line-height: 1.5;
  }

  .cs-nav-inner {
    padding: 0 18px;
  }

  .cs-breaking-label {
    padding: 10px 12px;
  }

  .cs-leaderboard-wrap {
    padding: 14px 18px;
  }

  .cs-ad-frame {
    min-height: 86px;
  }

  .cs-ad-corner {
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .cs-ad-corner-tr,
  .cs-ad-corner-bl {
    display: none;
  }

  .cs-ad-label {
    font-size: 13px;
    line-height: 1.2;
  }

  .cs-hero {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 20px 0 18px;
    overflow-x: hidden;
  }

  .cs-hero-image {
    width: 100%;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .cs-hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .cs-hero-content > div:first-child {
    flex-wrap: wrap;
  }

  .cs-hero-title,
  body.density-compact .cs-hero-title,
  body.density-airy .cs-hero-title {
    max-width: min(100%, 320px);
    width: 100%;
    font-size: 29px;
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .cs-featured-strip,
  .cs-cat-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cs-main-grid {
    gap: 24px;
  }

  .cs-list-item {
    grid-template-columns: 1fr;
  }

  .cs-list-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .cs-section-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .cs-section-head h2 {
    width: 100%;
    font-size: 30px;
  }

  .cs-article {
    padding: 28px 18px 48px;
  }

  .cs-article-title {
    font-size: clamp(34px, 11vw, 46px);
  }

  .cs-article-dek {
    font-size: 18px;
  }

  .cs-article-hero {
    aspect-ratio: 4 / 3;
    margin-bottom: 28px;
  }
}
