/* HubReviews — sistema de diseño del sitio público.
   Los colores --brand y --accent llegan de cada tenant (ver base.html.twig). */

:root {
  --bg: #07080c;
  --bg-2: #0d0f15;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --surface-solid: #12151d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f5f6f8;
  --muted: #a3a9b6;
  --dim: #6c7280;
  --good: #21d07a;
  --mid: #f2c94c;
  --bad: #ef4f5f;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .7);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page { padding-top: calc(var(--header-h) + 24px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(7, 8, 12, .85), rgba(7, 8, 12, 0));
}
.site-header.is-solid, body:not(.has-hero) .site-header {
  background: rgba(9, 10, 15, .78); backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; white-space: nowrap; }
.brand img { height: 34px; width: auto; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--accent)));
  box-shadow: 0 6px 20px -6px var(--brand);
}
.brand-mark svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .93rem;
  transition: color .2s, background .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.header-search { margin-left: auto; position: relative; }
.header-search input {
  width: 240px; height: 40px; padding: 0 16px 0 40px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--text);
  font: inherit; font-size: .9rem; transition: width .3s var(--ease), background .2s, border-color .2s;
}
.header-search input::placeholder { color: var(--dim); }
.header-search input:focus { outline: none; width: 320px; background: rgba(255, 255, 255, .1); border-color: var(--brand); }
.header-search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; stroke: var(--muted); pointer-events: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px -12px var(--brand); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 85%, #fff); box-shadow: 0 16px 36px -12px var(--brand); }
.btn-light { background: #fff; color: #0b0c10; }
.btn-light:hover { background: #e9eaee; }
.btn-glass { background: rgba(255, 255, 255, .12); border: 1px solid var(--line-2); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn-icon { width: 48px; padding: 0; }

/* ---------- Chips / meta ---------- */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.meta > * + *::before { content: "•"; margin-right: 14px; color: var(--dim); }
.meta .pill { border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; font-size: .78rem; font-weight: 700; color: var(--text); }
.meta .pill::before, .meta .no-dot::before { content: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .86rem; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.chip:hover { color: var(--text); background: var(--surface-2); }
.chip.is-active { background: var(--text); color: #0b0c10; border-color: var(--text); }
.badge-type { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ---------- Puntuación (anillo) ---------- */
.score {
  --v: 0; --c: var(--bad);
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--v) * 1%), rgba(255, 255, 255, .12) 0);
  position: relative; font-weight: 800; font-size: .82rem;
}
.score::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #0c0e13; }
.score span { position: relative; }
.score.is-good { --c: var(--good); }
.score.is-mid { --c: var(--mid); }
.score-lg { width: 64px; height: 64px; font-size: 1.1rem; }
.score-lg::before { inset: 5px; }

/* ---------- Hero (inicio) ---------- */
.hero { position: relative; height: min(92vh, 860px); min-height: 560px; overflow: hidden; isolation: isolate; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.06); transition: transform 9s linear; }
.hero-slide.is-active .hero-bg img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, .95) 0%, rgba(7, 8, 12, .7) 35%, rgba(7, 8, 12, .1) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 12, 0) 40%);
}
.hero-content { position: absolute; inset: auto 0 clamp(90px, 14vh, 150px) 0; }
.hero-content .inner { max-width: 640px; }
.hero h1, .hero .hero-title {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -.045em; font-weight: 800;
  margin: 14px 0 16px; text-wrap: balance;
}
.hero p { color: #d3d6dd; font-size: clamp(.98rem, 1.2vw, 1.1rem); margin: 18px 0 28px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-dots { position: absolute; z-index: 3; bottom: 42px; right: var(--gutter); display: flex; gap: 8px; }
.hero-dot { width: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; position: relative; }
.hero-dot.is-active::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dot 8s linear forwards; }
.hero.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Filas / carruseles ---------- */
.section { margin-top: 44px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -.025em; font-weight: 800; }
.section-head a { color: var(--muted); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.section-head a:hover { color: var(--text); }
.hero + .rows .section:first-child { margin-top: -60px; position: relative; z-index: 4; }

.row { position: relative; }
.row-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(140px, 15vw, 200px); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 6px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none;
}
.row-track::-webkit-scrollbar { display: none; }
.row-track > * { scroll-snap-align: start; }
.row-btn {
  position: absolute; top: calc(50% - 30px); z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(15, 17, 23, .88); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); opacity: 0; transition: opacity .2s, transform .2s; box-shadow: var(--shadow);
}
.row-btn svg { width: 20px; height: 20px; stroke: #fff; }
.row-btn.prev { left: -10px; } .row-btn.next { right: -10px; }
.row:hover .row-btn:not([disabled]) { opacity: 1; }
.row-btn:hover { transform: scale(1.08); }
.row-btn[disabled] { opacity: 0 !important; pointer-events: none; }

/* ---------- Tarjeta póster ---------- */
.card { position: relative; display: block; }
.card-poster {
  position: relative; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #171a22, #0f1117); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-poster::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent 45%); opacity: 0; transition: opacity .3s;
}
.card:hover .card-poster { transform: translateY(-6px); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .9), 0 0 0 1px var(--line-2); }
.card:hover .card-poster img { transform: scale(1.05); }
.card:hover .card-poster::after { opacity: 1; }
.card .score { position: absolute; left: 10px; bottom: 10px; z-index: 2; width: 38px; height: 38px; font-size: .74rem; }
.card-noimg { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; color: var(--dim); font-weight: 700; }
.card-play {
  position: absolute; inset: 0; margin: auto; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); opacity: 0; transform: scale(.8);
  transition: opacity .25s, transform .25s var(--ease);
}
.card-play svg { width: 18px; height: 18px; fill: #0b0c10; margin-left: 3px; }
.card:hover .card-play { opacity: 1; transform: scale(1); }
.card-title { margin: 10px 2px 0; font-weight: 700; font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-sub { margin: 2px 2px 0; color: var(--dim); font-size: .8rem; font-weight: 500; }

/* ---------- Ficha de título ---------- */
.title-page { position: relative; padding-top: calc(var(--header-h) + 20px); isolation: isolate; }
.ambient {
  position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; overflow: hidden; pointer-events: none;
}
.ambient img { width: 100%; height: 100%; object-fit: cover; filter: blur(70px) saturate(1.5); opacity: .45; transform: scale(1.2); }
.ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 12, .3), var(--bg) 85%); }

.theater { max-width: 1180px; margin: 0 auto; }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .08);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-facade { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.player-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.player-facade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(0, 0, 0, .1), rgba(0, 0, 0, .6)); }
.player-facade:hover img { transform: scale(1.03); filter: brightness(1.08); }
.player-btn {
  position: absolute; inset: 0; margin: auto; z-index: 2; width: clamp(68px, 9vw, 96px); height: clamp(68px, 9vw, 96px);
  border-radius: 50%; display: grid; place-items: center; background: var(--brand);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 30%, transparent), 0 20px 50px -10px var(--brand);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.player-btn svg { width: 34%; height: 34%; fill: #fff; margin-left: 6%; }
.player-facade:hover .player-btn { transform: scale(1.08); box-shadow: 0 0 0 16px color-mix(in srgb, var(--brand) 25%, transparent), 0 20px 50px -10px var(--brand); }
.player-label { position: absolute; z-index: 2; left: 24px; bottom: 20px; font-weight: 700; font-size: .95rem; display: flex; gap: 10px; align-items: center; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.player-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px; }
.video-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px 0 0; padding-bottom: 4px; }
.video-tabs .chip { cursor: pointer; }

.title-main { display: grid; grid-template-columns: 260px minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 48px); margin-top: 40px; align-items: start; }
.title-main.no-aside { grid-template-columns: 260px minmax(0, 1fr); }
.title-poster { position: sticky; top: calc(var(--header-h) + 20px); }
.title-poster .card-poster { box-shadow: var(--shadow); }
.title-poster .card-poster:hover { transform: none; }
.title-info h1 { margin: 10px 0 6px; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.title-info .original { color: var(--dim); font-weight: 500; margin: 0 0 14px; }
.tagline { font-style: italic; color: var(--muted); margin: 22px 0 6px; font-size: 1.02rem; }
.overview { color: #d4d7de; font-size: 1.02rem; line-height: 1.75; max-width: 75ch; }
.scores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.score-card { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.score-card strong { display: block; font-size: .95rem; }
.score-card small { color: var(--dim); font-size: .8rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px 24px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--dim); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.title-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }

.providers { display: grid; gap: 14px; }
.providers h3, .block-title { margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.provider-group small { display: block; color: var(--dim); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.provider-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.provider-logos img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }

.cast-track { grid-auto-columns: 128px; }
.person { text-align: center; }
.person-photo { width: 112px; height: 112px; margin: 0 auto; border-radius: 50%; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person strong { display: block; margin-top: 10px; font-size: .86rem; line-height: 1.3; }
.person small { color: var(--dim); font-size: .78rem; line-height: 1.3; display: block; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

/* ---------- Catálogo ---------- */
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.04em; font-weight: 800; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.filters { position: sticky; top: var(--header-h); z-index: 20; margin: 24px calc(var(--gutter) * -1) 0; padding: 14px var(--gutter); background: rgba(7, 8, 12, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.filters-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.filters .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; padding-bottom: 2px; }
.select { height: 38px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-solid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a3a9b6' stroke-width='2'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--text); font: inherit; font-size: .88rem; font-weight: 600; appearance: none; }
.segmented { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.segmented a { padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.segmented a.is-active { background: var(--surface-2); color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: 28px 18px; margin-top: 28px; }
.grid > .ad { grid-column: 1 / -1; }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 48px 0 0; color: var(--muted); font-weight: 600; }
.empty { text-align: center; color: var(--muted); padding: 80px 20px; }
.empty strong { display: block; color: var(--text); font-size: 1.2rem; margin-bottom: 6px; }

.search-hero input {
  width: 100%; height: 64px; padding: 0 24px; border-radius: 20px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font: inherit; font-size: 1.2rem; font-weight: 600;
}
.search-hero input:focus { outline: none; border-color: var(--brand); background: var(--surface-2); }

/* ---------- Anuncios ---------- */
.ad { display: flex; justify-content: center; align-items: center; margin: 28px auto; max-width: 100%; overflow: hidden; }
.ad:empty { display: none; }
.language-switch { flex-shrink:0; margin-left:auto; }
.language-switch select { max-width:165px; padding:8px; color:var(--text); background:var(--surface-solid); border:1px solid var(--line); border-radius:8px; font:inherit; font-size:.75rem; }
@media(min-width:900px) and (max-width:1400px) { .site-header .wrap{gap:14px}.nav a{padding:8px}.header-search input,.header-search input:focus{width:175px}.language-switch select{max-width:120px} }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:12px; color:var(--muted); margin-bottom:24px; font-size:.85rem; }
.breadcrumbs a:hover,.facts a:hover { color:var(--brand); }
.profile-layout { display:grid; grid-template-columns:240px 1fr; gap:40px; }
.profile-portrait { width:100%; border-radius:var(--radius-lg); }
.portrait-gallery { display:flex; gap:12px; overflow-x:auto; padding:16px 0; }
.portrait-gallery img { width:140px; height:210px; object-fit:cover; border-radius:12px; }
.season-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; }
.season-card { display:flex; gap:16px; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:16px; }
.season-card img { width:95px; height:142px; object-fit:cover; border-radius:8px; }
.season-card h3 { font-size:1rem; margin:0 0 8px; }
.season-card p { font-size:.8rem; color:var(--muted); margin-top:8px; }
.season-card small { color:var(--muted); }
.season-heading { display:flex; gap:28px; align-items:flex-start; }
.season-poster { width:160px; border-radius:12px; }
.episode-list { display:grid; gap:20px; }
.episode-card { display:grid; grid-template-columns:260px 1fr; gap:24px; padding:20px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.episode-card:hover,.season-card:hover { border-color:var(--brand); }
.episode-card h3 { margin:8px 0; font-size:1.1rem; }
.episode-card p { color:var(--muted); font-size:.9rem; }
.episode-card small { color:var(--dim); }
.episode-image { aspect-ratio:16/9; background:var(--surface-solid); border-radius:10px; overflow:hidden; display:grid; place-items:center; }
.episode-image img { width:100%;height:100%;object-fit:cover; }
.episode-cover { width:100%; max-height:65vh; object-fit:contain; border-radius:16px; }
.episode-navigation { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0; }
.person { text-decoration:none; }
@media(max-width:700px) { .profile-layout{grid-template-columns:1fr;gap:24px}.profile-portrait{max-width:200px}.episode-card{grid-template-columns:1fr;gap:12px}.season-poster{width:95px}.season-heading{gap:16px}.language-switch select{max-width:100px} }
.ad--sticky_footer { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; margin: 0; background: rgba(7, 8, 12, .92); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.ad--title_sidebar { margin: 0; }
@media (max-width: 899px) { .ad--dev-desktop { display: none !important; } }
@media (min-width: 900px) { .ad--dev-mobile, .ad--sticky_footer.ad--dev-all { display: none !important; } }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(3, 4, 6, .86); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { width: min(1180px, 100%); position: relative; transform: scale(.96); transition: transform .35s var(--ease); }
.modal.is-open .modal-box { transform: none; }
.modal-close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; }
.modal-close svg { width: 18px; height: 18px; stroke: #fff; }
.gate-box { width: min(560px, 100%); background: var(--surface-solid); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.gate-ad { min-height: 120px; display: grid; place-items: center; margin: 0 0 20px; }
.gate-box .btn { width: 100%; }
.gate-box .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- Pie y navegación móvil ---------- */
.site-footer { margin-top: 80px; border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--dim); font-size: .86rem; }
.site-footer .wrap { display: grid; gap: 18px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }
.attribution { display: flex; gap: 12px; align-items: center; max-width: 720px; line-height: 1.5; }
.attribution img { height: 14px; width: auto; opacity: .8; }

.tabbar { display: none; }
@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .nav, .header-search { display: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 55; inset: auto 0 0 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(9, 10, 15, .9);
    backdrop-filter: blur(18px); border-top: 1px solid var(--line);
  }
  .tabbar a { display: grid; justify-items: center; gap: 3px; font-size: .7rem; font-weight: 600; color: var(--dim); padding: 4px 0; }
  .tabbar a[aria-current="page"] { color: var(--text); }
  .tabbar svg { width: 22px; height: 22px; stroke: currentColor; }
  body { padding-bottom: 72px; }
  .ad--sticky_footer { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .hero { height: 78vh; min-height: 520px; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(7, 8, 12, .55) 55%, rgba(7, 8, 12, .2)); }
  .hero-dots { left: var(--gutter); right: auto; bottom: 28px; }
  .hero-content { bottom: 64px; }
  .row-btn { display: none; }
  .title-main, .title-main.no-aside { grid-template-columns: 1fr; margin-top: 28px; }
  .title-poster { position: static; display: none; }
  .title-aside { position: static; }
  .player { border-radius: var(--radius); margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .cta-row .btn { flex: 1 1 auto; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .title-main { grid-template-columns: 220px minmax(0, 1fr); }
  .title-aside { grid-column: 1 / -1; position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   NOTICIAS — portada, categorías, tarjetas y nota con lectura continua
   La variable --cat llega de cada categoría (NewsCategory::color()).
   ===================================================================== */
.news-page { --cat: var(--brand); }
.news-head { position: relative; margin-bottom: 18px; padding-right: 64px; }
.news-head h1 small { font-size: .5em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.news-head p { max-width: 720px; }
.news-rss { position: absolute; top: 6px; right: 0; font-size: .72rem; font-weight: 800; letter-spacing: .08em; padding: 6px 10px; border-radius: 8px; background: #f2994a22; color: #f2994a; border: 1px solid #f2994a55; }
.news-rss:hover { background: #f2994a; color: #111; }

.kicker { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--cat, var(--brand)); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }

/* Barra de categorías: fija bajo el header, desplazable en móvil */
.news-cats {
  position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 28px; padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.news-cats::-webkit-scrollbar { display: none; }
.news-cat {
  --cat: var(--text); flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: all .2s var(--ease);
}
.news-cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cat); }
.news-cat small { font-size: .72rem; color: var(--dim); font-weight: 700; }
.news-cat:hover { color: var(--text); border-color: color-mix(in srgb, var(--cat) 60%, transparent); }
.news-cat.is-active { color: #0b0c10; background: var(--cat); border-color: var(--cat); }
.news-cat.is-active::before { background: #0b0c10; }
.news-cat.is-active small { color: #0b0c10aa; }

/* Tarjetas */
.news-card { --cat: var(--brand); position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.news-card-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface-solid); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.news-card:hover .news-card-media img { transform: scale(1.045); filter: brightness(1.08); }
.news-card-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--cat);
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--cat) 35%, transparent), transparent 60%), var(--surface-solid); }
.news-card-play { position: absolute; left: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); color: #fff; z-index: 1; }
.news-card-play svg { width: 18px; height: 18px; margin-left: 2px; }
.news-card-body { display: flex; flex-direction: column; gap: 8px; }
.news-card-title { margin: 0; font-size: 1.08rem; line-height: 1.3; font-weight: 800; letter-spacing: -.015em; text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toda la tarjeta es clicable */
.news-card .kicker { position: relative; z-index: 2; align-self: flex-start; }
.news-card-title a:hover { color: color-mix(in srgb, var(--cat) 55%, #fff); }
.news-card-dek { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 10px; align-items: center; color: var(--dim); font-size: .8rem; font-weight: 600; }
.news-meta > * + *::before { content: "·"; margin-right: 10px; }

/* Destacada grande: texto sobre la imagen */
.news-card--lg .news-card-media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
.news-card--lg .news-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 8, 12, .96) 0%, rgba(7, 8, 12, .55) 38%, rgba(7, 8, 12, 0) 70%); }
.news-card--lg { display: grid; align-self: start; gap: 0; }
.news-card--lg > * { grid-area: 1 / 1; }
.news-card--lg .news-card-play { top: 16px; bottom: auto; left: 16px; }
.news-card--lg .news-card-body { align-self: end; position: relative; padding: clamp(18px, 3vw, 36px); z-index: 1; }
.news-card--lg .news-card-title { font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.1; letter-spacing: -.035em; -webkit-line-clamp: 4; }
.news-card--lg .news-card-dek { color: #d3d6dd; font-size: 1rem; max-width: 640px; }
.news-card--lg .news-meta { color: #b7bcc7; }
.news-card--sm { width: clamp(240px, 26vw, 300px); flex: none; }
.news-grid .news-card--sm { width: auto; }
.news-card--sm .news-card-title { font-size: 1rem; }

.news-lead { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; margin-bottom: 40px; }
.news-lead-side { display: grid; gap: 24px; align-content: start; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 36px 28px; }
.news-grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.news-grid > .ad { grid-column: 1 / -1; }
.news-batch { display: contents; }
.news-batch .news-card { animation: news-in .5s var(--ease) both; }
@keyframes news-in { from { opacity: 0; transform: translateY(14px); } }
.news-more { margin-top: 40px; }
.news-more.is-loading [data-next] { opacity: .6; pointer-events: none; }
.news-topics { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.news-topics h2 { font-size: 1rem; margin: 0 0 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.news-strip .news-track { gap: 22px; }

/* Nota */
.read-progress { position: fixed; z-index: 60; inset: var(--header-h) 0 auto 0; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .1s linear; }
.news-stream { --measure: 740px; }
.article { --cat: var(--brand); padding: 0 var(--gutter) 24px; }
.article + .article { margin-top: 24px; padding-top: 56px; border-top: 1px solid var(--line); }
.article-header, .article-content { max-width: var(--measure); margin: 0 auto; }
.article-header .breadcrumbs { margin-bottom: 18px; }
.article-header .breadcrumbs a:not(:last-child)::after { content: "›"; margin-left: 12px; color: var(--dim); }
.article-continue-label { margin: 0 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.article-title { margin: 14px 0; font-size: clamp(1.9rem, 4.3vw, 3.15rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.article-dek { margin: 0 0 22px; font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.55; color: #c9cdd6; text-wrap: pretty; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--muted); font-size: .88rem; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-byline strong { color: var(--text); }
.article-byline svg { width: 15px; height: 15px; vertical-align: -2px; fill: none; }
.article-header .share { margin: 16px 0 0; }
.article-hero { max-width: 1120px; margin: 28px auto 8px; }
.article-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); background: var(--surface-solid); }
.article-hero figcaption, .article-figure figcaption { margin: 10px auto 0; font-size: .82rem; color: var(--dim); line-height: 1.45; max-width: var(--measure); }
.credit { color: var(--muted); }

.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: all .2s var(--ease); }
.share-btn svg { width: 18px; height: 18px; }
.share-copy svg { fill: none; }
.share-btn:hover { color: #fff; transform: translateY(-2px); }
.share-wa:hover { background: #25d366; border-color: #25d366; }
.share-x:hover { background: #000; border-color: #444; }
.share-fb:hover { background: #1877f2; border-color: #1877f2; }
.share-tg:hover { background: #229ed9; border-color: #229ed9; }
.share-copy:hover, .share-copy.is-done { background: var(--brand); border-color: var(--brand); color: #fff; }

.article-content { padding-top: 26px; }
.article-keypoints { margin: 0 0 30px; padding: 20px 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--cat) 9%, var(--surface-solid)); border: 1px solid color-mix(in srgb, var(--cat) 30%, transparent); border-left: 4px solid var(--cat); }
.article-keypoints h2 { margin: 0 0 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cat); }
.article-keypoints ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-weight: 600; line-height: 1.5; }
.article-toc { margin: 0 0 30px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.article-toc summary { cursor: pointer; font-weight: 800; }
.article-toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.article-toc a:hover { color: var(--text); text-decoration: underline; }

.article-body { font-size: clamp(1.03rem, 1.25vw, 1.13rem); line-height: 1.78; color: #e4e6eb; overflow-wrap: break-word; }
.article-body > * { margin: 0 0 1.25em; }
.article-body h2 { margin: 1.9em 0 .6em; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.2; letter-spacing: -.03em; color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.article-body h3 { margin: 1.6em 0 .5em; font-size: 1.2rem; color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.article-body a { color: color-mix(in srgb, var(--cat) 45%, #fff); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: #fff; text-decoration-thickness: 2px; }
.article-body strong { color: #fff; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: .4em; }
.article-body li::marker { color: var(--cat); }
.article-body blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--cat); font-size: 1.12em; font-style: italic; color: #f0f1f4; }
.article-body hr { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }
.article-body img { border-radius: var(--radius); height: auto; }
.article-figure { margin: 2em 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius); background: var(--surface-solid); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.article-body table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.45; min-width: 460px; }
.article-body th, .article-body td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body thead th { background: color-mix(in srgb, var(--cat) 14%, var(--surface-solid)); color: var(--text); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.article-body tbody tr:nth-child(even) { background: var(--surface); }
.article-body tbody tr:last-child td { border-bottom: 0; }
.article-body .callout { font-style: normal; font-size: 1em; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border-left-width: 4px; }
.callout p:last-child { margin-bottom: 0; }
.callout-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cat); margin-bottom: 4px; }
.article-body .callout--aviso { border-left-color: var(--mid); } .callout--aviso .callout-label { color: var(--mid); }
.article-body .callout--spoiler { border-left-color: var(--bad); cursor: pointer; } .callout--spoiler .callout-label { color: var(--bad); }
.callout--spoiler:not(.is-open) p { color: transparent; text-shadow: 0 0 10px rgba(255, 255, 255, .7); user-select: none; }
.callout--spoiler:not(.is-open) .callout-label { color: var(--bad); text-shadow: none; }

.article-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin: 1.8em 0; }
.article-video--hero { max-width: 1120px; margin: 28px auto 8px; border-radius: var(--radius-lg); }
.article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-video .player-btn { width: clamp(56px, 8vw, 84px); height: clamp(56px, 8vw, 84px); }
.article-section h2 { font-size: 1.3rem; margin: 2em 0 .4em; }
.article-source { color: var(--muted); font-size: .9rem; }
.article-source a { text-decoration: underline; }
.article-tags { margin: 28px 0; }
.article-share-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 32px 0; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.article-related { max-width: 1120px; margin: 48px auto 0; }
.article-related > h2 { font-size: 1.3rem; margin: 0 0 18px; letter-spacing: -.02em; }

.article-next { position: relative; max-width: var(--measure); margin: 56px auto 0; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); text-align: center; display: grid; gap: 6px; }
.article-next-label { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.article-next a { font-weight: 800; font-size: 1.1rem; }
.article-next a:hover { color: var(--brand); }
.article-next-loader { justify-self: center; width: 120px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; opacity: 0; }
.article-next.is-loading .article-next-loader { opacity: 1; }
.article-next.is-loading .article-next-loader::after { content: ""; display: block; height: 100%; width: 40%; background: var(--brand); animation: next-load 1s infinite var(--ease); }
@keyframes next-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.article.is-entering { animation: news-in .6s var(--ease) both; }

@media (max-width: 899px) {
  .news-lead { grid-template-columns: 1fr; gap: 24px; }
  .news-card--lg .news-card-media { aspect-ratio: 4 / 5; }
  .news-card--lg .news-card-dek { display: none; }
  .news-grid { grid-template-columns: 1fr; gap: 28px; }
  .news-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .news-grid--4 .news-card-title { font-size: .95rem; }
  .article-hero, .article-video--hero { margin-inline: calc(var(--gutter) * -1); }
  .article-hero img, .article-video--hero { border-radius: 0; }
  .article-hero figcaption { padding-inline: var(--gutter); }
  .read-progress { top: 0; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-lead-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.article-video .player-facade img { transform: scale(1.34); } /* miniaturas 4:3 de YouTube con franjas → recorte 16:9 */
.article-video .player-facade:hover img { transform: scale(1.38); }
.article-lang { margin-left: auto; font-weight: 700; color: var(--text); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.article-lang:hover { background: var(--surface-2); }

/* ---------- Noticias: punto "en vivo", menú destacado, barra de últimas noticias y pestañas del inicio ---------- */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 70%, transparent); animation: live-pulse 1.8s infinite; flex: none; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.nav a.nav-news { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 800; background: color-mix(in srgb, var(--brand) 16%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.nav a.nav-news:hover, .nav a.nav-news[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.nav a.nav-news:hover .live-dot, .nav a.nav-news[aria-current="page"] .live-dot { background: #fff; }
.tabbar a.tab-news { position: relative; color: var(--text); }
.tabbar a.tab-news .live-dot { position: absolute; top: 2px; left: calc(50% + 8px); width: 7px; height: 7px; }

:root { --ticker-h: 38px; }
.ticker {
  position: fixed; z-index: 48; top: var(--header-h); left: 0; right: 0; height: var(--ticker-h);
  display: flex; align-items: stretch; background: rgba(9, 10, 15, .88); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line); font-size: .86rem;
}
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px 0 var(--gutter); font-weight: 800; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #000)); }
.ticker-label .live-dot { background: #fff; }
.ticker-track { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent); }
.ticker-list { display: flex; width: max-content; height: 100%; margin: 0; padding: 0; list-style: none; animation: ticker-move var(--ticker-dur, 70s) linear infinite; }
.ticker:hover .ticker-list, .ticker:focus-within .ticker-list { animation-play-state: paused; }
.ticker-list li { display: flex; align-items: center; }
.ticker-list a { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; color: #d9dce3; white-space: nowrap; font-weight: 600; border-right: 1px solid var(--line); }
.ticker-list a:hover { color: #fff; }
.ticker-list b { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cat); }
@keyframes ticker-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-list { animation: none; } .ticker-track { overflow-x: auto; } }

/* Desplazar el contenido bajo la barra */
body.has-ticker .page { padding-top: calc(var(--header-h) + var(--ticker-h) + 24px); }
body.has-ticker .hero-content { padding-top: var(--ticker-h); }
body.has-ticker .title-page > .wrap { padding-top: var(--ticker-h); }

/* Pestañas de noticias del inicio */
.news-strip .section-head h2 { display: inline-flex; align-items: center; gap: 12px; }
.news-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -4px 0 18px; padding-bottom: 2px; }
.news-tabs::-webkit-scrollbar { display: none; }
.news-tab { --cat: var(--text); flex: none; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: all .2s var(--ease); }
.news-tab:hover { color: var(--text); border-color: color-mix(in srgb, var(--cat) 60%, transparent); }
.news-tab.is-active { color: #0b0c10; background: var(--cat); border-color: var(--cat); }
.news-slide { flex: none; }
.news-slide[hidden] { display: none; }

@media (max-width: 899px) {
  :root { --ticker-h: 34px; }
  .ticker-label { padding: 0 12px 0 var(--gutter); font-size: 0; gap: 0; } /* en móvil solo el punto rojo */
  .ticker-label .live-dot { width: 9px; height: 9px; }
  .ticker-list a { padding: 0 20px; font-size: .82rem; }
}
.row-track.news-track { grid-auto-columns: clamp(250px, 24vw, 310px); gap: 22px; }
.news-track .news-card--sm { width: 100%; }
.news-slide[hidden] { display: none !important; }
