:root {
  --bg: #08090b;
  --bg-soft: #0c0e12;
  --panel: #111318;
  --panel-2: #171a20;
  --panel-3: #1d2027;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --red: #e51b2b;
  --red-bright: #ff3445;
  --red-dark: #760812;
  --red-glow: rgba(229, 27, 43, 0.3);
  --yellow: #ffc928;
  --text: #f7f7f4;
  --muted: #a4a7ae;
  --muted-2: #747780;
  --radius: 14px;
  --shell: 1440px;
  --font-display: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 86% 8%, rgba(103, 7, 16, 0.17), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
main { min-height: 64vh; overflow: hidden; }
::selection { background: var(--red); color: #fff; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 10000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: #fff;
  color: #111;
}

/* Cabecera */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(8, 9, 11, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
  width: min(100%, var(--shell));
  min-height: 74px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand-wrap { flex: 0 0 auto; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1;
  white-space: nowrap;
}
.brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  filter: drop-shadow(0 7px 14px rgba(229, 27, 43, 0.2));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.brand:hover .brand__mark {
  transform: translateY(-1px);
  filter: drop-shadow(0 9px 17px rgba(229, 27, 43, 0.28));
}
.brand__wordmark { display: inline-flex; align-items: baseline; gap: 5px; }
.brand__wordmark strong { color: var(--red-bright); font-weight: 900; }
.brand__wordmark b { color: #fff; font-weight: 800; }
.brand__de {
  color: #8e9199;
  font-size: 0.56em;
  font-weight: 700;
  letter-spacing: 0.9px;
}
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { width: auto; max-width: 290px; max-height: 52px; }
.main-nav { min-width: max-content; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 29px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.main-nav a,
.genre-menu__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 27px 0 25px;
  border: 0;
  background: transparent;
  color: #d7d7d4;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}
.main-nav a::after,
.genre-menu__toggle::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 17px;
  left: 50%;
  height: 2px;
  background: var(--red);
  transition: right 0.2s ease, left 0.2s ease;
}
.main-nav a:hover,
.main-nav a.is-current,
.genre-menu__toggle:hover,
.genre-menu.is-open .genre-menu__toggle { color: #fff; }
.main-nav a:hover::after,
.main-nav a.is-current::after,
.genre-menu__toggle:hover::after,
.genre-menu.is-open .genre-menu__toggle::after { right: 0; left: 0; }
.genre-menu { position: relative; }
.genre-menu__panel {
  position: absolute;
  z-index: 110;
  top: calc(100% + 2px);
  left: 50%;
  width: min(560px, 82vw);
  max-height: 380px;
  padding: 15px;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  overflow: auto;
  background: rgba(17, 19, 24, 0.99);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--red);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
}
.genre-menu.is-open .genre-menu__panel { display: grid; }
.genre-menu__panel a {
  padding: 10px 11px;
  border-radius: 7px;
  color: #bebfc3;
  font-size: 12px;
}
.genre-menu__panel a::after { display: none; }
.genre-menu__panel a:hover { background: rgba(229, 27, 43, 0.12); color: #fff; }
.header-search {
  width: min(350px, 28vw);
  min-width: 220px;
  margin-left: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #121419;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header-search:focus-within {
  border-color: rgba(229, 27, 43, 0.7);
  box-shadow: 0 0 0 3px rgba(229, 27, 43, 0.09);
}
.header-search input {
  width: 100%;
  min-width: 0;
  padding: 11px 4px 11px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
}
.header-search input::placeholder { color: #767980; }
.header-search button {
  width: 45px;
  height: 40px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  background: transparent;
  color: #aeb0b6;
  cursor: pointer;
}
.header-search button:hover { color: var(--red-bright); }
.header-search svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav-toggle {
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121419;
  cursor: pointer;
}
.nav-toggle span {
  width: 100%;
  height: 2px;
  display: block;
  margin: 4px 0;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Portada */
.home-hero {
  position: relative;
  min-height: clamp(520px, 63vw, 690px);
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, #07080a 0%, rgba(7, 8, 10, 0.9) 29%, rgba(7, 8, 10, 0.35) 64%, rgba(7, 8, 10, 0.08) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    var(--hero, linear-gradient(135deg, #260309, #111318 64%, #08090b)) center 25% / cover no-repeat;
}
.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, var(--bg), transparent 19%, transparent 80%, rgba(0, 0, 0, 0.14));
}
.home-hero__beam {
  position: absolute;
  z-index: -1;
  top: -9%;
  right: 7%;
  width: 16%;
  height: 112%;
  opacity: 0.42;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 24, 43, 0.42) 49%, transparent 72%);
  filter: blur(16px);
  transform: rotate(7deg);
}
.home-hero__content {
  width: min(680px, 91vw);
  margin-left: max(calc((100vw - var(--shell)) / 2 + 28px), 5vw);
  padding: 95px 0 110px;
}
.eyebrow,
.movie-info__kicker,
.watch-heading > div:first-child > span,
.catalog-header > div:first-child > span {
  color: var(--red-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}
.home-hero h1 {
  max-width: 650px;
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 98px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}
.home-hero p {
  max-width: 590px;
  margin: 0 0 15px;
  color: #d0d0cf;
  font-size: 14px;
  line-height: 1.7;
}
.hero-meta,
.watch-heading__meta,
.info-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  color: #d0d0ce;
  font-size: 12px;
}
.hero-meta > *,
.watch-heading__meta > *,
.info-meta > * { padding: 0 12px; border-right: 1px solid var(--line-strong); }
.hero-meta > *:first-child,
.watch-heading__meta > *:first-child,
.info-meta > *:first-child { padding-left: 0; }
.hero-meta > *:last-child,
.watch-heading__meta > *:last-child,
.info-meta > *:last-child { border-right: 0; }
.hero-meta b,
.watch-heading__meta b,
.info-meta b,
.bdp-rating { color: var(--yellow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button {
  min-height: 44px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: #fff;
  box-shadow: 0 12px 32px rgba(229, 27, 43, 0.25);
}
.button--quiet { background: rgba(255, 255, 255, 0.1); border-color: var(--line); color: #fff; }
.button--quiet:hover { background: rgba(255, 255, 255, 0.15); }

.genre-rail {
  position: relative;
  z-index: 3;
  margin-top: -31px;
  padding: 0 28px;
}
.genre-rail__inner {
  width: min(100%, 840px);
  min-height: 62px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: rgba(17, 19, 24, 0.97);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
}
.genre-rail a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  color: #d8d8d5;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.genre-rail a:last-child { border-right: 0; }
.genre-rail a:first-child,
.genre-rail a:hover { background: linear-gradient(135deg, var(--red), #b40e1d); color: #fff; }
.genre-rail a span { font-size: 18px; }

.catalog-row,
.catalog-shell,
.watch-page__inner,
.content-page {
  width: min(100%, var(--shell));
  margin: 0 auto;
  padding-right: 28px;
  padding-left: 28px;
}
.catalog-row { padding-top: 48px; }
.catalog-row:last-of-type { padding-bottom: 24px; }
.catalog-row--ranked { padding-top: 62px; }
.section-heading {
  margin: 0 0 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.section-heading__icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(229, 27, 43, 0.1);
  border: 1px solid rgba(229, 27, 43, 0.32);
  border-radius: 7px;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
}
.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1;
  text-transform: uppercase;
}
.section-heading__title p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.view-all {
  padding: 7px 7px 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: #d0d0ce;
  font-size: 11px;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.view-all b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
}
.view-all:hover { border-color: rgba(229, 27, 43, 0.7); color: #fff; }

.card-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 80px) / 6);
  gap: 16px;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--red-dark) transparent;
  scrollbar-width: thin;
  scroll-snap-type: inline proximity;
}
.card-strip > * { scroll-snap-align: start; }
.card-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 16px;
}
.bdp-card { min-width: 0; }
.bdp-card > a { display: block; }
.bdp-card__image {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(229, 27, 43, 0.18), transparent 36%),
    linear-gradient(145deg, #22252c, #101217);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.bdp-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 8, 10, 0.9), transparent 43%);
  opacity: 0.26;
  transition: opacity 0.2s ease;
}
.bdp-card__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding-left: 3px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(229, 27, 43, 0.86);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, -43%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.bdp-card__badge {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 8px;
  padding: 5px 7px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.7px;
}
.bdp-card h3 {
  margin: 10px 1px 3px;
  overflow: hidden;
  color: #efefec;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bdp-card__meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted-2); font-size: 10px; }
.bdp-rating { margin-left: auto; }
.bdp-card:hover .bdp-card__image {
  border-color: rgba(255, 52, 69, 0.82);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.46), 0 0 0 2px rgba(229, 27, 43, 0.08);
  transform: translateY(-5px);
}
.bdp-card:hover .bdp-card__shade { opacity: 0.65; }
.bdp-card:hover .bdp-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.bdp-card:hover h3 { color: #fff; }

.ranked-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.bdp-ranked-card {
  position: relative;
  min-width: 0;
  padding-left: 39px;
}
.bdp-rank {
  position: absolute;
  z-index: 0;
  bottom: 40px;
  left: -3px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(76px, 7vw, 116px);
  font-weight: 900;
  letter-spacing: -7px;
  line-height: 0.72;
  text-shadow: 0 12px 28px rgba(100, 0, 9, 0.35);
}
.bdp-card--ranked { position: relative; z-index: 1; }

/* Catálogos, búsquedas y páginas */
.catalog-shell { padding-top: 48px; padding-bottom: 60px; }
.catalog-header {
  position: relative;
  margin-bottom: 23px;
  padding: 27px 29px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(229, 27, 43, 0.12), transparent 48%),
    var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
}
.catalog-header::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -110px;
  width: 290px;
  height: 290px;
  border: 44px solid rgba(229, 27, 43, 0.07);
  border-radius: 50%;
}
.catalog-header h1 {
  position: relative;
  z-index: 1;
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}
.catalog-header__description { position: relative; z-index: 1; max-width: 720px; margin-top: 10px; color: var(--muted); }
.catalog-header__description p { margin: 0; }
.catalog-header__count {
  position: relative;
  z-index: 1;
  min-width: 110px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: rgba(8, 9, 11, 0.7);
  border: 1px solid rgba(229, 27, 43, 0.35);
  border-radius: 9px;
}
.catalog-header__count strong { color: var(--red-bright); font-family: var(--font-display); font-size: 28px; line-height: 1; }
.catalog-header__count span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.catalog-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.catalog-filters::-webkit-scrollbar { display: none; }
.catalog-filters a {
  padding: 8px 13px;
  flex: 0 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #b7b8bd;
  font-size: 10px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.catalog-filters a:hover,
.catalog-filters a.is-active { background: rgba(229, 27, 43, 0.13); border-color: rgba(229, 27, 43, 0.6); color: #fff; }
.pagination { margin-top: 38px; }
.pagination .nav-links,
.pagination ul.page-numbers,
ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0;
  list-style: none;
}
.pagination a,
.pagination span,
ul.page-numbers a,
ul.page-numbers span {
  min-width: 37px;
  padding: 8px 11px;
  display: block;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #c1c2c6;
}
.pagination a:hover,
.pagination .current,
ul.page-numbers a:hover,
ul.page-numbers .current { border-color: var(--red); color: #fff; }
.empty-state {
  grid-column: 1 / -1;
  padding: 60px 24px;
  text-align: center;
  background: var(--panel);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
}
.content-page { padding-top: 50px; padding-bottom: 65px; }
.content-page__box {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
}
.content-page h1 { margin-top: 0; font-family: var(--font-display); font-size: clamp(38px, 5vw, 62px); text-transform: uppercase; }
.content-page__body { color: #d2d2d0; line-height: 1.75; }
.content-page__body a { color: var(--red-bright); text-decoration: underline; }
.error-page { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.error-page strong { display: block; color: var(--red); font-family: var(--font-display); font-size: clamp(100px, 20vw, 230px); line-height: 0.7; }
.error-page h1 { margin: 22px 0 5px; font-family: var(--font-display); font-size: 42px; text-transform: uppercase; }
.error-page p { color: var(--muted); }

/* Ficha y reproductor */
.watch-page {
  position: relative;
  isolation: isolate;
  padding: 0 0 50px;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.36), var(--bg) 460px),
    var(--watch-backdrop, none) center top / 100% auto no-repeat;
}
.watch-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 11, 0.94), rgba(8, 9, 11, 0.58) 48%, rgba(8, 9, 11, 0.88));
  backdrop-filter: blur(8px);
}
.watch-page__glow {
  position: absolute;
  z-index: -1;
  top: 80px;
  left: 50%;
  width: min(900px, 90vw);
  height: 390px;
  background: radial-gradient(ellipse, rgba(229, 27, 43, 0.18), transparent 66%);
  transform: translateX(-50%);
  filter: blur(25px);
}
.watch-page__inner { padding-top: 27px; }
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  color: #8f9198;
  font-size: 10px;
  white-space: nowrap;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs b { overflow: hidden; color: var(--red-bright); font-weight: 600; text-overflow: ellipsis; }
.watch-heading {
  margin: 19px 0 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.watch-heading h1 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}
.theater {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.62), 0 0 45px rgba(144, 6, 18, 0.11);
}
/* Smart TV safe 16:9 wrapper.
   Uses the classic padding technique instead of depending on aspect-ratio/inset,
   which are missing in many Samsung/LG/Android TV browser engines. */
.theater__screen {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #000;
}
.theater__screen iframe {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  display: block !important;
  border: 0 !important;
  background: #000 !important;
}
.player-empty {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}
.player-empty > span {
  width: 70px;
  height: 70px;
  padding-left: 4px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.server-row {
  min-height: 59px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #101216;
  border-top: 1px solid var(--line);
  color: #c6c6c4;
  font-size: 11px;
}
.server-row > div { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.server-button {
  padding: 9px 13px;
  flex: 0 0 auto;
  background: #181b21;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: #c8c9cc;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.server-button:hover,
.server-button.is-active { background: rgba(229, 27, 43, 0.15); border-color: var(--red); color: #fff; }
.bdp-banner,
.bdp-ad {
  width: 100%;
  max-width: 1100px;
  min-height: 0;
  margin: 17px auto 0;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.bdp-banner iframe,
.bdp-banner img,
.bdp-ad iframe,
.bdp-ad img { max-width: 100% !important; }
.bdp-banner--mobile { display: none; }
.player-notice {
  max-width: 1280px;
  margin: 14px auto 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(229, 27, 43, 0.05);
  border: 1px solid rgba(229, 27, 43, 0.16);
  border-radius: 7px;
  color: #9b9da4;
  font-size: 10px;
}
.player-notice > span {
  width: 19px;
  height: 19px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red-bright);
  font-weight: 900;
}
.player-notice p { margin: 0; }
.player-notice strong { color: #d1d1cf; }

.movie-info {
  margin-top: 20px;
  padding: 20px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 290px;
  gap: 28px;
  background: linear-gradient(135deg, rgba(24, 26, 32, 0.98), rgba(15, 17, 21, 0.98));
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}
.movie-info__poster {
  aspect-ratio: 2 / 3;
  background:
    radial-gradient(circle at 50% 25%, rgba(229, 27, 43, 0.22), transparent 40%),
    #22252b center / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.movie-info__body { min-width: 0; }
.movie-info__body h2 {
  margin: 5px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}
.movie-info__body > p { margin: 14px 0 0; color: #c2c3c2; font-size: 12px; line-height: 1.75; }
.genre-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.genre-list span {
  padding: 5px 8px;
  background: rgba(229, 27, 43, 0.08);
  border: 1px solid rgba(229, 27, 43, 0.26);
  border-radius: 14px;
  color: #e5b6ba;
  font-size: 9px;
  font-weight: 700;
}
.facts {
  margin-top: 18px;
  padding-top: 15px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  border-top: 1px solid var(--line);
}
.facts div { display: flex; flex-direction: column; gap: 3px; }
.facts small,
.cast-mini small { color: var(--muted-2); font-size: 9px; }
.facts strong { color: #e2e2df; font-size: 11px; }
.share-row { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.share-row > span { margin-right: 2px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.share-row a,
.share-row button {
  padding: 6px 9px;
  background: #202329;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #c6c7ca;
  font-size: 9px;
  cursor: pointer;
}
.share-row a:hover,
.share-row button:hover { border-color: var(--red); color: #fff; }
.share-row button.is-copied { background: var(--red-dark); color: #fff; }
.cast-mini { padding-left: 24px; border-left: 1px solid var(--line); }
.cast-mini h3 { margin: 2px 0 8px; color: var(--red-bright); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.cast-mini__person { min-height: 47px; padding: 6px 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.cast-mini__person img,
.cast-mini__avatar { width: 34px; height: 34px; flex: 0 0 auto; object-fit: cover; background: linear-gradient(135deg, #343740, #191b20); border-radius: 50%; }
.cast-mini__person > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.cast-mini__person b { overflow: hidden; color: #dfdfdc; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.cast-mini__empty { color: var(--muted); font-size: 11px; }
.related { margin-top: 35px; }
.bdp-content-extensions { margin-top: 24px; }

/* Comentarios, wpDiscuz y reacciones */
.bdp-comments {
  margin-top: 35px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: var(--radius);
}
.bdp-comments .comment-list { margin: 0; padding: 0; list-style: none; }
.bdp-comments .comment {
  margin: 14px 0;
  padding: 16px;
  background: #15181d;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.bdp-comments .children { margin: 14px 0 0 30px; padding: 0; list-style: none; }
.bdp-comments .comment-author { display: flex; align-items: center; gap: 10px; }
.bdp-comments .avatar { border-radius: 50%; }
.bdp-comments .comment-metadata { margin: 6px 0 10px; color: var(--muted); font-size: 10px; }
.bdp-comments textarea,
.bdp-comments input[type="text"],
.bdp-comments input[type="email"],
.bdp-comments input[type="url"] {
  width: 100%;
  padding: 12px;
  outline: 0;
  background: #0c0e12;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: #fff;
}
.bdp-comments textarea:focus,
.bdp-comments input:focus { border-color: var(--red); }
.bdp-comments label { display: block; margin-bottom: 5px; }
.bdp-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.bdp-comments .comment-form-cookies-consent label { display: inline; }
.bdp-comments #wpdcom { max-width: none; margin: 0; color: #d7d7d4; }
.bdp-comments #wpdcom .wpd-form-head,
.bdp-comments #wpdcom .wpd-thread-head { border-color: var(--red) !important; }
.bdp-comments #wpdcom .wpd-primary-color { color: var(--red-bright) !important; }
.bdp-comments #wpdcom .wpd-primary-bg { background-color: var(--red) !important; }
.bdp-content-extensions .wp-reactions-wrap,
.bdp-content-extensions [class*="reaction"] { max-width: 100%; }

/* Pie */
.site-footer { margin-top: 55px; border-top: 1px solid var(--line); background: #08090b; }
.site-footer__inner {
  width: min(100%, var(--shell));
  min-height: 115px;
  margin: 0 auto;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted-2);
  font-size: 10px;
}
.brand--footer { gap: 8px; font-size: 21px; }
.brand--footer .brand__mark { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
.site-footer__inner > div > p { margin: 7px 0 0; }
.footer-nav ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0; white-space: nowrap; }

@media (max-width: 1220px) {
  .site-header__inner { gap: 24px; }
  .main-nav > ul { gap: 20px; }
  .header-search { min-width: 190px; }
  .card-strip { grid-auto-columns: calc((100% - 64px) / 5); }
  .card-grid, .related-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ranked-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .movie-info { grid-template-columns: 185px minmax(0, 1fr) 255px; gap: 22px; }
}

@media (max-width: 960px) {
  .site-header__inner { flex-wrap: wrap; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    z-index: 105;
    top: 74px;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    min-width: 0;
    padding: 22px;
    overflow-y: auto;
    background: #101216;
    border-left: 1px solid var(--line);
    box-shadow: -25px 0 60px rgba(0, 0, 0, 0.48);
    transform: translateX(105%);
    transition: transform 0.22s ease;
  }
  .admin-bar .main-nav { top: 106px; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { align-items: stretch; flex-direction: column; gap: 0; }
  .main-nav a, .genre-menu__toggle { width: 100%; padding: 14px 5px; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .main-nav a::after, .genre-menu__toggle::after { display: none; }
  .genre-menu__panel {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    transform: none;
  }
  .header-search { order: 5; width: 100%; min-width: 100%; margin: 0; }
  .home-hero { min-height: 570px; }
  .card-strip { grid-auto-columns: calc((100% - 48px) / 4); }
  .card-grid, .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .movie-info { grid-template-columns: 175px minmax(0, 1fr); }
  .cast-mini { grid-column: 1 / -1; padding: 17px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 17px; border-top: 1px solid var(--line); border-left: 0; }
  .cast-mini h3 { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .main-nav { top: 120px; }
}

@media (max-width: 700px) {
  .site-header__inner { padding-right: 15px; padding-left: 15px; }
  .brand { gap: 9px; font-size: 23px; }
  .brand__mark { width: 33px; height: 33px; flex-basis: 33px; border-radius: 10px; }
  .custom-logo { max-width: 230px; max-height: 44px; }
  .home-hero {
    min-height: 560px;
    align-items: flex-end;
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 11, 0.58) 72%, rgba(8, 9, 11, 0.18) 100%),
      var(--hero, linear-gradient(135deg, #260309, #111318)) center top / cover no-repeat;
  }
  .home-hero__content { width: 100%; margin: 0; padding: 235px 17px 78px; }
  .home-hero h1 { max-width: 92%; font-size: clamp(47px, 15vw, 68px); }
  .home-hero p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .genre-rail { margin-top: -25px; padding: 0 15px; }
  .genre-rail__inner { min-height: 52px; overflow-x: auto; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 120px; }
  .genre-rail a { font-size: 12px; }
  .catalog-row, .catalog-shell, .watch-page__inner, .content-page { padding-right: 15px; padding-left: 15px; }
  .catalog-row { padding-top: 37px; }
  .catalog-row--ranked { padding-top: 48px; }
  .section-heading { align-items: flex-start; }
  .section-heading__title p { display: none; }
  .section-heading h1, .section-heading h2 { font-size: 25px; }
  .view-all > span { display: none; }
  .view-all { padding: 5px; border: 0; }
  .card-strip { grid-auto-columns: calc((100% - 24px) / 2.45); gap: 12px; }
  .card-grid, .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 11px; }
  .ranked-strip { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(74vw, 255px); gap: 13px; padding: 0 2px 12px; overflow-x: auto; scroll-snap-type: inline proximity; }
  .bdp-ranked-card { padding-left: 43px; scroll-snap-align: start; }
  .bdp-rank { font-size: 92px; }
  .catalog-shell { padding-top: 30px; }
  .catalog-header { align-items: flex-start; padding: 21px; }
  .catalog-header h1 { font-size: 36px; }
  .catalog-header__count { min-width: 82px; padding: 9px; }
  .watch-page__inner { padding-top: 19px; }
  .watch-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .watch-heading h1 { font-size: 35px; }
  .theater { border-radius: 8px; }
  .server-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .server-row > div { width: 100%; }
  .bdp-banner--desktop { display: none !important; }
  .bdp-banner--mobile { display: flex; }
  .player-notice { align-items: flex-start; }
  .movie-info { grid-template-columns: 110px minmax(0, 1fr); gap: 15px; padding: 14px; }
  .movie-info__body h2 { font-size: 27px; }
  .movie-info__body > p, .facts, .share-row { grid-column: 1 / -1; }
  .cast-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bdp-comments { padding: 15px; }
  .bdp-comments .children { margin-left: 11px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; gap: 15px; }
  .footer-nav ul { flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .brand { font-size: 20px; gap: 7px; }
  .brand__mark { width: 29px; height: 29px; flex-basis: 29px; border-radius: 9px; }
  .nav-toggle { width: 38px; height: 38px; }
  .hero-actions .button { flex: 1 1 auto; padding-right: 12px; padding-left: 12px; }
  .card-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-header__count { display: none; }
  .movie-info { grid-template-columns: 100px minmax(0, 1fr); }
  .movie-info__body > p { font-size: 11px; }
  .facts { grid-template-columns: 1fr; }
  .cast-mini { grid-template-columns: 1fr; }
  .site-footer__inner > div > p { display: none; }
}

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

/* ========================================================================
   BLOGDEPELIS ROJO DINÁMICO 1.2.0 — UX, LEGIBILIDAD Y RESPONSIVE
   Cambios visuales únicamente: no altera contenido, TMDb ni reproductores.
   ======================================================================== */
:root {
  --font-display: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1480px;
}
body { font-size: 16px; line-height: 1.62; }

/* Cabecera y búsqueda protagonista */
.brand { font-family: var(--font-display); font-size: 27px; letter-spacing: -0.7px; }
.main-nav a,
.genre-menu__toggle { font-size: 14px; font-weight: 700; }
.search-launcher {
  width: min(340px, 27vw);
  min-width: 235px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 12px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #121419;
  color: #8f9299;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.search-launcher:hover { border-color: rgba(229,27,43,.6); background: #17191f; color: #fff; box-shadow: 0 0 0 3px rgba(229,27,43,.08); }
.search-launcher svg { width: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.search-launcher span { overflow: hidden; flex: 1; font-size: 13px; font-weight: 600; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.search-launcher kbd { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: #090a0d; color: #747780; font-size: 11px; }
.search-modal { position: fixed; z-index: 1000; inset: 0; display: none; place-items: start center; padding: min(14vh, 120px) 18px 30px; }
.search-modal.is-open { display: grid; }
.search-modal__backdrop { position: absolute; inset: 0; background: rgba(4,5,7,.78); backdrop-filter: blur(14px); }
.search-modal__panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(76vh, 760px);
  padding: clamp(24px, 4vw, 42px);
  overflow-y: auto;
  background: linear-gradient(145deg, rgba(25,27,34,.98), rgba(11,12,16,.99));
  border: 1px solid rgba(255,255,255,.14);
  border-top: 2px solid var(--red);
  border-radius: 22px;
  box-shadow: 0 36px 100px rgba(0,0,0,.72), 0 0 55px rgba(229,27,43,.12);
}
.search-modal__close { position: absolute; top: 15px; right: 15px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #111318; color: #bbb; font-size: 24px; line-height: 1; cursor: pointer; }
.search-modal__eyebrow { color: var(--red-bright); font-size: 12px; font-weight: 800; letter-spacing: 1.7px; }
.search-modal h2 { margin: 7px 0 4px; font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -1.7px; }
.search-modal__panel > p { margin: 0 0 23px; color: var(--muted); font-size: 14px; }
.search-modal__form { min-height: 62px; padding: 0 9px 0 18px; display: flex; align-items: center; gap: 12px; background: #090a0d; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; }
.search-modal__form:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229,27,43,.09); }
.search-modal__form svg { width: 22px; flex: 0 0 22px; fill: none; stroke: #92959c; stroke-width: 2; }
.search-modal__form input { min-width: 0; flex: 1; padding: 17px 0; outline: 0; border: 0; background: transparent; color: #fff; font-size: 17px; }
.search-modal__form button { min-height: 44px; padding: 0 19px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font-weight: 800; cursor: pointer; }
.search-modal__status { min-height: 24px; margin: 16px 2px 10px; color: #7f828a; font-size: 13px; }
.search-modal .search-results { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.search-result { min-width: 0; min-height: 94px; padding: 9px; display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.search-result:hover { background: rgba(229,27,43,.08); border-color: rgba(229,27,43,.5); transform: translateY(-1px); }
.search-result__poster { width: 56px; aspect-ratio: 2/3; background: #20232a center / cover no-repeat; border-radius: 8px; }
.search-result strong { display: block; overflow: hidden; color: #f5f5f2; font-family: var(--font-display); font-size: 14px; line-height: 1.32; text-overflow: ellipsis; white-space: nowrap; }
.search-result small { display: block; margin-top: 5px; color: #858890; font-size: 11px; }
body.search-open { overflow: hidden; }

/* Hero: mantiene el estreno intacto pero enseña mejor el backdrop */
.home-hero { min-height: clamp(560px, 48vw, 710px); overflow: hidden; background: linear-gradient(90deg,#07080a 0%,rgba(7,8,10,.92) 28%,rgba(7,8,10,.42) 61%,rgba(7,8,10,.12) 100%), linear-gradient(0deg,var(--bg) 0%,transparent 27%), var(--hero, linear-gradient(135deg,#260309,#111318 64%,#08090b)) center / cover no-repeat; }
.home-hero::before { content:""; position:absolute; z-index:0; inset:0; background: var(--hero, none) center / contain no-repeat; opacity:.92; pointer-events:none; }
.home-hero::after { z-index:1; background: linear-gradient(90deg,rgba(7,8,10,.93) 0%,rgba(7,8,10,.72) 34%,rgba(7,8,10,.18) 70%), linear-gradient(0deg,var(--bg) 0%,transparent 32%,transparent 82%,rgba(0,0,0,.16)); }
.home-hero__beam { z-index:2; }
.home-hero__content { position:relative; z-index:3; width:min(720px,91vw); padding-top:90px; padding-bottom:116px; }
.eyebrow, .movie-info__kicker, .watch-heading > div:first-child > span, .catalog-header > div:first-child > span { font-size: 12px; }
.home-hero h1 { max-width:700px; font-size:clamp(48px,6vw,86px); font-weight:800; letter-spacing:-2.5px; line-height:1.01; text-transform:none; }
.home-hero p { max-width:630px; color:#d5d5d3; font-size:16px; line-height:1.72; }
.hero-meta, .watch-heading__meta, .info-meta { font-size:13px; }
.button { min-height:48px; padding:12px 22px; border-radius:10px; font-size:14px; }

/* Géneros: 6 accesos + todos, sin saturar */
.genre-rail__inner { width:min(100%,1180px); grid-template-columns:repeat(7,minmax(0,1fr)); border-radius:14px; }
.genre-rail a, .genre-rail__all { min-height:66px; padding:8px 12px; display:flex; align-items:center; justify-content:center; gap:8px; border:0; border-right:1px solid var(--line); background:transparent; color:#d2d3d6; font-size:13px; font-weight:700; cursor:pointer; }
.genre-rail a:hover, .genre-rail__all:hover { background:linear-gradient(135deg,var(--red),#b40e1d); color:#fff; }
.genre-rail__all { border-right:0; color:var(--red-bright); }
.genre-rail__all span { font-size:18px; }

/* Títulos y tarjetas legibles */
.catalog-row { padding-top:56px; }
.section-heading { margin-bottom:22px; }
.section-heading__icon { width:39px; height:39px; border-radius:10px; font-size:18px; }
.section-heading h1, .section-heading h2 { font-size:clamp(27px,2.5vw,36px); font-weight:700; letter-spacing:-1px; line-height:1.12; text-transform:none; }
.section-heading__title p { margin-top:6px; color:#aeb0b6; font-size:13px; }
.view-all { min-height:39px; padding:7px 7px 7px 14px; font-size:12px; }
.bdp-card h3 { margin-top:11px; color:#f2f2ef; font-family:var(--font-display); font-size:14px; font-weight:600; line-height:1.4; }
.bdp-card__meta { color:#9699a1; font-size:12px; }
.bdp-card__badge { padding:5px 8px; font-size:9px; }
.bdp-card__image { border-radius:13px; }

/* Ranking: números visibles y basado únicamente en visitas reales */
.ranked-strip { gap:15px; }
.bdp-ranked-card { padding-left:67px; }
.bdp-rank { z-index:3; bottom:46px; left:0; width:74px; color:#f22b3b; font-family:var(--font-display); font-size:clamp(80px,7vw,112px); font-weight:800; letter-spacing:-8px; line-height:.75; text-shadow:0 11px 32px rgba(229,27,43,.35), 0 1px 0 rgba(255,255,255,.24); -webkit-text-stroke:1px rgba(255,255,255,.08); pointer-events:none; }
.bdp-card--ranked { z-index:1; }

/* Catálogos */
.catalog-header h1, .content-page h1, .error-page h1 { text-transform:none; letter-spacing:-1.5px; }
.catalog-header__description { font-size:15px; line-height:1.7; }
.catalog-header__count span, .catalog-filters a { font-size:12px; }
.content-page__body { font-size:16px; }

/* Ficha: composición propia de BlogdePelis */
.breadcrumbs { font-size:12px; }
.watch-heading h1 { font-size:clamp(36px,4vw,56px); font-weight:700; letter-spacing:-1.8px; line-height:1.06; text-transform:none; }
.server-row { font-size:13px; }
.server-button { min-height:38px; font-size:12px; }
.player-notice { padding:12px 16px; font-size:12px; }
.movie-info { position:relative; grid-template-columns:250px minmax(0,1fr); gap:30px; padding:26px; overflow:hidden; border-radius:17px; background:linear-gradient(135deg,rgba(24,26,32,.985),rgba(13,15,19,.99)); }
.movie-info::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(16,18,22,.98) 0%,rgba(16,18,22,.9) 43%,rgba(16,18,22,.72) 100%), var(--info-backdrop, none) right center / contain no-repeat; opacity:.58; pointer-events:none; }
.movie-info > * { position:relative; z-index:1; }
.movie-info__poster { width:100%; max-width:250px; border-radius:13px; box-shadow:0 18px 45px rgba(0,0,0,.4); }
.movie-info__body { align-self:center; }
.movie-info__body h2 { margin:7px 0 10px; font-size:clamp(31px,3.2vw,46px); font-weight:700; letter-spacing:-1.5px; line-height:1.08; text-transform:none; }
.movie-info__body > p { max-width:820px; margin-top:17px; color:#d0d1cf; font-size:15px; line-height:1.82; }
.genre-list { margin-top:13px; }
.genre-list span { padding:6px 10px; font-size:11px; }
.facts { margin-top:20px; gap:12px; }
.facts > div { padding:13px 15px; border:1px solid var(--line); border-radius:10px; background:rgba(8,9,11,.48); }
.facts small { font-size:10px; }
.facts strong { margin-top:3px; font-size:13px; }
.share-row { margin-top:20px; }
.share-row > span { font-size:12px; }
.share-row a, .share-row button { min-height:35px; padding:7px 11px; font-size:11px; }
.cast-showcase { grid-column:1 / -1; margin-top:2px; padding-top:23px; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; border-top:1px solid var(--line); }
.cast-showcase h3 { grid-column:1/-1; margin:0 0 3px; color:#fff; font-family:var(--font-display); font-size:18px; font-weight:650; letter-spacing:-.4px; }
.cast-showcase__person { min-width:0; min-height:76px; padding:10px; display:flex; align-items:center; gap:11px; background:rgba(8,9,11,.42); border:1px solid var(--line); border-radius:11px; }
.cast-showcase__person img, .cast-showcase__avatar { width:48px; height:48px; flex:0 0 48px; object-fit:cover; background:linear-gradient(135deg,#343740,#191b20); border-radius:50%; }
.cast-showcase__person > span:last-child { min-width:0; display:flex; flex-direction:column; }
.cast-showcase__person b { overflow:hidden; color:#ededeb; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.cast-showcase__person small { margin-top:3px; overflow:hidden; color:#858890; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.cast-showcase__empty { grid-column:1/-1; color:var(--muted); font-size:13px; }
.related { margin-top:46px; }
.related-grid { gap:20px; }
.related .bdp-card__image { border-radius:15px; }

/* Pie más legible */
.site-footer__inner { font-size:12px; }

@media (max-width:1220px) {
  .search-launcher { width:230px; min-width:210px; }
  .search-launcher kbd { display:none; }
  .genre-rail__inner { grid-template-columns:repeat(4,minmax(150px,1fr)); overflow-x:auto; }
  .movie-info { grid-template-columns:220px minmax(0,1fr); }
  .cast-showcase { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width:960px) {
  .site-header__inner { flex-wrap:nowrap; min-height:70px; }
  .search-launcher { width:46px; min-width:46px; height:44px; margin-left:auto; padding:0; justify-content:center; }
  .search-launcher span, .search-launcher kbd { display:none; }
  .nav-toggle { margin-left:0; }
  .home-hero { min-height:620px; }
  .home-hero__content { padding-bottom:96px; }
  .movie-info { grid-template-columns:190px minmax(0,1fr); padding:22px; }
}

@media (max-width:700px) {
  body { font-size:16px; }
  .site-header__inner { gap:9px; padding-top:8px; padding-bottom:8px; }
  .main-nav { top:70px; }
  .admin-bar .main-nav { top:116px; }
  .main-nav a, .genre-menu__toggle { font-size:15px; }
  .search-modal { padding:78px 10px 18px; }
  .search-modal__panel { max-height:calc(100vh - 96px); padding:24px 16px 18px; border-radius:18px; }
  .search-modal h2 { padding-right:38px; font-size:34px; }
  .search-modal__panel > p { font-size:13px; }
  .search-modal__form { min-height:56px; padding-left:14px; }
  .search-modal__form input { font-size:16px; }
  .search-modal__form button { padding:0 13px; font-size:12px; }
  .search-modal .search-results { grid-template-columns:1fr; }
  .home-hero { min-height:650px; align-items:flex-end; background:linear-gradient(0deg,var(--bg) 0%,rgba(8,9,11,.5) 62%,rgba(8,9,11,.22) 100%), var(--hero,linear-gradient(135deg,#260309,#111318)) center top / cover no-repeat; }
  .home-hero::before { background-position:center top; background-size:100% auto; opacity:1; }
  .home-hero::after { background:linear-gradient(0deg,var(--bg) 0%,rgba(8,9,11,.85) 38%,rgba(8,9,11,.22) 73%,rgba(8,9,11,.04) 100%); }
  .home-hero__content { padding:300px 17px 78px; }
  .home-hero h1 { max-width:100%; font-size:clamp(40px,11vw,58px); letter-spacing:-1.8px; line-height:1.03; }
  .home-hero p { display:-webkit-box; font-size:14px; line-height:1.7; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
  .hero-meta { font-size:12px; }
  .genre-rail__inner { grid-auto-columns:138px; min-height:58px; }
  .genre-rail a, .genre-rail__all { min-height:58px; font-size:12px; }
  .catalog-row { padding-top:43px; }
  .section-heading h1, .section-heading h2 { font-size:26px; }
  .section-heading__title p { display:block; font-size:12px; line-height:1.4; }
  .section-heading__icon { width:36px; height:36px; }
  .bdp-card h3 { font-size:14px; white-space:normal; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
  .bdp-card__meta { font-size:11px; }
  .ranked-strip { grid-auto-columns:min(78vw,278px); }
  .bdp-ranked-card { padding-left:62px; }
  .bdp-rank { left:0; font-size:96px; }
  .breadcrumbs { font-size:11px; }
  .watch-heading h1 { font-size:34px; }
  .watch-heading__meta { font-size:12px; }
  .server-row { font-size:12px; }
  .player-notice { font-size:11px; line-height:1.55; }
  .movie-info { grid-template-columns:1fr; gap:20px; padding:18px; }
  .movie-info::before { background:linear-gradient(0deg,rgba(16,18,22,.97),rgba(16,18,22,.78)), var(--info-backdrop,none) center top / 100% auto no-repeat; opacity:.68; }
  .movie-info__poster { width:min(54vw,210px); margin:0 auto; }
  .movie-info__body h2 { font-size:30px; }
  .movie-info__body > p { font-size:14px; line-height:1.78; }
  .info-meta { font-size:12px; }
  .genre-list span { font-size:11px; }
  .facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .share-row { gap:7px; }
  .share-row a, .share-row button { font-size:11px; }
  .cast-showcase { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .cast-showcase h3 { font-size:17px; }
  .related-grid { display:grid; grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:42vw; gap:12px; padding-bottom:12px; overflow-x:auto; scroll-snap-type:inline proximity; }
  .related-grid > * { scroll-snap-align:start; }
  .site-footer__inner { font-size:11px; }
}

@media (max-width:460px) {
  .home-hero__content { padding-top:250px; }
  .card-strip { grid-auto-columns:44vw; }
  .card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .related-grid { grid-auto-columns:46vw; }
  .facts { grid-template-columns:1fr; }
  .cast-showcase { grid-template-columns:1fr; }
  .cast-showcase__person { min-height:68px; }
  .movie-info__body > p { font-size:14px; }
}

/* =========================================================
   BlogdePelis Rojo Dinámico 1.2.1
   Ajustes móviles, portada, reparto y ranking semanal propio
   ========================================================= */

/* Evita que elementos fuera de lienzo permitan arrastrar toda la web. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.site-header,
main,
.site-footer,
.home-hero,
.genre-rail,
.catalog-row,
.catalog-shell,
.watch-page,
.watch-page__inner,
.content-page {
  max-width: 100%;
}

/* El menú móvil cerrado no participa del área desplazable. */
@media (max-width: 960px) {
  .main-nav {
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
  }
  .main-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }
}

/* Últimos estrenos: la fila de novedades gana presencia sin saturar. */
.catalog-row--premieres {
  padding-top: 46px;
}
.catalog-row--premieres .bdp-card__image {
  border-color: rgba(255, 255, 255, .15);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .34);
}

/* El póster vertical de la ficha siempre se ve completo. */
.movie-info__poster {
  background-color: #0b0d11 !important;
  background-position: center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

/* Reparto más protagonista en escritorio; móvil conserva su composición. */
@media (min-width: 701px) {
  .cast-showcase {
    gap: 14px;
  }
  .cast-showcase__person {
    min-height: 96px;
    padding: 13px;
    gap: 13px;
    border-radius: 13px;
  }
  .cast-showcase__person img,
  .cast-showcase__avatar {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  .cast-showcase__person b {
    font-size: 14px;
    line-height: 1.3;
  }
  .cast-showcase__person small {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.35;
  }
}

/* Móvil: una sola imagen destacada arriba y contenido limpio debajo. */
@media (max-width: 700px) {
  .site-header__inner,
  .genre-rail,
  .genre-rail__inner,
  .catalog-row,
  .catalog-shell,
  .watch-page__inner,
  .content-page,
  .bdpv-home-section,
  .bdpv-match {
    max-width: 100%;
  }

  .home-hero {
    min-height: 0;
    padding-top: clamp(220px, 61vw, 315px);
    display: block;
    background: var(--bg) !important;
  }
  .home-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: clamp(230px, 64vw, 330px);
    background: var(--hero, linear-gradient(135deg,#260309,#111318)) center 36% / cover no-repeat;
    opacity: 1;
  }
  .home-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: clamp(270px, 72vw, 370px);
    background: linear-gradient(180deg, rgba(8,9,11,.02) 38%, rgba(8,9,11,.50) 68%, var(--bg) 100%);
  }
  .home-hero__beam { display: none; }
  .home-hero__content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 16px 58px;
  }
  .home-hero h1 {
    margin-top: 9px;
    font-size: clamp(36px, 10.6vw, 52px);
    letter-spacing: -1.6px;
  }
  .home-hero p {
    max-width: none;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.67;
    -webkit-line-clamp: 4;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 19px;
  }
  .hero-actions .button {
    width: 100%;
    min-height: 50px;
  }

  /* Los géneros se desplazan dentro de su propia fila, no la página completa. */
  .genre-rail {
    margin-top: -26px;
    padding-right: 15px;
    padding-left: 15px;
    overflow: hidden;
  }
  .genre-rail__inner {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
  }

  /* Filas táctiles confinadas al ancho del dispositivo. */
  .card-strip,
  .ranked-strip,
  .related-grid,
  .server-row > div {
    max-width: 100%;
    overscroll-behavior-inline: contain;
  }

  .bdpv-home-section,
  .bdpv-match,
  .bdpv-contender,
  .bdpv-contender__content,
  .bdpv-footer,
  .bdpv-message {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 460px) {
  .home-hero {
    padding-top: clamp(215px, 64vw, 285px);
  }
  .home-hero::before {
    height: clamp(225px, 66vw, 295px);
  }
  .home-hero::after {
    height: clamp(260px, 76vw, 335px);
  }
  .home-hero__content {
    padding-top: 10px;
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* =========================================================
   BlogdePelis Rojo Dinámico 1.2.2
   Búsqueda centrada + ficha más completa sin campos nuevos
   ========================================================= */

/* Página de resultados: ocupa el lienzo real y centra la cuadrícula. */
.catalog-shell--search {
  width: min(calc(100% - 44px), 1440px) !important;
  max-width: 1440px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0;
  padding-left: 0;
  transform: none !important;
  float: none !important;
}
.catalog-shell--search .catalog-header {
  min-height: 0;
  margin-bottom: 18px;
  padding: 24px 28px;
  align-items: center;
}
.catalog-shell--search .catalog-header h1 {
  max-width: 950px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -1.5px;
  text-transform: none;
}
.catalog-shell--search .catalog-header__description {
  margin-top: 8px;
  font-size: 14px;
}
.catalog-shell--search .catalog-header__count {
  min-width: 96px;
  padding: 13px 16px;
}
.catalog-shell--search .catalog-filters {
  margin: 0 auto 24px;
  justify-content: flex-start;
}
.catalog-shell--search .catalog-filters a {
  padding: 9px 14px;
  font-size: 11px;
}
.catalog-shell--search .card-grid {
  width: 100%;
  margin: 0 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 16px;
}
.catalog-shell--search .bdp-card h3 {
  font-size: 14px;
}
.catalog-shell--search .bdp-card__meta {
  font-size: 11px;
}

/* Ficha: más ocupada y útil, sin exigir nuevos datos al editor. */
.movie-info {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  padding: 28px;
}
.movie-info::before {
  background:
    linear-gradient(90deg, rgba(12,14,18,.985) 0%, rgba(12,14,18,.93) 34%, rgba(12,14,18,.66) 70%, rgba(12,14,18,.72) 100%),
    var(--info-backdrop, none) right center / cover no-repeat;
  opacity: .74;
}
.movie-info__poster {
  max-width: 260px;
  align-self: start;
}
.movie-info__body {
  align-self: start;
  padding: 4px 0 0;
}
.movie-info__body h2 {
  max-width: 980px;
  font-size: clamp(34px, 3.3vw, 50px);
}
.movie-info__body > p {
  max-width: 960px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.78;
}
.movie-info__actions {
  margin-top: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.movie-info__play {
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 52, 69, .72);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  box-shadow: 0 10px 26px rgba(229, 27, 43, .22);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.movie-info__play:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(229, 27, 43, .3);
  filter: brightness(1.05);
}
.facts--rich {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0;
  border-top: 0;
}
.facts--rich > div {
  min-height: 72px;
  padding: 13px 15px;
  justify-content: center;
  background: rgba(7, 8, 11, .57);
  border: 1px solid rgba(255,255,255,.105);
}
.facts--rich small {
  font-size: 10px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.facts--rich strong {
  font-size: 13px;
}
.share-row {
  margin-top: 16px;
}
.cast-showcase {
  margin-top: 8px;
  padding-top: 25px;
}
.cast-showcase h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

@media (max-width: 1180px) {
  .catalog-shell--search .card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .facts--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .catalog-shell--search { width: min(calc(100% - 30px), 100%) !important; }
  .catalog-shell--search .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .movie-info { grid-template-columns: 210px minmax(0, 1fr); gap: 23px; padding: 22px; }
  .movie-info__poster { max-width: 210px; }
}

@media (max-width: 700px) {
  .catalog-shell--search {
    width: 100% !important;
    padding-right: 15px;
    padding-left: 15px;
  }
  .catalog-shell--search .catalog-header {
    padding: 20px 18px;
    align-items: flex-start;
  }
  .catalog-shell--search .catalog-header h1 {
    font-size: clamp(28px, 8vw, 38px);
  }
  .catalog-shell--search .catalog-header__count {
    min-width: 78px;
  }
  .catalog-shell--search .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 11px;
  }
  .movie-info {
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 18px;
  }
  .movie-info__poster {
    width: min(58vw, 220px);
    max-width: 220px;
    margin: 0 auto;
  }
  .movie-info__body > p { font-size: 14px; }
  .movie-info__actions { margin-top: 15px; }
  .movie-info__play { width: 100%; min-height: 48px; }
  .facts--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts--rich > div { min-height: 66px; }
}

@media (max-width: 430px) {
  .facts--rich { grid-template-columns: 1fr 1fr; }
  .catalog-shell--search .catalog-header__count { display: none; }
}

/* =========================================================
   BlogdePelis Rojo Dinámico 1.2.3
   Ficha cinematográfica compacta: mejor uso del espacio
   ========================================================= */
@media (min-width: 701px) {
  .movie-info {
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 34px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(20,22,28,.99), rgba(10,12,16,.985));
    box-shadow: 0 24px 58px rgba(0,0,0,.28);
  }
  .movie-info::before {
    background:
      linear-gradient(90deg, rgba(10,12,16,.99) 0%, rgba(10,12,16,.94) 27%, rgba(10,12,16,.67) 58%, rgba(10,12,16,.48) 100%),
      var(--info-backdrop, none) right center / cover no-repeat;
    opacity: .9;
  }
  .movie-info::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:
      radial-gradient(circle at 78% 42%, rgba(229,27,43,.08), transparent 33%),
      linear-gradient(180deg, transparent 58%, rgba(5,6,8,.34));
  }
  .movie-info__poster {
    width: 292px;
    max-width: 292px;
    align-self: start;
    border-radius: 16px;
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 22px 52px rgba(0,0,0,.48);
  }
  .movie-info__body {
    min-height: 430px;
    padding: 8px 4px 0 0;
    display: flex;
    flex-direction: column;
  }
  .movie-info__kicker {
    margin-bottom: 2px;
    font-size: 12px;
    letter-spacing: 1.7px;
  }
  .movie-info__body h2 {
    max-width: 900px;
    margin: 8px 0 11px;
    font-size: clamp(38px, 3.55vw, 55px);
    letter-spacing: -1.8px;
    line-height: 1.02;
  }
  .info-meta {
    gap: 0;
    font-size: 14px;
  }
  .genre-list {
    margin-top: 15px;
    gap: 8px;
  }
  .genre-list span {
    padding: 7px 11px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(229,27,43,.11);
  }
  .movie-info__actions {
    margin-top: 19px;
  }
  .movie-info__play {
    min-width: 220px;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 11px;
    font-size: 14px;
    letter-spacing: -.15px;
    box-shadow: 0 14px 32px rgba(229,27,43,.27);
  }
  .movie-info__body > p {
    max-width: 920px;
    margin: 21px 0 0;
    color: #d7d8d6;
    font-size: 16px;
    line-height: 1.78;
  }

  /* Una sola barra técnica, sin cuatro cajas grandes. */
  .facts--rich {
    margin-top: 22px;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 12px;
    background: rgba(6,7,10,.48);
    backdrop-filter: blur(8px);
  }
  .facts--rich > div {
    min-width: 0;
    min-height: 66px;
    flex: 1 1 0;
    padding: 13px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.09);
    border-radius: 0;
    background: transparent;
  }
  .facts--rich > div:last-child {
    border-right: 0;
  }
  .facts--rich small {
    color: #858991;
    font-size: 10px;
    letter-spacing: .55px;
    text-transform: uppercase;
  }
  .facts--rich strong {
    margin-top: 5px;
    color: #f0f0ed;
    font-size: 13px;
    line-height: 1.3;
  }
  .share-row {
    margin-top: 17px;
    padding-top: 0;
  }

  /* Reparto: seis actores, más visual y menos "fila administrativa". */
  .cast-showcase {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 26px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }
  .cast-showcase h3 {
    margin-bottom: 10px;
    font-size: 21px;
  }
  .cast-showcase__person {
    min-height: 108px;
    padding: 14px;
    gap: 14px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(21,23,29,.72), rgba(7,8,11,.56));
    border-color: rgba(255,255,255,.11);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  }
  .cast-showcase__person img,
  .cast-showcase__avatar {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
  }
  .cast-showcase__person b {
    font-size: 14px;
    line-height: 1.32;
  }
  .cast-showcase__person small {
    margin-top: 6px;
    font-size: 11px;
  }
  .related {
    margin-top: 36px;
  }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .movie-info {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
    padding: 23px;
  }
  .movie-info__poster {
    width: 230px;
    max-width: 230px;
  }
  .movie-info__body {
    min-height: 345px;
  }
  .movie-info__body h2 {
    font-size: clamp(33px, 4vw, 44px);
  }
  .facts--rich {
    flex-wrap: wrap;
  }
  .facts--rich > div {
    flex: 1 1 50%;
  }
  .facts--rich > div:nth-child(2) {
    border-right: 0;
  }
  .facts--rich > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .cast-showcase {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

/* En móvil conservamos la composición compacta acordada. */
@media (max-width: 700px) {
  .movie-info__body { min-height: 0; }
  .facts--rich {
    margin-top: 17px;
    gap: 8px;
    background: transparent;
    border: 0;
    overflow: visible;
  }
  .facts--rich > div {
    min-height: 62px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;
    background: rgba(7,8,11,.54);
  }
}

/* =========================================================
   BlogdePelis Rojo Dinámico 1.2.4
   Ficha técnica lateral en escritorio + cache bust de assets
   ========================================================= */
@media (min-width: 1100px) {
  .movie-info {
    grid-template-columns: 278px minmax(0, 1fr) 238px;
    column-gap: 28px;
    row-gap: 24px;
    align-items: start;
  }
  .movie-info__poster {
    width: 278px;
    max-width: 278px;
  }
  .movie-info__body {
    min-height: 0;
    padding-right: 0;
  }
  .movie-info__body h2 {
    max-width: 760px;
    font-size: clamp(36px, 3vw, 50px);
  }
  .movie-info__body > p {
    max-width: 760px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.8;
  }
  .movie-info__play {
    min-width: 235px;
    min-height: 50px;
  }
  .movie-info__facts {
    grid-column: 3;
    grid-row: 1;
    align-self: stretch;
    margin: 6px 0 0;
    padding: 16px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(17,19,24,.82), rgba(7,8,11,.62));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 14px 34px rgba(0,0,0,.14);
    backdrop-filter: blur(10px);
  }
  .movie-info__facts-title {
    display: block;
    padding: 2px 2px 12px;
    color: #f5f5f2;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.25px;
  }
  .movie-info__facts > div {
    min-height: auto;
    padding: 14px 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.085);
    border-radius: 0;
    background: transparent;
  }
  .movie-info__facts small {
    color: #92959d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .65px;
    text-transform: uppercase;
  }
  .movie-info__facts strong {
    margin-top: 5px;
    color: #f2f2ef;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.42;
    overflow-wrap: anywhere;
  }
  .share-row {
    margin-top: 20px;
  }
  .cast-showcase {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
}

/* Portátiles/tablets: ficha técnica debajo del contenido para no comprimir la sinopsis. */
@media (min-width: 701px) and (max-width: 1099px) {
  .movie-info {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 23px;
  }
  .movie-info__poster {
    width: 220px;
    max-width: 220px;
  }
  .movie-info__facts {
    grid-column: 2;
    margin-top: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .movie-info__facts-title {
    grid-column: 1 / -1;
    color: #f2f2ef;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
  }
  .movie-info__facts > div {
    min-height: 64px;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(7,8,11,.5);
  }
  .cast-showcase {
    grid-column: 1 / -1;
  }
}

/* Móvil: apilado limpio; la ficha técnica no fuerza ancho extra. */
@media (max-width: 700px) {
  .movie-info__facts {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }
  .movie-info__facts-title {
    grid-column: 1 / -1;
    color: #f2f2ef;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
  }
  .movie-info__facts > div {
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .movie-info__facts {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   BlogdePelis Rojo Dinámico 1.2.5
   Corrige colisión body.search-results + sinopsis expandible
   ========================================================= */

/* WordPress añade body.search-results en búsquedas. Nunca convertir el body
   en la cuadrícula del modal: la cuadrícula pertenece solo al buscador rápido. */
body.search-results {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

/* Garantiza que la página de resultados use todo el lienzo y quede centrada. */
body.search-results #main-content {
  width: 100%;
  max-width: 100%;
  display: block;
}
body.search-results .catalog-shell--search {
  width: min(calc(100% - 48px), 1440px) !important;
  max-width: 1440px !important;
  margin-inline: auto !important;
  inset: auto !important;
  position: relative;
}

/* Sinopsis: tres líneas por defecto; se expande solo a petición. */
.movie-info__summary-wrap {
  margin-top: 18px;
}
.movie-info__summary {
  margin: 0;
  color: #d7d8da;
  font-size: 15px;
  line-height: 1.68;
}
.movie-info__summary.is-collapsible:not(.is-expanded) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.movie-info__summary-toggle {
  display: none;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red-bright);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.movie-info__summary-toggle.is-visible {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.movie-info__summary-toggle:hover,
.movie-info__summary-toggle:focus-visible {
  color: #fff;
}

@media (max-width: 700px) {
  body.search-results .catalog-shell--search {
    width: 100% !important;
    padding-inline: 15px !important;
  }
  .movie-info__summary {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* =========================================================
   BlogdePelis Rojo Dinámico 1.2.6
   Hero único + destacada manual + estrenos automáticos por año
   ========================================================= */

/* En escritorio el backdrop se dibuja una sola vez. La capa ::before de
   versiones anteriores mostraba la misma imagen con contain sobre el cover,
   generando la sensación de imagen repetida en monitores anchos. */
@media (min-width: 701px) {
  .home-hero {
    background:
      linear-gradient(90deg,#07080a 0%,rgba(7,8,10,.92) 28%,rgba(7,8,10,.42) 61%,rgba(7,8,10,.12) 100%),
      linear-gradient(0deg,var(--bg) 0%,transparent 27%),
      var(--hero,linear-gradient(135deg,#260309,#111318 64%,#08090b)) center center / cover no-repeat !important;
    background-repeat: no-repeat !important;
  }
  .home-hero::before {
    background: none !important;
    opacity: 0 !important;
  }
}

/* =========================================================
   BlogdePelis Rojo Dinámico 1.2.7
   Slider automático de los 5 últimos estrenos del año actual
   ========================================================= */
.home-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.home-hero-slide {
  display: none;
  width: 100%;
}
.home-hero-slide.is-active {
  display: flex;
  animation: bdpHeroReveal .55s ease both;
}
@keyframes bdpHeroReveal {
  from { opacity: .28; transform: scale(1.006); }
  to { opacity: 1; transform: scale(1); }
}
.hero-slider__arrow {
  position: absolute;
  z-index: 12;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-top: -23px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(8,9,11,.58);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 500 34px/1 var(--font-body);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-slider__arrow:hover,
.hero-slider__arrow:focus-visible {
  background: var(--red);
  border-color: var(--red-bright);
  transform: scale(1.06);
  outline: none;
}
.hero-slider__arrow--prev { left: max(20px, calc((100vw - var(--shell)) / 2 - 58px)); }
.hero-slider__arrow--next { right: max(20px, calc((100vw - var(--shell)) / 2 - 58px)); }
.hero-slider__dots {
  position: absolute;
  z-index: 13;
  left: 50%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(8,9,11,.42);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.hero-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  cursor: pointer;
  transition: width .2s ease, background .2s ease, transform .2s ease;
}
.hero-slider__dot.is-active {
  width: 25px;
  border-radius: 999px;
  background: var(--red-bright);
}
.hero-slider__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .home-hero-slide.is-active { display: block; }
  .hero-slider__arrow { display: none; }
  .hero-slider__dots {
    bottom: 17px;
    gap: 7px;
    padding: 7px 10px;
  }
  .hero-slider__dot { width: 7px; height: 7px; }
  .hero-slider__dot.is-active { width: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide.is-active { animation: none; }
  .hero-slider__arrow,
  .hero-slider__dot { transition: none; }
}
