/* Aguadulce Sports — tema «Zafra»
   Bagazo (tinta), caña (verde), Leñita Roja (rojo) y azúcar dorada. */
:root {
  --ink: #0F1E17;
  --ink-2: #1F2A25;
  --text: #33403A;
  --muted: #5B6660;
  --paper: #F7F5EF;
  --paper-2: #E9E5D9;
  --line: #DCD7C9;
  --cane: #1E5B3A;
  --red: #C41E2E;
  --red-deep: #7E1520;
  --gold: #E3B23C;
  --on-dark: #F7F5EF;
  --on-dark-muted: #B9C2BC;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Archivo, 'Helvetica Neue', sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.page { padding-block: 32px 64px; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.stack-xl > * + * { margin-top: 56px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.text-red { color: var(--red); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }
.dot--gold { background: var(--gold); }

/* Placeholder cuando una noticia no tiene foto */
.ph { background-color: var(--cane); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px); }
.ph--1 { background-color: var(--red-deep); }
.ph--2 { background-color: #2C3A33; }

/* Barra superior y cabecera */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 13px; }
.topbar__in { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-block: 8px; }
.topbar__place { display: flex; gap: 8px; align-items: center; }
.topbar__social { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.topbar a { color: var(--on-dark); }
.topbar a:hover { color: var(--gold); }

.masthead { border-bottom: 4px solid var(--ink); background: var(--paper); position: relative; }
.masthead__in { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 56px; height: 56px; background: var(--red); color: var(--on-dark); display: grid; place-items: center; font: 800 26px/1 var(--display); transform: skewX(-8deg); flex: none; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font: 800 34px/0.9 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.brand__tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font: 700 17px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.menu a { padding: 13px 11px; border-bottom: 3px solid transparent; }
.menu a[aria-current="page"] { border-bottom-color: var(--red); }
.menu .menu__live { background: var(--red); color: var(--on-dark); display: flex; gap: 8px; align-items: center; padding-inline: 16px; margin-left: 6px; }
.menu .menu__live:hover { background: var(--red-deep); color: var(--on-dark); }
.menu__live .dot { animation: pulse 1.6s infinite; }
.menu__search input { height: 44px; width: 150px; margin-left: 8px; border: 2px solid var(--ink); background: #fff; padding: 0 12px; font: 500 15px var(--body); }
.menu-toggle { display: none; }

@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .menu__live .dot { animation: none; } }

@media (max-width: 900px) {
  .brand__name { font-size: 28px; }
  .brand__mark { width: 46px; height: 46px; font-size: 21px; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); background: transparent; font: 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; color: var(--ink); }
  .menu { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .menu.is-open { display: flex; }
  .menu a { border-bottom: 1px solid var(--line); padding: 15px 4px; }
  .menu a[aria-current="page"] { border-bottom: 1px solid var(--line); color: var(--red); }
  .menu .menu__live { margin: 10px 0 0; justify-content: center; }
  .menu__search input { width: 100%; margin: 10px 0 0; }
}

/* Etiquetas y textos pequeños */
.kicker { font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.kicker--red { font: 700 15px/1 var(--display); letter-spacing: .14em; }
.kicker--green { color: var(--cane); }
.meta { font-size: 13px; color: var(--muted); }
.tag-dark { display: inline-block; background: var(--ink); color: var(--gold); padding: 7px 10px; font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; font: 700 17px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--cane); color: var(--on-dark); }
.btn--red { background: var(--red); color: var(--on-dark); }
.btn--red:hover { background: var(--red-deep); color: var(--on-dark); }
.btn--outline { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }

/* Portada */
.lead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; }
.lead__main { display: flex; flex-direction: column; gap: 14px; }
.lead__main:hover .lead__title { color: var(--red); }
.lead__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.lead__title { margin: 0; font: 800 clamp(36px, 5vw, 64px)/0.95 var(--display); text-transform: uppercase; transition: color .15s; }
.lead__dek { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text); max-width: 720px; }
.lead__side { border-top: 4px solid var(--ink); }
.rule-title { margin: 14px 0 4px; font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked li { counter-increment: rank; border-bottom: 1px solid var(--line); }
.ranked a { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 6px; padding: 16px 0; }
.ranked a::before { content: counter(rank); grid-row: span 2; font: 800 34px/1 var(--display); color: var(--gold); }
.ranked__title { font: 700 21px/1.1 var(--display); grid-column: 2; }
.ranked .kicker { grid-column: 2; }
@media (max-width: 900px) { .lead { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card { display: flex; flex-direction: column; gap: 10px; }
.card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card__title { font: 700 23px/1.05 var(--display); }
.card:hover .card__title { color: var(--red); }
.card--dark, .card--dark:hover { color: var(--on-dark); }
.card--dark .card__img { aspect-ratio: 16 / 10; }
.card--dark .kicker { color: var(--gold); }
.card--dark .meta { color: var(--on-dark-muted); }
.card--dark:hover .card__title { color: var(--gold); }

.section-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: end; border-bottom: 4px solid var(--ink); padding-bottom: 10px; margin-bottom: 20px; }
.section-head__title { margin: 0; font: 800 clamp(30px, 4vw, 40px)/1 var(--display); text-transform: uppercase; }
.more { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--red); padding: 10px 0; }
.more--light { color: var(--gold); }
.more--light:hover { color: var(--on-dark); }

.live-band { background: var(--ink); color: var(--on-dark); padding: 32px; }
.live-band__head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.live-band__title { margin: 0; font: 800 40px/0.95 var(--display); text-transform: uppercase; }
.live-band__title span { color: var(--gold); }
@media (max-width: 600px) { .live-band { padding: 24px 16px; margin-inline: -24px; } }

.stream { display: flex; flex-direction: column; gap: 10px; color: var(--on-dark); position: relative; }
.stream:hover { color: var(--gold); }
.stream__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.stream__title { font: 700 20px/1.1 var(--display); text-transform: uppercase; }
.badge-live { display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; background: var(--red); color: var(--on-dark); padding: 6px 10px; font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.stream .badge-live { position: absolute; top: 10px; left: 10px; }

.promo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.promo > div { padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.promo h2 { margin: 0; font: 800 36px/0.95 var(--display); text-transform: uppercase; }
.promo p { margin: 0; max-width: 460px; line-height: 1.5; }
.promo__sponsor { background: var(--gold); }
.promo__follow { border: 2px solid var(--ink); }
.promo__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.empty { color: var(--text); font-size: 17px; }
.empty a { color: var(--red); text-decoration: underline; }

/* Artículo */
.article__head { max-width: 908px; padding-top: 40px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.crumbs a { color: var(--muted); }
.article__title { margin: 0; font: 800 clamp(40px, 6vw, 76px)/0.92 var(--display); text-transform: uppercase; }
.article__dek { margin: 0; font: 400 22px/1.45 var(--serif); color: var(--text); }
.byline { align-self: stretch; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-block: 1px solid var(--line); padding: 14px 0; }
.byline__who { display: flex; gap: 12px; align-items: center; }
.byline__who > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cane); color: var(--on-dark); display: grid; place-items: center; font: 700 15px var(--body); }
.share { display: flex; gap: 8px; }
.article__cover { max-width: 1148px; margin: 32px auto; }
.article__cover img { width: 100%; height: auto; }

.prose { max-width: 720px; margin: 32px auto 0; font: 400 19px/1.7 var(--serif); color: var(--ink-2); padding-bottom: 64px; overflow-wrap: break-word; }
.prose > * + * { margin-top: 22px; }
.prose > :first-child { margin-top: 0; }
:where(.prose p) { margin: 0; }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; margin: 40px 0 0; color: var(--ink); }
.prose h2 { font-size: 34px; }
.prose h3 { font-size: 27px; }
.prose h4 { font-size: 22px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 6px solid var(--gold); font: 800 32px/1.05 var(--display); text-transform: uppercase; color: var(--ink); }
.prose blockquote p + p { margin-top: 10px; }
.prose img { height: auto; margin-inline: auto; }
.prose figure { margin: 32px 0; }
.prose figcaption { font: 400 13px/1.4 var(--body); color: var(--muted); padding-top: 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font: 400 15px/1.4 var(--body); display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { font-weight: 700; background: var(--paper-2); }
.prose hr { border: 0; border-top: 4px solid var(--ink); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -32px; font: 600 13px/1 var(--body); }
.prose.tags a { padding: 10px 12px; background: var(--paper-2); color: var(--ink); text-decoration: none; }

.related { background: var(--ink); color: var(--on-dark); padding-block: 40px 56px; }
.related__title { margin: 0 0 22px; font: 800 32px/1 var(--display); text-transform: uppercase; }

/* Listas, búsqueda y en vivo */
.search-big { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.search-big input { flex: 1 1 240px; min-height: 48px; border: 2px solid var(--ink); background: #fff; padding: 0 14px; font: 500 16px var(--body); }
.pager { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }


/* Pie */
.footer { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; margin-top: 0; }
.footer__in { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding-block: 40px 24px; }
.footer__in > div { display: flex; flex-direction: column; gap: 8px; }
.footer__name { font: 800 28px/1 var(--display); text-transform: uppercase; color: var(--on-dark); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--on-dark-muted); padding: 6px 0; }
.footer a:hover { color: var(--gold); }
.footer__legal { border-top: 1px solid #24352C; padding-block: 16px 24px; font-size: 13px; }

/* Galerías de fotos dentro de una noticia */
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.prose .gallery figure { margin: 0; }
.prose .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 600px) {
  .topbar__social { display: none; }
}

/* Página «En vivo»: reproductor destacado + cuadrícula */
.live-hero { background: var(--ink); color: var(--on-dark); padding-block: 36px 48px; }
.live-hero__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; border-bottom: 4px solid var(--gold); padding-bottom: 14px; margin-bottom: 28px; }
.live-hero__title { margin: 0; font: 800 clamp(36px, 5vw, 56px)/0.95 var(--display); text-transform: uppercase; }
.live-hero__title span { color: var(--gold); }
.live-hero__empty { color: var(--on-dark-muted); font-size: 17px; margin: 0; }
.live-hero__stage { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.live-hero__player .video { box-shadow: 0 0 0 1px #24352C; }
.live-hero__poster { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--on-dark); }
.live-hero__poster:hover { color: var(--gold); }
.live-hero__poster-text { font: 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.live-hero__poster .play { position: relative; left: auto; top: auto; transform: none; }
.live-hero__info { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.live-hero__info .tag-dark { background: #24352C; }
.live-hero__info h2 { margin: 0; font: 800 clamp(32px, 3.4vw, 44px)/0.95 var(--display); text-transform: uppercase; }
.live-hero__info p { margin: 0; color: var(--on-dark-muted); line-height: 1.6; }
.live-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 860px) { .live-hero__stage { grid-template-columns: 1fr; gap: 20px; } }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #F0C55A; color: var(--ink); }
.btn--ghost { border: 2px solid #3A4E43; color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--on-dark); color: var(--on-dark); }

.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--red); box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s; }
.play::after { content: ''; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--on-dark); }

.stream-card { display: flex; flex-direction: column; gap: 8px; }
.stream-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.stream-card__media img, .stream-card__media .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.stream-card__media .badge-live { position: absolute; top: 10px; left: 10px; }
.stream-card:hover .stream-card__media img, .stream-card:hover .stream-card__media .ph { transform: scale(1.04); }
.stream-card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.stream-card .play { width: 54px; height: 54px; }
.stream-card .play::after { left: 21px; top: 16px; border-width: 11px 0 11px 18px; }
.stream-card__title { font: 700 23px/1.05 var(--display); text-transform: uppercase; }
.stream-card:hover .stream-card__title { color: var(--red); }
.stream-card.is-on .stream-card__media { outline: 4px solid var(--gold); outline-offset: -4px; }
.stream-card__now { position: absolute; left: 0; right: 0; bottom: 0; background: var(--gold); color: var(--ink); font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; }
@media (prefers-reduced-motion: reduce) { .stream-card__media img, .stream-card__media .ph, .play { transition: none; } }

/* Tamaños de fotos dentro de la noticia (elegidos en el editor) */
.prose figure.size-s { max-width: 40%; margin-inline: auto; }
.prose figure.size-m { max-width: 60%; margin-inline: auto; }
.prose figure.size-l { max-width: 80%; margin-inline: auto; }
@media (max-width: 600px) { .prose figure.size-s { max-width: 70%; } .prose figure.size-m, .prose figure.size-l { max-width: 100%; } }

/* Videos ligeros: portada + play; el reproductor se carga al tocar */
.video--lite { background: #000; overflow: hidden; }
.video__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video__btn img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.video__btn:hover .play, .video__btn:focus-visible .play { transform: translate(-50%, -50%) scale(1.1); }

/* ---- Página «Especial» (La Leñita Roja) ---- */
.is-especial .masthead { border-bottom-color: var(--red); }
.esp { --esp-script: 'Arizonia', cursive; --esp-varsity: 'Graduate', var(--display); --esp-red: #D91418;
  position: relative; isolation: isolate; background-color: #7FB2E5; }
/* Fondo fijo (también en celulares, donde background-attachment: fixed no funciona) */
.esp::before { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--esp-bg, none) center top / cover no-repeat; }

.esp-hero { padding: 36px 24px 28px; }
.esp-hero__in { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 48px; }
.esp-hero__logo { width: clamp(190px, 24vw, 300px); height: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.22)); }
.esp-hero__text { flex: 1 1 460px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* El original usa Arizonia con negrita forzada: trazo grueso y legible. */
.esp-hero__title { margin: 0; text-align: center; font: 700 clamp(46px, 6.6vw, 92px)/1.12 var(--esp-script); color: var(--esp-red);
  -webkit-text-stroke: 1.2px var(--esp-red); text-shadow: 0 2px 0 rgba(255,255,255,.85), 0 0 22px rgba(255,255,255,.75); }
.esp-hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; width: 100%; }
.esp-hero__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.esp-hero__social a { display: block; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: transform .15s; }
.esp-hero__social a:hover { transform: translateY(-2px) scale(1.08); }
.esp-hero__social img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.esp-hero__brand img { width: 150px; height: auto; filter: drop-shadow(0 2px 6px rgba(255,255,255,.8)); }
.esp-hero__season { max-width: 1100px; margin: 18px auto 0; text-align: center; }
.esp-hero__season { font: 400 15px/1 var(--esp-varsity); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.esp-hero__season { display: table; background: var(--ink); padding: 10px 18px; }

.esp-body { max-width: 1160px; margin: 0 auto; padding: 8px 16px 72px; display: flex; flex-direction: column; gap: 22px; }
.esp-card { background: #fff; box-shadow: 0 10px 30px rgba(15,30,23,.22); padding: clamp(18px, 3.4vw, 40px); border-top: 6px solid var(--esp-red); }
.esp-card__head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 22px; text-align: center; }
.esp-card__title { margin: 0; font: 700 clamp(26px, 3.6vw, 46px)/1.08 var(--esp-varsity); text-transform: uppercase; color: #111; max-width: 32ch; text-wrap: balance; }
.esp-card__date { background: var(--gold); color: var(--ink); padding: 6px 12px; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }

.esp-card__body { font: 400 18px/1.7 var(--serif); color: var(--ink-2); display: flex; flex-direction: column; gap: 18px; }
.esp-card__body p { margin: 0; }
.esp-card__body a { color: var(--esp-red); }
.esp-card__body figure { margin: 0; }
.esp-card__body img { width: 100%; height: auto; display: block; }
.esp-card__body hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; width: 100%; }
/* Rótulos en letra cursiva («Entrevistas», «Felicidades») */
.esp-card__body h2 { margin: 6px 0 0; text-align: center; font: 700 clamp(36px, 4.6vw, 56px)/1.15 var(--esp-script); color: #2A1DA2; -webkit-text-stroke: .8px #2A1DA2; }
/* «Parte 1», «Parte 2»… bajo cada video */
.esp-card__body h4 { margin: -6px 0 0; text-align: center; font: 700 18px/1.1 var(--esp-varsity); letter-spacing: .06em; text-transform: uppercase; color: #111; }
/* Títulos dentro de columnas (dos noticias lado a lado, nombres de selección) */
.esp-card__body h3 { margin: 0; text-align: center; font: 700 clamp(20px, 2.4vw, 30px)/1.1 var(--esp-varsity); text-transform: uppercase; color: #111; text-wrap: balance; }
.esp-card__body .date { align-self: center; background: var(--gold); color: var(--ink); padding: 5px 10px; font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }

/* Columnas lado a lado (como en el original).
   Subgrid: título, fecha y foto de cada columna comparten fila, así quedan alineados
   aunque un título ocupe más líneas que el otro. */
.esp .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); column-gap: 28px; row-gap: 0; align-items: start; }
.esp .col { display: grid; grid-template-rows: subgrid; grid-row: span 12; min-width: 0; }
.esp .col > * { margin: 0 0 14px; }
.esp .col > h3 { align-self: end; }
.esp .col > .date { justify-self: center; align-self: start; }
.esp .col > h4 { margin-top: -6px; }
/* Logo o foto pequeña al lado del texto (RPC, TVN, NexTV, Noriel) */
.esp .cols:has(> .col--media):has(> .col:not(.col--media)) { grid-template-columns: minmax(110px, 240px) minmax(0, 1fr); }
.esp .cols:has(> .col--media):has(> .col:not(.col--media)) > .col { grid-row: auto; display: flex; flex-direction: column; }
.esp .cols:has(> .col--media):has(> .col:not(.col--media)) > .col > h3 { align-self: auto; }
.esp .cols:has(> .col--media):has(> .col:not(.col--media)) > .col > .date { align-self: center; }
@media (max-width: 600px) {
  .esp .cols:has(> .col--media):has(> .col:not(.col--media)) { grid-template-columns: 90px minmax(0, 1fr); column-gap: 14px; }
}

/* Cuadrícula de fotos (fichas de jugadores, portadas de equipos) */
.esp .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.esp .gallery img { width: 100%; height: auto; transition: transform .15s; }
.esp .gallery a:hover img { transform: translateY(-3px); }
.esp .col .gallery { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }

/* Videos */
.esp .video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.esp .video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

.esp-more { background: var(--ink); color: var(--on-dark); padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.esp-more__title { font: 700 34px/1.2 var(--esp-script); color: var(--gold); }
.esp-more__list { display: flex; flex-wrap: wrap; gap: 10px; }

/* Tarjetas de «Especiales» en la portada */
.special { display: flex; flex-direction: column; gap: 10px; }
.special__media { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--cane) center / cover no-repeat; border-top: 5px solid var(--red); overflow: hidden; }
.special__media img { width: 52%; height: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); transition: transform .2s; }
.special:hover .special__media img { transform: scale(1.05); }
.special__title { font: 700 23px/1.05 var(--display); text-transform: uppercase; }
.special:hover .special__title { color: var(--red); }

@media (max-width: 600px) {
  .esp-hero { padding: 24px 12px 20px; }
  .esp-hero__social { gap: 4px; }
  .esp-hero__social a { width: 40px; height: 40px; }
  .esp-hero__social img { width: 30px; height: 30px; }
  .esp-body { padding-inline: 10px; }
  .esp-card__body { font-size: 17px; }
  .esp .col .gallery, .esp .gallery { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
}
@media (max-width: 380px) {
  .esp-hero__social { gap: 2px; }
  .esp-hero__social a { width: 36px; height: 36px; }
  .esp-hero__social img { width: 28px; height: 28px; }
}

/* ===================== Bloques del constructor visual ===================== */
.b-page { --b-title: 'Graduate', var(--display); --b-script: 'Arizonia', cursive; --b-red: #D91418; --b-blue: #2A1DA2; }
.b-sec { position: relative; display: flex; flex-direction: column; gap: 16px; }
.b-sec + .b-sec { margin-top: 22px; }
.b-sec--card { background: #fff; color: var(--ink-2); box-shadow: 0 10px 30px rgba(15,30,23,.18); border-top: 6px solid var(--b-red); padding: clamp(18px, 3.4vw, 40px); }
.b-sec--plain { padding: 8px 0; }
.b-sec--dark { background: var(--ink); color: var(--on-dark); padding: clamp(18px, 3.4vw, 40px); }
.b-sec--dark .b-c-ink { color: var(--on-dark); }

.b-al-left { text-align: left; } .b-al-center { text-align: center; } .b-al-right { text-align: right; }

/* Columnas: cuántas por fila según el dispositivo */
.b-cols { display: grid; gap: var(--gap, 24px); grid-template-columns: var(--tm, 1fr); }
@media (min-width: 640px) { .b-cols { grid-template-columns: var(--tt, var(--tm)); } }
@media (min-width: 1024px) { .b-cols { grid-template-columns: var(--td, var(--tt)); } }
.b-col { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
/* «Alinear filas»: título, fecha y foto de cada columna comparten fila */
.b-cols--rows { row-gap: 0; align-items: start; }
.b-cols--rows > .b-col { display: grid; grid-template-rows: subgrid; grid-row: span 16; gap: 0; }
.b-cols--rows > .b-col > * { margin-bottom: 14px; }
.b-cols--rows > .b-col > .b-h { align-self: end; }

/* Títulos */
.b-h { margin: 0; line-height: 1.1; text-wrap: balance; }
.b-h--title { font: 700 clamp(24px, 3.4vw, 44px)/1.08 var(--b-title); text-transform: uppercase; }
.b-col .b-h--title { font-size: clamp(20px, 2.4vw, 30px); }
.b-h--display { font: 800 clamp(32px, 5vw, 60px)/0.95 var(--display); text-transform: uppercase; }
.b-h--script { font: 700 clamp(36px, 4.8vw, 60px)/1.15 var(--b-script); -webkit-text-stroke: .8px currentColor; text-transform: none; }
.b-h--small { font: 700 18px/1.1 var(--b-title); letter-spacing: .06em; text-transform: uppercase; }
.b-c-ink { color: var(--b-fg, #111); } .b-c-red { color: var(--b-red); } .b-c-blue { color: var(--b-blue); } .b-c-gold { color: var(--gold); } .b-c-white { color: #fff; }

/* Texto */
.b-text { font: 400 18px/1.7 var(--serif); }
.b-text--s { font-size: 15px; } .b-text--l { font-size: 21px; }
.b-text > * + * { margin-top: 14px; }
:where(.b-text p) { margin: 0; }
.b-text a { color: var(--b-red); }
.b-text img { max-width: 100%; height: auto; }

/* Fecha */
.b-date { margin: 0; }
.b-date span { display: inline-block; background: var(--gold); color: var(--ink); padding: 6px 12px; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }

/* Imagen */
.b-img { margin: 0; width: var(--w, 100%); max-width: 100%; }
.b-img.b-al-center { margin-inline: auto; } .b-img.b-al-right { margin-left: auto; }
.b-img img { width: 100%; height: auto; display: block; }
.b-img figcaption, .b-video figcaption { font: 700 15px/1.2 var(--b-title); letter-spacing: .05em; text-transform: uppercase; text-align: center; padding-top: 8px; color: #111; }

/* Galería: cuántas fotos por fila según el dispositivo */
.b-gal { display: grid; gap: var(--gap, 10px); grid-template-columns: repeat(var(--gm, 2), minmax(0, 1fr)); }
@media (min-width: 640px) { .b-gal { grid-template-columns: repeat(var(--gt, 3), minmax(0, 1fr)); } }
@media (min-width: 1024px) { .b-gal { grid-template-columns: repeat(var(--gd, 4), minmax(0, 1fr)); } }
.b-gal figure { margin: 0; }
.b-gal img { width: 100%; height: auto; display: block; transition: transform .15s; }
.b-gal--crop img { aspect-ratio: var(--ratio); object-fit: cover; }
.b-gal a:hover img { transform: translateY(-3px); }

/* Video */
.b-video { margin: 0; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

.b-btn { margin: 0; }
.b-hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.b-spacer { width: 100%; }

/* Páginas normales hechas con el constructor */
.b-page-wrap { max-width: 1160px; margin: 0 auto; padding: 32px 16px 64px; }
.b-page-wrap .b-sec--card { border-top-color: var(--red); }
.preview-bar { position: sticky; top: 0; z-index: 50; background: var(--gold); color: var(--ink); text-align: center; padding: 10px 16px; font: 700 14px/1.3 var(--body); }
.preview-bar a { text-decoration: underline; }
.b-h--sub { font: 800 clamp(24px, 3vw, 34px)/1 var(--display); text-transform: uppercase; }
/* Noticias y páginas normales: las secciones sin fondo usan ancho de lectura */
.b-page-wrap .b-sec--plain { max-width: 760px; margin-inline: auto; }
.b-page-wrap .b-sec--plain .b-text { font-size: 19px; color: var(--ink-2); }
/* Tamaño exacto de un título (se reduce en pantallas pequeñas) */
.b-h.b-h--fs { font-size: var(--fsm); line-height: 1.12; }
@media (min-width: 640px) { .b-h.b-h--fs { font-size: var(--fst); } }
@media (min-width: 1024px) { .b-h.b-h--fs { font-size: var(--fsd); } }
.b-h--font { -webkit-text-stroke: 0; }
/* Código HTML incrustado: ocupa todo el ancho; la altura la ajusta el script del sitio */
.b-html { width: 100%; }
.b-embed { display: block; width: 100%; min-height: 120px; border: 0; }
.b-sec--bg { box-shadow: none; }

/* Página «Lienzo» (réplica de páginas de Elementor) */
.lienzo { position: relative; isolation: isolate; padding: 28px 0 56px; min-height: 60vh; }
.lienzo--img::before { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--lz-bg) center top / cover no-repeat; }
.lienzo__in { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.lienzo .b-sec--plain { padding: 0; }
.lienzo .b-sec + .b-sec { margin-top: 20px; }
.lienzo .b-text { font-size: 17px; }
.lienzo__title { max-width: 1140px; margin: 0 auto 24px; padding: 0 16px; text-align: center; font: 800 clamp(30px, 4vw, 46px)/1 var(--display); text-transform: uppercase; }
/* Secciones de borde a borde (contenedores «full» de Elementor) */
.lienzo { overflow-x: clip; }
.lienzo .b-sec--full { margin-inline: calc(50% - 50vw); }
.lienzo .b-sec--full + .b-sec, .lienzo .b-sec + .b-sec--full { margin-top: 0; }
.b-col[style*="min-height"], .b-col[style*="justify-content"] { display: flex; flex-direction: column; }
/* Fondo de borde a borde con el contenido a 1140px (contenedor «boxed» de Elementor) */
.lienzo .b-sec--full.b-sec--boxed { padding-inline: max(16px, calc(50vw - 570px)) !important; }
/* Ocultar por dispositivo (celular < 640px ≤ tablet < 1024px ≤ laptop) */
@media (max-width: 639px) { .b-hide-m { display: none !important; } }
@media (min-width: 640px) and (max-width: 1023px) { .b-hide-t { display: none !important; } }
@media (min-width: 1024px) { .b-hide-d { display: none !important; } }
.b-btn .btn { flex-direction: column; height: auto; padding-block: .5em; line-height: 1.1; text-align: center; }
.b-btn__sub { display: block; font: 600 max(10px, .32em)/1.3 var(--body); letter-spacing: .02em; margin-top: .35em; text-transform: none; }
