/* TAREENA - Complete Final CSS */
:root {
  --orange: #FF6B01;
  --navy:   #0D1324;
  --navy2:  #131929;
  --navy3:  #1a2235;
  --teal:   #2CA59A;
  --text:   #e8eaf0;
  --muted:  #8a90a0;
  --sb:     220px;
  --font:   'IBM Plex Sans Arabic', sans-serif;
  --fontd:  'Baloo Bhaijaan 2', sans-serif;
  --r:      10px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}

html,body,#page,#content,#primary,#secondary,
.site,.site-content,.content-area,
main,article,.hentry,.entry-content,
.post,.page,.single,.single-post,
.ast-container,.ast-article-post,.ast-grid-post,
.ast-separate-container,.ast-page-builder-template,
.ast-plain-container,.ast-narrow-container,
.elementor,.elementor-section,.elementor-container,
.elementor-widget-wrap,.elementor-column,
.e-con,.e-con-inner,.e-child,
.wp-site-blocks,div[data-elementor-type]{
  background:transparent!important;
}

body{
  font-family:var(--font)!important;
  background:var(--navy)!important;
  color:var(--text)!important;
  direction:rtl!important;
  overflow-x:hidden;
  min-height:100vh;
}

#masthead,.site-header,.ast-primary-header-bar,
.ast-above-header-bar,.ast-below-header-bar,
.ast-main-header-bar,.ast-main-header-bar-wrap,
#colophon.ast-small-footer,.footer-widget-area,
.ast-footer-overlay,.ast-above-footer,.ast-below-footer{
  display:none!important;
}

img{max-width:100%;height:auto;display:block;}
a{text-decoration:none;color:inherit;}
ul,ol{list-style:none;}
button{cursor:pointer;font-family:var(--font);border:none;background:none;}

/* ════ MOBILE BAR ════ */
#t-mobile-bar{
  display:none;
  align-items:center;
  gap:12px;
  height:52px;
  padding:0 16px;
  background:var(--navy2);
  border-bottom:1px solid rgba(255,255,255,.08);
  position:sticky;top:0;z-index:9000;
  width:100%;
}
#t-menu-btn{
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.1);
  border-radius:8px;color:#fff;flex-shrink:0;
}
#t-mobile-logo-img{height:30px;width:auto;object-fit:contain;}
#t-overlay{
  display:none;position:fixed;inset:0;
  background:rgba(0,0,0,.75);z-index:8500;
}
#t-overlay.active{display:block;}

/* ════ PAGE LAYOUT ════ */
#t-page{
  display:flex;
  flex-direction:row;
  min-height:100vh;
  width:100%;
  background:var(--navy);
}

/* ════ SIDEBAR ════ */
#t-sidebar{
  width:var(--sb);
  min-width:var(--sb);
  max-width:var(--sb);
  flex-shrink:0;
  height:100vh;
  position:sticky;
  top:0;
  background:var(--navy2);
  border-left:1px solid rgba(255,255,255,.07);
  display:flex;
  flex-direction:column;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:none;
  z-index:7000;
}
#t-sidebar::-webkit-scrollbar{display:none;}

#t-sidebar-logo{
  padding:14px 14px 12px;
  border-bottom:1px solid rgba(255,255,255,.07);
  flex-shrink:0;
}
#t-sidebar-logo a{display:block;}
#t-logo-img,
#t-sidebar-logo .custom-logo,
#t-sidebar-logo img{
  height:38px!important;
  width:auto!important;
  max-width:178px!important;
  object-fit:contain;
  display:block;
}

#t-sidebar-nav{
  flex:1;
  padding:6px 0;
  overflow-y:auto;
  scrollbar-width:none;
}
#t-sidebar-nav::-webkit-scrollbar{display:none;}

.t-nav-item{
  display:flex!important;
  align-items:center;
  gap:11px;
  padding:12px 14px;
  color:rgba(255,255,255,.7)!important;
  font-size:14px;font-weight:500;
  border-right:3px solid transparent;
  transition:all .15s;
  text-decoration:none!important;
  white-space:nowrap;overflow:hidden;
  cursor:pointer;
}
.t-nav-item:hover{
  color:#fff!important;
  background:rgba(255,255,255,.06);
}
.t-nav-item.active{
  color:#fff!important;
  background:rgba(255,107,1,.12);
  border-right-color:var(--orange);
  font-weight:600;
}
.t-nav-icon{font-size:17px;flex-shrink:0;width:24px;text-align:center;}
.t-nav-label{flex:1;overflow:hidden;text-overflow:ellipsis;font-size:14px;}

/* SIDEBAR SOCIALS — below nav */
#t-sidebar-foot{
  flex-shrink:0;
  border-top:1px solid rgba(255,255,255,.07);
  padding:12px 12px 16px;
  display:flex;flex-direction:column;gap:10px;
}
#t-socials{display:flex;gap:8px;flex-wrap:wrap;padding:2px 0;}
.t-social{
  width:34px;height:34px;border-radius:8px;
  background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;
  color:#fff!important;
  transition:all .15s;text-decoration:none!important;
}
.t-social:hover{background:var(--orange);}
.t-social svg{width:15px;height:15px;fill:currentColor;}

#t-discord-btn{
  display:flex;align-items:center;justify-content:center;gap:7px;
  background:#5865F2;color:#fff;
  border-radius:8px;padding:9px 12px;
  font-size:12px;font-weight:600;
  text-decoration:none!important;transition:opacity .15s;
  width:100%;
}
#t-discord-btn:hover{opacity:.9;}

/* ════ MAIN ════ */
#t-main{
  flex:1;min-width:0;
  background:var(--navy);
  display:flex;flex-direction:column;
}

/* ════ FOOTER ════ */
#t-footer{
  background:var(--navy2);
  border-top:1px solid rgba(255,255,255,.07);
  width:100%;
}
#t-footer-inner{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:32px;padding:30px 28px 20px;
}
.t-footer-logo-wrap{display:block;margin-bottom:10px;}
.t-footer-logo,
#t-footer .custom-logo{
  height:36px!important;width:auto!important;
  max-width:160px!important;object-fit:contain;display:block;
}
.t-tagline{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:12px;}

/* Footer social icons */
.t-footer-socials{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:4px;}
.t-fsocial{
  width:34px;height:34px;border-radius:8px;
  background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;
  color:#fff;transition:all .15s;text-decoration:none!important;
}
.t-fsocial:hover{background:var(--orange);}
.t-fsocial svg{width:15px;height:15px;fill:currentColor;}
.t-fcol-title{font-size:13px;font-weight:700;color:#fff;margin-bottom:12px;}
.t-flinks,.t-flinks .menu{display:flex;flex-direction:column;gap:7px;list-style:none;}
.t-flinks li a,.t-flinks .menu-item a{
  font-size:12px;color:var(--muted);
  text-decoration:none!important;transition:color .15s;
}
.t-flinks li a:hover,.t-flinks .menu-item a:hover{color:var(--orange);}
#t-footer-copy{
  border-top:1px solid rgba(255,255,255,.07);
  padding:12px 28px;text-align:center;
  font-size:11px;color:var(--muted);
}

/* ════ UTILITIES ════ */
.t-section{padding:20px;}
.t-sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;}
.t-sec-title{display:flex;align-items:center;gap:9px;font-family:var(--fontd);font-size:19px;font-weight:700;color:#fff;}
.t-bar{width:4px;height:20px;background:var(--orange);border-radius:3px;}
.t-view-all{color:var(--orange);font-size:12px;font-weight:600;text-decoration:none!important;}
.t-view-all:hover{opacity:.8;}
.t-no-thumb{width:100%;height:100%;background:linear-gradient(135deg,#1e3a5f,#2d1b00);}

.t-badge{
  position:absolute;bottom:7px;right:7px;
  background:var(--orange);color:#fff;
  font-size:9px;font-weight:700;
  padding:2px 7px;border-radius:4px;z-index:2;
  display:inline-flex;align-items:center;gap:3px;
  text-decoration:none!important;
  text-transform:uppercase;
}

/* ════ HERO SLIDER ════ */
.t-hero-swiper{width:100%;height:500px;}
.t-hero-slide{
  position:relative;width:100%;height:100%;
  background:var(--navy3) center/cover no-repeat;
  display:flex;align-items:flex-end;
}
.t-hero-ov{
  position:absolute;inset:0;
  background:linear-gradient(to top,
    rgba(13,19,36,.97) 0%,
    rgba(13,19,36,.5) 45%,
    rgba(13,19,36,.05) 100%);
}
.t-hero-cnt{
  position:relative;z-index:2;
  padding:32px 28px;max-width:620px;
}
.t-hero-cnt .t-badge{position:static;display:inline-flex;margin-bottom:14px;}
.t-hero-h1{
  font-family:var(--fontd);
  font-size:clamp(22px,3vw,40px);
  font-weight:800;line-height:1.25;color:#fff;margin-bottom:10px;
}
.t-hero-h1 a{color:inherit!important;text-decoration:none!important;}
.t-hero-h1 a:hover{color:var(--orange)!important;}
.t-hero-ex{font-size:14px;color:rgba(255,255,255,.72);line-height:1.6;margin-bottom:12px;}
.t-hero-meta{font-size:11px;color:var(--muted);margin-bottom:14px;display:flex;gap:5px;flex-wrap:wrap;}
.t-btn-read{
  display:inline-flex;align-items:center;gap:5px;
  background:var(--orange);color:#fff;
  border-radius:8px;padding:9px 20px;
  font-size:13px;font-weight:600;
  text-decoration:none!important;transition:opacity .15s;
}
.t-btn-read:hover{opacity:.88;}
.t-hero-swiper .swiper-button-next,
.t-hero-swiper .swiper-button-prev{display:none!important;}
.t-hero-swiper .swiper-pagination{bottom:14px;}
.t-hero-swiper .swiper-pagination-bullet{background:rgba(255,255,255,.5);opacity:1;}
.t-hero-swiper .swiper-pagination-bullet-active{background:var(--orange);}

/* ════ POST CARDS — THE KEY FIX ════
   Cards must be a single block: image on top, text below.
   No gaps, no separate rendering.
════ */
.t-picks{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

/* Single card — everything in ONE linked block */
.t-card{
  display:flex;           /* use flex column */
  flex-direction:column;
  background:var(--navy3);
  border-radius:var(--r);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  transition:transform .15s;
  text-decoration:none!important;
  color:var(--text)!important;
}
.t-card:hover{transform:translateY(-3px);}

/* Image container — fixed ratio, no gaps */
.t-card-thumb{
  position:relative;
  width:100%;
  padding-top:62.5%; /* 16:10 ratio */
  overflow:hidden;
  background:#1a2235;
  flex-shrink:0;
}
.t-card-thumb img{
  position:absolute;
  top:0;left:0;
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.t-card-thumb .t-no-thumb{
  position:absolute;
  top:0;left:0;
  width:100%;height:100%;
}

/* Text container — attached directly below image */
.t-card-body{
  padding:12px;
  flex:1;
  display:flex;
  flex-direction:column;
  background:var(--navy3);
}
.t-card-body h3{
  font-size:13px;font-weight:600;color:#fff;
  margin-bottom:5px;line-height:1.4;
  flex:1;
}
.t-card-meta{font-size:10px;color:var(--muted);margin-top:auto;padding-top:4px;}

/* ════ TRENDING ════ */
.t-trending{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;}
.t-tr-card{
  position:relative;border-radius:9px;overflow:hidden;
  aspect-ratio:4/5;display:block;
  background:var(--navy3) center/cover no-repeat;
  transition:transform .15s;text-decoration:none!important;
}
.t-tr-card:hover{transform:scale(1.02);}
.t-tr-ov{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(13,19,36,.95) 28%,transparent 100%);
  opacity:.72;transition:opacity .15s;
}
.t-tr-card:hover .t-tr-ov{opacity:.9;}
.t-tr-num{
  position:absolute;top:8px;right:8px;
  font-family:var(--fontd);font-size:26px;font-weight:800;
  color:rgba(255,255,255,.14);line-height:1;z-index:2;
}
.t-tr-info{position:absolute;bottom:8px;right:8px;left:8px;z-index:2;}
.t-tr-info h4{font-size:12px;font-weight:600;color:#fff;line-height:1.3;}

/* ════ NEWS LIST — BIGGER FONT ════ */
.t-news-sec{border-top:1px solid rgba(255,255,255,.06);}
.t-news-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:16px;}
.t-news-tab{
  padding:6px 14px;border-radius:7px;
  font-size:13px;font-weight:500;color:var(--muted);
  border:1px solid rgba(255,255,255,.07);
  background:var(--navy3);
  transition:all .15s;text-decoration:none!important;display:inline-block;
}
.t-news-tab:hover{color:#fff;}
.t-news-tab.active{background:var(--orange);color:#fff;border-color:var(--orange);}

.t-news-list{display:flex;flex-direction:column;border-top:1px solid rgba(255,255,255,.06);}
.t-news-item{
  display:flex;align-items:center;gap:16px;
  padding:16px 0;border-bottom:1px solid rgba(255,255,255,.05);
  text-decoration:none!important;transition:opacity .15s;
}
.t-news-item:hover{opacity:.8;}
.t-news-thumb{
  width:140px;min-width:140px;height:90px;
  border-radius:8px;overflow:hidden;background:var(--navy3);flex-shrink:0;
}
.t-news-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.t-news-body{flex:1;min-width:0;}
.t-news-body h3{
  font-size:16px;        /* INCREASED */
  font-weight:600;color:#fff;line-height:1.4;margin-bottom:7px;
}
.t-news-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.t-news-time{font-size:12px;color:var(--muted);}
.t-news-pill{
  font-size:11px;font-weight:700;
  background:rgba(255,107,1,.15);color:var(--orange);
  padding:2px 8px;border-radius:4px;text-transform:uppercase;
}
.t-news-more{text-align:center;padding:16px 0 0;}
.t-btn-more{
  padding:10px 28px;border-radius:9px;
  background:var(--navy3);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;font-size:14px;font-weight:600;
  transition:all .15s;cursor:pointer;
}
.t-btn-more:hover{background:rgba(255,255,255,.08);border-color:var(--orange);}

/* ════ CATEGORY PAGE ════ */
/* Full-size hero like single post */
.t-cat-hero-banner{
  position:relative;
  height:320px;           /* proper hero height */
  background:var(--navy3) center/cover no-repeat;
  display:flex;align-items:flex-end;
  overflow:hidden;
}
.t-cat-hero-ov{
  position:absolute;inset:0;
  background:linear-gradient(to top,
    rgba(13,19,36,.97) 0%,
    rgba(13,19,36,.45) 55%,
    rgba(13,19,36,.05) 100%);
}
.t-cat-hero-cnt{
  position:relative;z-index:2;
  padding:28px 24px;
  display:flex;align-items:flex-end;gap:18px;
  width:100%;
}
.t-cat-icon{
  width:60px;height:60px;flex-shrink:0;
  background:rgba(255,107,1,.15);border-radius:13px;
  display:flex;align-items:center;justify-content:center;font-size:28px;
}
.t-cat-info h1{
  font-family:var(--fontd);font-size:32px;font-weight:800;color:#fff;margin-bottom:5px;
}
.t-cat-info p{font-size:13px;color:rgba(255,255,255,.65);margin-bottom:7px;}
.t-cat-stats{display:flex;gap:16px;font-size:12px;color:rgba(255,255,255,.55);}
.t-cat-stats strong{color:var(--orange);}

.t-cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:20px;}
.t-cat-card{
  display:flex;flex-direction:column;
  background:var(--navy3);border-radius:var(--r);
  overflow:hidden;border:1px solid rgba(255,255,255,.05);
  transition:transform .15s;text-decoration:none!important;color:var(--text)!important;
}
.t-cat-card:hover{transform:translateY(-3px);}
.t-cat-thumb{
  position:relative;
  width:100%;padding-top:56.25%; /* 16:9 */
  overflow:hidden;background:#1a2235;flex-shrink:0;
}
.t-cat-thumb img{
  position:absolute;top:0;left:0;
  width:100%;height:100%;object-fit:cover;display:block;
}
.t-cat-thumb .t-no-thumb{position:absolute;top:0;left:0;width:100%;height:100%;}
.t-type-badge{
  position:absolute;top:8px;right:8px;
  font-size:9px;font-weight:700;padding:2px 7px;border-radius:4px;color:#fff;
  text-transform:uppercase;
}
.tb-review{background:var(--teal);}
.tb-list{background:#7B52AB;}
.tb-news{background:var(--orange);}
.tb-trailer{background:#e74c3c;}
.tb-analysis{background:#2980b9;}
.t-cat-body{padding:13px;flex:1;display:flex;flex-direction:column;background:var(--navy3);}
.t-cat-body h3{font-size:14px;font-weight:600;color:#fff;margin-bottom:7px;line-height:1.4;flex:1;}
.t-cat-body p{font-size:11px;color:var(--muted);line-height:1.5;margin-bottom:7px;}
.t-cat-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:auto;}

/* Pagination — fixed to work with proper URLs */
.t-pagination{padding:16px 20px;}
.t-pagination .page-numbers{display:flex;justify-content:center;gap:5px;list-style:none;flex-wrap:wrap;}
.t-pagination .page-numbers li a,
.t-pagination .page-numbers li span{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:7px;
  font-size:13px;font-weight:600;color:var(--muted);
  border:1px solid rgba(255,255,255,.08);background:var(--navy3);
  transition:all .15s;text-decoration:none!important;
}
.t-pagination .page-numbers li a:hover{color:#fff;background:rgba(255,255,255,.08);}
.t-pagination .page-numbers li .current{background:var(--orange);color:#fff;border-color:var(--orange);}
.t-no-posts{padding:44px 20px;text-align:center;color:var(--muted);font-size:14px;}

/* ════ SINGLE POST ════ */
.t-post-hero{
  position:relative;
  min-height:480px;
  background:var(--navy3) center/cover no-repeat;
  display:flex;align-items:flex-end;
}
.t-post-ov{
  position:absolute;inset:0;
  background:linear-gradient(to top,
    rgba(13,19,36,1) 0%,
    rgba(13,19,36,.55) 42%,
    rgba(13,19,36,.08) 100%);
}
.t-post-hero-cnt{
  position:relative;z-index:2;
  padding:32px 28px;max-width:720px;width:100%;
}
.t-post-hero-cnt .t-badge{position:static;display:inline-flex;margin-bottom:14px;}
.t-post-title{
  font-family:var(--fontd);font-size:clamp(24px,3vw,42px);
  font-weight:800;line-height:1.25;color:#fff;margin-bottom:8px;
}
.t-post-sub{font-size:15px;color:rgba(255,255,255,.7);line-height:1.55;}

.t-post-meta{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  padding:12px 28px;border-bottom:1px solid rgba(255,255,255,.06);
  font-size:12px;color:var(--muted);background:var(--navy2);
}
.t-pm{display:flex;align-items:center;gap:5px;}
.t-pm-av{width:26px;height:26px;border-radius:50%;object-fit:cover;display:block;}
.t-pm-author{color:var(--orange);font-weight:600;text-decoration:none!important;}
.t-pm-icon{opacity:.6;}
.t-pm-tags{display:flex;gap:4px;flex-wrap:wrap;}
.t-pm-tag{
  background:rgba(255,107,1,.1);color:var(--orange);
  padding:2px 7px;border-radius:4px;font-size:10px;text-decoration:none!important;
}

.t-post-layout{
  display:flex;align-items:flex-start;
  padding:22px 28px;background:var(--navy);gap:0;
}
.t-post-aside{
  width:195px;min-width:195px;flex-shrink:0;
  order:2;position:sticky;top:16px;
  display:flex;flex-direction:column;gap:14px;
  margin-right:26px;
}
.t-author-box{
  background:var(--navy3);border-radius:var(--r);
  border:1px solid rgba(255,255,255,.06);padding:16px;text-align:center;
}
.t-author-av{
  width:60px;height:60px;border-radius:50%;object-fit:cover;
  margin:0 auto 10px;border:2px solid var(--orange);display:block;
}
.t-author-name{font-size:14px;font-weight:700;color:#fff;margin-bottom:5px;}
.t-author-bio{font-size:11px;color:var(--muted);line-height:1.4;margin-bottom:8px;}
.t-author-link{font-size:12px;color:var(--orange);font-weight:600;text-decoration:none!important;}

.t-share-box{
  background:var(--navy3);border-radius:var(--r);
  border:1px solid rgba(255,255,255,.06);padding:14px;
}
.t-share-title{font-size:12px;font-weight:700;color:#fff;margin-bottom:10px;}
.t-share-row{display:flex;gap:7px;flex-wrap:wrap;}
.t-share-btn{
  width:38px;height:38px;border-radius:8px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.05);
  color:var(--muted);
  display:flex;align-items:center;justify-content:center;
  transition:all .15s;text-decoration:none!important;
}
.t-share-btn svg{width:16px;height:16px;}
.t-share-btn:hover{color:#fff;background:rgba(255,255,255,.1);}
.t-sh-tw:hover{background:rgba(29,161,242,.2);color:#1DA1F2;}
.t-sh-fb:hover{background:rgba(66,103,178,.2);color:#4267B2;}
.t-sh-wa:hover{background:rgba(37,211,102,.2);color:#25D366;}
.t-sh-tg:hover{background:rgba(0,136,204,.2);color:#0088cc;}
.t-sh-cp:hover{background:rgba(255,107,1,.2);color:var(--orange);}
.t-sh-cp.copied{background:rgba(44,165,154,.2);color:var(--teal);}

.t-post-body-main{flex:1;min-width:0;order:1;}

/* Post content — featured image NOT shown (handled by hero) */
.t-post-content{font-size:16px;line-height:1.85;color:#c8cdd8;}

/* Hide the featured image if WP outputs it at top of content */
.t-post-content > .wp-post-image:first-child,
.t-post-content > figure:first-child > img[class*="attachment"],
.t-post-content > p:first-child > img[class*="wp-image"]{
  display:none!important;
}

.t-post-content h2{
  font-family:var(--fontd);font-size:22px;font-weight:700;
  color:#fff;margin:28px 0 12px;
  padding-right:12px;border-right:3px solid var(--orange);
}
.t-post-content h3{font-size:18px;font-weight:600;color:#fff;margin:20px 0 9px;}
.t-post-content h4{font-size:15px;font-weight:600;color:#fff;margin:15px 0 7px;}
.t-post-content p{margin-bottom:16px;}
.t-post-content a{color:var(--orange);}
.t-post-content a:hover{text-decoration:underline;}
.t-post-content ul,.t-post-content ol{padding-right:20px;margin-bottom:16px;}
.t-post-content li{margin-bottom:5px;}
.t-post-content blockquote{
  background:rgba(255,107,1,.08);
  border-right:3px solid var(--orange);
  border-radius:0 7px 7px 0;
  padding:13px 18px;margin:20px 0;
  font-style:italic;color:var(--text);
}
.t-post-content img{width:100%;border-radius:9px;margin:18px 0;display:block;}
.t-post-content figure{margin:18px 0;}
.t-post-content figcaption{font-size:11px;color:var(--muted);margin-top:5px;text-align:center;}
.t-post-content table{width:100%;border-collapse:collapse;margin:16px 0;}
.t-post-content th{background:var(--navy3);color:#fff;padding:9px;border-bottom:1px solid rgba(255,255,255,.1);}
.t-post-content td{padding:9px;border-bottom:1px solid rgba(255,255,255,.05);color:var(--text);}

/* Gallery slider */
.t-gallery,.t-auto-gallery{
  width:100%;border-radius:9px;overflow:hidden;margin:18px 0;
}
.t-gallery .swiper-slide img,
.t-auto-gallery .swiper-slide img{
  width:100%;max-height:460px;object-fit:cover;border-radius:0;margin:0;display:block;
}
.t-gallery .swiper-button-next,
.t-gallery .swiper-button-prev,
.t-auto-gallery .swiper-button-next,
.t-auto-gallery .swiper-button-prev{
  color:#fff;background:rgba(0,0,0,.5);width:34px;height:34px;border-radius:50%;
}
.t-gallery .swiper-button-next::after,
.t-gallery .swiper-button-prev::after,
.t-auto-gallery .swiper-button-next::after,
.t-auto-gallery .swiper-button-prev::after{font-size:13px;}
.t-gallery .swiper-pagination-bullet-active,
.t-auto-gallery .swiper-pagination-bullet-active{background:var(--orange);}

.t-related{background:var(--navy2);border-top:1px solid rgba(255,255,255,.06);}

/* Static page */
.t-static-page{padding:28px 22px;max-width:820px;}
.t-static-title{font-family:var(--fontd);font-size:28px;font-weight:800;color:#fff;margin-bottom:18px;}

/* ════ فيلمك لليوم PAGE ════ */
.t-film-page{
  min-height:calc(100vh - 200px);
  display:flex;align-items:center;justify-content:center;
  padding:40px 20px;
  background:var(--navy);
  direction:rtl;
}
.t-film-box{
  width:100%;max-width:800px;
  text-align:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;padding:44px 28px;
}
.t-film-kicker{color:var(--orange);font-weight:700;font-size:14px;letter-spacing:1px;margin-bottom:10px;}
.t-film-title{
  font-family:var(--fontd);
  font-size:clamp(36px,6vw,64px);
  font-weight:800;color:#fff;
  margin-bottom:14px;line-height:1.1;
}
.t-film-sub{max-width:640px;margin:0 auto 28px;color:rgba(255,255,255,.78);font-size:17px;line-height:1.8;}
.t-film-btn{
  border:0;cursor:pointer;
  padding:18px 36px;border-radius:999px;
  font-size:18px;font-weight:800;
  color:#fff;background:var(--orange);
  font-family:var(--font);
  box-shadow:0 10px 28px rgba(255,107,1,.35);
  transition:transform .2s,box-shadow .2s,opacity .2s;
  display:inline-flex;align-items:center;gap:8px;
}
.t-film-btn:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(255,107,1,.45);}
.t-film-btn:disabled{opacity:.6;cursor:default;transform:none;}
.t-film-loading{margin-top:20px;color:var(--orange);font-weight:700;font-size:15px;}
.t-film-result{
  margin:30px auto 0;
  max-width:680px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;padding:28px 24px;
}
.t-film-result h3{
  font-family:var(--fontd);
  font-size:clamp(26px,5vw,46px);
  color:#fff;margin-bottom:10px;
}
.t-film-result p{color:rgba(255,255,255,.8);line-height:1.8;font-size:16px;}

/* Search form */
.t-search-form{
  display:flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.08);
  border-radius:8px;padding:0 12px;height:36px;flex:1;
}
.t-search-form input[type="search"]{
  background:none;border:none;outline:none;
  color:#fff;font-family:var(--font);font-size:13px;
  flex:1;direction:rtl;width:100%;
}
.t-search-form input::placeholder{color:var(--muted);}
.t-search-form button[type="submit"]{display:none;}
.t-search-form svg{color:var(--muted);flex-shrink:0;}

/* ════ RESPONSIVE ════ */
@media(max-width:1200px){
  .t-picks{grid-template-columns:repeat(2,1fr);}
  .t-trending{grid-template-columns:repeat(3,1fr);}
  .t-cat-grid{grid-template-columns:repeat(2,1fr);}
  #t-footer-inner{grid-template-columns:1fr 1fr;}
}

@media(max-width:900px){
  #t-sidebar{
    position:fixed;
    right:-260px;
    top:0;bottom:0;
    width:240px!important;min-width:240px!important;max-width:240px!important;
    height:100%;
    transition:right .28s ease;
    box-shadow:-6px 0 28px rgba(0,0,0,.7);
    z-index:9500;
  }
  #t-sidebar.open{right:0!important;}
  #t-mobile-bar{display:flex!important;}

  .t-post-layout{flex-direction:column;padding:14px;}
  .t-post-aside{
    width:100%!important;min-width:100%!important;
    order:1;position:static;margin-right:0;
    flex-direction:row;flex-wrap:wrap;gap:10px;
  }
  .t-author-box,.t-share-box{flex:1;min-width:180px;}
  .t-post-body-main{order:2;}
  .t-post-meta{padding:9px 14px;}
  .t-post-hero-cnt{padding:20px 14px;}
  .t-cat-hero-cnt{padding:20px 14px;}
  .t-cat-grid{padding:13px 14px;gap:12px;}
  .t-hero-swiper{height:340px;}
  .t-section{padding:14px;}
  #t-footer-inner{grid-template-columns:1fr;gap:16px;padding:18px 14px;}
  #t-footer-copy{padding:10px 14px;}
  .t-cat-hero-banner{height:240px;}
}

@media(max-width:600px){
  .t-section{padding:11px;}
  .t-picks{grid-template-columns:1fr 1fr;gap:8px;}
  .t-trending{grid-template-columns:1fr 1fr;gap:7px;}
  .t-cat-grid{grid-template-columns:1fr;}
  .t-hero-swiper{height:250px;}
  .t-hero-h1{font-size:19px;}
  .t-hero-cnt{padding:20px 14px;}
  .t-post-hero{min-height:280px;}
  .t-post-title{font-size:21px;}
  .t-news-thumb{width:100px;min-width:100px;height:68px;}
  .t-news-body h3{font-size:14px;}
  .t-cat-hero-banner{height:180px;}
  .t-cat-info h1{font-size:22px;}
}

.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);white-space:nowrap;}

/* ════ MOBILE SIDEBAR TEXT FIX ════ */
@media(max-width:900px){
  /* Make sidebar text fully white and visible */
  #t-sidebar .t-nav-item{
    color:#fff!important;
    font-size:15px!important;
    padding:13px 16px!important;
  }
  #t-sidebar .t-nav-icon{
    font-size:18px!important;
  }
  #t-sidebar .t-nav-label{
    font-size:15px!important;
    color:#fff!important;
  }
  /* Ensure sidebar bg is solid dark */
  #t-sidebar{
    background:#131929!important;
  }
}
