/* ================================================================
   Hiperlocales.com — sistema de estilos
   Dos variantes coexisten: [data-variant="editorial"] vs [data-variant="magazine"]
   ================================================================ */

:root {
  /* Hiperlocales brand */
  --hl-accent: #C15766;        /* rojo-rosado de marca */
  --hl-accent-deep: #9C3F4E;
  --hl-accent-soft: #F6E3E6;
  --hl-blue: #5898BF;          /* azul de marca */
  --hl-blue-deep: #3E7DA3;
  --hl-blue-soft: #E1ECF3;
  --hl-gold: #C4A857;          /* dorado de marca */
  --hl-gold-deep: #9E8638;
  --hl-gold-soft: #F2EAD0;

  --hl-ink: #1A1714;
  --hl-ink-2: #3A332D;
  --hl-ink-3: #756E66;
  --hl-line: #E6E0D7;
  --hl-line-2: #EFEAE2;
  --hl-bg: #F5F3EF;            /* crema de la guía de marca */
  --hl-bg-card: #FFFFFF;
  --hl-shadow: 0 1px 0 rgba(26,23,20,.04), 0 12px 32px -16px rgba(26,23,20,.10);

  /* tonal placeholders — alineados a la paleta */
  --tone-orange: #E8B5BC;
  --tone-orange-2: #C15766;
  --tone-teal: #B8D2E1;
  --tone-teal-2: #5898BF;
  --tone-rose: #DCC0C5;
  --tone-rose-2: #9C3F4E;
  --tone-amber: #E4D49A;
  --tone-amber-2: #C4A857;
  --tone-slate: #CFC9BF;
  --tone-slate-2: #807A70;

  --hl-radius: 4px;
  --hl-radius-lg: 10px;
}

/* Variante MAGAZINE (vibrante, condensada, blanco puro, denso) */
[data-variant="magazine"] {
  --hl-accent: #C15766;
  --hl-accent-deep: #8E3340;
  --hl-accent-soft: #F6E3E6;
  --hl-ink: #0A0A0A;
  --hl-ink-2: #2B2B2B;
  --hl-ink-3: #6A6A6A;
  --hl-line: #ECECEC;
  --hl-line-2: #F5F5F5;
  --hl-bg: #FFFFFF;
  --hl-bg-card: #FFFFFF;
  --hl-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px -20px rgba(0,0,0,.12);

  --hl-radius: 2px;
  --hl-radius-lg: 4px;
}

/* ========== reset/base ========== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  overflow-x: hidden; /* los sangrados a borde (shorts, etc.) usan márgenes negativos y no deben abrir scroll horizontal */
  background: var(--hl-bg);
  color: var(--hl-ink);
  font-family: 'Inter Tight', 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ========== headlines ========== */
.hl-display {
  font-family: 'Newsreader', 'Times New Roman', Georgia, serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
[data-variant="magazine"] .hl-display {
  font-family: 'Bricolage Grotesque', 'Inter Tight', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hl-headline {
  font-family: 'Newsreader', 'Times New Roman', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.12;
  text-wrap: balance;
}
[data-variant="magazine"] .hl-headline {
  font-family: 'Bricolage Grotesque', 'Inter Tight', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.hl-mono {
  font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ========== layout ========== */
.hl-page { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .hl-page { padding: 0 32px; } }
@media (min-width: 1200px) { .hl-page { padding: 0 48px; } }

.hl-divider { height: 1px; background: var(--hl-line); margin: 0; }
.hl-divider-thick { height: 1px; background: var(--hl-ink); margin: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.hl-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--hl-bg);
  transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
}
.hl-header.is-scrolled {
  background: var(--hl-bg-card);
  box-shadow: 0 1px 0 var(--hl-line);
}
[data-variant="magazine"] .hl-header.is-scrolled {
  background: #fff;
  box-shadow: 0 1px 0 var(--hl-ink);
}

.hl-header__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0 14px;
  transition: padding .25s ease;
}
.hl-header.is-scrolled .hl-header__top { padding: 10px 0 8px; }

.hl-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--hl-ink);
  line-height: 1;
}
[data-variant="magazine"] .hl-logo {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 26px;
}
.hl-logo__mark {
  width: 32px; height: 32px;
  background-image: url('../assets/h-mark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.hl-logo__word {
  display: inline-flex; align-items: baseline; gap: 0;
  font-feature-settings: 'liga' 1, 'kern' 1;
}
.hl-logo__word i {
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hl-logo__word b {
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hl-claim {
  display: none;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--hl-ink-3);
  padding-left: 18px;
  margin-left: 18px;
  border-left: 1px solid var(--hl-line);
  max-width: 260px;
  line-height: 1.3;
}
[data-variant="magazine"] .hl-claim {
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
  font-weight: 500;
}
@media (min-width: 1024px) { .hl-claim { display: block; } }

.hl-header__lockup { display: flex; align-items: center; flex: 1; min-width: 0; }
.hl-header__live {
  display: none;
  align-items: center; gap: 8px;
  margin-left: auto; padding-right: 16px;
  font-size: 12px; color: var(--hl-ink-2);
}
@media (min-width: 1024px) { .hl-header__live { display: flex; } }
.hl-livedot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--hl-accent);
  box-shadow: 0 0 0 0 rgba(193,87,102,.6);
  animation: hl-pulse 1.8s infinite;
}
@keyframes hl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(193,87,102,.55); }
  70% { box-shadow: 0 0 0 8px rgba(193,87,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(193,87,102,0); }
}

.hl-iconbtn {
  width: 40px; height: 40px;
  border: 1px solid var(--hl-line);
  background: transparent; color: var(--hl-ink);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s ease;
}
.hl-iconbtn:hover { background: var(--hl-ink); color: var(--hl-bg); border-color: var(--hl-ink); }
[data-variant="magazine"] .hl-iconbtn { border-radius: 0; border-color: var(--hl-ink); }

.hl-header__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.hl-burger { display: inline-flex; }
@media (min-width: 1024px) { .hl-burger { display: none; } }
@media (max-width: 480px) { .hl-header__actions .hl-btn { display: none; } }
@media (max-width: 380px) { .hl-logo { font-size: 22px; } .hl-logo__mark { width: 26px; height: 26px; } }

/* nav */
.hl-nav {
  display: none;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid var(--hl-line);
  border-bottom: 1px solid var(--hl-line);
}
@media (min-width: 1024px) { .hl-nav { display: flex; } }
@media (max-width: 1023px) {
  .hl-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .hl-nav.is-open .hl-nav__item { padding: 14px 4px; }
  .hl-nav.is-open .hl-nav__item:first-child { padding-left: 4px; }
  .hl-nav.is-open .hl-nav__search { margin-left: 0; border-left: none; border-top: 1px solid var(--hl-line); min-width: 0; }
}
.hl-nav__item {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hl-ink);
  position: relative;
  transition: color .15s ease;
}
.hl-nav__item:first-child { padding-left: 0; }
.hl-nav__item.is-active { color: var(--hl-accent); }
.hl-nav__item.is-active::after {
  content: ''; position: absolute; left: 0; right: 18px; bottom: -1px; height: 2px;
  background: var(--hl-accent);
}
.hl-nav__item:first-child.is-active::after { left: 0; right: 18px; }
.hl-nav__item:hover { color: var(--hl-accent); }

.hl-nav__search {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 14px;
  border-left: 1px solid var(--hl-line);
  flex: 0 0 auto; min-width: 280px;
}
.hl-nav__search input {
  border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 14px; color: var(--hl-ink);
  flex: 1; padding: 6px 0;
}
.hl-nav__search input::placeholder { color: var(--hl-ink-3); }

.hl-pill-key {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  padding: 2px 6px; border: 1px solid var(--hl-line);
  border-radius: 3px; color: var(--hl-ink-3);
}

/* ============================================================
   HERO — carrusel de shorts
   ============================================================ */
.hl-hero { padding: 24px 0 40px; }
@media (min-width: 1024px) { .hl-hero { padding: 36px 0 56px; } }

.hl-hero__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px; margin-bottom: 20px;
}
.hl-hero__title {
  font-size: 40px;
}
@media (min-width: 768px) { .hl-hero__title { font-size: 56px; } }
@media (min-width: 1200px) { .hl-hero__title { font-size: 72px; } }
.hl-hero__title em {
  font-style: italic;
  color: var(--hl-accent);
}
[data-variant="magazine"] .hl-hero__title em {
  font-style: normal;
  background: var(--hl-accent);
  color: #fff;
  padding: 0 .15em;
  font-style: normal;
}

.hl-hero__meta {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
  padding-bottom: 6px;
}
.hl-hero__meta .hl-mono { color: var(--hl-ink-3); }

.hl-hero__nav { display: flex; gap: 6px; }

/* carrusel */
.hl-shorts {
  display: flex; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 8px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  scroll-padding-left: 24px;
}
@media (min-width: 768px) { .hl-shorts { gap: 14px; margin: 0 -32px; padding-left: 32px; padding-right: 32px; scroll-padding-left: 32px; } }
@media (min-width: 1200px) { .hl-shorts { gap: 16px; margin: 0 -48px; padding-left: 48px; padding-right: 48px; scroll-padding-left: 48px; } }
.hl-shorts::-webkit-scrollbar { display: none; }

.hl-short {
  flex: 0 0 auto;
  width: 148px;
  scroll-snap-align: start;
  position: relative;
}
@media (min-width: 768px) { .hl-short { width: 180px; } }
@media (min-width: 1200px) { .hl-short { width: 200px; } }

.hl-short__media {
  aspect-ratio: 9 / 16;
  border-radius: var(--hl-radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--tone-slate);
  transition: transform .3s ease;
}
.hl-short:hover .hl-short__media { transform: translateY(-2px); }

.hl-short__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.0) 45%, rgba(0,0,0,.25) 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 12px;
  color: #fff;
}

.hl-short__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }

.hl-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  background: rgba(255,255,255,.95);
  color: var(--hl-ink);
  border-radius: 100px;
  font-weight: 500;
}
.hl-tag--accent { background: var(--hl-accent); color: #fff; }
.hl-tag--live { background: #fff; color: var(--hl-accent); }
.hl-tag--live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--hl-accent); animation: hl-pulse 1.5s infinite;
}
[data-variant="magazine"] .hl-tag { border-radius: 0; }

.hl-short__views {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 100px;
  font-variant-numeric: tabular-nums;
}
[data-variant="magazine"] .hl-short__views { border-radius: 0; }

.hl-short__bottom { }
.hl-short__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 6px;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hl-short__meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,.85);
}
.hl-short__meta strong { font-weight: 600; color: #fff; }

.hl-short__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  background: rgba(255,255,255,.9);
  color: var(--hl-ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: .85; transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.hl-short:hover .hl-short__play { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }

/* tonal placeholder bg */
.hl-tone-orange { background: linear-gradient(135deg, var(--tone-orange) 0%, var(--tone-orange-2) 100%); }
.hl-tone-teal { background: linear-gradient(135deg, var(--tone-teal) 0%, var(--tone-teal-2) 100%); }
.hl-tone-rose { background: linear-gradient(135deg, var(--tone-rose) 0%, var(--tone-rose-2) 100%); }
.hl-tone-amber { background: linear-gradient(135deg, var(--tone-amber) 0%, var(--tone-amber-2) 100%); }
.hl-tone-slate { background: linear-gradient(135deg, var(--tone-slate) 0%, var(--tone-slate-2) 100%); }

.hl-placeholder-label {
  position: absolute; left: 12px; bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,.55);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   SECTION HEADERS — reusable
   ============================================================ */
.hl-section { padding: 48px 0; }
@media (min-width: 1024px) { .hl-section { padding: 72px 0; } }

.hl-section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 28px;
  border-bottom: 1px solid var(--hl-ink);
  padding-bottom: 14px;
}
.hl-section__title {
  font-size: 28px;
  margin: 0;
}
@media (min-width: 768px) { .hl-section__title { font-size: 36px; } }
@media (min-width: 1200px) { .hl-section__title { font-size: 44px; } }
.hl-section__kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--hl-ink-3);
}
.hl-section__kicker::before {
  content: ''; display: inline-block; width: 8px; height: 8px;
  background: var(--hl-accent); border-radius: 50%;
}
.hl-section__kicker.is-blue::before { background: var(--hl-blue); }
.hl-section__kicker.is-gold::before { background: var(--hl-gold); }
[data-variant="magazine"] .hl-section__kicker::before { border-radius: 0; }

.hl-section__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--hl-ink);
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.hl-section__more:hover { color: var(--hl-accent); border-bottom-color: var(--hl-accent); }

/* ============================================================
   FEATURED — destacadas
   ============================================================ */
.hl-featured-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .hl-featured-grid {
    grid-template-columns: 2fr 1fr;
    gap: 32px;
  }
}

.hl-featured-aside {
  display: flex; flex-direction: column;
  gap: 0;
}
.hl-featured-aside > * + * {
  border-top: 1px solid var(--hl-line);
  padding-top: 18px;
  margin-top: 18px;
}

.hl-card { display: block; cursor: pointer; }
.hl-card__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--hl-radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
  background: var(--tone-slate);
}
.hl-card__media--tall { aspect-ratio: 4 / 5; }
.hl-card__media--square { aspect-ratio: 1 / 1; }

.hl-kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--hl-accent);
  margin-bottom: 8px;
  font-weight: 500;
}

.hl-card__title {
  font-size: 22px;
  margin: 0 0 8px;
  transition: color .15s ease;
}
.hl-card__title--lg { font-size: 32px; }
@media (min-width: 1024px) {
  .hl-card__title { font-size: 24px; }
  .hl-card__title--lg { font-size: 44px; line-height: 1.02; }
}
.hl-card:hover .hl-card__title { color: var(--hl-accent); }

.hl-card__lede {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px; line-height: 1.45;
  color: var(--hl-ink-2);
  margin: 0 0 12px;
  text-wrap: pretty;
}
[data-variant="magazine"] .hl-card__lede {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
}

.hl-card__meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--hl-ink-3);
}
.hl-card__meta .muni {
  font-weight: 600; color: var(--hl-ink-2);
}
.hl-card__meta .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; opacity: .5; }

/* compact card variant */
.hl-card--compact { display: grid; grid-template-columns: 92px 1fr; gap: 14px; }
.hl-card--compact .hl-card__media { aspect-ratio: 1 / 1; margin: 0; border-radius: var(--hl-radius); }
.hl-card--compact .hl-card__title { font-size: 16px; line-height: 1.2; margin-bottom: 6px; }
[data-variant="magazine"] .hl-card--compact .hl-card__title { font-size: 17px; }

/* ============================================================
   FEED — magazine grid
   ============================================================ */
.hl-feed-grid {
  display: grid;
  gap: 18px 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .hl-feed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 32px;
  }
}

.hl-list-block {
  border-top: 1px solid var(--hl-ink);
  padding-top: 14px;
}
.hl-list-block__heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--hl-ink-3);
  margin-bottom: 14px;
}
.hl-list-block__item {
  padding: 14px 0;
  border-bottom: 1px solid var(--hl-line);
  display: flex; gap: 16px; align-items: flex-start;
}
.hl-list-block__item:last-child { border-bottom: none; }
.hl-list-block__num {
  font-family: 'Newsreader', serif;
  font-size: 18px;
  color: var(--hl-ink-3);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  padding-top: 2px;
}
[data-variant="magazine"] .hl-list-block__num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
}
.hl-list-block__title {
  font-size: 15px; font-weight: 600; line-height: 1.25;
  margin: 0 0 4px;
  flex: 1;
}
.hl-list-block__meta { font-size: 12px; color: var(--hl-ink-3); }

/* video card with duration */
.hl-card__duration {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}
.hl-card__playicon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,.95);
  color: var(--hl-ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.hl-card:hover .hl-card__playicon { transform: translate(-50%, -50%) scale(1.08); }

/* ============================================================
   TRENDING
   ============================================================ */
.hl-trending {
  background: var(--hl-ink);
  color: #fff;
  --hl-line: #2A2A2A;
  --hl-line-2: #1F1F1F;
  --hl-ink-3: #999;
}
.hl-trending .hl-section__head { border-color: rgba(255,255,255,.4); }
.hl-trending .hl-section__title { color: #fff; }
.hl-trending .hl-section__kicker { color: rgba(255,255,255,.6); }
.hl-trending .hl-section__more { color: #fff; }

.hl-trending-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .hl-trending-grid { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}
@media (min-width: 1024px) {
  .hl-trending-grid { grid-template-columns: repeat(2, 1fr); }
}

.hl-trend-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  align-items: center;
  cursor: pointer;
  transition: background .15s ease;
}
.hl-trend-row:hover { background: rgba(255,255,255,.03); padding-left: 8px; padding-right: 8px; margin-left: -8px; margin-right: -8px; }
@media (min-width: 768px) {
  .hl-trend-row { grid-template-columns: 56px 1fr auto; }
}

.hl-trend__rank {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  color: var(--hl-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.hl-trend-row:nth-child(3n+2) .hl-trend__rank { color: var(--hl-blue); }
.hl-trend-row:nth-child(3n+3) .hl-trend__rank { color: var(--hl-gold); }
[data-variant="magazine"] .hl-trend__rank {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -0.06em;
}

.hl-trend__body { min-width: 0; }
.hl-trend__title {
  font-size: 16px; font-weight: 600;
  margin: 0 0 6px; line-height: 1.25;
  color: #fff;
}
@media (min-width: 1024px) { .hl-trend__title { font-size: 18px; } }
.hl-trend__meta {
  font-size: 12px; color: rgba(255,255,255,.6);
  display: flex; gap: 8px; align-items: center;
}
.hl-trend__meta strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* ============================================================
   VIDEOS GRID
   ============================================================ */
.hl-videos-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .hl-videos-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .hl-videos-grid { grid-template-columns: repeat(6, 1fr); } }

.hl-vidcard__title {
  font-size: 14px; line-height: 1.2; margin: 10px 0 4px;
  font-weight: 600;
}
@media (min-width: 1024px) { .hl-vidcard__title { font-size: 15px; } }
.hl-vidcard__meta { font-size: 11px; color: var(--hl-ink-3); }

/* ============================================================
   LATEST list
   ============================================================ */
.hl-latest {
  background: var(--hl-bg-card);
  border-top: 1px solid var(--hl-ink);
  border-bottom: 1px solid var(--hl-ink);
}
[data-variant="magazine"] .hl-latest { background: #FAFAFA; }

.hl-latest-grid {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .hl-latest-grid { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }

.hl-latest-row {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hl-line);
  align-items: center;
  cursor: pointer;
  transition: padding .15s ease;
}
.hl-latest-row:hover { color: var(--hl-accent); }
.hl-latest-row__time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--hl-ink-3);
  font-variant-numeric: tabular-nums;
}
.hl-latest-row__body { min-width: 0; }
.hl-latest-row__title { font-size: 15px; font-weight: 500; margin: 0 0 3px; line-height: 1.25; }
.hl-latest-row__meta { font-size: 12px; color: var(--hl-ink-3); }
.hl-latest-row__meta strong { color: var(--hl-ink-2); font-weight: 600; }
.hl-latest-row__thumb {
  width: 48px; height: 48px; border-radius: var(--hl-radius);
  overflow: hidden; flex-shrink: 0;
}

/* ============================================================
   SOCIAL block
   ============================================================ */
.hl-social {
  background: var(--hl-accent);
  color: #fff;
  position: relative; overflow: hidden;
}
.hl-social__inner {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .hl-social__inner { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
}
.hl-social__title {
  font-size: 36px; line-height: 1; margin: 0 0 16px;
}
@media (min-width: 768px) { .hl-social__title { font-size: 56px; } }
@media (min-width: 1200px) { .hl-social__title { font-size: 84px; } }
.hl-social__title em {
  font-style: italic;
  color: rgba(255,255,255,.55);
}
[data-variant="magazine"] .hl-social__title em {
  font-style: normal;
  -webkit-text-stroke: 2px #fff;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hl-social__lede {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 18px;
  max-width: 460px;
  color: rgba(255,255,255,.9);
  margin: 0 0 24px;
}
[data-variant="magazine"] .hl-social__lede {
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  font-weight: 400;
}

.hl-social__cards {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .hl-social__cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .hl-social__cards { grid-template-columns: repeat(3, 1fr); } }

.hl-social-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--hl-radius-lg);
  padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .2s ease, transform .2s ease;
  cursor: pointer;
  min-height: 130px;
  justify-content: space-between;
}
.hl-social-card:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
[data-variant="magazine"] .hl-social-card { border-radius: 0; background: rgba(0,0,0,.18); }
[data-variant="magazine"] .hl-social-card:hover { background: rgba(0,0,0,.32); }

.hl-social-card__icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.hl-social-card__name {
  font-size: 15px; font-weight: 600;
}
.hl-social-card__followers {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,.7);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.hl-newsletter {
  border-top: 1px solid var(--hl-line);
  border-bottom: 1px solid var(--hl-line);
}
.hl-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .hl-newsletter__inner { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
}
.hl-newsletter__title { font-size: 32px; line-height: 1.05; margin: 0 0 12px; }
@media (min-width: 1024px) { .hl-newsletter__title { font-size: 48px; } }
.hl-newsletter__lede {
  font-family: 'Newsreader', serif;
  font-style: italic;
  color: var(--hl-ink-2);
  font-size: 17px;
  max-width: 460px;
}
[data-variant="magazine"] .hl-newsletter__lede {
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  font-size: 15px;
}

.hl-form {
  background: var(--hl-bg-card);
  border: 1px solid var(--hl-ink);
  border-radius: var(--hl-radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--hl-shadow);
}
.hl-form__row { display: flex; flex-direction: column; gap: 6px; }
.hl-form__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--hl-ink-3);
}
.hl-form__input, .hl-form__select {
  border: none; border-bottom: 1px solid var(--hl-ink);
  background: transparent;
  font-family: inherit; font-size: 16px;
  color: var(--hl-ink);
  padding: 8px 0;
  outline: none;
  width: 100%;
}
.hl-form__input::placeholder { color: var(--hl-ink-3); }
.hl-form__select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.hl-form__check { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.4; color: var(--hl-ink-2); cursor: pointer; }
.hl-form__check input { margin-top: 3px; accent-color: var(--hl-accent); cursor: pointer; }
.hl-form__check a { color: var(--hl-ink); text-decoration: underline; }

.hl-btn {
  background: var(--hl-accent);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 100px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s ease, transform .15s ease;
}
.hl-btn:hover { background: var(--hl-accent-deep); transform: translateY(-1px); }
[data-variant="magazine"] .hl-btn { border-radius: 0; }
.hl-btn--block { width: 100%; }
.hl-btn--ghost {
  background: transparent;
  color: var(--hl-ink);
  border: 1px solid var(--hl-ink);
}
.hl-btn--ghost:hover { background: var(--hl-ink); color: var(--hl-bg); }

/* ============================================================
   NETWORK — directorio de cabeceras
   ============================================================ */
.hl-network { padding-top: 56px; padding-bottom: 80px; }
.hl-network__lede {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--hl-ink-2);
  max-width: 720px;
  margin: 0 0 32px;
  line-height: 1.45;
}
[data-variant="magazine"] .hl-network__lede {
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  font-size: 16px;
}
.hl-network__lede strong { color: var(--hl-ink); font-weight: 600; }

.hl-network__controls {
  display: flex; flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  position: sticky;
  top: 56px;
  z-index: 10;
  background: var(--hl-bg);
  padding: 16px 0;
  border-bottom: 1px solid var(--hl-line);
}
@media (min-width: 1024px) {
  .hl-network__controls { top: 110px; }
}

.hl-network__search {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--hl-ink);
  border-radius: 100px;
  padding: 10px 18px;
  background: var(--hl-bg-card);
  max-width: 480px;
}
[data-variant="magazine"] .hl-network__search { border-radius: 0; }
.hl-network__search input {
  border: none; outline: none; background: transparent;
  flex: 1; font-family: inherit; font-size: 15px; color: var(--hl-ink);
  padding: 4px 0;
}
.hl-network__search input::placeholder { color: var(--hl-ink-3); }
.hl-network__clear {
  border: none; background: var(--hl-line);
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1; color: var(--hl-ink-2);
}

.hl-network__tabs {
  display: flex; gap: 6px;
  flex-wrap: wrap;
}
.hl-network__tab {
  border: 1px solid var(--hl-line);
  background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--hl-ink-2);
  padding: 7px 14px;
  border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s ease;
  white-space: nowrap;
}
.hl-network__tab:hover { border-color: var(--hl-ink); color: var(--hl-ink); }
.hl-network__tab.is-active {
  background: var(--hl-ink); color: #fff; border-color: var(--hl-ink);
}
[data-variant="magazine"] .hl-network__tab { border-radius: 0; }
.hl-network__tab-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  opacity: .6;
  font-weight: 400;
}
.hl-network__tab.is-active .hl-network__tab-count { opacity: .8; }

.hl-network__region { margin-bottom: 40px; }
.hl-network__region-head {
  display: flex; align-items: baseline; gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hl-line);
}
.hl-network__region-code {
  color: var(--hl-accent);
  font-weight: 500;
}
.hl-network__region-title {
  font-size: 22px;
  margin: 0;
  flex: 1;
}
@media (min-width: 768px) { .hl-network__region-title { font-size: 26px; } }
.hl-network__region-count { color: var(--hl-ink-3); }

.hl-network__grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .hl-network__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hl-network__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .hl-network__grid { grid-template-columns: repeat(4, 1fr); } }

.hl-media {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius-lg);
  background: var(--hl-bg-card);
  text-decoration: none;
  color: var(--hl-ink);
  transition: all .15s ease;
  min-width: 0;
}
.hl-media:hover {
  border-color: var(--hl-ink);
  transform: translateY(-1px);
  box-shadow: var(--hl-shadow);
}
.hl-media:hover .hl-media__chev { color: var(--hl-accent); transform: translateX(3px); }

.hl-media__logo {
  width: 48px; height: 48px;
  border-radius: var(--hl-radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.95);
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
[data-variant="magazine"] .hl-media__logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  border-radius: 0;
}
.hl-media__initials {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.hl-media__body { min-width: 0; }
.hl-media__name {
  font-size: 14px; font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hl-media__meta {
  display: flex; flex-direction: column;
  gap: 1px;
  font-size: 11px;
  color: var(--hl-ink-3);
}
.hl-media__muni { font-weight: 500; color: var(--hl-ink-2); }
.hl-media__host {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hl-media__chev {
  color: var(--hl-ink-3);
  transition: transform .2s ease, color .2s ease;
  flex-shrink: 0;
}

.hl-network__empty {
  padding: 40px 24px;
  text-align: center;
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--hl-ink-2);
  border: 1px dashed var(--hl-line);
  border-radius: var(--hl-radius-lg);
}
.hl-network__empty-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--hl-accent);
  border-bottom: 1px solid var(--hl-accent);
  font-style: normal;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-left: 6px;
}

.hl-network__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--hl-line);
  flex-wrap: wrap;
}
.hl-network__cta {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px;
  color: var(--hl-ink-2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.hl-footer { padding: 56px 0 32px; }
.hl-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hl-line);
}
@media (min-width: 768px) { .hl-footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.hl-footer__brand .hl-logo { font-size: 32px; }
.hl-footer__tagline {
  font-family: 'Newsreader', serif; font-style: italic;
  color: var(--hl-ink-2);
  margin: 12px 0 0;
  max-width: 320px;
}
[data-variant="magazine"] .hl-footer__tagline { font-family: inherit; font-style: normal; }

.hl-footer__col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--hl-ink-3);
  margin: 0 0 14px;
  font-weight: 500;
}
.hl-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hl-footer__col a { color: var(--hl-ink-2); font-size: 14px; }
.hl-footer__col a:hover { color: var(--hl-accent); }

.hl-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; gap: 16px;
  flex-wrap: wrap;
  font-size: 12px; color: var(--hl-ink-3);
}
.hl-footer__bottom .hl-mono { color: var(--hl-ink-3); }
