/* VanMovie home page only. Every selector is scoped to .wanmovie-home. */
.wanmovie-home{--wan-red:#a71924;--wan-red-deep:#74111a;--wan-green:#168b50;--wan-ink:#111216;--wan-muted:#8f929a;--wan-line:rgba(255,255,255,.09);width:100%;color:var(--text-color,#f5f5f6);direction:rtl;overflow:hidden}
.wanmovie-home *{box-sizing:border-box}
.wanmovie-home .wan-home-inner{width:min(100% - 36px,1740px);margin-inline:auto;padding:76px 0 36px}
.wanmovie-home .wan-home-section{margin:0 0 36px;min-width:0}
.wanmovie-home .wan-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 15px;min-height:36px}
.wanmovie-home .wan-section-title-wrap{display:flex;align-items:center;gap:11px;min-width:0}
.wanmovie-home .wan-section-mark{display:block;flex:0 0 4px;width:4px;height:25px;border-radius:8px;background:linear-gradient(180deg,#e43a43,var(--wan-red-deep));box-shadow:0 0 16px rgba(210,35,48,.28)}
.wanmovie-home .wan-section-title{margin:0;font-size:clamp(16px,1.45vw,21px);font-weight:800;line-height:1.5;color:inherit}
.wanmovie-home .wan-heading-line{display:block;flex:1 1 auto;height:1px;min-width:18px;background:rgba(255,255,255,.58);opacity:.85}
.wanmovie-home .wan-view-all{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;color:var(--wan-muted);font-size:13px;font-weight:600;text-decoration:none;transition:color .18s ease}
.wanmovie-home .wan-view-all svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wanmovie-home .wan-view-all:hover{color:var(--wan-red)}
.wanmovie-home .wan-poster-row{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:11px;direction:rtl;min-width:0}
.wanmovie-home .wan-poster-card{display:block;min-width:0;overflow:hidden;aspect-ratio:2/3;border-radius:11px;background:#1a1b20;line-height:0;box-shadow:0 5px 18px rgba(0,0,0,.13);text-decoration:none;outline-offset:3px}
.wanmovie-home .wan-poster-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:none!important;transform:none!important;filter:none!important;opacity:1!important}
.wanmovie-home .wan-poster-card:hover,.wanmovie-home .wan-poster-card:focus,.wanmovie-home .wan-poster-card:active{transform:none!important;filter:none!important;opacity:1!important;box-shadow:0 5px 18px rgba(0,0,0,.13)}
.wanmovie-home .wan-poster-card:hover img,.wanmovie-home .wan-poster-card:focus img,.wanmovie-home .wan-poster-card:active img{transform:none!important;filter:none!important;opacity:1!important}
/* Exact theme card #2, reduced to a static poster only. */
.wanmovie-home .wan-poster-row>.film_cat{min-width:0;width:auto;margin:0;position:relative;transition:none!important;transform:none!important}
.wanmovie-home .wan-poster-row>.film_cat .position-relative{height:100%;overflow:hidden;border-radius:11px;background:#1a1b20}
.wanmovie-home .wan-poster-row>.film_cat .position-relative:before{display:none!important;content:none!important}
.wanmovie-home .wan-poster-row>.film_cat img{display:block;width:100%;height:100%;aspect-ratio:2/3;object-fit:cover;border-radius:11px!important;transition:none!important;transform:none!important;filter:none!important;opacity:1!important}
.wanmovie-home .wan-poster-row>.film_cat .film_overlay,
.wanmovie-home .wan-poster-row>.film_cat .imdb_score_circle,
.wanmovie-home .wan-poster-row>.film_cat .imdbRate_overlay,
.wanmovie-home .wan-poster-row>.film_cat .film_overlay2{display:none!important;visibility:hidden!important;opacity:0!important}
.wanmovie-home .wan-poster-row>.film_cat:hover,
.wanmovie-home .wan-poster-row>.film_cat:focus,
.wanmovie-home .wan-poster-row>.film_cat:active{transform:none!important;filter:none!important;opacity:1!important;box-shadow:none!important}
.wanmovie-home .wan-poster-row>.film_cat:hover img,
.wanmovie-home .wan-poster-row>.film_cat:focus img,
.wanmovie-home .wan-poster-row>.film_cat:active img{transform:none!important;filter:none!important;opacity:1!important}
.wanmovie-home .wan-poster-placeholder{display:block;width:100%;height:100%;background:linear-gradient(145deg,#27282e,#15161a)}
.wanmovie-home .wan-empty-row{padding:20px 16px;border:1px dashed rgba(130,130,140,.25);border-radius:12px;color:var(--wan-muted);font-size:13px;text-align:center}
.wanmovie-home .wan-blog-section{margin-top:6px}
.wanmovie-home .wan-blog-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:9px}
.wanmovie-home .wan-blog-card{display:block;overflow:hidden;aspect-ratio:16/9;border-radius:12px;background:#1b1c21;line-height:0;text-decoration:none}
.wanmovie-home .wan-blog-card img{display:block;width:100%;height:100%;object-fit:cover;transition:none!important;transform:none!important}
.wanmovie-home .wan-blog-card:hover img{transform:none!important;filter:none!important}
.wanmovie-home .wan-blog-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#292a30,#17181c)}
.wanmovie-home .wan-filters-section{margin-top:40px;margin-bottom:42px}
.wanmovie-home .wan-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.wanmovie-home .wan-filter-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-width:0;min-height:218px;padding:21px 19px 18px;border:1px solid rgba(130,130,145,.17);border-radius:17px;background:linear-gradient(145deg,rgba(35,36,43,.96),rgba(20,21,26,.98));box-shadow:0 12px 28px rgba(0,0,0,.08);overflow:hidden}
.wanmovie-home .wan-filter-card:before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:2px;background:linear-gradient(90deg,transparent,rgba(193,39,51,.8),transparent);opacity:.8}
.wanmovie-home .wan-filter-card-head{display:flex;align-items:center;gap:12px;min-width:0}
.wanmovie-home .wan-filter-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid rgba(218,49,60,.25);border-radius:14px;background:rgba(167,25,36,.13);color:#f06b73}
.wanmovie-home .wan-filter-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.wanmovie-home .wan-filter-card-head h3{margin:0 0 5px;color:#f6f6f7;font-size:15px;font-weight:800;line-height:1.6}
.wanmovie-home .wan-filter-card-head p{margin:0;color:#a3a5ad;font-size:11px;line-height:1.8}
.wanmovie-home .wan-filter-form{display:flex;flex-direction:column;gap:10px;margin:0}
.wanmovie-home .wan-filter-form select{display:block;width:100%;height:45px;padding:0 13px;border:1px solid rgba(255,255,255,.13);border-radius:10px;background:#101115;color:#f0f0f2;font:inherit;font-size:13px;outline:none;cursor:pointer;appearance:auto}
.wanmovie-home .wan-filter-form select:focus{border-color:rgba(224,57,68,.8);box-shadow:0 0 0 3px rgba(167,25,36,.14)}
.wanmovie-home .wan-filter-form select option{background:#17181d;color:#fff}
.wanmovie-home .wan-filter-form button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:43px;padding:9px 14px;border:0;border-radius:10px;background:linear-gradient(135deg,#15975a,#08743f);color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 6px 15px rgba(13,132,73,.2);transition:filter .18s ease,box-shadow .18s ease}
.wanmovie-home .wan-filter-form button:hover{filter:brightness(1.08);box-shadow:0 8px 18px rgba(13,132,73,.27)}
.wanmovie-home .wan-filter-form button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.wanmovie-home .wan-filter-form button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wanmovie-home .wan-stats-section{width:100%;margin:0;background:#08090c;color:#fff;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);direction:rtl}
.wanmovie-home .wan-stats-inner{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:min(100% - 36px,1740px);margin:0 auto;min-height:164px}
.wanmovie-home .wan-stat-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;padding:23px 12px;text-align:center;background:transparent;transition:background-color .22s ease}
.wanmovie-home .wan-stat-item:not(:last-child):after{content:"";position:absolute;top:23%;right:0;width:1px;height:54%;background:rgba(255,255,255,.2);transform:rotate(13deg);transform-origin:center}
.wanmovie-home .wan-stat-item:hover{background:#74111a}
.wanmovie-home .wan-stat-icon{display:grid;place-items:center;width:27px;height:27px;color:#e9e9ec}
.wanmovie-home .wan-stat-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.wanmovie-home .wan-stat-number{display:block;max-width:100%;color:#fff;font-size:clamp(19px,2vw,28px);font-weight:900;line-height:1.25;letter-spacing:.2px;font-variant-numeric:tabular-nums;white-space:nowrap}
.wanmovie-home .wan-stat-label{display:block;color:#e7e7e9;font-size:12px;font-weight:600;line-height:1.5}
.wanmovie-home .wan-timer{font-size:clamp(18px,1.8vw,25px);direction:ltr}
@media (max-width:1200px){.wanmovie-home .wan-poster-row{gap:8px}.wanmovie-home .wan-filter-grid{gap:11px}.wanmovie-home .wan-filter-card{padding:18px 14px}}
@media (max-width:900px){.wanmovie-home .wan-poster-row{display:flex;overflow-x:auto;overflow-y:hidden;gap:11px;padding:2px 1px 10px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:rgba(150,150,160,.35) transparent;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}.wanmovie-home .wan-poster-card{flex:0 0 23.5%;scroll-snap-align:start}.wanmovie-home .wan-poster-row>.film_cat{flex:0 0 23.5%;scroll-snap-align:start}.wanmovie-home .wan-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wanmovie-home .wan-blog-grid{display:flex;overflow-x:auto;overflow-y:hidden;gap:9px;padding:2px 1px 8px;scroll-snap-type:x mandatory;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.wanmovie-home .wan-blog-card{flex:0 0 15%;scroll-snap-align:start}.wanmovie-home .wan-stats-inner{min-height:0}}
@media (max-width:600px){.wanmovie-home .wan-home-inner{width:calc(100% - 26px);padding-top:62px;padding-bottom:22px}.wanmovie-home .wan-home-section{margin-bottom:27px}.wanmovie-home .wan-section-heading{margin-bottom:12px;min-height:31px}.wanmovie-home .wan-section-title{font-size:15px}.wanmovie-home .wan-section-mark{height:22px}.wanmovie-home .wan-view-all{font-size:11px;gap:4px}.wanmovie-home .wan-view-all svg{width:14px;height:14px}.wanmovie-home .wan-poster-row{gap:9px;padding-bottom:8px}.wanmovie-home .wan-poster-card{flex-basis:38%;border-radius:9px}.wanmovie-home .wan-poster-row>.film_cat{flex-basis:38%}.wanmovie-home .wan-poster-row>.film_cat .position-relative,.wanmovie-home .wan-poster-row>.film_cat img{border-radius:9px!important}.wanmovie-home .wan-blog-grid{display:flex;gap:8px}.wanmovie-home .wan-blog-card{flex:0 0 28%}.wanmovie-home .wan-blog-card{border-radius:9px}.wanmovie-home .wan-filters-section{margin-top:31px;margin-bottom:30px}.wanmovie-home .wan-filter-grid{gap:10px}.wanmovie-home .wan-filter-card{min-height:190px;padding:14px 11px 12px;gap:13px;border-radius:13px}.wanmovie-home .wan-filter-card-head{gap:8px;align-items:flex-start}.wanmovie-home .wan-filter-icon{flex-basis:37px;width:37px;height:37px;border-radius:11px}.wanmovie-home .wan-filter-icon svg{width:19px;height:19px}.wanmovie-home .wan-filter-card-head h3{font-size:12px;line-height:1.7}.wanmovie-home .wan-filter-card-head p{font-size:10px;line-height:1.6}.wanmovie-home .wan-filter-form{gap:8px}.wanmovie-home .wan-filter-form select{height:40px;padding-inline:8px;font-size:11px}.wanmovie-home .wan-filter-form button{min-height:39px;padding:8px 7px;font-size:11px;gap:5px}.wanmovie-home .wan-stats-inner{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));padding:5px 12px}.wanmovie-home .wan-stat-item{min-height:125px;padding:17px 7px;gap:6px}.wanmovie-home .wan-stat-item:nth-child(2n):after{display:none}.wanmovie-home .wan-stat-item:nth-child(5){grid-column:1/-1;min-height:105px}.wanmovie-home .wan-stat-number{font-size:21px}.wanmovie-home .wan-stat-label{font-size:11px}.wanmovie-home .wan-stat-icon{width:23px;height:23px}.wanmovie-home .wan-stat-icon svg{width:21px;height:21px}.wanmovie-home .wan-timer{font-size:22px}}
@media (prefers-reduced-motion:reduce){.wanmovie-home .wan-stat-item,.wanmovie-home .wan-view-all,.wanmovie-home .wan-filter-form button{transition:none}}
body.logged-in .wanmovie-home .wan-home-inner {
    padding-top: 40px !important;
}

@media (max-width: 600px) {
    body.logged-in .wanmovie-home .wan-home-inner {
        padding-top: 46px !important;
    }
}
