/* Ventana emergente "Próximos estrenos". La base es el CELULAR (un cartel a la vez, deslizable); en pantallas anchas (820 px o más) son 3 carteles en fila.
   La clase .estr-movil fuerza el diseño de celular (la usa la vista previa del panel). */
.estr-fondo{position:fixed;inset:0;z-index:9998;background:rgba(3,8,20,.82);display:flex;align-items:center;justify-content:center;padding:12px;opacity:0;transition:opacity .22s ease;-webkit-tap-highlight-color:transparent}
.estr-fondo.on{opacity:1}
.estr-caja{--h:clamp(220px,calc(100vh - 360px),420px);position:relative;width:100%;max-width:440px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;background:#102552;border:1px solid rgba(255,196,0,.45);border-radius:18px;padding:20px 0 18px;color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.6);transform:translateY(14px) scale(.97);transition:transform .22s ease;font-family:Inter,system-ui,sans-serif}
.estr-fondo.on .estr-caja{transform:none}
.estr-movil .estr-caja{max-width:390px}
.estr-x{position:absolute;top:6px;right:6px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(8,23,53,.75);color:#fff;font-size:28px;line-height:1;cursor:pointer;z-index:3;display:flex;align-items:center;justify-content:center;padding:0}
.estr-x:hover,.estr-x:focus-visible{background:#FFC400;color:#081735;outline:none}
.estr-vista{position:absolute;top:14px;left:14px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:#FFC400;color:#081735;border-radius:6px;padding:3px 8px;z-index:3}
.estr-cab{text-align:center;padding:0 52px}
.estr-sobre{margin:0 0 3px;font-size:11px;font-weight:800;line-height:1.2;letter-spacing:.16em;text-transform:uppercase;color:#FFC400}
.estr-titulo{margin:0;font-family:'Playfair Display',Georgia,serif;font-size:23px;font-weight:600;line-height:1.2;color:#fff}
.estr-sub{margin:7px 0 0;font-size:13px;line-height:1.4;color:#c9d4ee}
.estr-lista{display:flex;gap:12px;margin:0;padding:16px 14% 6px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.estr-lista::-webkit-scrollbar{display:none}
.estr-cartel{flex:0 0 72%;scroll-snap-align:center;margin:0;min-width:0;display:flex;flex-direction:column;gap:9px}
.estr-cartel{position:relative}
.estr-con-enlace{cursor:pointer}
.estr-con-enlace img{transition:transform .15s ease}
.estr-con-enlace:hover img{transform:translateY(-2px)}
.estr-cartel img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:12px;background:#0b1d44;box-shadow:0 8px 24px rgba(0,0,0,.45)}
.estr-nombre{text-align:center;font-size:14px;font-weight:600;line-height:1.25;color:#fff}
.estr-mas{display:block;width:max-content;max-width:100%;margin:6px auto 0;padding:6px 14px;border:1.5px solid #FFC400;border-radius:999px;font-size:12px;font-weight:700;line-height:1.2;color:#FFC400;text-decoration:none}
.estr-mas::after{content:'';position:absolute;inset:0;border-radius:12px}
.estr-con-enlace:hover .estr-mas,.estr-mas:focus-visible{background:#FFC400;color:#081735;outline:none}
.estr-mas:focus-visible::after{outline:3px solid #FFC400;outline-offset:2px}
.estr-puntos{display:flex;justify-content:center;gap:8px;padding:8px 0 0}
.estr-uno .estr-puntos{display:none}
.estr-punto{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.3);cursor:pointer}
.estr-punto.on{background:#FFC400;transform:scale(1.25)}
.estr-cta{display:block;width:calc(100% - 36px);max-width:360px;min-height:48px;margin:14px auto 0;padding:13px 24px;border:0;border-radius:12px;background:#FFC400;color:#081735;font-family:inherit;font-size:15px;font-weight:800;cursor:pointer}
.estr-cta:hover,.estr-cta:focus-visible{background:#FFD752;outline:none}
html.estr-bloqueo{overflow:hidden}

@media (min-width:820px){
  .estr-fondo:not(.estr-movil) .estr-caja{max-width:980px;padding:28px 30px 26px}
  .estr-fondo:not(.estr-movil) .estr-titulo{font-size:32px}
  .estr-fondo:not(.estr-movil) .estr-sub{font-size:15px}
  .estr-fondo:not(.estr-movil) .estr-lista{justify-content:center;gap:24px;padding:22px 0 4px;overflow:visible;scroll-snap-type:none}
  .estr-fondo:not(.estr-movil) .estr-cartel{flex:0 0 auto;width:calc(var(--h) * .6667)}
  .estr-fondo:not(.estr-movil) .estr-puntos{display:none}
  .estr-fondo:not(.estr-movil) .estr-cta{margin-top:20px;width:auto;min-width:260px}
}
@media (prefers-reduced-motion:reduce){.estr-fondo,.estr-caja{transition:none}}
