@font-face{
  font-family:"TH Nastaliq";
  src:url("../../fonts/NotoNastaliqUrdu.woff2") format("woff2");
  font-weight:400 700;
  font-style:normal;
  font-display:swap;
}
:root{
  --th-navy:#0B1F4A;
  --th-blue:#123A8A;
  --th-gold:#E8B923;
  --th-gold-2:#C9A227;
  --th-red:#B10C1A;
  --th-paper:#F7F4EC;
  --th-ink:#122033;
  --th-muted:#3d4d63;
}
html{scroll-behavior:smooth}
body,body.theme-jannah,.entry,h1,h2,h3,h4,h5,h6,
.entry-title,a,.widget,.th-topbar,.th-ticker,.th-yt,.th-feat,.th-widgets{
  font-family:"TH Nastaliq","Noto Nastaliq Urdu",serif !important;
}
body{background:var(--th-paper);color:var(--th-ink);letter-spacing:0}
/* Hide theme logo; ours is centred in the brand bar */
header .logo,
.theme-header .logo,
#logo,
.tie-logo,
.logo-container,
.logo-col,
.tie-logo-img,
.tie-logo-source,
picture:has(.tie-logo-img){display:none !important}
.th-yt-wrap{display:none !important}
.th-topbar{
  background:linear-gradient(90deg,var(--th-navy),#10285e 55%,var(--th-navy));
  color:#fff;
  border-bottom:3px solid var(--th-gold);
  font-size:15px;
  line-height:1.7;
}
.th-topbar-inner{
  max-width:1200px;margin:0 auto;padding:6px 12px;
  display:flex;flex-wrap:wrap;gap:8px 16px;
  justify-content:space-between;align-items:center;
}
.th-topbar-meta{display:flex;flex-wrap:wrap;gap:8px 14px}
.th-wx{color:var(--th-gold)}
.th-topbar-links{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.th-topbar-links a{color:#fff;text-decoration:none;font-weight:700}
.th-topbar-links a:hover{color:var(--th-gold)}
.th-pwa-btn{
  background:var(--th-gold);color:var(--th-navy);border:0;border-radius:999px;
  padding:4px 12px;font:inherit;font-weight:700;cursor:pointer;
}
.th-ticker{
  display:flex;align-items:stretch;background:#fff;
  border-bottom:1px solid #ead9a8;overflow:hidden;min-height:44px;
}
.th-ticker-label{
  flex:0 0 auto;background:var(--th-red);color:#fff;font-weight:800;
  padding:8px 14px;font-size:16px;z-index:1;
}
.th-ticker-track{overflow:hidden;flex:1;display:flex;align-items:center}
.th-ticker-move{display:flex;gap:36px;white-space:nowrap;animation:th-tick 42s linear infinite;padding-inline:16px}
.th-ticker-move a{color:var(--th-navy);text-decoration:none;font-weight:700;font-size:16px}
.th-ticker:hover .th-ticker-move{animation-play-state:paused}
@keyframes th-tick{from{transform:translateX(0)}to{transform:translateX(50%)}}
.th-brand{
  background:var(--th-navy);
  display:flex;justify-content:center;align-items:center;
  padding:10px 12px 14px;
  border-bottom:4px solid var(--th-gold);
}
.th-logo{display:block;text-decoration:none}
.th-logo-stack{position:relative;display:block;width:min(280px,62vw)}
.th-logo-globe,.th-logo-text{width:100%;height:auto;display:block}
.th-logo-globe{position:absolute;inset:0;transform-origin:50% 48%;animation:th-spin 22s linear infinite}
.th-logo-text{position:relative;z-index:1}
@keyframes th-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.th-section-title{
  margin:0 0 12px;color:var(--th-navy);font-size:26px;font-weight:800;
  border-bottom:3px solid var(--th-gold);display:inline-block;padding-bottom:4px;
}
.th-yt,.th-feat,.th-widgets{max-width:1100px;margin:18px auto;padding:0 12px}
.th-yt-frame{position:relative}
.th-yt-viewport{position:relative;overflow:hidden;border-radius:16px;background:#061326;min-height:280px}
.th-yt-slide{display:none;color:#fff;padding:0 0 16px}
.th-yt-slide.is-active{display:block;animation:th-flip .55s ease}
@keyframes th-flip{from{opacity:0;transform:rotateY(18deg)}to{opacity:1;transform:none}}
.th-yt-thumb{
  position:relative;display:block;width:100%;padding:0;border:0;background:#000;cursor:pointer;overflow:hidden
}
.th-yt-thumb img,.th-yt-thumb iframe{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
.th-yt-play{
  position:absolute;inset:0;margin:auto;width:86px;height:86px;border-radius:50%;
  background:radial-gradient(circle at 40% 40%,#fff, #ffe9a0 40%, var(--th-gold) 70%);
  box-shadow:0 6px 24px rgba(0,0,0,.4),0 0 0 6px rgba(232,185,35,.35);
  pointer-events:none;
}
.th-yt-play:after{
  content:"";position:absolute;left:34px;top:24px;border-style:solid;
  border-width:19px 0 19px 30px;border-color:transparent transparent transparent var(--th-navy);
}
.th-yt-shine{
  pointer-events:none;position:absolute;inset:0;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.28) 50%,transparent 60%);
  background-size:200% 100%;animation:th-shine 3.8s ease-in-out infinite;
}
@keyframes th-shine{0%{background-position:120% 0}100%{background-position:-20% 0}}
.th-yt-title{margin:12px 14px 8px;font-size:22px;color:#fff;font-weight:800;line-height:1.7}
.th-yt-bullets{margin:0 18px 8px;padding:0 18px 0 0;font-size:20px;font-weight:800;line-height:2;color:#fff}
.th-yt-bullets li{margin:0 0 4px}
.th-yt-nav{
  position:absolute;top:28%;z-index:2;width:42px;height:42px;border:0;border-radius:50%;
  background:rgba(11,31,74,.82);color:var(--th-gold);font-size:28px;cursor:pointer;line-height:1;
}
.th-yt-prev{right:8px}.th-yt-next{left:8px}
.th-yt-dots{display:flex;justify-content:center;gap:8px;padding:10px 0 2px}
.th-yt-dot{width:10px;height:10px;border-radius:50%;border:0;background:#9aa6bd;cursor:pointer;padding:0}
.th-yt-dot.is-active{background:var(--th-gold);transform:scale(1.2)}
.th-feat-viewport{position:relative;overflow:hidden;border-radius:16px;min-height:220px;background:#111}
.th-feat-slide{display:none;position:relative;color:#fff;text-decoration:none}
.th-feat-slide.is-active{display:block;animation:th-flip .6s ease}
.th-feat-slide img{width:100%;height:auto;aspect-ratio:16/8;object-fit:cover;display:block}
.th-feat-cap{
  position:absolute;bottom:0;right:0;left:0;padding:16px 14px 12px;
  background:linear-gradient(transparent,rgba(6,19,38,.92));
  font-size:20px;font-weight:800;line-height:1.7;
}
.th-widgets{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.th-wid{background:#fff;border:1px solid #ead9a8;border-top:4px solid var(--th-navy);border-radius:10px;padding:12px 14px}
.th-wid h2{margin:0 0 8px;font-size:20px;color:var(--th-navy)}
.th-wid ul{margin:0;padding:0 18px 0 0;list-style:disc}
.th-wid a{color:var(--th-ink);text-decoration:none;font-weight:700}
.th-cats{display:flex;flex-wrap:wrap;gap:8px;list-style:none !important;padding:0 !important}
.th-cats a{display:block;background:var(--th-navy);color:#fff !important;border-radius:999px;padding:4px 12px}
.th-wa-float{
  position:fixed;bottom:18px;left:18px;z-index:9999;
  background:#25D366;color:#fff;text-decoration:none;
  display:flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:999px;
  box-shadow:0 6px 20px rgba(0,0,0,.25);font-weight:800;
}
.th-wa-icon{
  width:22px;height:22px;border-radius:50%;background:#fff;
  position:relative;display:inline-block;
}
.th-wa-icon:before{content:"▾";color:#25D366;position:absolute;inset:1px 0 0;text-align:center;font-size:16px;line-height:1}
.th-pwa-ios{
  position:fixed;bottom:70px;right:12px;left:12px;z-index:10000;
  background:var(--th-navy);color:#fff;padding:12px 14px;border-radius:12px;
  border:2px solid var(--th-gold);font-weight:700;
}
@media (max-width:800px){
  .th-widgets{grid-template-columns:1fr}
  .th-yt-title,.th-yt-bullets,.th-feat-cap{font-size:18px}
  .th-yt-play{width:74px;height:74px}
  .th-yt-play:after{left:29px;top:20px;border-width:16px 0 16px 26px}
  .th-logo-stack{width:min(220px,70vw)}
  .th-topbar{font-size:14px}
}
@media (prefers-reduced-motion:reduce){
  .th-logo-globe,.th-ticker-move,.th-yt-shine{animation:none !important}
  .th-yt-slide.is-active,.th-feat-slide.is-active{animation:none}
}
