/* MOVIES EXPLAIN — compact movie-discovery layout (inspired by dense catalogue UX) */
:root{--bg:#090d14;--surface:#111925;--surface2:#172231;--accent:#e50920;--text:#f5f7fb;--muted:#9aa8b8;--line:#263447}
html,body{background:#090d14!important;color:#f5f7fb!important;font-family:Inter,Arial,sans-serif!important}
.professional-navbar{position:sticky!important;top:0!important;background:#080c12!important;border-bottom:1px solid #243244!important;box-shadow:0 5px 20px #0008!important;backdrop-filter:blur(14px)!important}
.navbar-inner{width:min(1360px,calc(100% - 36px))!important;min-height:66px!important;gap:22px!important}
.brand-logo{width:155px!important;height:43px!important}.navbar-menu{gap:14px!important}.nav-main-links{gap:3px!important}.nav-link{color:#d3dbe5!important;border-radius:7px!important;font-size:13px!important;padding:9px 11px!important}.nav-link.active,.nav-link:hover{background:#192536!important;color:#fff!important;box-shadow:inset 0 -2px #e50920!important}
.professional-search{width:230px!important;height:39px!important;background:#121c29!important;border:1px solid #2b3b50!important;border-radius:8px!important}.professional-search:focus-within{border-color:#e50920!important;box-shadow:0 0 0 3px #e5092022!important}
/* Hero becomes a compact featured strip, prioritising the movie catalogue */
.hero{width:min(1360px,calc(100% - 36px))!important;min-height:310px!important;height:310px!important;margin:22px auto 0!important;border:1px solid #29384b!important;border-radius:13px!important;background:#101b29!important;box-shadow:0 18px 45px #0006!important}
.hero-slides{inset:0!important}.hero-slide-backdrop{opacity:.28!important;filter:blur(1px)!important}.hero-slide-poster-wrap{left:auto!important;right:7%!important;top:7%!important;width:190px!important;height:86%!important}.hero-slide-poster{object-fit:contain!important;border-radius:9px!important;filter:drop-shadow(0 14px 25px #000b)!important}
.hero::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,#101b29 0%,#101b29ed 42%,#101b2950 100%)!important;pointer-events:none}.hero-overlay{z-index:2!important;background:linear-gradient(90deg,#080c1255,#080c1200)!important}
.hero-content{z-index:3!important;width:65%!important;min-height:310px!important;margin:0!important;padding:36px 30px 54px 5%!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;box-sizing:border-box!important}.hero-tagline{color:#ff6473!important;border:0!important;background:#e5092020!important;border-radius:4px!important;padding:5px 9px!important;font-size:10px!important;letter-spacing:1.7px!important;margin:0 0 12px!important}.hero-content .main-title{font-size:clamp(34px,4.5vw,58px)!important;line-height:1.08!important;color:#fff!important;max-height:none!important;height:auto!important;overflow:visible!important;margin:0 0 7px!important}.hero-content .main-title span{color:#ff4356!important}.hero-content h2{font-size:18px!important;color:#e1e8f1!important;margin:0 0 8px!important}.hero-content p:not(.hero-tagline){font-size:12px!important;line-height:1.55!important;color:#b6c2d0!important;max-width:520px!important;margin:0 0 13px!important;-webkit-line-clamp:2!important}.hero-content button{min-height:38px!important;border-radius:6px!important;font-size:11px!important;padding:0 15px!important;text-transform:none!important}.hero-content .hero-primary{background:#e50920!important;border-color:#e50920!important}.hero-content .hero-secondary{background:#172536!important;border-color:#3b4c61!important}.hero-dots{left:5%!important;bottom:17px!important}
.quick-categories{width:min(1360px,calc(100% - 36px))!important;margin:19px auto 0!important;display:flex!important;gap:8px!important;overflow-x:auto!important;padding:0 0 10px!important;scrollbar-width:thin!important;scrollbar-color:#394b61 transparent!important}.quick-category{flex:0 0 auto!important;min-height:38px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;padding:8px 13px!important;background:#121c29!important;border:1px solid #29394d!important;border-radius:7px!important;color:#e7edf5!important;box-shadow:none!important}.quick-category .quick-icon{font-size:14px!important;color:#ff5365!important}.quick-category b{font-size:11px!important;color:#e7edf5!important}.quick-category:hover{background:#1b2a3d!important;border-color:#e50920!important;transform:translateY(-2px)!important}
main{width:100%!important}#moviesSection{width:min(1360px,calc(100% - 36px))!important;margin:25px auto 0!important;padding-bottom:40px!important}.catalog-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-direction:row!important;border-bottom:1px solid #29394d!important;padding:0 0 12px!important;margin-bottom:17px!important}.catalog-eyebrow{order:2!important;color:#8797aa!important;font-size:10px!important;letter-spacing:1.5px!important}.section-title{order:1!important;color:#f4f7fb!important;font-size:24px!important;letter-spacing:-.5px!important}.section-title::before{background:#e50920!important;border-radius:3px!important;height:23px!important}
#movieContainer.movie-container{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-flow:row!important;align-items:start!important;justify-items:stretch!important;gap:24px 15px!important;width:100%!important;padding:0 0 20px!important}
#movieContainer .movie-card{position:relative!important;display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;overflow:hidden!important;background:#111a26!important;border:1px solid #253449!important;border-radius:9px!important;box-shadow:0 5px 16px #0003!important;transition:transform .2s,border-color .2s,box-shadow .2s!important}
#movieContainer .movie-card:hover{transform:translateY(-4px)!important;border-color:#e50920!important;box-shadow:0 12px 25px #0007!important}
#movieContainer .movie-seo-link{display:block!important;flex:0 0 auto!important;width:100%!important;height:auto!important;aspect-ratio:2/3!important;overflow:hidden!important;background:#1a2635!important}
#movieContainer .movie-poster{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .3s!important}#movieContainer .movie-card:hover .movie-poster{transform:scale(1.035)!important}
#movieContainer .movie-info{position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;width:100%!important;height:auto!important;min-width:0!important;padding:10px 10px 12px!important;box-sizing:border-box!important;background:#111a26!important}
#movieContainer .movie-info h3{display:block!important;width:100%!important;min-height:2.65em!important;margin:0!important;padding-right:25px!important;color:#f1f5fa!important;font-size:12px!important;line-height:1.35!important;font-weight:750!important;overflow-wrap:anywhere!important}
#movieContainer .movie-info .fav-btn{position:absolute!important;top:7px!important;right:7px!important;z-index:2!important;width:25px!important;height:25px!important;border-radius:50%!important;background:#26364a!important}
#movieContainer .movie-info p,#movieContainer .movie-info .category{position:static!important;display:block!important;margin:0!important;max-width:100%!important;color:#a9b6c5!important;font-size:10px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
#movieContainer .movie-info .category{padding:3px 7px!important;background:#202e40!important;border:1px solid #34475e!important;border-radius:4px!important;color:#ff8792!important;font-size:9px!important;text-transform:uppercase!important}
#movieContainer .movie-info .description{display:-webkit-box!important;width:100%!important;min-height:2.8em!important;max-height:2.8em!important;overflow:hidden!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;color:#8999ab!important;font-size:9px!important;line-height:1.4!important}
.ad-container{width:min(1200px,calc(100% - 36px))!important}.footer.professional-footer{background:#080c12!important;border-top:1px solid #26364a!important}.footer-column h3{color:#ff5365!important}.footer a{color:#c0cad6!important}.footer-bottom{border-color:#26364a!important}
@media(max-width:1100px){#movieContainer.movie-container{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:22px 13px!important}.hero-slide-poster-wrap{right:5%!important;width:170px!important}.navbar-inner{gap:12px!important}.nav-link{padding:8px!important;font-size:12px!important}}
@media(max-width:900px) and (min-width:761px){#movieContainer.movie-container{grid-template-columns:repeat(4,minmax(0,1fr))!important}.quick-categories{width:calc(100% - 28px)!important}}
@media(max-width:760px){.navbar-inner{width:calc(100% - 22px)!important;min-height:62px!important}.brand-logo{width:135px!important;height:40px!important}.mobile-menu-btn{background:#172536!important;border:1px solid #34465c!important;border-radius:7px!important;color:#fff!important}.navbar-menu{top:62px!important;background:#080c12!important;border-bottom:2px solid #e50920!important}.nav-link{border-radius:6px!important}.professional-search{width:100%!important}.hero{width:calc(100% - 20px)!important;height:440px!important;min-height:440px!important;margin:12px auto 0!important;border-radius:10px!important}.hero-slides{inset:0 0 44%!important}.hero-slide-poster-wrap{left:50%!important;right:auto!important;top:4%!important;transform:translateX(-50%)!important;width:auto!important;height:90%!important;max-width:43%!important}.hero::after{background:linear-gradient(180deg,#101b2900 0%,#101b2920 35%,#101b29 58%,#101b29 100%)!important}.hero-content{width:100%!important;min-height:0!important;margin:0!important;padding:0 18px 58px!important;justify-content:flex-end!important}.hero-tagline{font-size:8px!important;margin-bottom:8px!important}.hero-content .main-title{font-size:clamp(31px,9vw,43px)!important;line-height:1.08!important}.hero-content h2{font-size:16px!important}.hero-content p:not(.hero-tagline){font-size:11px!important;-webkit-line-clamp:2!important}.hero-content button{min-height:36px!important;padding:0 11px!important;font-size:10px!important}.hero-dots{left:18px!important;bottom:15px!important}.quick-categories{width:calc(100% - 20px)!important;margin:13px auto 0!important;gap:7px!important}.quick-category{min-height:35px!important;padding:7px 10px!important}.quick-category b{font-size:10px!important}#moviesSection{width:calc(100% - 20px)!important;margin:20px auto 0!important}.catalog-heading{flex-direction:column-reverse!important;align-items:flex-start!important;gap:4px!important;margin-bottom:13px!important}.section-title{font-size:21px!important}.catalog-eyebrow{font-size:8px!important}#movieContainer.movie-container{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 11px!important}#movieContainer .movie-info{padding:8px!important;gap:4px!important}#movieContainer .movie-info h3{font-size:11px!important;min-height:2.7em!important}#movieContainer .movie-info p{font-size:9px!important}.ad-container{width:calc(100% - 20px)!important}.footer-container{width:calc(100% - 28px)!important}}

/* V5.1 FINAL SPACING + HERO HEADING VISIBILITY FIX */
.hero{margin-top:8px!important}
.hero-content{padding-top:22px!important;padding-bottom:42px!important;gap:0!important}
.hero-content #heroTagline{display:inline-block!important;height:auto!important;min-height:0!important;max-height:none!important;white-space:normal!important;overflow:visible!important;line-height:1.4!important;margin:0 0 9px!important}
.hero-content #heroTitle,.hero-content h1.main-title{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;white-space:normal!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;line-clamp:unset!important;line-height:1.12!important;padding:0 0 5px!important;margin:0 0 8px!important;overflow-wrap:break-word!important}
.hero-content #heroSubtitle{height:auto!important;min-height:0!important;max-height:none!important;white-space:normal!important;overflow:visible!important;line-height:1.35!important;margin:0 0 8px!important}
.hero-content #heroDescription{height:auto!important;min-height:0!important;max-height:3.2em!important;overflow:hidden!important;line-height:1.55!important;margin:0 0 12px!important;-webkit-line-clamp:2!important}
.hero-content .hero-actions{height:auto!important;min-height:0!important;flex-wrap:wrap!important}
.quick-categories{margin-top:10px!important}#moviesSection{margin-top:15px!important}
@media(max-width:760px){.hero{margin-top:6px!important;height:405px!important;min-height:405px!important}.hero-content{min-height:0!important;padding:0 18px 48px!important;gap:0!important}.hero-content #heroTagline{font-size:8px!important;line-height:1.35!important;margin-bottom:7px!important}.hero-content #heroTitle,.hero-content h1.main-title{font-size:clamp(29px,8.5vw,39px)!important;line-height:1.12!important;height:auto!important;min-height:0!important;max-height:none!important;padding-bottom:5px!important;margin-bottom:6px!important;overflow:visible!important;display:block!important}.hero-content #heroSubtitle{font-size:14px!important;line-height:1.35!important;margin-bottom:6px!important}.hero-content #heroDescription{font-size:10px!important;line-height:1.45!important;max-height:2.9em!important;margin-bottom:9px!important}.hero-content .hero-actions{gap:7px!important}.hero-content button{min-height:34px!important}.quick-categories{margin-top:8px!important;padding-bottom:6px!important}#moviesSection{margin-top:12px!important}}


/* V5.2: compact vertical rhythm; collapse reserved space for an empty ad slot */
.hero{margin-top:8px!important}
.ad-container:has(.ad-slot:empty){display:none!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
.ad-container:has(.ad-slot:empty)::before{display:none!important;content:none!important;min-height:0!important;height:0!important}
.quick-categories{margin-top:12px!important}
#moviesSection{margin-top:16px!important}
@media(max-width:760px){
 .hero{margin-top:6px!important}
 .ad-container:has(.ad-slot:empty){display:none!important}
 .quick-categories{margin-top:9px!important}
 #moviesSection{margin-top:12px!important}
}



/* V5.3 MOBILE LAYOUT REPAIR — compact hero, fit actions, tidy category rail */
@media (max-width:760px){
  .hero{
    height:520px!important;
    min-height:520px!important;
    margin:8px auto 0!important;
    overflow:hidden!important;
  }
  .hero-slides{
    inset:0 0 49%!important;
  }
  .hero-slide-poster-wrap{
    left:50%!important;right:auto!important;top:3%!important;
    transform:translateX(-50%)!important;
    width:auto!important;height:92%!important;
    max-width:44%!important;
  }
  .hero-content{
    position:absolute!important;left:0!important;right:0!important;bottom:0!important;
    width:100%!important;height:53%!important;min-height:0!important;
    margin:0!important;padding:12px 18px 48px!important;
    display:flex!important;flex-direction:column!important;
    justify-content:flex-end!important;align-items:flex-start!important;
    gap:0!important;box-sizing:border-box!important;
  }
  .hero-content .hero-tagline,
  .hero-content #heroTagline{
    font-size:8px!important;line-height:1.3!important;
    margin:0 0 5px!important;padding:5px 8px!important;
    max-width:100%!important;white-space:normal!important;
  }
  .hero-content .main-title,
  .hero-content #heroTitle{
    font-size:clamp(28px,8vw,38px)!important;
    line-height:1.08!important;margin:0 0 5px!important;
    padding:0 0 3px!important;height:auto!important;min-height:0!important;max-height:none!important;
    overflow:visible!important;white-space:normal!important;
  }
  .hero-content h2,
  .hero-content #heroSubtitle{
    font-size:13px!important;line-height:1.25!important;
    margin:0 0 5px!important;max-height:none!important;overflow:visible!important;
  }
  .hero-content p:not(.hero-tagline):not(#heroTagline),
  .hero-content #heroDescription{
    font-size:10px!important;line-height:1.35!important;
    margin:0 0 8px!important;max-height:2.7em!important;overflow:hidden!important;
  }
  .hero-content .hero-actions{
    display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:flex-start!important;
    flex-wrap:nowrap!important;gap:8px!important;width:100%!important;
    height:auto!important;min-height:0!important;
  }
  .hero-content .hero-actions button,
  .hero-content button{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;
    min-height:42px!important;height:42px!important;padding:0 13px!important;
    white-space:nowrap!important;overflow:visible!important;
    font-size:11px!important;line-height:1!important;box-sizing:border-box!important;
  }
  .hero-dots{left:18px!important;bottom:14px!important}
  .quick-categories{
    display:flex!important;flex-wrap:nowrap!important;
    width:calc(100% - 20px)!important;max-width:100%!important;
    margin:10px auto 0!important;padding:0 0 8px!important;
    gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;overscroll-behavior-x:contain!important;
    scrollbar-width:none!important;
  }
  .quick-categories::-webkit-scrollbar{display:none!important}
  .quick-category{flex:0 0 auto!important;white-space:nowrap!important;scroll-snap-align:start!important}
  #moviesSection{width:calc(100% - 20px)!important;margin:14px auto 0!important}
  .catalog-heading{margin-bottom:12px!important}
}
