/* La serie (v195): «El Negocio Inmobiliario con Diego Romero». Oscuro, de sala de cine, con el navy de la marca.
   Solo carga en /la-serie/, capítulos y notas (inc-serie.php). */

.dp-serie-body {
    --sr-bg: #070D17;
    --sr-panel: #0E1828;
    --sr-line: rgba(255,255,255,.10);
    --sr-txt: #FFFFFF;
    --sr-soft: rgba(255,255,255,.72);
    --sr-faint: rgba(255,255,255,.48);
    --sr-font: 'Manrope', var(--dp-font);
    background: var(--sr-bg);
    color: var(--sr-txt);
}
.dp-serie { overflow-x: clip; font-family: var(--dp-font); }
.dp-serie a { color: inherit; }
.dp-serie h1, .dp-serie h2, .dp-serie h3 { font-family: var(--sr-font); color: var(--sr-txt); letter-spacing: -0.02em; margin: 0; }
.dp-serie-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.dp-serie-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sr-faint); }

/* ── Botones ── */
.dp-serie-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 24px; border-radius: 6px; border: 0;
    font: 700 15px/1 var(--sr-font); text-decoration: none; cursor: pointer;
    transition: background-color .18s, transform .18s, opacity .18s;
}
.dp-serie-btn:active { transform: scale(.97); }
.dp-serie-btn.is-main { background: #FFFFFF; color: #070D17 !important; }
.dp-serie-btn.is-main:hover { background: rgba(255,255,255,.85); }
.dp-serie-btn.is-sec { background: rgba(255,255,255,.14); color: #FFFFFF !important; backdrop-filter: blur(6px); }
.dp-serie-btn.is-sec:hover { background: rgba(255,255,255,.24); }
.dp-serie-btn.is-off { background: rgba(255,255,255,.08); color: var(--sr-soft) !important; cursor: default; }
.dp-serie-btn:focus-visible, .dp-serie a:focus-visible, .dp-serie-fila__track:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }

/* ── Hero ── */
.dp-serie-hero { position: relative; isolation: isolate; overflow: hidden; }
.dp-serie-hero::before {
    /* El póster ampliado y desenfocado hace de escenario detrás del póster nítido. */
    content: ""; position: absolute; inset: -40px; z-index: -2;
    background: var(--dp-serie-poster) center 30% / cover no-repeat;
    filter: blur(40px) saturate(1.1); opacity: .45; transform: scale(1.1);
}
.dp-serie-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, var(--sr-bg) 0%, rgba(7,13,23,.78) 45%, rgba(7,13,23,.35) 100%),
                linear-gradient(0deg, var(--sr-bg) 0%, transparent 35%);
}
.dp-serie-hero__inner {
    max-width: 1240px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(32px, 5vw, 64px);
    display: grid; grid-template-columns: 1fr minmax(260px, 380px); align-items: center; gap: clamp(32px, 6vw, 96px);
}
.dp-serie-hero__poster { order: 2; margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); aspect-ratio: 2 / 3; }
.dp-serie-hero__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-serie-hero__txt { order: 1; max-width: 620px; }
.dp-serie-hero__h1 {
    margin: 16px 0 0 !important; font-weight: 800; text-transform: uppercase;
    font-size: clamp(44px, 6.4vw, 92px); line-height: .92; letter-spacing: -0.035em;
}
.dp-serie-hero__h1 span {
    display: block; margin-top: 14px; font-size: clamp(14px, 1.4vw, 18px); font-weight: 500;
    letter-spacing: .32em; line-height: 1.2;
}
.dp-serie-hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 24px 0 0; padding: 0; color: var(--sr-soft); font-size: 14px; }
.dp-serie-hero__meta li + li::before { content: "·"; margin-right: 18px; color: var(--sr-faint); }
.dp-serie-hero__lema { margin: 18px 0 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--sr-txt); max-width: 34ch; }
.dp-serie-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── Filas (temporadas, notas) ── */
.dp-serie-filas { padding: 8px 0 24px; }
.dp-serie-fila { margin: 0 0 clamp(32px, 4vw, 48px); }
.dp-serie-fila__head { max-width: 1240px; margin: 0 auto 14px; padding: 0 clamp(16px, 4vw, 48px); display: flex; align-items: baseline; gap: 16px; }
.dp-serie-fila__head h2 { font-size: clamp(19px, 2vw, 24px); font-weight: 800; }
.dp-serie-fila__nota { color: var(--sr-faint); font-size: 13px; }
.dp-serie-fila__mas { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--sr-soft) !important; text-decoration: none; }
.dp-serie-fila__mas:hover { color: #FFFFFF !important; }
.dp-serie-fila__wrap { position: relative; }
.dp-serie-fila__track {
    display: flex; gap: clamp(10px, 1.2vw, 16px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 6px max(clamp(16px, 4vw, 48px), calc((100vw - 1240px) / 2 + 48px)) 14px;
    scroll-padding-inline: max(clamp(16px, 4vw, 48px), calc((100vw - 1240px) / 2 + 48px));
    scrollbar-width: none;
}
.dp-serie-fila__track::-webkit-scrollbar { display: none; }
.dp-serie-fila__btn {
    position: absolute; top: 6px; bottom: 14px; z-index: 3; width: 48px; border: 0; cursor: pointer;
    background: rgba(7,13,23,.7); color: #FFFFFF; font-size: 40px; line-height: 1; opacity: 0; transition: opacity .2s;
}
.dp-serie-fila__btn.is-prev { left: 0; }
.dp-serie-fila__btn.is-next { right: 0; }
.dp-serie-fila__wrap:hover .dp-serie-fila__btn, .dp-serie-fila__btn:focus-visible { opacity: 1; }
@media (hover: none) { .dp-serie-fila__btn { display: none; } }

/* Tarjeta de capítulo: vertical, como el reel. */
.dp-serie-cap { flex: 0 0 clamp(150px, 17vw, 220px); scroll-snap-align: start; }
.dp-serie-cap__img {
    position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden;
    background: linear-gradient(160deg, #1A2A44 0%, #0B1A2E 60%, #070D17 100%);
    transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s;
}
.dp-serie-cap__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-serie-cap__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,13,23,.85) 0%, transparent 45%); }
.dp-serie-cap__n {
    position: absolute; left: 10px; bottom: 2px; z-index: 1; font: 800 clamp(64px, 7vw, 96px)/1 var(--sr-font);
    color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); letter-spacing: -0.05em;
}
.dp-serie-cap__play {
    position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; background: #FFFFFF; color: #070D17; padding-left: 2px;
    transform: scale(.9); opacity: .92; transition: transform .2s, opacity .2s;
}
.dp-serie-cap__estado {
    position: absolute; top: 10px; left: 10px; z-index: 1; padding: 5px 9px; border-radius: 4px;
    background: rgba(255,255,255,.14); font: 700 11px/1 var(--sr-font); letter-spacing: .08em; text-transform: uppercase;
}
.dp-serie-cap.is-pronto .dp-serie-cap__img img { filter: grayscale(.6) brightness(.6); }
@media (hover: hover) {
    .dp-serie-cap__img:hover { transform: scale(1.04); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
    .dp-serie-cap__img:hover .dp-serie-cap__play { transform: scale(1); opacity: 1; }
}
.dp-serie-cap__txt { padding: 10px 2px 0; }
.dp-serie-cap__meta { display: block; font-size: 12px; color: var(--sr-faint); font-variant-numeric: tabular-nums; }
.dp-serie-cap__txt h3 { font-size: 15px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.dp-serie-cap__txt h3 a { text-decoration: none; }

/* Tarjeta de nota: dato grande primero. */
.dp-serie-nota { flex: 0 0 clamp(250px, 26vw, 320px); scroll-snap-align: start; }
.dp-serie-nota__a {
    display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 220px; padding: 20px; border-radius: 8px;
    background: var(--sr-panel); border: 1px solid var(--sr-line); text-decoration: none; transition: border-color .2s, transform .2s;
}
.dp-serie-nota__a:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.dp-serie-nota__tipo { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sr-faint); }
.dp-serie-nota__cifra { margin-top: 8px; font: 800 34px/1 var(--sr-font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dp-serie-nota__etq { font-size: 13px; color: var(--sr-soft); }
.dp-serie-nota h3 { margin-top: auto !important; padding-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.dp-serie-nota__pie { font-size: 12px; color: var(--sr-faint); }

/* ── Secciones ── */
.dp-serie-sec { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--sr-line); }
.dp-serie-sec h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.dp-serie-sec__lead { margin: 8px 0 0; color: var(--sr-soft); font-size: 16px; }
.dp-serie-fuente { margin: 18px 0 0; font-size: 12px; color: var(--sr-faint); }

.dp-serie-mercado__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; margin-top: 28px; background: var(--sr-line); border: 1px solid var(--sr-line); border-radius: 8px; overflow: hidden; }
.dp-serie-mercado__item { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; background: var(--sr-bg); text-decoration: none; transition: background-color .2s; }
a.dp-serie-mercado__item[href]:hover { background: var(--sr-panel); }
.dp-serie-mercado__b { font-size: 13px; font-weight: 700; color: var(--sr-soft); }
.dp-serie-mercado__item strong { font: 800 22px/1.15 var(--sr-font); font-variant-numeric: tabular-nums; }
.dp-serie-mercado__etq { font-size: 12px; color: var(--sr-faint); }

.dp-serie-sobre__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.dp-serie-sobre__corta { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--sr-soft); max-width: 62ch; }
.dp-serie-sobre__mas { margin-top: 14px; }
.dp-serie-sobre__mas summary { cursor: pointer; font-weight: 700; color: #FFFFFF; list-style: none; display: inline-flex; gap: 8px; align-items: center; padding: 8px 0; }
.dp-serie-sobre__mas summary::-webkit-details-marker { display: none; }
.dp-serie-sobre__mas summary::after { content: "+"; font-size: 18px; }
.dp-serie-sobre__mas[open] summary::after { content: "−"; }
.dp-serie-sobre__mas p { color: var(--sr-soft); line-height: 1.7; max-width: 62ch; margin: 12px 0 0; }
.dp-serie-sobre__mas .dp-serie-sobre__lema { color: #FFFFFF; font-weight: 700; }
.dp-serie-ficha { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--sr-line); }
.dp-serie-ficha > div { padding: 14px 0; border-bottom: 1px solid var(--sr-line); }
.dp-serie-ficha dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sr-faint); }
.dp-serie-ficha dd { margin: 4px 0 0; color: var(--sr-soft); font-size: 15px; }

.dp-serie-prensa__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.dp-serie-prensa__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.dp-serie-cierre { padding: clamp(48px, 8vw, 96px) 16px; text-align: center; border-top: 1px solid var(--sr-line); }

/* ── Reproductor ── */
.dp-serie-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.dp-serie-modal[hidden] { display: none; }
.dp-serie-modal__fondo { position: absolute; inset: 0; background: rgba(3,6,12,.86); backdrop-filter: blur(6px); }
.dp-serie-modal__caja {
    position: relative; display: grid; grid-template-columns: auto 280px; gap: 28px; align-items: center;
    max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
}
.dp-serie-modal__video { width: min(400px, calc((100dvh - 32px) * 0.52)); aspect-ratio: 400 / 770; background: #FFFFFF; border-radius: 8px; overflow: hidden; }
.dp-serie-modal__video iframe, .dp-serie-ep__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.dp-serie-modal__etq { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sr-faint); }
.dp-serie-modal__info h2 { font-size: 26px; font-weight: 800; margin-top: 8px; line-height: 1.15; }
.dp-serie-modal__btns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.dp-serie-modal__x {
    position: absolute; top: -8px; right: -8px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.14); color: #FFFFFF; font-size: 26px; line-height: 1;
}
.dp-serie-modal__x:hover { background: rgba(255,255,255,.26); }
html.dp-serie-bloq { overflow: hidden; }

/* ── Capítulo ── */
.dp-serie-ep__grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.dp-serie-ep__video { aspect-ratio: 400 / 770; background: #FFFFFF; border-radius: 8px; overflow: hidden; }
.dp-serie-ep__pronto { height: 100%; display: grid; place-items: center; background: var(--sr-panel) center / cover; }
.dp-serie-ep__pronto span { padding: 10px 16px; border-radius: 6px; background: rgba(7,13,23,.8); font: 700 13px var(--sr-font); letter-spacing: .1em; text-transform: uppercase; }
.dp-serie-ep__txt h1, .dp-serie-art h1, .dp-serie-arch h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; line-height: 1.05; margin-top: 12px !important; }
.dp-serie-ep__sin { margin: 18px 0 0; font-size: 17px; color: var(--sr-soft); line-height: 1.7; max-width: 60ch; }
.dp-serie-ep__nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--sr-line); font-weight: 700; font-size: 14px; }
.dp-serie-ep__nav a { text-decoration: none; color: var(--sr-soft); }
.dp-serie-ep__nav a:hover { color: #FFFFFF; }
.dp-serie-ep__serie { margin: 24px 0 0; font-size: 13px; color: var(--sr-faint); }
.dp-serie-migas { font-size: 13px; color: var(--sr-faint); margin-bottom: 18px; }
.dp-serie-migas a { text-decoration: none; color: var(--sr-soft); }
.dp-serie-migas a:hover { color: #FFFFFF; }

/* Texto largo (capítulo y nota). */
.dp-serie-prosa { margin-top: 18px; color: var(--sr-soft); font-size: 17px; line-height: 1.75; max-width: 66ch; }
.dp-serie-prosa p { margin: 0 0 1.1em; text-align: left; }
.dp-serie-prosa h2, .dp-serie-prosa h3 { margin: 1.6em 0 .5em; font-size: 22px; font-weight: 800; }
.dp-serie-prosa strong, .dp-serie-prosa em { color: #FFFFFF; }
.dp-serie-prosa a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.dp-serie-prosa img, .dp-serie-prosa figure { max-width: 100%; height: auto; border-radius: 8px; margin: 1.4em 0; }
.dp-serie-prosa blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 2px solid #FFFFFF; color: #FFFFFF; font-size: 19px; }
.dp-serie-prosa ul, .dp-serie-prosa ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.dp-serie-prosa table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.dp-serie-prosa th, .dp-serie-prosa td { padding: 10px 8px; border-bottom: 1px solid var(--sr-line); text-align: left; }

/* [dp_mercado] dentro de una nota. */
.dp-serie-dato { margin: 1.6em 0; padding: 20px 22px; border: 1px solid var(--sr-line); border-radius: 8px; background: var(--sr-panel); }
.dp-serie-dato__k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sr-faint); }
.dp-serie-dato dl { display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 12px 0; }
.dp-serie-dato dt { font-size: 12px; color: var(--sr-faint); }
.dp-serie-dato dd { margin: 2px 0 0; font: 800 22px/1.2 var(--sr-font); color: #FFFFFF; font-variant-numeric: tabular-nums; }
.dp-serie-dato small { font-size: 12px; color: var(--sr-faint); }

/* ── Nota ── */
.dp-serie-art__grid { display: grid; grid-template-columns: 1fr 240px; gap: clamp(32px, 6vw, 88px); padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); align-items: start; }
.dp-serie-art__cifra { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding: 20px 0; border-top: 1px solid var(--sr-line); border-bottom: 1px solid var(--sr-line); }
.dp-serie-art__cifra strong { font: 800 clamp(40px, 6vw, 64px)/1 var(--sr-font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dp-serie-art__cifra span { color: var(--sr-soft); }
.dp-serie-art__img { width: 100%; height: auto; border-radius: 8px; margin-top: 24px; display: block; }
.dp-serie-art__lado { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.dp-serie-art__lado .dp-serie-cap { flex: none; width: 100%; }
.dp-serie-art__lado-t { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sr-faint); }
.dp-serie-art__poster img { width: 100%; border-radius: 8px; display: block; }

/* ── Archivo de notas ── */
.dp-serie-arch { padding-bottom: 64px; }
.dp-serie-arch .dp-serie-wrap { padding-top: clamp(28px, 4vw, 56px); }
.dp-serie-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.dp-serie-chips a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--sr-line); font-size: 14px; text-decoration: none; color: var(--sr-soft); }
.dp-serie-chips a:hover { border-color: rgba(255,255,255,.35); color: #FFFFFF; }
.dp-serie-chips a[aria-current] { background: #FFFFFF; border-color: #FFFFFF; color: #070D17; font-weight: 700; }
.dp-serie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dp-serie-pag { display: flex; gap: 6px; margin-top: 32px; }
.dp-serie-pag .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--sr-line); text-decoration: none; color: var(--sr-soft); }
.dp-serie-pag .page-numbers.current { background: #FFFFFF; color: #070D17; }
.dp-serie-vacio { color: var(--sr-soft); }

/* ── Tableta y teléfono ── */
@media (max-width: 900px) {
    .dp-serie-sobre__grid, .dp-serie-art__grid { grid-template-columns: 1fr; }
    .dp-serie-art__lado { position: static; max-width: 240px; }
    .dp-serie-ep__grid { grid-template-columns: 1fr; }
    .dp-serie-ep__video { width: 100%; max-width: 400px; margin: 0 auto; }
    .dp-serie-modal__caja { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
    .dp-serie-modal__video { width: min(400px, calc(100vw - 32px), calc((100dvh - 150px) * 0.52)); }
    .dp-serie-modal__info { text-align: center; width: 100%; max-width: 400px; }
    .dp-serie-modal__info h2 { font-size: 18px; }
    .dp-serie-modal__btns { flex-direction: row; margin-top: 12px; }
    .dp-serie-modal__btns .dp-serie-btn { flex: 1; padding: 0 12px; font-size: 14px; }
    .dp-serie-modal__x { top: auto; bottom: 100%; right: 0; margin-bottom: 6px; }
}
@media (max-width: 720px) {
    /* En el teléfono el póster ES el hero (ya trae el título): el h1 queda para lectores de pantalla y Google. */
    .dp-serie-hero::before, .dp-serie-hero::after { display: none; }
    .dp-serie-hero__inner { grid-template-columns: 1fr; padding: 0 0 28px; gap: 0; }
    .dp-serie-hero__poster { order: 0; border-radius: 0; box-shadow: none; position: relative; aspect-ratio: auto; }
    .dp-serie-hero__poster::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(0deg, var(--sr-bg), transparent); }
    .dp-serie-hero__poster img { height: auto; }
    .dp-serie-hero__txt { order: 1; padding: 0 16px; margin-top: -8px; position: relative; text-align: center; }
    .dp-serie-hero .dp-serie-kicker,
    .dp-serie-hero__h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0 !important; }
    .dp-serie-hero__meta { justify-content: center; margin-top: 0; font-size: 13px; }
    .dp-serie-hero__lema { margin: 12px auto 0; }
    .dp-serie-hero__btns { flex-direction: column; margin-top: 20px; }
    .dp-serie-hero__btns .dp-serie-btn { width: 100%; }
    .dp-serie-cap { flex-basis: 42vw; }
    .dp-serie-nota { flex-basis: 76vw; }
    .dp-serie-prensa__btns { width: 100%; }
    .dp-serie-prensa__btns .dp-serie-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .dp-serie *, .dp-serie *::before, .dp-serie *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ── Suscríbete (inc-serie-subs.php) ── */
.dp-serie-sub { max-width: 760px; margin: 0 auto; text-align: left; }
.dp-serie-sub__head { text-align: center; margin-bottom: 22px; }
.dp-serie-sub__head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.dp-serie-sub__head p { margin: 8px 0 0; color: var(--sr-soft); font-size: 17px; }
.dp-serie-sub__campos { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 10px; align-items: stretch; }
.dp-serie-sub__canal { display: flex; padding: 4px; gap: 4px; border-radius: 8px; background: rgba(255,255,255,.08); }
.dp-serie-sub__canal label { position: relative; }
.dp-serie-sub__canal input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dp-serie-sub__canal span { display: grid; place-items: center; height: 100%; min-height: 40px; padding: 0 14px; border-radius: 6px; font: 700 14px var(--sr-font); color: var(--sr-soft); transition: background-color .15s, color .15s; }
.dp-serie-sub__canal input:checked + span { background: #FFFFFF; color: #070D17; }
.dp-serie-sub__canal input:focus-visible + span { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.dp-serie-sub input[type="text"], .dp-serie-sub input[type="tel"], .dp-serie-sub input[type="email"] {
    min-height: 48px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--sr-line); background: rgba(255,255,255,.06);
    color: #FFFFFF; font: 500 16px var(--dp-font); min-width: 0;
}
.dp-serie-sub input::placeholder { color: var(--sr-faint); }
.dp-serie-sub input:focus { outline: none; border-color: #FFFFFF; background: rgba(255,255,255,.1); }
.dp-serie-sub input[hidden] { display: none; }
.dp-serie-sub__ok { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--sr-faint); justify-content: center; }
.dp-serie-sub__ok input { margin-top: 2px; accent-color: #FFFFFF; width: 16px; height: 16px; flex: none; }
.dp-serie-sub__ok a { color: var(--sr-soft); text-decoration: underline; }
.dp-serie-sub__trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dp-serie-sub__msg { min-height: 22px; margin: 12px 0 0; text-align: center; font-weight: 700; }
.dp-serie-sub.is-listo .dp-serie-sub__campos, .dp-serie-sub.is-listo .dp-serie-sub__ok { display: none; }
.dp-serie-sub.is-listo .dp-serie-sub__msg { font-size: 18px; }
.dp-serie-sub.is-error .dp-serie-sub__msg { color: #FCA5A5; }
.dp-serie-aviso { margin: 0; padding: 12px 16px; text-align: center; background: #FFFFFF; color: #070D17; font-weight: 700; }
.dp-serie-cierre .dp-serie-wrap { padding-top: 0; }
@media (max-width: 860px) {
    .dp-serie-sub__campos { grid-template-columns: 1fr; }
    .dp-serie-sub__canal label { flex: 1; }
    .dp-serie-sub__ok { justify-content: flex-start; }
}
@media (max-width: 720px) { .dp-serie-btn.is-ico span { display: inline; } }

/* ── SEO del capítulo (v196) ── */
.dp-serie-ep__puntos { margin-top: 26px; }
.dp-serie-ep__puntos h2, .dp-serie-faq h2 { font-size: 13px !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--sr-faint) !important; }
.dp-serie-ep__puntos ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.dp-serie-ep__puntos li { position: relative; padding-left: 20px; color: var(--sr-soft); font-size: 16px; line-height: 1.5; }
.dp-serie-ep__puntos li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: #FFFFFF; }
.dp-serie-ep__barrios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 8px; }
.dp-serie-ep__barrios .dp-serie-dato { margin: 12px 0 10px; }
.dp-serie-ep__props .dp-properties-grid { margin-top: 20px; }
.dp-serie-faq { max-width: 820px; }
.dp-serie-faq h2 { margin-bottom: 8px !important; }
.dp-serie-faq details { border-bottom: 1px solid var(--sr-line); }
.dp-serie-faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font: 700 17px/1.4 var(--sr-font); }
.dp-serie-faq summary::-webkit-details-marker { display: none; }
.dp-serie-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; color: var(--sr-soft); }
.dp-serie-faq details[open] summary::after { content: "−"; }
.dp-serie-faq p { margin: 0 0 18px; color: var(--sr-soft); line-height: 1.7; max-width: 66ch; }

/* ── Próximo estreno (v202): curiosidad + campanita ── */
.dp-serie-rec { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1 var(--sr-font); letter-spacing: .18em; text-transform: uppercase; color: #FF5A5F; }
.dp-serie-rec i, .dp-serie-cap__estado i, .dp-serie-promo__cuando i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; box-shadow: 0 0 0 0 rgba(255,59,48,.6); animation: dpSerieRec 1.6s infinite; flex: none; }
@keyframes dpSerieRec { 0% { box-shadow: 0 0 0 0 rgba(255,59,48,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,59,48,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); } }
.dp-serie-bell { transform-origin: 50% 8%; }
.dp-serie-btn:hover .dp-serie-bell, [data-serie-avisar]:focus-visible .dp-serie-bell { animation: dpSerieBell .9s ease; }
.dp-serie-estreno .dp-serie-btn.is-main .dp-serie-bell { animation: dpSerieBell 1s ease 1.2s 2; }
@keyframes dpSerieBell { 0%,100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }

.dp-serie-estreno { padding: clamp(28px, 5vw, 56px) 0; border-top: 1px solid var(--sr-line); border-bottom: 1px solid var(--sr-line); background: radial-gradient(120% 140% at 0% 0%, rgba(255,59,48,.10), transparent 55%); }
.dp-serie-estreno__in { display: grid; grid-template-columns: clamp(120px, 18vw, 200px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.dp-serie-sellado { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; isolation: isolate; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.dp-serie-sellado::before { content: ""; position: absolute; inset: -20px; z-index: -1; background: var(--dp-serie-poster) center 30% / cover; filter: blur(14px) brightness(.55) saturate(.8); }
.dp-serie-sellado::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); }
.dp-serie-sellado__n { position: absolute; left: 10px; bottom: 4px; font: 800 clamp(72px, 9vw, 110px)/1 var(--sr-font); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); letter-spacing: -.05em; }
.dp-serie-sellado__k { position: absolute; top: 12px; left: 12px; font: 700 11px/1 var(--sr-font); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.dp-serie-estreno__txt h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; line-height: 1.08; margin-top: 14px !important; max-width: 18ch; }
.dp-serie-estreno__meta { margin: 12px 0 0; color: var(--sr-soft); font-size: 15px; }
.dp-serie-estreno__cuando { margin: 6px 0 0; font: 800 clamp(18px, 2vw, 22px)/1.3 var(--sr-font); }
.dp-serie-estreno__cuando span { font-weight: 500; color: var(--sr-soft); }
.dp-serie-estreno .dp-serie-hero__btns { margin-top: 22px; }

.dp-serie-cap.is-sellada .dp-serie-cap__img { background: none; isolation: isolate; }
.dp-serie-cap.is-sellada .dp-serie-cap__img::before { content: ""; position: absolute; inset: -16px; z-index: -1; background: var(--dp-serie-poster) center 30% / cover; filter: blur(12px) brightness(.5); }
.dp-serie-cap.is-sellada .dp-serie-cap__estado { display: inline-flex; align-items: center; gap: 6px; color: #FFB4B0; }
.dp-serie-cap__bell { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; color: #070D17; }
.dp-serie-cap.is-sellada:hover .dp-serie-bell { animation: dpSerieBell .9s ease; }

.dp-serie-ep__pronto { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.dp-serie-ep__pronto strong { font: 800 20px/1.3 var(--sr-font); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.dp-serie-ep__pronto > span.dp-serie-rec { padding: 0; background: none; letter-spacing: .18em; }

/* Ventana «Avísame». */
.dp-serie-avisar__caja { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 28px 24px 22px; border-radius: 12px; background: #0E1828; border: 1px solid var(--sr-line); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.dp-serie-avisar__bell { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%; background: #FFFFFF; color: #070D17; }
.dp-serie-avisar__bell .dp-serie-bell { animation: dpSerieBell 1s ease .2s; }
.dp-serie-avisar .dp-serie-sub__campos { grid-template-columns: 1fr; }
.dp-serie-avisar .dp-serie-sub__canal label { flex: 1; }
.dp-serie-avisar .dp-serie-modal__x { top: 10px; right: 10px; }
.dp-serie-avisar .dp-serie-sub__ok { justify-content: flex-start; }

@media (max-width: 720px) {
    .dp-serie-estreno__in { grid-template-columns: 96px 1fr; align-items: start; }
    .dp-serie-sellado__n { font-size: 64px; }
    .dp-serie-estreno .dp-serie-hero__btns { grid-column: 1 / -1; }
    .dp-serie-estreno__txt h2 { font-size: 22px; margin-top: 10px !important; }
}
@media (prefers-reduced-motion: reduce) { .dp-serie-rec i, .dp-serie-cap__estado i, .dp-serie-promo__cuando i, .dp-serie-bell { animation: none !important; } }

/* v204 — Aviso para quien edita cuando la serie está apagada. */
.dp-serie-apagada { position: sticky; top: 64px; z-index: 99; padding: 10px 16px; text-align: center; background: #FF3B30; color: #FFFFFF; font: 700 14px/1.4 var(--dp-font); }
.dp-serie-apagada a { color: #FFFFFF; text-decoration: underline; margin-left: 6px; }

/* v206 — Serie apagada, vista del visitante: título + una línea + Instagram. */
.dp-serie-espera { min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); display: grid; align-items: center; padding: 48px 0; background: radial-gradient(90% 80% at 50% 0%, rgba(255,255,255,.06), transparent 60%); }
.dp-serie-espera .dp-serie-wrap { max-width: 760px; text-align: center; }
.dp-serie-espera h1 { margin-top: 14px !important; font-size: clamp(32px, 6vw, 64px); font-weight: 800; line-height: 1.02; text-transform: uppercase; letter-spacing: -.03em; }
.dp-serie-espera p { margin: 18px auto 28px; max-width: 56ch; color: var(--sr-soft); font-size: 16px; line-height: 1.7; }
