/*
Theme Name: TopMoviz — pro
Theme URI: https://topmoviz.com/
Author: TopMoviz
Description: RTL Arabic movie and series WordPress theme styled to match the supplied TopMOVIZ reference design.
Version: 33.0.0
Text Domain: topmoviz-pro
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
:root{--tc-bg:#080b0f;--tc-panel:#101419;--tc-panel2:#151a20;--tc-line:#222830;--tc-text:#fff;--tc-muted:#a8adb4;--tc-red:#ff3443;--tc-red2:#ef2637;--tc-yellow:#ffd21c;--tc-width:1300px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--tc-bg);color:var(--tc-text);font-family:Arial,"Tahoma","Segoe UI",sans-serif;direction:rtl;font-size:14px}body:before{content:"";position:fixed;z-index:-2;inset:0;background:radial-gradient(circle at 50% 5%,rgba(55,63,73,.22),transparent 35%),linear-gradient(180deg,#0c1015 0,#080b0f 38%,#07090d 100%)}body:after{content:"";position:fixed;z-index:-1;inset:0;opacity:.16;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:44px 44px;pointer-events:none}.container{width:min(calc(100% - 64px),var(--tc-width));margin:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}.site-main{min-height:60vh;padding-bottom:20px}.section-block{margin:28px 0 36px}

/* HEADER */
.tc-header{position:sticky;top:0;z-index:50;background:rgba(10,13,17,.96);border-bottom:1px solid #20252c;box-shadow:0 5px 25px rgba(0,0,0,.25)}.tc-header{transition:box-shadow .2s ease}body.admin-bar .tc-header{top:32px}@media (max-width:782px){body.admin-bar .tc-header{top:46px}}.tc-header:before{content:"";position:absolute;inset:0;opacity:.16;background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);pointer-events:none}.tc-header-inner{height:70px;display:flex;align-items:center;gap:24px}.tc-brand{width:145px;min-width:145px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;line-height:.78;font-weight:900;position:relative}.tc-brand-logo{max-width:145px;max-height:58px;width:auto;height:auto;object-fit:contain}.tc-logo-red{font-size:30px;color:var(--tc-red);letter-spacing:-2px}.tc-logo-white{font-size:29px;color:#fff;letter-spacing:-2px}.tc-brand small{width:100%;font-size:12px;font-weight:900;color:#eee;margin-top:6px}.tc-nav{flex:1;min-width:0}.tc-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:2px}.tc-menu>li{position:relative}.tc-menu a{display:flex;align-items:center;gap:7px;padding:24px 12px 21px;font-weight:900;font-size:14px;white-space:nowrap;border-bottom:2px solid transparent}.tc-menu>li:first-child>a:after{content:"";width:8px;height:8px;background:var(--tc-red);border-radius:50%;display:inline-block}.tc-menu li.menu-item-has-children>a:before{content:"\f078";font-family:"Font Awesome 6 Free";font-weight:900;font-size:9px;color:#bbb;order:-1}.tc-menu .sub-menu{position:absolute;top:100%;right:0;min-width:190px;padding:8px;margin:0;list-style:none;background:#11151a;border:1px solid #2a3037;border-radius:0 0 9px 9px;box-shadow:0 15px 35px rgba(0,0,0,.45);opacity:0;visibility:hidden;transform:translateY(7px);transition:.18s;z-index:80}.tc-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:none}.tc-menu .sub-menu a{padding:9px 12px;border:0;font-size:12px}.tc-actions{width:180px;min-width:180px;display:flex;align-items:center;justify-content:flex-start;gap:14px;direction:ltr}.tc-social{display:flex;align-items:center;gap:13px}.tc-social a{font-size:18px;color:#f5f5f5}.tc-theme-switcher{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #2a3037;background:rgba(17,21,26,.82);border-radius:24px;direction:ltr}.tc-theme-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:34px;height:34px;padding:0 8px;border:0;border-radius:18px;background:transparent;color:#aeb5bd;cursor:pointer;font-size:11px;font-weight:900;transition:background .18s ease,color .18s ease,transform .18s ease}.tc-theme-btn i{font-size:12px}.tc-theme-btn:hover{color:#fff;background:#1c2229}.tc-theme-btn.active{background:var(--tc-red);color:#fff;box-shadow:0 3px 12px rgba(255,52,67,.25)}.tc-search-toggle{width:43px;height:43px;border:0;border-radius:50%;background:var(--tc-red);color:#fff;display:grid;place-items:center;font-size:18px;box-shadow:0 5px 18px rgba(255,52,67,.25);cursor:pointer}.tc-mobile-toggle{display:none;width:40px;height:40px;border:1px solid #30363d;background:#15191e;color:#fff;border-radius:7px}.tc-search-panel{display:none;position:absolute;top:70px;left:0;right:0;background:#0d1116;padding:12px;border-top:1px solid #242a31;box-shadow:0 15px 25px rgba(0,0,0,.4)}.tc-search-panel.open{display:block}.tc-search-panel form{max-width:700px;margin:auto;display:flex;direction:ltr}.tc-search-panel input{flex:1;border:1px solid #30363d;background:#171b20;color:#fff;border-radius:8px 0 0 8px;padding:10px 13px;outline:0}.tc-search-panel button{width:50px;border:0;background:var(--tc-red);color:#fff;border-radius:0 8px 8px 0}
.tc-newsbar{background:rgba(15,19,24,.94);border-bottom:1px solid #1d232a}.tc-news-inner{min-height:64px;display:flex;align-items:center;gap:10px;position:relative}.tc-news-label{order:1;background:var(--tc-red);padding:8px 17px;border-radius:22px;font-weight:900;white-space:nowrap}.tc-news-label span{display:inline-block;width:8px;height:8px;background:#fff;border-radius:50%;margin-left:6px}.tc-news-text{order:2;flex:1;text-align:center;color:#e7e8ea;font-size:13px;font-weight:800;direction:ltr;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tc-discover{order:3;background:#8f0018;color:#fff;padding:8px 18px;border-radius:22px;font-weight:900;white-space:nowrap}.tc-premium{order:4;background:var(--tc-yellow);color:#141414;padding:8px 27px;border-radius:22px;font-weight:900;white-space:nowrap}

/* SECTION HEADINGS */
.tc-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;border-bottom:1px solid #20262d;padding:0 0 10px}.tc-section-title>div{display:flex;align-items:center;gap:8px}.tc-dot{width:9px;height:9px;background:var(--tc-red);border-radius:50%;display:inline-block}.tc-section-title h2{font-size:21px;line-height:1;margin:0;font-weight:900}.tc-section-title>a{border:1px solid #2b3138;border-radius:8px;padding:6px 13px;color:#d8dadd;font-size:12px;font-weight:800}.tc-section-title>a:hover{border-color:#4a515a;color:#fff}

/* CARDS */
.tc-featured-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.tc-grid{display:grid;gap:10px}.tc-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.tc-grid-6{grid-template-columns:repeat(6,minmax(0,1fr))}.tc-split-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:14px;align-items:start;direction:ltr}.tc-main-grid,.tc-sidebar{direction:rtl}.tc-card{min-width:0}.tc-card-link{display:block}.tc-poster{position:relative;aspect-ratio:2/3;border-radius:11px;overflow:hidden;background:#12161b;box-shadow:0 5px 16px rgba(0,0,0,.32);isolation:isolate}.tc-poster:after{content:"";position:absolute;z-index:1;inset:30% 0 0;background:linear-gradient(180deg,transparent 5%,rgba(0,0,0,.08) 28%,rgba(0,0,0,.9) 94%,#000 100%);pointer-events:none}.tc-poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s,filter .35s}.tc-card:hover .tc-poster img{transform:scale(1.045);filter:brightness(.86)}.tc-placeholder{height:100%;display:grid;place-items:center;font-size:48px;color:#59606a}.tc-card-badges{position:absolute;z-index:4;inset:9px 8px auto;min-height:70px}.tc-type-badge{position:absolute;right:0;top:0;background:var(--tc-yellow);color:#161616;border-radius:8px;padding:3px 9px;font-size:11px;font-weight:900;box-shadow:0 2px 7px rgba(0,0,0,.4)}.tc-quality-badge{position:absolute;right:0;top:34px;background:rgba(34,38,43,.86);color:#fff;border-radius:8px;padding:3px 8px;font-size:10px;font-weight:900;backdrop-filter:blur(2px)}.tc-rating{position:absolute;right:0;top:59px;background:rgba(40,43,47,.82);color:#f6f6f6;border-radius:8px;padding:2px 7px;font-size:10px;font-weight:900}.tc-rating i{color:var(--tc-yellow);font-size:9px}.tc-ribbon{position:absolute;z-index:5;top:16px;left:-42px;width:150px;padding:5px 0;text-align:center;background:var(--tc-red);color:#fff;font-size:10px;font-weight:900;transform:rotate(-45deg);box-shadow:0 3px 10px rgba(0,0,0,.35)}.tc-card-bottom{position:absolute;z-index:4;right:0;left:0;bottom:0;padding:28px 9px 11px;text-align:center}.tc-card-bottom strong{display:block;font-size:13px;line-height:1.55;font-weight:900;text-shadow:0 2px 6px #000}.tc-card-bottom span{display:block;margin-top:2px;font-size:10px;color:#ddd;font-weight:700;text-shadow:0 2px 5px #000}

/* SIDEBAR */
.tc-sidebar{background:rgba(16,20,25,.82);border:1px solid #1f252c;border-radius:10px;padding:12px;overflow:hidden}.tc-sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:0 1px 11px;border-bottom:1px solid #252b32}.tc-sidebar-head h3{margin:0;font-size:18px;font-weight:900}.tc-mini-logo{text-align:center;line-height:.8}.tc-mini-logo b{display:block;color:var(--tc-red);font-size:20px}.tc-mini-logo small{font-size:8px;color:#ddd;font-weight:900}.tc-sidebar-list{display:flex;flex-direction:column}.tc-side-item{min-height:74px;display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #252a30}.tc-side-item:last-child{border-bottom:0}.tc-side-item img{grid-column:2;width:100px;height:63px;object-fit:cover;border-radius:8px}.tc-side-copy{grid-column:1;text-align:right}.tc-side-copy b{display:block;font-size:11px;line-height:1.55;font-weight:900}.tc-side-copy small{display:block;color:#c1c5ca;font-size:9px;margin-top:3px}

/* GENERAL */
.empty{padding:45px;text-align:center;color:#aeb4bb;border:1px solid #252b32;background:#11151a;border-radius:10px}.archive-head{font-size:24px;margin:25px 0 15px;padding:12px 15px;background:#101419;border-right:4px solid var(--tc-red);border-radius:8px}.pagination{display:flex;justify-content:center;gap:6px;margin:28px 0}.pagination a,.pagination span{padding:6px 12px;border:1px solid #2a3037;border-radius:7px}.pagination .current{background:var(--tc-red);border-color:var(--tc-red)}

/* SINGLE */
.breadcrumb{margin:18px 0;padding:9px 12px;border:1px solid #232930;background:#101419;border-radius:8px;color:#bfc4ca}.single-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:18px;direction:rtl;align-items:start}.single-layout>*{direction:rtl}.sidebar{position:-webkit-sticky !important;position:sticky !important;top:110px;align-self:start;height:max-content}.sidebar .poster{position:relative}.sidebar .poster img{display:block;width:100%;height:auto;max-height:calc(100vh - 150px);object-fit:cover}.post-box{background:#101419;border:1px solid #242a31;border-radius:10px;padding:12px;margin-bottom:12px}.poster{padding:0;overflow:hidden}.poster img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover}.content-chip,.ep-chip{text-align:center;background:#11161b;border:1px solid #282e35;border-radius:8px;padding:8px;margin-top:8px;font-weight:900}.watch-cta{display:flex;justify-content:space-between;align-items:center;background:var(--tc-red);border-radius:8px;margin-top:9px;overflow:hidden}.watch-cta span{padding:10px 12px;font-weight:900}.watch-cta i{padding:0 15px}.single-content{min-width:0}.post-topbar{display:flex;justify-content:space-between;color:#9da4ac;font-size:11px;border-bottom:1px solid #242a30;padding-bottom:8px}.share{display:flex;gap:6px;margin:10px 0;direction:ltr}.share a{padding:5px 10px;border-radius:7px;font-size:11px;background:#171c21}.single-title{margin:0 0 12px;padding:10px 13px;border-right:4px solid var(--tc-red);background:#101419;border-radius:8px;font-size:24px}.synopsis{color:#d8dce0}.meta-box{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #252b32;border-radius:9px;overflow:hidden;margin-bottom:12px}.meta-box>div{padding:9px 10px;border-left:1px solid #252b32;border-bottom:1px solid #252b32}.meta-box b{display:block;color:#8f969e;font-size:9px}.meta-box span{display:block;font-weight:800}.watch-tabs{display:flex;flex-wrap:wrap;border:1px solid #252b32;background:#101419;border-radius:8px;overflow:hidden}.watch-tabs a{padding:9px 13px;font-weight:800}.watch-tabs a.active,.watch-tabs a:hover{background:var(--tc-red)}.player{background:#050608;border:1px solid #22272e;border-radius:8px;min-height:470px;margin-top:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}.player iframe{width:100%;height:620px;border:0}.server-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.server{border:1px solid #252b32;background:#101419;border-radius:8px;overflow:hidden;text-align:center}.server strong,.server .quality{display:block;padding:8px;border-bottom:1px solid #252b32}.server a{display:block;padding:8px;background:#b80f1b;font-weight:900}.episodes{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}.episode{padding:7px;text-align:center;background:#101419;border:1px solid #252b32;border-radius:7px}.episode.current{background:var(--tc-red);border-color:var(--tc-red)}

/* FOOTER */
.site-footer{margin-top:35px;background:#080a0d;border-top:1px solid #20252c;padding:28px 0}.footer-types{margin:0}.footer-divider{height:1px;background:#20252c;margin:25px 0}.genre-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.genre{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;border:1px solid #252b32;background:#101419;border-radius:8px}.genre i{font-size:10px;color:#aaa}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.social{display:flex;gap:8px}.social a{width:38px;height:38px;border:1px solid #343a42;border-radius:50%;display:grid;place-items:center}.footer-copy{color:#9fa5ad;font-size:11px}.footer-links{font-weight:800}

/* RESPONSIVE */
@media(max-width:1180px){.container{width:min(calc(100% - 38px),var(--tc-width))}.tc-menu a{padding-inline:7px;font-size:12px}.tc-actions{width:155px;min-width:155px}.tc-featured-grid{gap:10px}.tc-split-layout{grid-template-columns:minmax(0,1fr) 300px}.tc-grid-5{gap:8px}.tc-sidebar{padding:9px}.tc-side-item{grid-template-columns:minmax(0,1fr) 78px}.tc-side-item img{width:78px;height:58px}.tc-grid-6{gap:8px}}
@media(max-width:900px){.tc-header-inner{height:62px}.tc-brand{width:125px;min-width:125px}.tc-brand-logo{max-width:125px;max-height:50px}.tc-nav{position:absolute;top:62px;right:0;left:0;display:none;background:#0e1217;border-bottom:1px solid #252b31}.tc-nav.open{display:block}.tc-menu{display:block}.tc-menu a{padding:11px 18px;border-bottom:1px solid #22272e}.tc-menu .sub-menu{position:static;display:block;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-radius:0;padding:0 14px;background:#0a0d11}.tc-actions{margin-right:auto;width:auto;min-width:auto}.tc-theme-switcher{order:0}.tc-theme-btn{min-width:32px;padding:0 7px}.tc-mobile-toggle{display:grid;place-items:center}.tc-news-inner{min-height:55px}.tc-news-text{font-size:11px}.tc-premium{display:none}.tc-discover{padding:7px 12px}.tc-split-layout{grid-template-columns:1fr}.tc-sidebar{order:2}.tc-main-grid{order:1}.tc-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.single-layout{grid-template-columns:1fr}.sidebar{position:static}.meta-box{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.container{width:calc(100% - 18px)}.tc-header-inner{gap:10px}.tc-brand{width:110px;min-width:110px}.tc-logo-red{font-size:23px}.tc-logo-white{font-size:22px}.tc-brand small{font-size:9px;margin-top:5px}.tc-social{gap:8px}.tc-social a{font-size:16px}.tc-theme-switcher{gap:2px;padding:3px}.tc-theme-btn{height:32px;min-width:31px;padding:0 6px;font-size:9px}.tc-theme-btn span{display:none}.tc-search-toggle{width:39px;height:39px}.tc-news-inner{gap:5px}.tc-news-label{font-size:10px;padding:7px 10px}.tc-discover{font-size:10px;padding:7px 9px}.tc-featured-grid{grid-template-columns:repeat(2,1fr);gap:9px}.tc-grid-5,.tc-grid-6{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tc-section-title h2{font-size:18px}.tc-section-title>a{font-size:10px;padding:5px 9px}.tc-card-bottom strong{font-size:12px}.tc-quality-badge,.tc-rating,.tc-type-badge{font-size:9px}.tc-ribbon{font-size:8px}.genre-grid{grid-template-columns:repeat(2,1fr)}.footer-row{flex-direction:column}.episodes{grid-template-columns:repeat(4,1fr)}.server-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:390px){.tc-social{display:none}.tc-card-bottom{padding-inline:6px}.tc-card-bottom strong{font-size:11px}.tc-type-badge{padding:2px 6px}.tc-quality-badge{top:30px;padding:2px 5px}.tc-rating{top:55px;padding:2px 5px}}
@media(max-width:900px){.single-layout .sidebar{position:static !important;top:auto}.sidebar .poster img{max-height:none}}
html[data-egy-theme="dark"] body{background:#111827;color:#f3f4f6}html[data-egy-theme="dark"] body:before{background:radial-gradient(circle at 50% 5%,rgba(37,61,93,.28),transparent 35%),linear-gradient(180deg,#182230 0,#111827 45%,#0d1420 100%)}html[data-egy-theme="dark"] .tc-header{background:rgba(20,29,42,.96);border-color:#344254}html[data-egy-theme="dark"] .tc-newsbar{background:rgba(23,32,45,.94);border-color:#344254}html[data-egy-theme="dark"] .tc-menu a,html[data-egy-theme="dark"] .tc-social a{color:#f0f3f7}html[data-egy-theme="dark"] .tc-sidebar,html[data-egy-theme="dark"] .tc-poster,html[data-egy-theme="dark"] .archive-head,html[data-egy-theme="dark"] .single-title,html[data-egy-theme="dark"] .post-box{background:#182230;border-color:#344254}html[data-egy-theme="dark"] .tc-theme-switcher{background:#111a27;border-color:#3a485b}html[data-egy-theme="dark"] .tc-theme-btn{color:#c3ccd8}html[data-egy-theme="dark"] .tc-theme-btn:hover{background:#243247;color:#fff}html[data-egy-theme="dark"] .tc-search-panel{background:#121c28}html[data-egy-theme="dark"] .tc-search-panel input{background:#1b2736;border-color:#3a485b;color:#fff}
html[data-egy-theme="light"] body{background:#f2f4f7;color:#20242a}html[data-egy-theme="light"] .tc-header,html[data-egy-theme="light"] .tc-newsbar{background:#fff;border-color:#d9dde3}html[data-egy-theme="light"] .tc-menu a{color:#20242a}html[data-egy-theme="light"] .tc-sidebar,html[data-egy-theme="light"] .tc-poster,html[data-egy-theme="light"] .archive-head,html[data-egy-theme="light"] .single-title,html[data-egy-theme="light"] .post-box{background:#fff}html[data-egy-theme="light"] .tc-card-bottom span{color:#eee}

/* =========================================================
   TopMOVIZ-style final refinement — v16
   ========================================================= */
.tc-brand{direction:ltr;flex-direction:row;gap:0;align-content:center;line-height:.8}
.tc-brand small{direction:rtl;display:block;flex-basis:100%;text-align:center}
.tc-logo-red{display:inline-block}
.tc-logo-white{display:inline-block}
.tc-nav{direction:rtl}
.tc-menu{direction:rtl;justify-content:center;flex-wrap:nowrap}
.tc-menu>li>a{position:relative}
.tc-menu>li:first-child>a:after{margin-right:6px;margin-left:0}
.tc-menu .sub-menu{z-index:200}
.tc-menu>li.menu-item-has-children:hover>.sub-menu,
.tc-menu>li.menu-item-has-children:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.tc-actions{direction:ltr}
.tc-social{direction:ltr}
.tc-header{overflow:visible}

/* Featured topics: this is the original pinned "المواضيع المميزة" content,
   displayed as a real horizontal carousel rather than a static grid. */
.tc-featured-slider{position:relative}
.tc-featured-viewport{overflow:hidden;padding:1px 8px 8px}
.tc-featured-track{display:flex;flex-direction:row-reverse;direction:ltr;gap:14px;will-change:transform;transition:transform .42s cubic-bezier(.22,.8,.24,1)}
.tc-featured-track>.tc-card{flex:0 0 calc((100% - 56px)/5);min-width:0}
.tc-slider-arrow{position:absolute;z-index:10;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:var(--tc-red);color:#fff;display:grid;place-items:center;box-shadow:0 5px 18px rgba(0,0,0,.5);cursor:pointer;transition:transform .2s,opacity .2s,background .2s}
.tc-slider-arrow:hover{background:#ff4756;transform:translateY(-50%) scale(1.05)}
.tc-slider-arrow:disabled{opacity:.28;cursor:default;transform:translateY(-50%)}
.tc-slider-prev{right:-5px}
.tc-slider-next{left:-5px}
.tc-featured-slider.is-static .tc-slider-arrow{display:none}

/* Use a slightly wider card surface, closer to the supplied desktop reference. */
.tc-poster{border-radius:10px}
.tc-card-bottom{padding:34px 10px 12px}
.tc-card-bottom strong{font-size:13px}
.tc-ribbon{top:17px}

/* The reference page uses a compact two-line news strip directly below the header. */
.tc-news-inner{gap:10px}
.tc-news-label,.tc-discover,.tc-premium{box-shadow:none}

@media(max-width:1180px){
  .tc-featured-track{gap:10px}
  .tc-featured-track>.tc-card{flex-basis:calc((100% - 30px)/4)}
  .tc-slider-arrow{width:40px;height:40px}
  .tc-slider-prev{right:-4px}
  .tc-slider-next{left:-4px}
}
@media(max-width:900px){
  .tc-header-inner{height:64px}
  .tc-menu{display:block}
  .tc-menu>li>a{justify-content:space-between}
  .tc-menu>li>.sub-menu{display:none;position:static;opacity:1;visibility:visible;transform:none;background:#0a0e12;padding:0 8px;border:0;border-radius:0}
  .tc-menu>li.submenu-open>.sub-menu{display:block}
  .tc-featured-track{gap:9px}
  .tc-featured-track>.tc-card{flex-basis:calc((100% - 18px)/3)}
  .tc-featured-viewport{padding-inline:20px}
  .tc-slider-prev{right:2px}
  .tc-slider-next{left:2px}
  .tc-split-layout{grid-template-columns:1fr}
}
@media(max-width:650px){
  .tc-header-inner{height:60px}
  .tc-brand{width:112px;min-width:112px}
  .tc-logo-red{font-size:22px}
  .tc-logo-white{font-size:21px}
  .tc-brand small{font-size:8px}
  .tc-featured-track{gap:9px}
  .tc-featured-track>.tc-card{flex-basis:calc((100% - 9px)/2)}
  .tc-featured-viewport{padding-inline:18px}
  .tc-slider-arrow{width:36px;height:36px;font-size:13px}
  .tc-slider-prev{right:0}
  .tc-slider-next{left:0}
  .tc-news-inner{min-height:52px}
}

/* =========================================================
   TOPMOVIZ HEADER V17 — rebuilt to avoid legacy CSS conflicts
   ========================================================= */
.tc-header{position:sticky!important;top:0!important;z-index:1000!important;overflow:visible!important;background:#0d1014!important;border-bottom:1px solid #222830!important;box-shadow:0 8px 24px rgba(0,0,0,.28)!important}
.tc-header:before{content:"";position:absolute;inset:0;opacity:.34;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(0,0,0,0) 35%,rgba(255,255,255,.025))!important}
body.admin-bar .tc-header{top:32px!important}
@media(max-width:782px){body.admin-bar .tc-header{top:46px!important}}
.tc-header-inner{width:min(1300px,calc(100% - 64px))!important;height:82px!important;margin:auto!important;display:flex!important;align-items:center!important;direction:rtl!important;gap:18px!important;position:relative!important}
.tc-brand{order:1!important;flex:0 0 150px!important;width:150px!important;min-width:150px!important;height:68px!important;display:flex!important;flex-wrap:wrap!important;align-content:center!important;align-items:baseline!important;justify-content:center!important;direction:ltr!important;line-height:.78!important;margin:0!important;padding:0!important;font-weight:900!important}
.tc-logo-red{font-size:31px!important;line-height:1!important;color:#ff3343!important;letter-spacing:-2.5px!important}
.tc-logo-white{font-size:30px!important;line-height:1!important;color:#f7f7f8!important;letter-spacing:-2px!important}
.tc-brand small{display:block!important;flex-basis:100%!important;text-align:center!important;direction:rtl!important;font-size:11px!important;line-height:1!important;font-weight:900!important;color:#efefef!important;margin-top:7px!important}
.tc-nav{order:2!important;flex:1 1 auto!important;min-width:0!important;height:82px!important;display:flex!important;align-items:center!important;direction:rtl!important;overflow:visible!important}
.tc-nav > ul.tc-menu{width:100%!important;height:100%!important;margin:0!important;padding:0!important;list-style:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;direction:rtl!important;flex-wrap:nowrap!important}
.tc-menu > li{position:relative!important;height:100%!important;display:flex!important;align-items:center!important;flex:0 0 auto!important}
.tc-menu > li > a{height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 13px!important;color:#fff!important;font-size:14px!important;font-weight:900!important;white-space:nowrap!important;border:0!important;background:transparent!important;border-bottom:2px solid transparent!important;line-height:1!important}
.tc-menu > li > a:hover{color:#fff!important;background:rgba(255,255,255,.035)!important;border-bottom-color:#ff3343!important}
.tc-menu > li.menu-item-has-children > a:before{content:""!important;display:inline-block!important;width:7px!important;height:7px!important;border-right:1.7px solid #bfc3c8!important;border-bottom:1.7px solid #bfc3c8!important;transform:rotate(45deg)!important;margin-right:2px!important;margin-top:-4px!important}
.tc-menu > li:first-child > a:after{content:""!important;width:8px!important;height:8px!important;background:#ff3343!important;border-radius:50%!important;display:inline-block!important;margin:0 1px 0 0!important;flex:0 0 auto!important}
.tc-menu .sub-menu{position:absolute!important;top:calc(100% - 1px)!important;right:0!important;display:block!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;transform:translateY(8px)!important;min-width:210px!important;max-width:260px!important;margin:0!important;padding:6px!important;list-style:none!important;background:#fff!important;border:0!important;border-radius:0 0 8px 8px!important;box-shadow:0 16px 32px rgba(0,0,0,.35)!important;transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;z-index:1200!important}
.tc-menu li:hover > .sub-menu,.tc-menu li:focus-within > .sub-menu{visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important}
.tc-menu .sub-menu li{display:block!important;position:relative!important;margin:0!important;padding:0!important}
.tc-menu .sub-menu a{width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;min-height:42px!important;padding:8px 13px!important;color:#222!important;background:#fff!important;border:0!important;border-bottom:1px solid #e7e7e7!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important}
.tc-menu .sub-menu li:last-child > a{border-bottom:0!important;border-radius:0 0 5px 5px!important}
.tc-menu .sub-menu a:hover{background:#f4f4f4!important;color:#111!important}
.tc-menu .sub-menu .sub-menu{top:0!important;right:calc(100% + 4px)!important;border-radius:8px!important}
.tc-actions{order:3!important;flex:0 0 auto!important;width:auto!important;min-width:176px!important;height:82px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:15px!important;direction:ltr!important}
.tc-social{display:flex!important;align-items:center!important;gap:14px!important;direction:ltr!important}
.tc-social a{display:grid!important;place-items:center!important;width:20px!important;height:28px!important;color:#fff!important;font-size:18px!important;opacity:1!important}
.tc-social a:hover{color:#ff3343!important}
.tc-search-toggle{width:46px!important;height:46px!important;border:0!important;border-radius:50%!important;background:#ff3343!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:19px!important;cursor:pointer!important;box-shadow:0 7px 20px rgba(255,51,67,.25)!important}
.tc-search-toggle:hover{background:#ff4654!important;transform:translateY(-1px)!important}
.tc-mobile-toggle{display:none!important}
.tc-search-panel{position:absolute!important;left:0!important;right:0!important;top:82px!important;z-index:1250!important;background:#0d1014!important;border-top:1px solid #242a31!important;padding:12px!important;box-shadow:0 16px 28px rgba(0,0,0,.38)!important}

/* News strip directly under the main header */
.tc-newsbar{background:#12171c!important;border-bottom:1px solid #252b31!important}
.tc-news-inner{width:min(1300px,calc(100% - 64px))!important;min-height:62px!important;display:flex!important;align-items:center!important;gap:10px!important;direction:rtl!important;margin:auto!important}
.tc-news-label{order:1!important;background:#ff3343!important;padding:8px 17px!important;border-radius:22px!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important}
.tc-news-text{order:2!important;flex:1 1 auto!important;text-align:center!important;color:#eceeef!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tc-discover{order:3!important;background:#8f0018!important;color:#fff!important;padding:9px 20px!important;border-radius:22px!important;font-weight:900!important;white-space:nowrap!important}
.tc-premium{order:4!important;background:#ffd21c!important;color:#151515!important;padding:9px 26px!important;border-radius:22px!important;font-weight:900!important;white-space:nowrap!important}

/* Featured carousel: initial position must show the first five pinned cards */
.tc-featured-viewport{overflow:hidden!important;padding:1px 8px 8px!important}
.tc-featured-track{display:flex!important;flex-direction:row-reverse!important;direction:ltr!important;gap:14px!important;transform:translate3d(0,0,0);transition:transform .42s cubic-bezier(.22,.8,.24,1)!important}

@media(max-width:1180px){
  .tc-header-inner,.tc-news-inner{width:min(100% - 38px,1300px)!important}
  .tc-brand{flex-basis:132px!important;width:132px!important;min-width:132px!important}
  .tc-logo-red{font-size:28px!important}.tc-logo-white{font-size:27px!important}
  .tc-menu > li > a{padding-inline:9px!important;font-size:12px!important}
  .tc-actions{min-width:154px!important;gap:11px!important}.tc-social{gap:10px!important}
}
@media(max-width:900px){
  .tc-header-inner{height:64px!important;width:calc(100% - 28px)!important}
  .tc-brand{order:1!important;flex-basis:122px!important;width:122px!important;min-width:122px!important;height:64px!important}
  .tc-logo-red{font-size:25px!important}.tc-logo-white{font-size:24px!important}.tc-brand small{font-size:9px!important}
  .tc-nav{order:2!important;position:absolute!important;top:64px!important;right:0!important;left:0!important;height:auto!important;display:none!important;background:#0e1217!important;border-top:1px solid #252b31!important;border-bottom:1px solid #252b31!important;box-shadow:0 18px 30px rgba(0,0,0,.35)!important}
  .tc-nav.open{display:block!important}
  .tc-nav > ul.tc-menu{height:auto!important;display:block!important}
  .tc-menu > li{height:auto!important;display:block!important}
  .tc-menu > li > a{height:48px!important;justify-content:flex-start!important;padding:0 18px!important;border-bottom:1px solid #22272e!important}
  .tc-menu .sub-menu{position:static!important;display:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;min-width:0!important;max-width:none!important;background:#090d11!important;padding:0 9px!important;border-radius:0!important;box-shadow:none!important}
  .tc-menu > li.submenu-open > .sub-menu{display:block!important}
  .tc-menu .sub-menu a{min-height:42px!important;background:#11161b!important;color:#f4f4f4!important;border-bottom-color:#20262c!important}
  .tc-actions{order:3!important;min-width:auto!important;height:64px!important;margin-right:auto!important}
  .tc-mobile-toggle{order:4!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border:1px solid #30363d!important;background:#151a20!important;color:#fff!important;border-radius:7px!important}
  .tc-news-inner{width:calc(100% - 28px)!important;min-height:56px!important}.tc-premium{display:none!important}.tc-news-text{font-size:11px!important}
}
@media(max-width:650px){
  .tc-header-inner{width:calc(100% - 18px)!important}.tc-brand{flex-basis:105px!important;width:105px!important;min-width:105px!important}.tc-logo-red{font-size:21px!important}.tc-logo-white{font-size:20px!important}.tc-brand small{font-size:8px!important}
  .tc-social{display:none!important}.tc-actions{gap:8px!important}.tc-search-toggle{width:39px!important;height:39px!important;font-size:16px!important}
  .tc-news-inner{width:calc(100% - 18px)!important;gap:6px!important}.tc-news-label{font-size:10px!important;padding:7px 10px!important}.tc-discover{font-size:10px!important;padding:7px 10px!important}.tc-news-text{font-size:10px!important}
}


/* =========================================================
   TOPMOVIZ HOME SPLIT — deterministic RTL placement
   large_first  => LARGE RIGHT / SMALL LEFT
   small_first  => SMALL RIGHT / LARGE LEFT
   ========================================================= */
.tc-feature-pair{display:grid!important;gap:12px!important;align-items:stretch!important;margin-top:18px!important;direction:ltr!important}
.tc-feature-pair.pair-large-first{grid-template-columns:390px minmax(0,1fr)!important}
.tc-feature-pair.pair-large-first .tc-small-panel{grid-column:1!important;grid-row:1!important}
.tc-feature-pair.pair-large-first .tc-large-panel{grid-column:2!important;grid-row:1!important}
.tc-feature-pair.pair-small-first{grid-template-columns:minmax(0,1fr) 390px!important}
.tc-feature-pair.pair-small-first .tc-large-panel{grid-column:1!important;grid-row:1!important}
.tc-feature-pair.pair-small-first .tc-small-panel{grid-column:2!important;grid-row:1!important}
.tc-large-panel,.tc-small-panel{background:#11161b!important;border:1px solid #20262d!important;border-radius:10px!important;overflow:hidden!important;box-shadow:0 5px 18px rgba(0,0,0,.16)!important;min-width:0!important;direction:rtl!important}
.tc-panel-head{padding:0 14px!important;border-bottom:1px solid #262c33!important;background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0))!important}
.tc-panel-head .tc-section-title{margin:0!important;min-height:64px!important;border:0!important}
.tc-pair-grid{padding:14px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
.tc-small-list{padding:0 14px!important}
.tc-small-item{display:grid!important;grid-template-columns:minmax(0,1fr) 104px!important;gap:12px!important;align-items:center!important;direction:rtl!important;padding:13px 0!important;border-bottom:1px solid #262c33!important;text-decoration:none!important;color:#fff!important}
.tc-small-item:last-child{border-bottom:0!important}
.tc-small-item img{width:104px!important;height:72px!important;object-fit:cover!important;border-radius:7px!important;background:#0b0e12!important}
.tc-small-copy{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;text-align:right!important}
.tc-small-copy b{font-size:12px!important;line-height:1.55!important;color:#fff!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.tc-small-copy small{font-size:10px!important;color:#aeb4ba!important}
.tc-small-item:hover .tc-small-copy b{color:#fff!important}
@media(max-width:1180px){
  .tc-feature-pair.pair-large-first{grid-template-columns:330px minmax(0,1fr)!important}
  .tc-feature-pair.pair-small-first{grid-template-columns:minmax(0,1fr) 330px!important}
  .tc-pair-grid{gap:8px!important}
  .tc-small-item{grid-template-columns:minmax(0,1fr) 88px!important}
  .tc-small-item img{width:88px!important;height:62px!important}
}
@media(max-width:900px){
  .tc-feature-pair{display:flex!important;flex-direction:column!important;gap:12px!important;direction:rtl!important}
  .tc-feature-pair.pair-large-first .tc-large-panel{order:1!important}
  .tc-feature-pair.pair-large-first .tc-small-panel{order:2!important}
  .tc-feature-pair.pair-small-first .tc-small-panel{order:1!important}
  .tc-feature-pair.pair-small-first .tc-large-panel{order:2!important}
  .tc-feature-pair .tc-large-panel,.tc-feature-pair .tc-small-panel{width:100%!important;min-width:0!important}
  .tc-pair-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .tc-pair-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:9px!important}
  .tc-small-list{padding:0 10px!important}
  .tc-panel-head{padding:0 10px!important}
  .tc-small-item{grid-template-columns:minmax(0,1fr) 82px!important;gap:9px!important}
  .tc-small-item img{width:82px!important;height:58px!important}
  .tc-small-copy b{font-size:11px!important}
  .tc-small-copy small{font-size:9px!important}
}

/* =========================================================
   TOPMOVIZ CARD COLUMNS V24 — per-section card density
   Only affects card grids; all other layout/components remain unchanged.
   ========================================================= */
.tc-pair-grid.tc-cols-2,.tc-home-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tc-pair-grid.tc-cols-3,.tc-home-grid.tc-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.tc-pair-grid.tc-cols-4,.tc-home-grid.tc-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.tc-pair-grid.tc-cols-5,.tc-home-grid.tc-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.tc-pair-grid.tc-cols-6,.tc-home-grid.tc-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media(max-width:900px){
  .tc-pair-grid.tc-cols-6,.tc-home-grid.tc-cols-6{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-5,.tc-home-grid.tc-cols-5{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-4,.tc-home-grid.tc-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-3,.tc-home-grid.tc-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-2,.tc-home-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .tc-pair-grid.tc-cols-6,.tc-home-grid.tc-cols-6,
  .tc-pair-grid.tc-cols-5,.tc-home-grid.tc-cols-5,
  .tc-pair-grid.tc-cols-4,.tc-home-grid.tc-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-3,.tc-home-grid.tc-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-2,.tc-home-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

html[data-egy-theme="night"] .tc-theme-btn[data-set-theme="night"],html[data-egy-theme="dark"] .tc-theme-btn[data-set-theme="dark"],html[data-egy-theme="light"] .tc-theme-btn[data-set-theme="light"]{background:var(--tc-red);color:#fff;box-shadow:0 3px 12px rgba(255,52,67,.25)}

/* =========================================================
   SINGLE RELATED POSTS — compact poster cards
   Keep the single layout/sticky poster unchanged; only the
   related-posts grid is affected.
   ========================================================= */
.related-posts > .grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
  padding:0!important;
  align-items:start!important;
}
.related-posts > .grid > .tc-card{min-width:0!important;width:auto!important}
.related-posts .tc-poster{aspect-ratio:2/3!important}
@media(max-width:1180px){
  .related-posts > .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .related-posts > .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .related-posts > .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* =========================================================
   SINGLE EPISODE NAV — clean 3-column RTL controls
   Previous = right, current = center, next = left.
   ========================================================= */
.episode-nav{
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:10px!important;
  margin:10px 0 14px!important;
  direction:rtl!important;
}
.episode-nav>a,
.episode-nav>div,
.episode-nav>span{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  border:1px solid #252b32!important;
  background:#101419!important;
  border-radius:8px!important;
  padding:9px 14px!important;
  color:#f2f4f6!important;
  font-size:14px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.episode-nav>a:first-child{justify-self:stretch!important}
.episode-nav>a:last-child{justify-self:stretch!important}
.episode-nav>div{
  min-width:112px!important;
  border-color:var(--tc-red)!important;
  background:var(--tc-red)!important;
  color:#fff!important;
}
.episode-nav>a:hover{
  background:#171d23!important;
  border-color:var(--tc-red)!important;
}
.episode-nav i{font-size:11px!important}
@media(max-width:650px){
  .episode-nav{grid-template-columns:1fr 1fr!important}
  .episode-nav>div{grid-column:1/-1;grid-row:1;min-width:0!important}
  .episode-nav>a:first-child{grid-column:1;grid-row:2}
  .episode-nav>a:last-child{grid-column:2;grid-row:2}
  .episode-nav>span{grid-row:2}
  .episode-nav>a,.episode-nav>div,.episode-nav>span{min-height:40px!important;font-size:12px!important;padding:8px 10px!important}
}

/* =========================================================
   ARCHIVE / CATEGORY / SEARCH BLOCKS — v31
   Same poster card system as the homepage, without changing
   the header, homepage sections, or single layout.
   ========================================================= */
.tc-archive{margin-top:24px}
.tc-archive-title{margin-bottom:14px}
.tc-archive-title h1{font-size:24px;line-height:1.2;margin:0;font-weight:900}
.tc-archive-count{color:#9da4ac;font-size:11px;font-weight:700}
.tc-archive-description{padding:11px 14px;margin-bottom:15px;border:1px solid #252b32;background:#101419;border-radius:9px;color:#c9cdd1;line-height:1.8}
.tc-archive-grid{display:grid!important;gap:12px!important;align-items:start}
.tc-archive-grid .tc-card{min-width:0!important;width:auto!important}
.tc-archive-grid .tc-poster{width:100%!important;aspect-ratio:2/3!important}
.tc-archive-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tc-archive-grid.tc-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.tc-archive-grid.tc-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.tc-archive-grid.tc-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.tc-archive-grid.tc-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media(max-width:1180px){
  .tc-archive-grid.tc-cols-6,.tc-archive-grid.tc-cols-5{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .tc-archive-grid.tc-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .tc-archive-grid.tc-cols-6,.tc-archive-grid.tc-cols-5,.tc-archive-grid.tc-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tc-archive-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .tc-archive-grid{gap:9px!important}
  .tc-archive-grid.tc-cols-6,.tc-archive-grid.tc-cols-5,.tc-archive-grid.tc-cols-4,.tc-archive-grid.tc-cols-3,.tc-archive-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tc-archive-title h1{font-size:18px}
}
/* V32 — reusable WordPress page-template archives */
.tc-page-template .page-numbers{display:flex;justify-content:center;align-items:center;gap:7px;list-style:none;margin:28px 0;padding:0;flex-wrap:wrap}
.tc-page-template .page-numbers li{list-style:none;margin:0;padding:0}
.tc-page-template .page-numbers a,.tc-page-template .page-numbers span{display:block;padding:7px 12px;border:1px solid #2a3037;border-radius:7px;text-decoration:none;color:inherit;background:#101419}
.tc-page-template .page-numbers .current{background:var(--tc-red);border-color:var(--tc-red);color:#fff}

/* V33 — full visual palettes for the three site modes
   Night remains unchanged.
   Dark = full navy palette.
   Light = clean white palette.
*/
html[data-egy-theme="dark"]{
  --tc-bg:#071525;
  --tc-panel:#0d2136;
  --tc-panel2:#112a43;
  --tc-line:#28415a;
  --tc-text:#f6f9fc;
  --tc-muted:#b8c6d5;
}
html[data-egy-theme="dark"] body{
  background:#071525!important;
  color:#f6f9fc!important;
}
html[data-egy-theme="dark"] body:before{
  background:linear-gradient(180deg,#0a1d31 0,#071525 42%,#06111e 100%)!important;
}
html[data-egy-theme="dark"] body:after{opacity:.06!important}
html[data-egy-theme="dark"] a{color:inherit}
html[data-egy-theme="dark"] .tc-header,
html[data-egy-theme="dark"] .tc-newsbar,
html[data-egy-theme="dark"] .tc-search-panel,
html[data-egy-theme="dark"] .tc-sidebar,
html[data-egy-theme="dark"] .tc-large-panel,
html[data-egy-theme="dark"] .tc-small-panel,
html[data-egy-theme="dark"] .post-box,
html[data-egy-theme="dark"] .single-title,
html[data-egy-theme="dark"] .breadcrumb,
html[data-egy-theme="dark"] .archive-head,
html[data-egy-theme="dark"] .tc-archive-description,
html[data-egy-theme="dark"] .empty,
html[data-egy-theme="dark"] .watch-tabs,
html[data-egy-theme="dark"] .server,
html[data-egy-theme="dark"] .episode,
html[data-egy-theme="dark"] .genre,
html[data-egy-theme="dark"] .site-footer{
  background:#0d2136!important;
  border-color:#28415a!important;
  color:#f6f9fc!important;
}
html[data-egy-theme="dark"] .tc-panel-head,
html[data-egy-theme="dark"] .tc-section-title,
html[data-egy-theme="dark"] .tc-sidebar-head,
html[data-egy-theme="dark"] .tc-side-item,
html[data-egy-theme="dark"] .tc-small-item,
html[data-egy-theme="dark"] .footer-divider,
html[data-egy-theme="dark"] .meta-box>div,
html[data-egy-theme="dark"] .post-topbar{
  border-color:#28415a!important;
}
html[data-egy-theme="dark"] .tc-menu>li>a,
html[data-egy-theme="dark"] .tc-social a,
html[data-egy-theme="dark"] .tc-brand small,
html[data-egy-theme="dark"] .tc-card-bottom strong,
html[data-egy-theme="dark"] .tc-small-copy b,
html[data-egy-theme="dark"] .tc-side-copy b,
html[data-egy-theme="dark"] .footer-links,
html[data-egy-theme="dark"] .meta-box span,
html[data-egy-theme="dark"] .synopsis{
  color:#f6f9fc!important;
}
html[data-egy-theme="dark"] .tc-muted,
html[data-egy-theme="dark"] .tc-archive-count,
html[data-egy-theme="dark"] .tc-side-copy small,
html[data-egy-theme="dark"] .tc-small-copy small,
html[data-egy-theme="dark"] .footer-copy,
html[data-egy-theme="dark"] .meta-box b,
html[data-egy-theme="dark"] .post-topbar{
  color:#b8c6d5!important;
}
html[data-egy-theme="dark"] .tc-poster,
html[data-egy-theme="dark"] .tc-placeholder{
  background:#0a1b2d!important;
}
html[data-egy-theme="dark"] .tc-theme-switcher{background:#091a2b!important;border-color:#34516d!important}
html[data-egy-theme="dark"] .tc-theme-btn{color:#c5d1dd!important}
html[data-egy-theme="dark"] .tc-theme-btn:hover{background:#16334f!important;color:#fff!important}
html[data-egy-theme="dark"] .tc-search-panel input,
html[data-egy-theme="dark"] .tc-search-panel select,
html[data-egy-theme="dark"] input,
html[data-egy-theme="dark"] select,
html[data-egy-theme="dark"] textarea{
  background:#102943!important;
  color:#fff!important;
  border-color:#34516d!important;
}
html[data-egy-theme="dark"] .tc-menu .sub-menu{background:#0d2136!important;border-color:#28415a!important}
html[data-egy-theme="dark"] .tc-menu .sub-menu a{background:#0d2136!important;color:#f6f9fc!important;border-color:#28415a!important}
html[data-egy-theme="dark"] .tc-menu .sub-menu a:hover{background:#16334f!important}
html[data-egy-theme="dark"] .tc-section-title>a,
html[data-egy-theme="dark"] .page-numbers a,
html[data-egy-theme="dark"] .page-numbers span{
  background:#102943!important;border-color:#34516d!important;color:#f6f9fc!important;
}
html[data-egy-theme="dark"] .tc-side-item,
html[data-egy-theme="dark"] .tc-small-item{
  background:transparent!important;
}
html[data-egy-theme="dark"] .share a,
html[data-egy-theme="dark"] .content-chip,
html[data-egy-theme="dark"] .ep-chip{
  background:#102943!important;border-color:#34516d!important;color:#f6f9fc!important;
}
html[data-egy-theme="dark"] .player{background:#06111e!important;border-color:#28415a!important}

html[data-egy-theme="light"]{
  --tc-bg:#fff;
  --tc-panel:#fff;
  --tc-panel2:#fff;
  --tc-line:#e3e7ec;
  --tc-text:#161a1f;
  --tc-muted:#68717b;
}
html[data-egy-theme="light"] body{
  background:#fff!important;
  color:#161a1f!important;
}
html[data-egy-theme="light"] body:before,
html[data-egy-theme="light"] body:after{display:none!important}
html[data-egy-theme="light"] a{color:inherit}
html[data-egy-theme="light"] .tc-header,
html[data-egy-theme="light"] .tc-newsbar,
html[data-egy-theme="light"] .tc-search-panel,
html[data-egy-theme="light"] .tc-sidebar,
html[data-egy-theme="light"] .tc-large-panel,
html[data-egy-theme="light"] .tc-small-panel,
html[data-egy-theme="light"] .post-box,
html[data-egy-theme="light"] .single-title,
html[data-egy-theme="light"] .breadcrumb,
html[data-egy-theme="light"] .archive-head,
html[data-egy-theme="light"] .tc-archive-description,
html[data-egy-theme="light"] .empty,
html[data-egy-theme="light"] .watch-tabs,
html[data-egy-theme="light"] .server,
html[data-egy-theme="light"] .episode,
html[data-egy-theme="light"] .genre,
html[data-egy-theme="light"] .site-footer{
  background:#fff!important;
  border-color:#dfe3e8!important;
  color:#161a1f!important;
}
html[data-egy-theme="light"] .tc-panel-head,
html[data-egy-theme="light"] .tc-section-title,
html[data-egy-theme="light"] .tc-sidebar-head,
html[data-egy-theme="light"] .tc-side-item,
html[data-egy-theme="light"] .tc-small-item,
html[data-egy-theme="light"] .footer-divider,
html[data-egy-theme="light"] .meta-box>div,
html[data-egy-theme="light"] .post-topbar{
  border-color:#e3e7ec!important;
}
html[data-egy-theme="light"] .tc-menu>li>a,
html[data-egy-theme="light"] .tc-social a,
html[data-egy-theme="light"] .tc-card-bottom strong,
html[data-egy-theme="light"] .tc-small-copy b,
html[data-egy-theme="light"] .tc-side-copy b,
html[data-egy-theme="light"] .footer-links,
html[data-egy-theme="light"] .meta-box span,
html[data-egy-theme="light"] .synopsis,
html[data-egy-theme="light"] .single-content,
html[data-egy-theme="light"] .tc-section-title h2,
html[data-egy-theme="light"] .tc-sidebar-head h3,
html[data-egy-theme="light"] .tc-archive-title h1{
  color:#161a1f!important;
}
html[data-egy-theme="light"] .tc-logo-white{color:#161a1f!important}
html[data-egy-theme="light"] .tc-brand small{color:#4a5158!important}
html[data-egy-theme="light"] .tc-archive-count,
html[data-egy-theme="light"] .tc-side-copy small,
html[data-egy-theme="light"] .tc-small-copy small,
html[data-egy-theme="light"] .footer-copy,
html[data-egy-theme="light"] .meta-box b,
html[data-egy-theme="light"] .post-topbar,
html[data-egy-theme="light"] .tc-muted{
  color:#68717b!important;
}
html[data-egy-theme="light"] .tc-poster,
html[data-egy-theme="light"] .tc-placeholder{background:#f7f8fa!important}
html[data-egy-theme="light"] .tc-theme-switcher{background:#f4f6f8!important;border-color:#d7dce2!important}
html[data-egy-theme="light"] .tc-theme-btn{color:#5a636d!important}
html[data-egy-theme="light"] .tc-theme-btn:hover{background:#e9edf1!important;color:#161a1f!important}
html[data-egy-theme="light"] .tc-search-panel input,
html[data-egy-theme="light"] input,
html[data-egy-theme="light"] select,
html[data-egy-theme="light"] textarea{
  background:#fff!important;color:#161a1f!important;border-color:#d6dbe1!important;
}
html[data-egy-theme="light"] .tc-menu .sub-menu{background:#fff!important;border-color:#dfe3e8!important}
html[data-egy-theme="light"] .tc-menu .sub-menu a{background:#fff!important;color:#161a1f!important;border-color:#e5e8ec!important}
html[data-egy-theme="light"] .tc-menu .sub-menu a:hover{background:#f4f6f8!important}
html[data-egy-theme="light"] .tc-section-title>a,
html[data-egy-theme="light"] .page-numbers a,
html[data-egy-theme="light"] .page-numbers span{
  background:#fff!important;border-color:#d6dbe1!important;color:#161a1f!important;
}
html[data-egy-theme="light"] .share a,
html[data-egy-theme="light"] .content-chip,
html[data-egy-theme="light"] .ep-chip{
  background:#f5f6f8!important;border-color:#dfe3e8!important;color:#161a1f!important;
}
html[data-egy-theme="light"] .player{background:#f6f7f9!important;border-color:#dfe3e8!important}
html[data-egy-theme="light"] .tc-side-item,
html[data-egy-theme="light"] .tc-small-item{background:transparent!important}
html[data-egy-theme="light"] .footer-divider{background:#e3e7ec!important}

@media(max-width:900px){
  html[data-egy-theme="dark"] .tc-nav{background:#0d2136!important;border-color:#28415a!important}
  html[data-egy-theme="light"] .tc-nav{background:#fff!important;border-color:#dfe3e8!important}
  html[data-egy-theme="light"] .tc-menu a{color:#161a1f!important}
  html[data-egy-theme="dark"] .tc-menu a{color:#f6f9fc!important}
  html[data-egy-theme="light"] .tc-menu .sub-menu a{background:#fff!important;color:#161a1f!important}
  html[data-egy-theme="dark"] .tc-menu .sub-menu a{background:#102943!important;color:#f6f9fc!important}
}

/* V34 — Compact theme dropdown in the header */
.tc-theme-switcher{position:relative;display:block;direction:rtl;padding:0;border:0;background:transparent;border-radius:0}
.tc-theme-trigger{height:43px;min-width:96px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #303740;border-radius:23px;background:#11161c;color:#c6cbd1;cursor:pointer;font-size:12px;font-weight:900;transition:.18s ease}
.tc-theme-trigger:hover{background:#171d24;color:#fff;border-color:#3a424d}
.tc-theme-trigger>i:first-child{font-size:13px}
.tc-theme-trigger .tc-theme-chevron{font-size:9px;transition:transform .18s ease;color:#9ca3ab}
.tc-theme-switcher.open .tc-theme-trigger{background:#171d24;color:#fff;border-color:#46505c}
.tc-theme-switcher.open .tc-theme-chevron{transform:rotate(180deg)}
.tc-theme-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:145px;padding:6px;background:#11161c;border:1px solid #2d343d;border-radius:12px;box-shadow:0 16px 35px rgba(0,0,0,.42);opacity:0;visibility:hidden;transform:translateY(-5px) scale(.98);transform-origin:top right;transition:.16s ease;z-index:120}
.tc-theme-switcher.open .tc-theme-menu{opacity:1;visibility:visible;transform:none}
.tc-theme-option{width:100%;display:flex;align-items:center;gap:9px;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:#cbd1d8;cursor:pointer;font-size:12px;font-weight:900;text-align:right;transition:.15s ease}
.tc-theme-option:hover{background:#1d252e;color:#fff}
.tc-theme-option.active{background:var(--tc-red);color:#fff}
.tc-theme-option i{width:16px;text-align:center;font-size:12px}
html[data-egy-theme="dark"] .tc-theme-trigger{background:#0f1a29;border-color:#35506b;color:#d4deea}
html[data-egy-theme="dark"] .tc-theme-trigger:hover{background:#16263a;color:#fff;border-color:#44627f}
html[data-egy-theme="dark"] .tc-theme-menu{background:#0d1b2a;border-color:#29445d}
html[data-egy-theme="dark"] .tc-theme-option{color:#cbd7e3}
html[data-egy-theme="dark"] .tc-theme-option:hover{background:#17324c;color:#fff}
html[data-egy-theme="light"] .tc-theme-trigger{background:#fff;border-color:#d5dbe2;color:#22272e}
html[data-egy-theme="light"] .tc-theme-trigger:hover{background:#f4f6f8;color:#11161c;border-color:#c7ced7}
html[data-egy-theme="light"] .tc-theme-menu{background:#fff;border-color:#d7dde4;box-shadow:0 16px 35px rgba(19,28,38,.16)}
html[data-egy-theme="light"] .tc-theme-option{color:#303640}
html[data-egy-theme="light"] .tc-theme-option:hover{background:#eef1f4;color:#11161c}
@media(max-width:900px){.tc-theme-trigger{height:39px;min-width:86px;font-size:11px;padding:0 10px}.tc-theme-menu{right:auto;left:0;transform-origin:top left}}
@media(max-width:650px){.tc-theme-trigger{height:36px;min-width:39px;width:39px;padding:0;border-radius:50%}.tc-theme-trigger span,.tc-theme-trigger .tc-theme-chevron{display:none}.tc-theme-menu{min-width:130px}}
/* Single: season selector (scoped only to the episode section) */
.season-switcher{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.season-label{font-weight:800;white-space:nowrap}
.season-links{display:flex;flex-wrap:wrap;gap:8px}
.season-link{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface2);color:var(--text);text-decoration:none;font-weight:700}
.season-link.active{background:var(--red2);border-color:var(--red2);color:#fff}
@media(max-width:700px){.season-switcher{align-items:flex-start;flex-direction:column}.season-links{width:100%}.season-link{flex:1 1 calc(50% - 8px)}}

/* V42 — featured topics circular carousel: no terminal blank space */
.tc-featured-viewport{overflow:hidden!important;position:relative!important}
.tc-featured-track{display:flex!important;flex-direction:row-reverse!important;direction:ltr!important;gap:14px!important;will-change:transform!important;transition:transform .42s cubic-bezier(.22,.8,.24,1)!important}
.tc-featured-track>.tc-card{flex:0 0 calc((100% - 56px)/5)!important;min-width:0!important}
.tc-featured-slider .tc-slider-arrow:disabled{opacity:.95!important;cursor:pointer!important}
.tc-featured-slider.is-static .tc-slider-arrow{display:none!important}
@media(max-width:1180px){.tc-featured-track{gap:10px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 30px)/4)!important}}
@media(max-width:900px){.tc-featured-track{gap:9px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 18px)/3)!important}.tc-featured-viewport{padding-inline:20px!important}}
@media(max-width:650px){.tc-featured-track{gap:9px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 9px)/2)!important}.tc-featured-viewport{padding-inline:18px!important}}


/* V43 — featured topics: manual infinite carousel, no autoplay, no blank area. */
.tc-featured-viewport{overflow:hidden!important;position:relative!important}
.tc-featured-track{display:flex!important;flex-direction:row!important;direction:ltr!important;align-items:stretch!important;justify-content:flex-start!important;gap:14px!important;will-change:transform!important;transition:transform .42s cubic-bezier(.22,.8,.24,1)!important}
.tc-featured-track>.tc-card{flex:0 0 calc((100% - 56px)/5)!important;min-width:0!important}
.tc-featured-slider .tc-slider-arrow{display:grid!important}
.tc-featured-slider .tc-slider-arrow[hidden]{display:none!important}
@media(max-width:1180px){.tc-featured-track{gap:10px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 30px)/4)!important}}
@media(max-width:900px){.tc-featured-track{gap:9px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 18px)/3)!important}.tc-featured-viewport{padding-inline:20px!important}}
@media(max-width:650px){.tc-featured-track{gap:9px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 9px)/2)!important}.tc-featured-viewport{padding-inline:18px!important}}


/* V44 — header-only typography + navigation spacing refinement */
.tc-header,
.tc-header-inner,
.tc-header .tc-brand,
.tc-header .tc-nav,
.tc-header .tc-menu,
.tc-header .tc-menu a,
.tc-header .tc-actions,
.tc-header .tc-theme-switcher,
.tc-header .tc-theme-trigger,
.tc-header .tc-theme-menu,
.tc-header .tc-theme-option,
.tc-header .tc-search-panel,
.tc-header .tc-search-panel input,
.tc-header .tc-search-panel button,
.tc-header .tc-mobile-toggle {
  font-family:Arial,"Tahoma","Segoe UI",sans-serif !important;
}
.tc-header .tc-nav > ul.tc-menu{
  justify-content:flex-start !important;
}
@media(max-width:900px){
  .tc-header .tc-nav > ul.tc-menu{justify-content:flex-start !important;}
}

/* Accessibility: high-contrast discover button */
.tc-newsbar .tc-discover{background:#8f0018 !important;color:#ffffff !important;}
.tc-newsbar .tc-discover:hover,.tc-newsbar .tc-discover:focus{background:#700012 !important;color:#ffffff !important;}

/* V45 — CLS hardening: reserve stable geometry before fonts/images finish loading. */
html{overflow-y:scroll}
.tc-newsbar{height:64px!important;min-height:64px!important}
.tc-news-inner{height:63px!important;min-height:63px!important;line-height:1!important}
.tc-news-label,.tc-discover,.tc-premium{line-height:1.25!important}
.tc-news-text{line-height:1.25!important}
.tc-card .tc-poster{aspect-ratio:2/3!important}
.tc-card .tc-poster img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;display:block!important}
.tc-small-item{min-height:98px!important}
.tc-small-item img{display:block!important;flex:none!important}
.tc-side-item{min-height:74px!important}
.tc-side-item img{display:block!important}
@media(max-width:900px){.tc-newsbar{height:56px!important;min-height:56px!important}.tc-news-inner{height:55px!important;min-height:55px!important}.tc-small-item{min-height:88px!important}}
@media(max-width:650px){.tc-newsbar{height:56px!important;min-height:56px!important}.tc-news-inner{height:55px!important;min-height:55px!important}.tc-small-item{min-height:80px!important}}



/* V46 — reduce layout shifts from webfont swapping and late inline content. */
html,body{font-synthesis:none;}
.tc-header{height:70px!important;}
.tc-header-inner{height:70px!important;min-height:70px!important;}
.tc-newsbar{height:64px!important;min-height:64px!important;}
.tc-news-inner{height:63px!important;min-height:63px!important;}
.tc-news-label,.tc-discover,.tc-premium{min-height:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
