@font-face{font-family:VazirmatnLocal;src:url('Vazirmatn-Regular.ttf') format('truetype'),url('daily/Vazirmatn-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
*{box-sizing:border-box;margin:0;padding:0;font-family:VazirmatnLocal,Tahoma,Arial,sans-serif}
html{scroll-behavior:smooth}body{background:#071426;color:#fff;line-height:1.9;overflow-x:hidden}a{text-decoration:none;color:inherit}.site-shell{min-height:100vh;background:radial-gradient(circle at top right,rgba(124,58,237,.20),transparent 34%),radial-gradient(circle at 10% 20%,rgba(56,189,248,.16),transparent 25%),linear-gradient(135deg,#071426,#0f172a 55%,#111827)}.site-header{position:sticky;top:0;z-index:999;background:rgba(15,23,42,.90);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.08)}.nav{max-width:1240px;margin:auto;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px}.brand-logo{width:64px;height:64px;border-radius:22px;background:rgba(255,255,255,.04);display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid rgba(255,255,255,.10);box-shadow:0 10px 28px rgba(250,204,21,.12);flex:0 0 64px}.brand-logo img{width:100%;height:100%;object-fit:contain;display:block}.brand h1{font-size:22px;line-height:1.4}.brand p{color:#cbd5e1;font-size:13px}.menu{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.menu a{color:#e5e7eb;font-weight:800;font-size:14px;padding:8px 10px;border-radius:12px}.menu a:hover{background:rgba(255,255,255,.08)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;padding:12px 18px;border-radius:16px;font-weight:900;border:0;cursor:pointer;box-shadow:0 12px 26px rgba(37,99,235,.20)}.btn.secondary{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);box-shadow:none}.btn.green{background:linear-gradient(135deg,#16a34a,#22c55e)}.btn.orange{background:linear-gradient(135deg,#f97316,#facc15);color:#111827}.hero{max-width:1240px;margin:auto;padding:72px 18px 36px;display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}.hero-card{background:rgba(17,24,39,.70);border:1px solid rgba(255,255,255,.10);border-radius:34px;padding:38px;box-shadow:0 28px 70px rgba(0,0,0,.32)}.eyebrow{display:inline-block;background:rgba(56,189,248,.12);color:#7dd3fc;border:1px solid rgba(56,189,248,.25);padding:6px 12px;border-radius:999px;font-size:13px;font-weight:900;margin-bottom:18px}.hero h2{font-size:48px;line-height:1.35;margin-bottom:16px}.hero p{font-size:18px;color:#dbeafe;margin-bottom:24px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-visual{display:grid;gap:16px}.hero-logo-card{display:flex;align-items:center;justify-content:center;min-height:190px;background:radial-gradient(circle,rgba(250,204,21,.14),rgba(124,58,237,.12),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.10);border-radius:30px}.hero-logo-card img{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 16px 28px rgba(0,0,0,.35))}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stat{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);border-radius:26px;padding:22px}.stat strong{display:block;font-size:30px;color:#38bdf8}.stat span{color:#cbd5e1}.schedule-promo{background:linear-gradient(135deg,rgba(249,115,22,.20),rgba(250,204,21,.10));border:1px solid rgba(250,204,21,.28);border-radius:30px;padding:24px}.schedule-promo h3{font-size:25px;margin-bottom:8px}.section{max-width:1240px;margin:auto;padding:34px 18px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px}.section h2{font-size:32px}.section .lead{color:#cbd5e1;max-width:760px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:rgba(17,24,39,.78);border:1px solid rgba(255,255,255,.09);border-radius:26px;padding:24px;box-shadow:0 18px 45px rgba(0,0,0,.22)}.card h3{font-size:22px;margin-bottom:8px;color:#fff}.card p{color:#cbd5e1}.course-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.pill{background:#1e293b;color:#e5e7eb;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-card input,.form-card textarea,.form-card select,.admin-page input,.admin-page textarea,.admin-page select{width:100%;background:#0f172a;color:white;border:1px solid rgba(255,255,255,.13);border-radius:14px;padding:12px;font-size:15px}.form-card label,.admin-page label{display:block;color:#e5e7eb;font-weight:900;margin:12px 0 7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.full{grid-column:1/-1}.msg{display:none;margin-top:12px;padding:13px;border-radius:14px;font-weight:900}.msg.ok{display:block;background:rgba(22,163,74,.18);color:#bbf7d0;border:1px solid rgba(34,197,94,.35)}.msg.err{display:block;background:rgba(220,38,38,.18);color:#fecaca;border:1px solid rgba(248,113,113,.35)}.footer{margin-top:40px;border-top:1px solid rgba(255,255,255,.08);background:rgba(2,6,23,.65)}.footer-inner{max-width:1240px;margin:auto;padding:26px 18px;text-align:center;color:#94a3b8}.float-chat{position:fixed;left:22px;bottom:22px;z-index:999}.float-chat a{border-radius:999px;padding:14px 18px}.admin-page{background:#071426;color:#fff}.admin-wrap{max-width:1280px;margin:auto;padding:22px}.admin-header{display:flex;justify-content:space-between;gap:16px;align-items:center;background:#111827;border-radius:24px;padding:22px;margin-bottom:18px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-card{background:#111827;border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:20px;margin-bottom:16px}.table-wrap{overflow:auto;border-radius:18px}table{width:100%;border-collapse:collapse}th{background:#1e293b;padding:12px;white-space:nowrap}td{border-bottom:1px solid rgba(255,255,255,.08);padding:10px;text-align:center}.actions{display:flex;gap:8px;flex-wrap:wrap}.danger{background:#dc2626}.muted{color:#94a3b8}.mini{font-size:13px;color:#cbd5e1}.admin-links{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:1000px){.hero,.split,.admin-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.hero h2{font-size:36px}.menu{display:none}}@media(max-width:640px){.cards,.form-grid,.stat-grid{grid-template-columns:1fr}.hero{padding-top:36px}.hero-card{padding:24px;border-radius:24px}.hero h2{font-size:28px}.section h2{font-size:25px}.brand h1{font-size:17px}.brand p{display:none}}

/* =========================================================
   Stage 2 - General website admin panel improvements
   ========================================================= */
.site-admin-v2 .sticky-admin-head{
  position: sticky;
  top: 12px;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(17,24,39,.96);
}
.admin-section-nav{
  position: sticky;
  top: 120px;
  z-index: 19;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  background:rgba(7,20,38,.88);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:12px;
  margin-bottom:16px;
  backdrop-filter:blur(10px);
}
.admin-section-nav a{
  color:#e5e7eb;
  text-decoration:none;
  background:#1e293b;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  font-size:14px;
}
.admin-section-nav a:hover{background:#2563eb;color:white}
.admin-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.admin-stat{
  background:linear-gradient(135deg,rgba(37,99,235,.22),rgba(14,165,233,.13));
  border:1px solid rgba(56,189,248,.20);
  border-radius:22px;
  padding:20px;
  text-align:center;
}
.admin-stat strong{
  display:block;
  font-size:34px;
  color:#38bdf8;
  margin-bottom:4px;
}
.admin-stat span{color:#cbd5e1;font-weight:900}
.section-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.compact-box{
  background:#0f172a;
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:0;
  margin-bottom:14px;
  overflow:hidden;
}
.compact-box summary{
  cursor:pointer;
  padding:16px 18px;
  font-weight:900;
  color:#e5e7eb;
  background:rgba(30,41,59,.82);
  list-style:none;
}
.compact-box summary::-webkit-details-marker{display:none}
.compact-box summary:before{
  content:"＋";
  display:inline-block;
  margin-left:8px;
  color:#38bdf8;
  font-weight:900;
}
.compact-box[open] summary:before{content:"−"}
.compact-content{padding:16px 18px 18px}
.site-admin-v2 textarea{min-height:42px}
.site-admin-v2 td textarea{margin-top:8px;min-width:220px}
.site-admin-v2 td input,
.site-admin-v2 td textarea,
.site-admin-v2 td select{min-width:160px}
.site-admin-v2 .actions{
  justify-content:center;
  align-items:flex-start;
}
.site-admin-v2 .actions form{display:inline-block}
.social-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.map-embed{margin-top:14px;overflow:hidden;border-radius:18px}.map-embed iframe{width:100%;min-height:260px;border:0;border-radius:18px}
@media(max-width:1000px){
  .admin-stat-grid{grid-template-columns:1fr 1fr}
  .admin-section-nav{position:static}
  .site-admin-v2 .sticky-admin-head{position:static}
}
@media(max-width:640px){.admin-stat-grid{grid-template-columns:1fr}.section-title-row{flex-direction:column;align-items:flex-start}}


/* =========================================================
   Hero advertisement media box
   Put your ad file in /ads/ with one of these names:
   hero-ad.mp4, hero-ad.webm, hero-ad.jpg, hero-ad.jpeg, hero-ad.png, hero-ad.webp
   ========================================================= */
.hero-media-card{
  position:relative;
  min-height:330px;
  border-radius:34px;
  overflow:hidden;
  background:
    radial-gradient(circle at top right,rgba(250,204,21,.18),transparent 34%),
    radial-gradient(circle at bottom left,rgba(124,58,237,.20),transparent 42%),
    rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 60px rgba(0,0,0,.32);
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-media-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(2,6,23,.08),rgba(2,6,23,.16));
}
.hero-media-badge{
  position:absolute;
  top:16px;
  right:16px;
  z-index:3;
  background:rgba(15,23,42,.78);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  border-radius:999px;
  padding:7px 13px;
  font-size:13px;
  font-weight:900;
  backdrop-filter:blur(8px);
}
.hero-media{
  width:100%;
  height:100%;
  min-height:330px;
  display:block;
  object-fit:cover;
}
.hero-media-placeholder{
  position:relative;
  z-index:2;
  width:100%;
  min-height:330px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
  padding:28px;
}
.hero-media-placeholder img{
  width:170px;
  height:170px;
  object-fit:contain;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,.38));
}
.hero-media-placeholder strong{
  font-size:22px;
  color:#fff;
}
.hero-media-placeholder span{
  max-width:420px;
  color:#cbd5e1;
  font-size:14px;
  line-height:1.9;
}
@media(max-width:1000px){
  .hero-media-card,.hero-media,.hero-media-placeholder{min-height:300px}
}
@media(max-width:640px){
  .hero-media-card,.hero-media,.hero-media-placeholder{min-height:240px;border-radius:24px}
  .hero-media-placeholder img{width:125px;height:125px}
  .hero-media-placeholder strong{font-size:18px}
}


/* =========================================================
   Large advertisement hero section - fitted layout
   Files supported in /ads/: hero-ad.mp4, hero-ad.webm, hero-ad.jpg, hero-ad.jpeg, hero-ad.png, hero-ad.webp
   Text overlay comes from the main-site admin panel hero title/text.
   ========================================================= */
.hero.hero-ad-stage{
  max-width:100%;
  width:100%;
  padding:0 0 34px;
  display:block;
}

.ad-showcase{
  width:100%;
  height:clamp(430px,52vw,560px);
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#dbeafe,#f8fafc);
  border-bottom:1px solid rgba(255,255,255,.12);
  box-shadow:0 20px 60px rgba(0,0,0,.30);
}

.ad-showcase-media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}

.ad-showcase-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-left:7%;
  padding-right:7%;
  background:
    radial-gradient(circle at 18% 20%,rgba(56,189,248,.25),transparent 24%),
    radial-gradient(circle at 82% 62%,rgba(250,204,21,.25),transparent 26%),
    linear-gradient(135deg,#e0f2fe 0%,#f8fafc 46%,#dbeafe 100%);
}

.ad-showcase-placeholder img{
  width:min(280px,30vw);
  height:min(280px,30vw);
  object-fit:contain;
  filter:drop-shadow(0 24px 42px rgba(0,0,0,.34));
  opacity:.95;
}

.ad-showcase-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(2,6,23,.08) 0%,rgba(2,6,23,.18) 32%,rgba(2,6,23,.62) 100%),
    linear-gradient(180deg,rgba(2,6,23,.08),rgba(2,6,23,.22));
}

.ad-showcase-content{
  position:relative;
  z-index:2;
  height:100%;
  max-width:1240px;
  margin:0 auto;
  padding:48px 28px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  text-align:right;
}

.ad-showcase-content .eyebrow{
  background:rgba(2,6,23,.55);
  color:#e0f2fe;
  border-color:rgba(255,255,255,.18);
  backdrop-filter:blur(8px);
}

.ad-showcase-content h2{
  width:min(620px,100%);
  font-size:clamp(22px,2.2vw,24px) !important;
  line-height:1.55;
  font-weight:900;
  margin:8px 0 12px;
  color:#fff;
  text-shadow:0 7px 24px rgba(0,0,0,.55);
}

.ad-showcase-content p{
  width:min(600px,100%);
  font-size:16px !important;
  line-height:2;
  color:#eef6ff;
  text-shadow:0 6px 20px rgba(0,0,0,.46);
  margin-bottom:18px;
}

.hero-bottom-grid{
  max-width:1240px;
  margin:24px auto 0;
  padding:0 18px;
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}

.hero-bottom-grid .stat,
.hero-bottom-grid .schedule-promo{
  backdrop-filter:blur(14px);
  background:rgba(17,24,39,.86);
}

@media(max-width:1000px){
  .ad-showcase{height:500px}
  .ad-showcase-content{padding:44px 22px}
  .hero-bottom-grid{grid-template-columns:1fr;margin-top:20px}
}

@media(max-width:640px){
  .ad-showcase{height:430px}
  .ad-showcase-content{padding:34px 18px}
  .ad-showcase-content h2{
    font-size:22px !important;
    line-height:1.55;
  }
  .ad-showcase-content p{
    font-size:14px !important;
    line-height:2;
  }
  .hero-actions .btn{width:100%}
  .hero-bottom-grid{margin-top:18px}
}



/* Course cards with image support */
.course-card{
  padding:0 !important;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.course-image-box{
  width:100%;
  aspect-ratio:16/9;
  background:linear-gradient(135deg,rgba(56,189,248,.22),rgba(124,58,237,.18));
  border-bottom:1px solid rgba(255,255,255,.08);
  overflow:hidden;
  position:relative;
}
.course-image-box img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.course-image-box::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(2,6,23,0) 35%,rgba(2,6,23,.36));
  pointer-events:none;
}
.course-image-placeholder{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:8px;
  text-align:center;
  padding:18px;
  background:
    radial-gradient(circle at 25% 25%,rgba(250,204,21,.22),transparent 28%),
    radial-gradient(circle at 75% 35%,rgba(56,189,248,.24),transparent 32%),
    linear-gradient(135deg,#111827,#1e293b);
}
.course-image-placeholder span{
  color:#bae6fd;
  font-size:13px;
  font-weight:900;
  background:rgba(15,23,42,.50);
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  padding:5px 12px;
}
.course-image-placeholder strong{
  color:#fff;
  font-size:22px;
  line-height:1.6;
}
.course-card-body{
  padding:22px 24px 24px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.course-card-body .btn{
  margin-top:auto;
  align-self:flex-start;
}
.course-admin-thumb{
  width:150px;
  height:84px;
  border-radius:14px;
  overflow:hidden;
  margin:0 auto 8px;
  background:#0f172a;
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#94a3b8;
  font-size:12px;
  white-space:nowrap;
}
.course-admin-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media(max-width:640px){
  .course-image-placeholder strong{font-size:18px}
  .course-card-body{padding:18px}
}

/* Course image upload controls */
.course-upload-note{
  margin-top:8px;
  line-height:1.8;
  color:#94a3b8;
}
input[type="file"]{
  direction:ltr;
  background:#0f172a;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:10px;
  color:#e5e7eb;
}

/* Multiple hero banners uploaded from admin */
.ad-showcase.js-hero-slider{background:#020617}
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
  transition:opacity .9s ease-in-out;
}
.hero-slide.active{
  opacity:1;
  pointer-events:auto;
}
.hero-slide .ad-showcase-media,
.hero-slide .ad-showcase-placeholder,
.hero-slide .ad-showcase-overlay{
  position:absolute;
  inset:0;
}
.hero-slide .ad-showcase-content{
  position:relative;
  z-index:3;
}
.banner-admin-thumb{
  width:190px;
  height:80px;
  border-radius:14px;
  overflow:hidden;
  margin:0 auto 8px;
  background:#0f172a;
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#94a3b8;
  font-size:12px;
  white-space:nowrap;
}
.banner-admin-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.no-data-box{
  background:rgba(251,146,60,.14);
  border:1px solid rgba(251,146,60,.45);
  color:#fed7aa;
  border-radius:14px;
  padding:14px;
  font-weight:900;
}
@media(max-width:640px){
  .banner-admin-thumb{width:150px;height:64px}
}


/* =========================================================
   About section license/certificate image card
   Put your license/certificate image here:
   Image is uploaded from admin panel and saved automatically.
   Recommended size: 900x650px or 1200x850px
   ========================================================= */
.about-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  gap:22px;
  align-items:stretch;
}
.about-text-block{
  min-width:0;
}
.about-text-block .section-head{
  margin-bottom:18px;
}
.about-feature-cards{
  grid-template-columns:repeat(3,1fr);
}
.about-license-card{
  position:relative;
  min-height:420px;
  border-radius:30px;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 15%,rgba(56,189,248,.20),transparent 30%),
    radial-gradient(circle at 82% 80%,rgba(250,204,21,.16),transparent 30%),
    rgba(17,24,39,.82);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 22px 55px rgba(0,0,0,.28);
}
.about-license-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:.96;
}
.about-license-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}
.about-license-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
  padding:34px;
  background:
    radial-gradient(circle at 25% 20%,rgba(56,189,248,.24),transparent 30%),
    radial-gradient(circle at 80% 75%,rgba(250,204,21,.18),transparent 32%),
    linear-gradient(135deg,#0f172a,#111827 58%,#1e293b);
}
.about-license-placeholder span{
  background:rgba(56,189,248,.16);
  color:#7dd3fc;
  border:1px solid rgba(56,189,248,.25);
  border-radius:999px;
  padding:6px 13px;
  font-size:13px;
  font-weight:900;
}
.about-license-placeholder strong{
  max-width:360px;
  color:#fff;
  font-size:20px;
  line-height:1.8;
}
.about-license-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(2,6,23,.05) 0%,rgba(2,6,23,.32) 58%,rgba(2,6,23,.78) 100%);
  z-index:1;
}
.about-license-overlay{
  position:absolute;
  inset:auto 18px 18px 18px;
  z-index:2;
  background:rgba(15,23,42,.72);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:16px 18px;
  backdrop-filter:blur(12px);
}
.about-license-overlay span{
  display:inline-block;
  background:rgba(56,189,248,.16);
  color:#7dd3fc;
  border:1px solid rgba(56,189,248,.25);
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  font-weight:900;
  margin-bottom:8px;
}
.about-license-overlay strong{
  display:block;
  font-size:20px;
  color:#fff;
  line-height:1.7;
}
.about-license-overlay small{
  display:block;
  color:#cbd5e1;
  font-size:12px;
  line-height:1.9;
  margin-top:4px;
}
@media(max-width:1100px){
  .about-layout{grid-template-columns:1fr}
  .about-license-card{min-height:360px}
}
@media(max-width:760px){
  .about-feature-cards{grid-template-columns:1fr}
  .about-license-card{min-height:300px;border-radius:24px}
  .about-license-overlay{inset:auto 12px 12px 12px;padding:14px}
  .about-license-overlay strong{font-size:17px}
}


/* About image upload preview in site admin */
.about-admin-preview{
  width:100%;
  max-width:520px;
  aspect-ratio:16/11;
  border-radius:22px;
  overflow:hidden;
  background:#0f172a;
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#94a3b8;
  font-weight:900;
  text-align:center;
  margin-bottom:10px;
}
.about-admin-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.about-image-upload-form{
  background:#0f172a;
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:18px;
}


/* Multiple license/about images slider */
.about-license-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .75s ease-in-out;
  pointer-events:none;
}
.about-license-slide.active{
  opacity:1;
  pointer-events:auto;
}
.about-license-slide img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}
.about-admin-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.about-admin-gallery-item{
  background:#0f172a;
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:12px;
}
.about-admin-gallery-item .about-admin-preview{
  margin-bottom:10px;
}
.about-admin-gallery-item form{
  margin:0;
}
.about-admin-gallery-item .btn{
  width:100%;
}
@media(max-width:1000px){
  .about-admin-gallery{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .about-admin-gallery{grid-template-columns:1fr}
}


/* Final fix: no text overlay on about/license images */
.about-license-card::before{
  display:none !important;
}
.about-license-overlay{
  display:none !important;
}

/* Final fix: keep hero banner text small */
.ad-showcase-content h2{
  font-size:clamp(22px,2.2vw,24px) !important;
}
.ad-showcase-content p{
  font-size:16px !important;
}
@media(max-width:640px){
  .ad-showcase-content h2{font-size:22px !important;}
  .ad-showcase-content p{font-size:14px !important;}
}

/* =========================================================
   Course font fix - force Vazirmatn for all current and future courses
   ========================================================= */
.course-card,
.course-card *,
.course-card-body,
.course-card-body *,
.course-meta,
.course-meta *,
.course-image-placeholder,
.course-image-placeholder *,
#courses,
#courses *,
.courses,
.courses *,
.site-admin-v2 .course-admin-thumb,
.site-admin-v2 .course-admin-thumb *,
.site-admin-v2 input[name*="course"],
.site-admin-v2 textarea[name*="course"],
.site-admin-v2 select[name*="course"],
.site-admin-v2 input[name*="Course"],
.site-admin-v2 textarea[name*="Course"],
.site-admin-v2 select[name*="Course"]{
  font-family:VazirmatnLocal,Tahoma,Arial,sans-serif !important;
}

.course-card h3,
.course-card-body h3{
  font-family:VazirmatnLocal,Tahoma,Arial,sans-serif !important;
  font-weight:900;
  letter-spacing:0;
}

.course-card p,
.course-card-body p,
.course-card .pill{
  font-family:VazirmatnLocal,Tahoma,Arial,sans-serif !important;
  letter-spacing:0;
}

/* =========================================================
   RESPONSIVE FINAL PATCH v60 - Main website + central admin
   Data-safe: CSS only. No content/database/JSON changes.
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}
img,video,iframe{max-width:100%}
.site-shell,.section,.hero,.hero-bottom-grid,.nav,.footer-inner{min-width:0}
.course-card,.card,.admin-card,.hero-card,.schedule-promo,.stat{min-width:0;overflow-wrap:anywhere}
.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-wrap table{min-width:820px}
.site-admin-v2 .table-wrap table{min-width:960px}
.site-admin-v2 input,.site-admin-v2 textarea,.site-admin-v2 select{max-width:100%}
.site-admin-v2 td input,.site-admin-v2 td textarea,.site-admin-v2 td select{min-width:0!important;width:100%}
.site-admin-v2 .actions{gap:8px;align-items:stretch}
.site-admin-v2 .actions button,.site-admin-v2 .actions .btn,.site-admin-v2 .actions a{white-space:normal;line-height:1.7}
.clean-map-embed,.map-embed,.bottom-map-wrap{max-width:100%;overflow:hidden}
.clean-map-embed iframe,.map-embed iframe,.bottom-map-wrap iframe{max-width:100%!important}

@media(max-width:1100px){
  .nav{align-items:flex-start;flex-direction:column}
  .brand{width:100%;min-width:0}
  .menu{display:flex!important;width:100%;overflow-x:auto;flex-wrap:nowrap;gap:8px;padding:4px 0 8px;scrollbar-width:thin}
  .menu a{white-space:nowrap;flex:0 0 auto;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.07)}
  .hero,.split,.hero-bottom-grid,.admin-grid{grid-template-columns:1fr!important}
  .cards{grid-template-columns:1fr 1fr}
  .section-head{flex-direction:column;align-items:flex-start}
  .admin-header{flex-direction:column;align-items:stretch}
  .admin-links,.admin-header-actions{justify-content:flex-start}
}

@media(max-width:760px){
  .nav{padding:10px 12px;gap:10px}
  .brand-logo{width:52px;height:52px;flex-basis:52px;border-radius:18px}
  .brand h1{font-size:17px;line-height:1.55}
  .brand p{display:block;font-size:12px;line-height:1.7}
  .hero{padding:28px 12px 20px!important}
  .hero-card,.card,.admin-card{padding:18px;border-radius:22px}
  .hero h2{font-size:clamp(24px,8vw,32px)!important;line-height:1.55}
  .hero p,.section .lead{font-size:14px;line-height:2}
  .section{padding:24px 12px}
  .section h2{font-size:23px;line-height:1.55}
  .cards,.form-grid,.stat-grid{grid-template-columns:1fr!important}
  .btn,.hero-actions .btn,.form-card button{width:100%;min-height:46px;text-align:center}
  .course-card-body{padding:16px!important}
  .course-meta{gap:6px}
  .pill{font-size:11px;line-height:1.8;white-space:normal}
  .table-wrap::before{content:"برای مشاهده کامل جدول، آن را به چپ و راست بکشید";display:block;margin:0 0 8px;padding:9px 11px;border-radius:13px;background:rgba(56,189,248,.12);border:1px solid rgba(56,189,248,.22);color:#bae6fd;font-size:12px;font-weight:900;text-align:right}
  .site-admin-v2 .actions{flex-direction:column}
  .site-admin-v2 .actions form,.site-admin-v2 .actions button,.site-admin-v2 .actions .btn,.site-admin-v2 .actions a{width:100%}
  .site-admin-v2 .admin-wrap{padding:12px}
  .site-admin-v2 .sticky-admin-head{position:static!important}
  .ad-showcase{height:clamp(360px,88vw,430px)!important}
  .ad-showcase-content{padding:28px 14px!important;justify-content:flex-end}
  .ad-showcase-content h2{font-size:21px!important;line-height:1.7}
  .ad-showcase-content p{font-size:13px!important;line-height:2}
  .bottom-map-wrap iframe,.map-embed iframe{min-height:300px!important}
}

@media(max-width:420px){
  .brand{gap:8px}
  .brand-logo{width:46px;height:46px;flex-basis:46px}
  .brand h1{font-size:15px}
  .menu a{font-size:12px;padding:7px 9px}
  .hero h2{font-size:23px!important}
  .hero-media-card,.hero-media,.hero-media-placeholder{min-height:210px!important}
  .float-chat{left:12px;right:12px;bottom:12px}.float-chat a{width:100%}
}

/* =========================================================
   Hero banner action buttons fix - v73
   هدف: دکمه‌های روی بنر در موبایل و دسکتاپ بنر را نپوشانند.
   این بخش فقط ظاهر صفحه اصلی را تغییر می‌دهد و هیچ دیتایی را تغییر نمی‌دهد.
   ========================================================= */
.ad-showcase .hero-actions{
  margin-top:18px;
}

.ad-showcase .hero-actions .btn{
  white-space:nowrap;
}

@media (min-width:761px){
  .ad-showcase-content{
    justify-content:flex-end !important;
    padding-top:42px !important;
    padding-bottom:58px !important;
  }

  .ad-showcase .hero-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:12px !important;
    max-width:min(720px,100%) !important;
  }

  .ad-showcase .hero-actions .btn{
    width:auto !important;
    min-width:150px;
    min-height:48px;
    padding:12px 20px !important;
  }
}

@media (max-width:760px){
  .ad-showcase{
    height:clamp(390px,92vw,470px) !important;
  }

  .ad-showcase-media{
    object-position:center center !important;
  }

  .ad-showcase-overlay{
    background:
      linear-gradient(180deg,rgba(2,6,23,.18) 0%,rgba(2,6,23,.04) 36%,rgba(2,6,23,.62) 100%) !important;
  }

  .ad-showcase-content{
    padding:14px !important;
    justify-content:flex-end !important;
    align-items:stretch !important;
    pointer-events:none;
  }

  .ad-showcase-content .eyebrow{
    position:absolute;
    top:14px;
    right:14px;
    max-width:calc(100% - 28px);
    margin:0 !important;
    font-size:12px !important;
    line-height:1.8 !important;
    padding:7px 12px !important;
    border-radius:999px !important;
    background:rgba(15,23,42,.64) !important;
    pointer-events:auto;
  }

  /* در موبایل خود تصویر بنر متن دارد؛ متن تکراری سایت حذف می‌شود تا روی عکس نیفتد. */
  .ad-showcase-content h2,
  .ad-showcase-content p{
    display:none !important;
  }

  .ad-showcase .hero-actions{
    position:absolute;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:5;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    margin:0 !important;
    padding:4px 2px 6px !important;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    pointer-events:auto;
  }

  .ad-showcase .hero-actions::-webkit-scrollbar{
    display:none;
  }

  .ad-showcase .hero-actions .btn{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:max-content !important;
    min-height:40px !important;
    padding:9px 14px !important;
    border-radius:15px !important;
    font-size:13px !important;
    line-height:1.5 !important;
    box-shadow:0 10px 26px rgba(0,0,0,.28) !important;
  }
}

@media (max-width:420px){
  .ad-showcase{
    height:clamp(370px,96vw,440px) !important;
  }

  .ad-showcase .hero-actions{
    left:10px;
    right:10px;
    bottom:10px;
  }

  .ad-showcase .hero-actions .btn{
    min-height:38px !important;
    padding:8px 12px !important;
    font-size:12px !important;
  }
}


/* =========================================================
   v74 - Hero banner true responsive fit
   Goal: show the full uploaded 1900x800 banner on every device.
   Data is not touched. Only presentation is adjusted.
   ========================================================= */
.hero.hero-ad-stage{
  padding-bottom:clamp(20px,3vw,36px) !important;
}

.ad-showcase{
  width:100% !important;
  height:auto !important;
  aspect-ratio:1900 / 800 !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:hidden !important;
  background:#071426 !important;
}

.ad-showcase-media,
.hero-slide .ad-showcase-media{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#071426 !important;
}

.ad-showcase-placeholder,
.hero-slide .ad-showcase-placeholder{
  width:100% !important;
  height:100% !important;
}

@media (min-width:761px){
  .ad-showcase-content{
    padding:clamp(24px,3vw,46px) clamp(20px,4vw,70px) clamp(28px,4vw,64px) !important;
    justify-content:flex-end !important;
  }

  .ad-showcase-content h2{
    max-width:560px !important;
    font-size:clamp(20px,1.8vw,26px) !important;
    line-height:1.65 !important;
  }

  .ad-showcase-content p{
    max-width:560px !important;
    font-size:clamp(13px,1.15vw,16px) !important;
    line-height:2 !important;
  }

  .ad-showcase .hero-actions{
    margin-top:14px !important;
    gap:10px !important;
  }

  .ad-showcase .hero-actions .btn{
    min-height:44px !important;
    padding:10px 18px !important;
    border-radius:15px !important;
    font-size:14px !important;
  }
}

@media (max-width:760px){
  .hero.hero-ad-stage{
    padding:14px 0 86px !important;
  }

  .ad-showcase{
    width:calc(100% - 24px) !important;
    margin:0 auto !important;
    aspect-ratio:1900 / 800 !important;
    height:auto !important;
    overflow:visible !important;
    border-radius:18px !important;
    box-shadow:0 16px 42px rgba(0,0,0,.30) !important;
  }

  .hero-slide{
    border-radius:18px !important;
  }

  .ad-showcase-media,
  .hero-slide .ad-showcase-media{
    border-radius:18px !important;
    object-fit:contain !important;
  }

  .ad-showcase-overlay{
    display:none !important;
  }

  .ad-showcase-content{
    position:absolute !important;
    inset:0 !important;
    height:100% !important;
    padding:0 !important;
    pointer-events:none !important;
  }

  .ad-showcase-content .eyebrow,
  .ad-showcase-content h2,
  .ad-showcase-content p{
    display:none !important;
  }

  .ad-showcase .hero-actions{
    position:absolute !important;
    top:calc(100% + 12px) !important;
    left:0 !important;
    right:0 !important;
    bottom:auto !important;
    z-index:10 !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    pointer-events:auto !important;
  }

  .ad-showcase .hero-actions .btn{
    width:100% !important;
    min-width:0 !important;
    min-height:40px !important;
    padding:8px 6px !important;
    border-radius:14px !important;
    font-size:clamp(11px,3.1vw,13px) !important;
    line-height:1.45 !important;
    white-space:normal !important;
    box-shadow:0 10px 24px rgba(0,0,0,.22) !important;
  }
}

@media (max-width:420px){
  .hero.hero-ad-stage{
    padding-bottom:92px !important;
  }

  .ad-showcase{
    width:calc(100% - 20px) !important;
    border-radius:16px !important;
  }

  .ad-showcase-media,
  .hero-slide .ad-showcase-media,
  .hero-slide{
    border-radius:16px !important;
  }

  .ad-showcase .hero-actions{
    gap:6px !important;
    top:calc(100% + 10px) !important;
  }

  .ad-showcase .hero-actions .btn{
    min-height:38px !important;
    padding:7px 4px !important;
    border-radius:13px !important;
  }
}


/* =========================================================
   v75 - Final hero banner mobile/desktop responsive repair
   Fixes:
   1) Main banner image is fully visible on all screens.
   2) Mobile action buttons do not cover the banner or the next cards.
   3) Desktop keeps a premium hero look without cropping the uploaded banner.
   Data/content is not touched.
   ========================================================= */

/* Desktop and tablet: keep the full banner ratio, prevent unwanted crop */
.ad-showcase,
.ad-showcase.js-hero-slider{
  aspect-ratio:1900 / 800 !important;
  height:auto !important;
  min-height:clamp(300px,36vw,520px) !important;
  max-height:620px !important;
  overflow:hidden !important;
  background:#071426 !important;
}

.ad-showcase-media,
.hero-slide .ad-showcase-media{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#071426 !important;
}

@media (min-width:761px){
  .hero.hero-ad-stage{
    padding:0 0 34px !important;
  }

  .ad-showcase{
    border-radius:0 !important;
    margin-bottom:24px !important;
  }

  .ad-showcase-content{
    padding:clamp(26px,3vw,52px) clamp(24px,4vw,72px) clamp(30px,4vw,66px) !important;
    justify-content:flex-end !important;
    align-items:flex-start !important;
  }

  .ad-showcase .hero-actions{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    margin-top:14px !important;
    padding:0 !important;
    overflow:visible !important;
  }

  .ad-showcase .hero-actions .btn{
    width:auto !important;
    min-width:150px !important;
    min-height:44px !important;
    padding:10px 18px !important;
    border-radius:15px !important;
    font-size:14px !important;
    white-space:nowrap !important;
  }
}

/* Mobile: give the banner enough visual height, show full image, then place buttons below it */
@media (max-width:760px){
  .hero.hero-ad-stage{
    padding:14px 0 22px !important;
  }

  .ad-showcase,
  .ad-showcase.js-hero-slider{
    width:calc(100% - 24px) !important;
    margin:0 auto 66px !important;
    aspect-ratio:auto !important;
    height:clamp(210px,58vw,300px) !important;
    min-height:210px !important;
    max-height:300px !important;
    overflow:visible !important;
    border-radius:18px !important;
    box-shadow:0 16px 42px rgba(0,0,0,.30) !important;
  }

  .hero-slide,
  .hero-slide.active{
    border-radius:18px !important;
  }

  .ad-showcase-media,
  .hero-slide .ad-showcase-media{
    border-radius:18px !important;
    object-fit:contain !important;
    object-position:center center !important;
    background:#071426 !important;
  }

  .ad-showcase-overlay{
    display:none !important;
  }

  .ad-showcase-content{
    position:absolute !important;
    inset:0 !important;
    height:100% !important;
    padding:0 !important;
    display:block !important;
    pointer-events:none !important;
  }

  .ad-showcase-content .eyebrow,
  .ad-showcase-content h2,
  .ad-showcase-content p{
    display:none !important;
  }

  .ad-showcase .hero-actions{
    position:absolute !important;
    top:calc(100% + 10px) !important;
    left:0 !important;
    right:0 !important;
    bottom:auto !important;
    z-index:20 !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:7px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    pointer-events:auto !important;
  }

  .ad-showcase .hero-actions .btn{
    width:100% !important;
    min-width:0 !important;
    min-height:38px !important;
    padding:7px 4px !important;
    border-radius:13px !important;
    font-size:clamp(10px,2.75vw,12px) !important;
    line-height:1.45 !important;
    white-space:normal !important;
    box-shadow:0 8px 22px rgba(0,0,0,.24) !important;
  }

  .hero-bottom-grid{
    margin-top:0 !important;
    padding-top:0 !important;
    position:relative !important;
    z-index:1 !important;
  }
}

@media (max-width:420px){
  .ad-showcase,
  .ad-showcase.js-hero-slider{
    width:calc(100% - 20px) !important;
    height:clamp(200px,60vw,270px) !important;
    min-height:200px !important;
    margin-bottom:62px !important;
    border-radius:16px !important;
  }

  .hero-slide,
  .hero-slide.active,
  .ad-showcase-media,
  .hero-slide .ad-showcase-media{
    border-radius:16px !important;
  }

  .ad-showcase .hero-actions{
    top:calc(100% + 9px) !important;
    gap:6px !important;
  }

  .ad-showcase .hero-actions .btn{
    min-height:36px !important;
    padding:6px 3px !important;
    border-radius:12px !important;
  }
}


/* ==============================
   v76 - Premium dropdown navigation
   ============================== */
.main-dropdown-menu{
  position:relative;
  gap:10px;
  flex-wrap:nowrap;
  overflow:visible;
}
.main-dropdown-menu .menu-link,
.main-dropdown-menu > a,
.menu-dropdown > summary{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 14px;
  border-radius:16px;
  color:#f8fafc;
  font-weight:950;
  font-size:14px;
  line-height:1.5;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  white-space:nowrap;
  cursor:pointer;
  transition:.18s ease;
}
.main-dropdown-menu .menu-link:hover,
.main-dropdown-menu > a:hover,
.menu-dropdown[open] > summary{
  background:linear-gradient(135deg,rgba(250,204,21,.18),rgba(56,189,248,.12));
  border-color:rgba(250,204,21,.28);
  color:#fff;
  transform:translateY(-1px);
}
.menu-dropdown{
  position:relative;
  display:inline-flex;
  align-items:center;
  z-index:50;
}
.menu-dropdown > summary{
  list-style:none;
  user-select:none;
}
.menu-dropdown > summary::-webkit-details-marker{display:none}
.menu-dropdown > summary::after{
  content:"⌄";
  font-size:13px;
  color:#facc15;
  margin-inline-start:2px;
  transition:.18s ease;
}
.menu-dropdown[open] > summary::after{transform:rotate(180deg)}
.dropdown-panel{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  z-index:1000;
  min-width:240px;
  padding:12px;
  border-radius:22px;
  background:rgba(8,15,30,.96);
  border:1px solid rgba(250,204,21,.22);
  box-shadow:0 24px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(18px);
  animation:navDropIn .18s ease both;
}
@keyframes navDropIn{
  from{opacity:0;transform:translateY(8px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.dropdown-panel::before{
  content:"";
  position:absolute;
  top:-7px;
  right:26px;
  width:14px;
  height:14px;
  background:rgba(8,15,30,.96);
  border-top:1px solid rgba(250,204,21,.22);
  border-right:1px solid rgba(250,204,21,.22);
  transform:rotate(-45deg);
}
.dropdown-panel a,
.menu-department a,
.all-courses-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  color:#e5e7eb;
  font-size:13px;
  font-weight:850;
  border:1px solid transparent;
  background:transparent;
  white-space:normal;
  text-align:right;
  line-height:1.8;
}
.dropdown-panel a:hover,
.menu-department a:hover,
.all-courses-link:hover{
  background:rgba(56,189,248,.12);
  border-color:rgba(56,189,248,.18);
  color:#fff;
}
.dropdown-panel a::before,
.menu-department a::before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:999px;
  background:linear-gradient(135deg,#facc15,#38bdf8);
  box-shadow:0 0 16px rgba(56,189,248,.35);
}
.course-mega-panel{
  width:min(620px,calc(100vw - 32px));
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  right:auto;
  left:50%;
  transform:translateX(-50%);
}
.course-mega-panel::before{
  right:auto;
  left:50%;
  transform:translateX(-50%) rotate(-45deg);
}
.menu-department{
  min-width:0;
  padding:10px;
  border-radius:18px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);
  max-height:350px;
  overflow:auto;
  scrollbar-width:thin;
}
.menu-department strong{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 8px;
  padding:8px 10px;
  border-radius:12px;
  color:#facc15;
  font-size:14px;
  font-weight:950;
  background:rgba(250,204,21,.08);
}
.menu-department strong::after{
  content:"";
  height:1px;
  flex:1;
  background:linear-gradient(90deg,transparent,rgba(250,204,21,.45));
}
.all-courses-link{
  grid-column:1/-1;
  justify-content:center;
  background:linear-gradient(135deg,rgba(37,99,235,.55),rgba(14,165,233,.35));
  border-color:rgba(125,211,252,.22);
  color:#fff;
}
.nav-login-btn{white-space:nowrap;flex:0 0 auto}
.course-card{scroll-margin-top:120px}
#about,#vision,#knowledge-base,#courses,#register,#contact{scroll-margin-top:120px}

@media(min-width:1101px){
  .menu-dropdown:hover > .dropdown-panel{display:grid}
  .menu-dropdown:not([open]):not(:hover) > .dropdown-panel{display:none}
  .menu-dropdown[open] > .dropdown-panel{display:grid}
  .compact-panel{display:flex!important;flex-direction:column}
  .menu-dropdown:not([open]):not(:hover) > .compact-panel{display:none!important}
}

@media(max-width:1100px){
  .nav{align-items:stretch!important;flex-direction:column!important}
  .main-dropdown-menu{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    overflow:visible!important;
    gap:8px;
    padding:4px 0 2px;
  }
  .main-dropdown-menu > a,
  .menu-dropdown,
  .menu-dropdown > summary{
    width:100%;
  }
  .main-dropdown-menu .menu-link,
  .main-dropdown-menu > a,
  .menu-dropdown > summary{
    min-height:46px;
    padding:10px 12px;
    border-radius:18px;
    background:rgba(255,255,255,.075);
    font-size:14px;
  }
  .menu-dropdown{display:block}
  .dropdown-panel,
  .course-mega-panel{
    position:static;
    width:100%;
    min-width:0;
    margin-top:8px;
    transform:none;
    grid-column:1/-1;
    box-shadow:0 16px 42px rgba(0,0,0,.28);
  }
  .dropdown-panel::before{display:none}
  .course-mega-panel{
    grid-template-columns:1fr;
    max-height:360px;
    overflow:auto;
  }
  .compact-panel{display:flex;flex-direction:column}
  .nav-login-btn{width:100%;min-height:54px;border-radius:18px}
}

@media(max-width:520px){
  .main-dropdown-menu{grid-template-columns:1fr 1fr}
  .main-dropdown-menu .menu-link,
  .main-dropdown-menu > a,
  .menu-dropdown > summary{font-size:13px;padding:9px 8px}
  .home-link{grid-column:1/-1}
  .course-mega-panel{max-height:310px}
}

/* ==============================
   v77 - RTL dropdown behavior fixes
   ============================== */
.nav{
  direction:rtl;
  justify-content:flex-start!important;
}
.brand{
  direction:rtl;
  text-align:right;
  margin-inline-end:0;
  margin-inline-start:auto;
}
.main-dropdown-menu{
  direction:rtl;
  justify-content:flex-start!important;
  text-align:right;
  margin-inline-start:0;
  margin-inline-end:0;
}
.main-dropdown-menu .menu-link,
.main-dropdown-menu > a,
.menu-dropdown > summary{
  direction:rtl;
  text-align:right;
}
.menu-dropdown > summary::after{
  margin-inline-start:8px;
  margin-inline-end:0;
}
.dropdown-panel{
  direction:rtl;
  text-align:right;
  right:0;
  left:auto;
}
.dropdown-panel a,
.menu-department a,
.all-courses-link{
  direction:rtl;
  text-align:right;
  justify-content:flex-start;
}
.dropdown-panel a::before,
.menu-department a::before{
  order:0;
}
.course-mega-panel{
  right:50%;
  left:auto;
  transform:translateX(50%);
}
.course-mega-panel::before{
  right:50%;
  left:auto;
  transform:translateX(50%) rotate(-45deg);
}
.menu-department strong{
  direction:rtl;
  text-align:right;
}
.menu-department strong::after{
  background:linear-gradient(270deg,transparent,rgba(250,204,21,.45));
}

@media(min-width:1101px){
  .main-dropdown-menu{
    flex:1 1 auto;
    min-width:0;
  }
  .nav-login-btn{
    margin-inline-start:0;
    margin-inline-end:auto;
  }
}

@media(max-width:1100px){
  .nav{
    direction:rtl;
  }
  .brand{
    margin-inline-start:0;
    width:100%;
    justify-content:flex-start;
  }
  .main-dropdown-menu{
    direction:rtl;
    text-align:right;
  }
  .dropdown-panel,
  .course-mega-panel{
    right:auto;
    left:auto;
    transform:none!important;
  }
}



/* Vision / Excellence section - editable two-column layout - v79 */
.vision-excellence-section{
  padding-top:26px;
}

.vision-editable-layout{
  align-items:stretch;
}

.vision-text-block{
  border-radius:30px;
  padding:30px 30px;
  background:
    radial-gradient(circle at 100% 0%,rgba(212,165,58,.14),transparent 32%),
    linear-gradient(135deg,rgba(15,23,42,.88),rgba(15,31,58,.82));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 50px rgba(0,0,0,.20);
  display:flex;
  align-items:center;
}

.vision-section-head{
  width:100%;
  margin:0!important;
}

.vision-kicker{
  display:inline-flex;
  align-items:center;
  padding:8px 15px;
  border-radius:999px;
  background:rgba(212,165,58,.12);
  border:1px solid rgba(212,165,58,.35);
  color:#f8d77a;
  font-weight:950;
  margin-bottom:12px;
}

.vision-text-block h2{
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(28px,3.7vw,44px);
  line-height:1.45;
}

.vision-body-text{
  margin:0!important;
  max-width:none!important;
  color:rgba(234,243,255,.90)!important;
  font-size:clamp(15px,1.4vw,18px)!important;
  line-height:2.25!important;
  text-align:justify;
  text-align-last:right;
  white-space:pre-line;
  word-spacing:normal;
  letter-spacing:0;
}

.vision-image-card{
  min-height:460px;
  border-color:rgba(212,165,58,.28);
  box-shadow:0 22px 65px rgba(0,0,0,.28);
}

.vision-image-card::before,
.vision-image-card::after{
  display:none!important;
}

.vision-image-card img{
  width:100%;
  height:100%;
  min-height:460px;
  display:block;
  object-fit:cover;
  object-position:center center;
}

.vision-admin-preview{
  max-width:520px;
}

.vision-admin-preview img{
  width:100%;
  max-height:260px;
  object-fit:cover;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.12);
  display:block;
}

@media(max-width:1000px){
  .vision-text-block{
    padding:24px 22px;
  }
  .vision-image-card,
  .vision-image-card img{
    min-height:360px;
  }
}

@media(max-width:640px){
  .vision-excellence-section{
    padding-top:18px;
  }
  .vision-text-block{
    border-radius:24px;
    padding:22px 18px;
  }
  .vision-text-block h2{
    font-size:27px;
  }
  .vision-kicker{
    font-size:13px;
  }
  .vision-body-text{
    font-size:15px!important;
    line-height:2.05!important;
    text-align:justify;
  }
  .vision-image-card,
  .vision-image-card img{
    min-height:300px;
    border-radius:24px;
  }
}


/* =========================================================
   v80 - Final typography and image-fit fix for About/Vision
   - Vision text font matches About text
   - About and Vision paragraphs are justified
   - Vision image fills its side box cleanly without distortion
   ========================================================= */
.about-text-block .lead,
.vision-body-text{
  font-size:16px!important;
  line-height:2.05!important;
  text-align:justify!important;
  text-align-last:right!important;
  color:rgba(234,243,255,.90)!important;
  word-spacing:normal!important;
  letter-spacing:0!important;
}

.vision-text-block h2{
  font-size:32px!important;
  line-height:1.55!important;
  margin-bottom:14px!important;
}

.vision-text-block{
  padding:28px 30px!important;
}

.vision-image-card{
  min-height:0!important;
  height:100%!important;
  align-self:stretch!important;
  border-radius:30px!important;
  overflow:hidden!important;
}

.vision-image-card img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:inherit!important;
}

@media(max-width:1000px){
  .vision-image-card{
    aspect-ratio:1200/850!important;
    height:auto!important;
  }
  .vision-image-card img{
    height:100%!important;
  }
}

@media(max-width:640px){
  .about-text-block .lead,
  .vision-body-text{
    font-size:14px!important;
    line-height:2!important;
    text-align:justify!important;
    text-align-last:right!important;
  }

  .vision-text-block h2{
    font-size:25px!important;
    line-height:1.55!important;
  }

  .vision-text-block{
    padding:20px 18px!important;
  }

  .vision-image-card{
    aspect-ratio:1200/850!important;
    min-height:0!important;
    height:auto!important;
    border-radius:24px!important;
  }
}

/* ===== Knowledge Base v81 ===== */
.knowledge-topbar{direction:rtl;gap:18px}
.knowledge-topbar .menu{display:flex;gap:10px;align-items:center;justify-content:flex-start;flex-wrap:wrap}
.knowledge-topbar .menu a{color:#eaf3ff;text-decoration:none;padding:12px 16px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);font-weight:900}
.knowledge-page-shell{max-width:1240px;margin:0 auto;padding:34px 18px 70px;direction:rtl}
.knowledge-hero{display:grid;grid-template-columns:1.55fr .85fr;gap:24px;align-items:stretch;margin-bottom:28px}
.knowledge-hero-text,.knowledge-hero-card{border-radius:34px;background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(15,31,58,.94));border:1px solid rgba(56,189,248,.2);box-shadow:0 22px 60px rgba(2,6,23,.28);padding:34px;position:relative;overflow:hidden}
.knowledge-hero-text:before{content:"";position:absolute;inset:-90px auto auto -80px;width:260px;height:260px;border-radius:50%;background:rgba(212,165,58,.18);filter:blur(8px)}
.knowledge-hero .section-kicker{display:inline-flex;padding:9px 16px;border-radius:999px;background:rgba(212,165,58,.12);border:1px solid rgba(212,165,58,.34);color:#f8d77a;font-weight:900;margin-bottom:14px}
.knowledge-hero h1{margin:0 0 16px;font-size:clamp(34px,5vw,64px);line-height:1.35;color:#fff}
.knowledge-hero p{max-width:760px;margin:0;color:rgba(234,243,255,.86);font-size:17px;line-height:2.05;text-align:justify;text-align-last:right}
.knowledge-filter-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.knowledge-filter-tabs a{color:#eaf3ff;text-decoration:none;font-weight:900;padding:12px 18px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06)}
.knowledge-filter-tabs a.active,.knowledge-filter-tabs a:hover{background:linear-gradient(135deg,#d4a53a,#f7cf69);color:#111827;border-color:rgba(247,207,105,.7)}
.knowledge-hero-card{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;background:radial-gradient(circle at top left,rgba(56,189,248,.2),transparent 34%),linear-gradient(135deg,rgba(2,16,34,.96),rgba(15,23,42,.94))}
.knowledge-hero-card span{color:#f8d77a;font-weight:900}
.knowledge-hero-card strong{font-size:32px;line-height:1.55;color:#fff}
.knowledge-hero-card small{color:rgba(234,243,255,.72);font-size:15px}
.knowledge-list-section{border-radius:34px;background:rgba(15,23,42,.58);border:1px solid rgba(255,255,255,.1);padding:24px;box-shadow:0 18px 48px rgba(2,6,23,.2)}
.knowledge-list-title{margin-bottom:18px}
.knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.knowledge-card{background:linear-gradient(135deg,rgba(15,23,42,.98),rgba(17,34,61,.94));border:1px solid rgba(255,255,255,.12);border-radius:26px;padding:22px;min-height:250px;display:flex;flex-direction:column;box-shadow:0 16px 40px rgba(2,6,23,.22)}
.knowledge-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.knowledge-type{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:rgba(56,189,248,.12);border:1px solid rgba(56,189,248,.28);color:#bdeaff;font-weight:900;font-size:13px}
.knowledge-card h3{margin:0 0 12px;color:#fff;font-size:21px;line-height:1.65}
.knowledge-card p{margin:0;color:rgba(234,243,255,.78);font-size:15px;line-height:2;text-align:justify;text-align-last:right;white-space:pre-line}
.knowledge-actions{margin-top:auto;display:flex;gap:10px;flex-wrap:wrap;padding-top:18px}
.knowledge-actions .btn{padding:11px 16px;border-radius:15px;text-decoration:none}
.knowledge-empty{grid-column:1/-1;text-align:center;padding:42px 18px;border-radius:24px;background:rgba(255,255,255,.05);border:1px dashed rgba(255,255,255,.18);color:#dbeafe;font-weight:900}
.mini-download-link{display:inline-flex;margin-bottom:10px;text-decoration:none}.knowledge-admin-table textarea{min-width:280px}.knowledge-admin-table input[type=file]{min-width:220px}
@media(max-width:1000px){.knowledge-hero{grid-template-columns:1fr}.knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-topbar{align-items:stretch}.knowledge-topbar .menu{justify-content:center}}
@media(max-width:640px){.knowledge-page-shell{padding:18px 12px 54px}.knowledge-hero-text,.knowledge-hero-card{padding:24px 18px;border-radius:26px}.knowledge-hero h1{font-size:34px}.knowledge-hero p{font-size:15px;line-height:2}.knowledge-grid{grid-template-columns:1fr}.knowledge-list-section{padding:14px;border-radius:26px}.knowledge-card{border-radius:22px}.knowledge-filter-tabs a{flex:1 1 auto;text-align:center}.knowledge-topbar .brand{justify-content:center}.knowledge-topbar .menu{display:grid;grid-template-columns:1fr 1fr}.knowledge-topbar .menu a{text-align:center}}

/* Knowledge base v82: cover image + safer admin forms */
.knowledge-card{overflow:hidden;padding:0!important}
.knowledge-card-image{width:100%;aspect-ratio:16/9;background:linear-gradient(135deg,rgba(56,189,248,.14),rgba(212,165,58,.12));border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;overflow:hidden}
.knowledge-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.knowledge-card-image-empty span{font-size:48px;filter:drop-shadow(0 10px 22px rgba(2,6,23,.3))}
.knowledge-card .knowledge-card-head,.knowledge-card h3,.knowledge-card p,.knowledge-card .knowledge-actions{margin-left:22px;margin-right:22px}
.knowledge-card .knowledge-card-head{margin-top:18px}
.knowledge-card .knowledge-actions{margin-bottom:22px}
.knowledge-admin-thumb{width:150px;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:rgba(15,23,42,.72);border:1px solid rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;color:#cbd5e1;font-weight:900;margin-bottom:10px}
.knowledge-admin-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.knowledge-admin-table th,.knowledge-admin-table td{vertical-align:top}
.knowledge-admin-table input[type=file]{max-width:260px}
@media(max-width:760px){
  .knowledge-admin-thumb{width:100%;max-width:260px}
  .knowledge-card .knowledge-card-head,.knowledge-card h3,.knowledge-card p,.knowledge-card .knowledge-actions{margin-left:18px;margin-right:18px}
  .knowledge-card .knowledge-actions{margin-bottom:18px}
}

/* Knowledge base polished header - v85 */
.knowledge-page-shell{
  padding-top:26px!important;
}
.knowledge-school-slogan{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:22px;
  align-items:center;
  margin:0 0 24px;
  padding:26px 30px;
  border-radius:34px;
  background:
    radial-gradient(circle at top right,rgba(212,165,58,.18),transparent 28%),
    radial-gradient(circle at bottom left,rgba(56,189,248,.18),transparent 32%),
    linear-gradient(135deg,rgba(10,18,32,.98),rgba(14,31,56,.96));
  border:1px solid rgba(212,165,58,.28);
  box-shadow:0 24px 70px rgba(2,6,23,.34);
  direction:rtl;
}
.knowledge-school-slogan:before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.06);
  pointer-events:none;
}
.knowledge-school-logo{
  width:104px;
  height:104px;
  border-radius:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(212,165,58,.32);
  box-shadow:inset 0 0 28px rgba(212,165,58,.08),0 16px 35px rgba(2,6,23,.22);
  position:relative;
  z-index:1;
}
.knowledge-school-logo img{
  width:82px;
  height:82px;
  object-fit:contain;
  filter:drop-shadow(0 10px 18px rgba(2,6,23,.35));
}
.knowledge-school-copy{
  position:relative;
  z-index:1;
  text-align:right;
}
.knowledge-school-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(212,165,58,.12);
  border:1px solid rgba(212,165,58,.32);
  color:#f8d77a;
  font-weight:900;
  margin-bottom:10px;
}
.knowledge-school-copy h1{
  margin:0 0 8px;
  color:#fff;
  font-size:clamp(26px,3.2vw,44px);
  line-height:1.55;
  letter-spacing:-.4px;
}
.knowledge-school-copy p{
  margin:0;
  max-width:880px;
  color:rgba(234,243,255,.82);
  font-size:16px;
  line-height:2;
  text-align:justify;
  text-align-last:right;
}
.knowledge-hero-premium{
  grid-template-columns:1.35fr .95fr!important;
  gap:22px!important;
}
.knowledge-hero-premium .knowledge-hero-text,
.knowledge-resource-panel{
  border-color:rgba(212,165,58,.24)!important;
  background:
    linear-gradient(135deg,rgba(15,23,42,.97),rgba(10,35,61,.95))!important;
}
.knowledge-hero-premium .knowledge-hero-text{
  padding:32px 34px!important;
}
.knowledge-hero-premium .section-kicker{
  background:rgba(56,189,248,.11)!important;
  border-color:rgba(56,189,248,.28)!important;
  color:#bdeaff!important;
}
.knowledge-hero-premium h2{
  margin:0 0 14px;
  color:#fff;
  font-size:clamp(30px,4vw,54px);
  line-height:1.45;
}
.knowledge-hero-premium p{
  font-size:16px!important;
  line-height:2.05!important;
  color:rgba(234,243,255,.84)!important;
}
.knowledge-filter-tabs{
  gap:12px!important;
}
.knowledge-filter-tabs a{
  min-width:112px;
  text-align:center;
  border-radius:18px!important;
  background:rgba(255,255,255,.075)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.knowledge-filter-tabs a.active,
.knowledge-filter-tabs a:hover{
  background:linear-gradient(135deg,#d4a53a,#f7cf69)!important;
  color:#101827!important;
}
.knowledge-resource-panel{
  align-items:stretch!important;
  justify-content:center!important;
  gap:14px!important;
  padding:30px!important;
}
.knowledge-resource-badge{
  align-self:flex-start;
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  color:#f8d77a;
  font-weight:900;
  background:rgba(212,165,58,.12);
  border:1px solid rgba(212,165,58,.30);
}
.knowledge-resource-panel strong{
  font-size:clamp(26px,3vw,38px)!important;
  color:#fff;
}
.knowledge-resource-panel small{
  line-height:2!important;
  color:rgba(234,243,255,.78)!important;
}
.knowledge-resource-mini-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:8px;
}
.knowledge-resource-mini-grid span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:10px;
  border-radius:18px;
  font-weight:900;
  color:#eaf3ff;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.10);
}
.knowledge-list-section-premium{
  background:
    radial-gradient(circle at top right,rgba(56,189,248,.08),transparent 30%),
    rgba(15,23,42,.62)!important;
  border-color:rgba(212,165,58,.16)!important;
}
.knowledge-list-section-premium .section-title-row h2{
  color:#fff;
  font-size:clamp(24px,3vw,36px);
}
.knowledge-list-section-premium .mini{
  color:rgba(234,243,255,.68);
}
.knowledge-card{
  border-color:rgba(212,165,58,.15)!important;
}
.knowledge-card:hover{
  transform:translateY(-3px);
  border-color:rgba(212,165,58,.36)!important;
  box-shadow:0 22px 54px rgba(2,6,23,.34)!important;
}

@media(max-width:1000px){
  .knowledge-school-slogan{grid-template-columns:1fr;text-align:center;justify-items:center;padding:24px 20px}
  .knowledge-school-copy{text-align:center}
  .knowledge-school-copy p{text-align:center;text-align-last:center}
  .knowledge-hero-premium{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  .knowledge-page-shell{padding-top:16px!important}
  .knowledge-school-slogan{border-radius:26px;padding:22px 16px;gap:14px}
  .knowledge-school-logo{width:84px;height:84px;border-radius:22px}
  .knowledge-school-logo img{width:66px;height:66px}
  .knowledge-school-eyebrow{font-size:13px}
  .knowledge-school-copy h1{font-size:24px;line-height:1.65}
  .knowledge-school-copy p{font-size:14px;line-height:1.9}
  .knowledge-hero-premium .knowledge-hero-text,
  .knowledge-resource-panel{padding:22px 16px!important;border-radius:26px!important}
  .knowledge-hero-premium h2{font-size:30px}
  .knowledge-resource-mini-grid{grid-template-columns:1fr}
  .knowledge-filter-tabs{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important}
  .knowledge-filter-tabs a{min-width:0;padding:11px 10px!important}
}

/* Knowledge page final polish - v86 */
.knowledge-school-slogan{
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:18px!important;
  padding:22px 28px!important;
  margin-bottom:22px!important;
  background:
    radial-gradient(circle at top right,rgba(212,165,58,.15),transparent 30%),
    linear-gradient(135deg,rgba(9,16,30,.98),rgba(13,26,48,.96))!important;
}
.knowledge-school-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  text-align:right!important;
}
.knowledge-school-copy h1{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(24px,3vw,38px)!important;
  line-height:1.45!important;
  font-weight:950!important;
}
.knowledge-school-copy p{
  margin:4px 0 0!important;
  max-width:none!important;
  color:rgba(234,243,255,.82)!important;
  font-size:clamp(14px,1.45vw,17px)!important;
  line-height:1.9!important;
  text-align:right!important;
  text-align-last:right!important;
  font-weight:700!important;
}
.knowledge-school-eyebrow{display:none!important}

.knowledge-hero-premium{
  grid-template-columns:minmax(0,1.42fr) minmax(320px,.88fr)!important;
  gap:24px!important;
  margin-bottom:30px!important;
}
.knowledge-hero-premium .knowledge-hero-text{
  padding:36px 38px!important;
  background:
    radial-gradient(circle at top right,rgba(56,189,248,.12),transparent 32%),
    linear-gradient(135deg,rgba(11,21,39,.98),rgba(13,35,61,.95))!important;
}
.knowledge-hero-premium h2{
  font-size:clamp(34px,4vw,56px)!important;
  letter-spacing:-.4px!important;
}
.knowledge-hero-premium p{
  max-width:850px!important;
  font-size:16px!important;
  line-height:2.1!important;
}
.knowledge-resource-panel{
  position:relative!important;
  padding:30px 28px!important;
  overflow:hidden!important;
  border-color:rgba(212,165,58,.36)!important;
  background:
    radial-gradient(circle at 18% 10%,rgba(247,207,105,.25),transparent 24%),
    radial-gradient(circle at 92% 82%,rgba(56,189,248,.16),transparent 32%),
    linear-gradient(145deg,rgba(12,24,44,.98),rgba(7,17,32,.98))!important;
}
.knowledge-resource-panel:before{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  border-radius:50%;
  left:-70px;
  top:-80px;
  background:rgba(212,165,58,.18);
  filter:blur(10px);
}
.knowledge-resource-panel:after{
  content:"✦";
  position:absolute;
  left:28px;
  top:24px;
  color:rgba(247,207,105,.55);
  font-size:38px;
  line-height:1;
}
.knowledge-resource-badge,
.knowledge-resource-panel strong,
.knowledge-resource-panel small,
.knowledge-resource-mini-grid{position:relative;z-index:1}
.knowledge-resource-badge{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(247,207,105,.38)!important;
  color:#f7cf69!important;
}
.knowledge-resource-panel strong{
  margin-top:4px!important;
  font-size:clamp(28px,3.2vw,42px)!important;
  color:#fff!important;
}
.knowledge-resource-panel small{
  display:block!important;
  font-size:15px!important;
  line-height:2.05!important;
  color:rgba(234,243,255,.82)!important;
  max-width:420px!important;
}
.knowledge-resource-mini-grid{
  grid-template-columns:1fr!important;
  gap:10px!important;
  margin-top:12px!important;
}
.knowledge-resource-mini-grid span{
  justify-content:flex-start!important;
  min-height:64px!important;
  padding:12px 14px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.035))!important;
  border:1px solid rgba(247,207,105,.18)!important;
  color:#fff!important;
  gap:8px!important;
  flex-direction:column!important;
  align-items:flex-start!important;
}
.knowledge-resource-mini-grid span b{
  display:block;
  color:#f8d77a;
  font-size:16px;
  line-height:1.4;
}
.knowledge-resource-mini-grid span em{
  display:block;
  color:rgba(234,243,255,.72);
  font-style:normal;
  font-size:13px;
  line-height:1.5;
}

@media(max-width:1000px){
  .knowledge-school-slogan{grid-template-columns:auto minmax(0,1fr)!important;text-align:right!important;justify-items:stretch!important}
  .knowledge-school-copy{align-items:flex-start!important;text-align:right!important}
  .knowledge-school-copy p{text-align:right!important;text-align-last:right!important}
  .knowledge-hero-premium{grid-template-columns:1fr!important}
  .knowledge-resource-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:640px){
  .knowledge-school-slogan{grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;padding:20px 16px!important}
  .knowledge-school-copy{align-items:center!important;text-align:center!important}
  .knowledge-school-copy h1{font-size:22px!important;text-align:center!important}
  .knowledge-school-copy p{font-size:14px!important;text-align:center!important;text-align-last:center!important}
  .knowledge-hero-premium .knowledge-hero-text{padding:24px 18px!important}
  .knowledge-hero-premium h2{font-size:30px!important}
  .knowledge-resource-panel{padding:24px 18px!important}
  .knowledge-resource-mini-grid{grid-template-columns:1fr!important}
}


/* v87: Knowledge page header fix - remove duplicate top navigation spacing */
.knowledge-page-shell{
  padding-top: clamp(18px, 3vw, 34px);
}
.knowledge-school-slogan{
  margin-top: 0;
}
@media(max-width:720px){
  .knowledge-page-shell{
    padding-top: 14px;
  }
}


/* v88: Knowledge page header like main site, single Home button */
.knowledge-site-shell{
  min-height:100vh;
  background:
    radial-gradient(circle at top right,rgba(124,58,237,.14),transparent 34%),
    radial-gradient(circle at 12% 18%,rgba(56,189,248,.10),transparent 24%),
    linear-gradient(135deg,#071426,#0f172a 56%,#111827);
}
.knowledge-main-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(15,23,42,.92);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.knowledge-nav{
  direction:rtl;
  justify-content:space-between!important;
  max-width:1240px;
  margin:0 auto;
}
.knowledge-main-header .brand{
  margin-inline-start:auto!important;
  margin-inline-end:0!important;
}
.knowledge-header-menu{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:0 0 auto!important;
  margin-inline-start:0!important;
  margin-inline-end:0!important;
}
.knowledge-header-menu .menu-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:10px 18px!important;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#f8fafc!important;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 10px 24px rgba(2,6,23,.16);
}
.knowledge-header-menu .menu-link:hover{
  background:rgba(212,165,58,.18);
  border-color:rgba(212,165,58,.38);
  color:#fff!important;
}
.knowledge-page-shell{
  padding-top:clamp(28px,4vw,46px)!important;
}

@media(max-width:1000px){
  .knowledge-main-header .menu{
    display:flex!important;
  }
  .knowledge-nav{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:12px!important;
  }
  .knowledge-main-header .brand{
    width:100%;
    justify-content:flex-start!important;
    margin-inline-start:0!important;
  }
  .knowledge-header-menu{
    width:100%!important;
  }
  .knowledge-header-menu .menu-link{
    width:100%;
    min-height:54px;
  }
}

@media(max-width:640px){
  .knowledge-nav{
    padding:12px 14px!important;
  }
  .knowledge-main-header .brand h1{
    font-size:17px!important;
    line-height:1.55!important;
  }
  .knowledge-main-header .brand p{
    display:block!important;
    font-size:12px!important;
    line-height:1.7!important;
  }
  .knowledge-page-shell{
    padding-top:18px!important;
  }
}


/* v89: Knowledge page final header RTL + remove duplicate school banner */
.knowledge-main-header .knowledge-nav{
  direction:rtl;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  text-align:right!important;
}
.knowledge-main-header .brand{
  order:1;
  margin-inline-start:0!important;
  margin-inline-end:0!important;
  justify-content:flex-start!important;
  text-align:right!important;
}
.knowledge-main-header .brand > span:last-child{
  text-align:right!important;
}
.knowledge-main-header .brand-logo{
  order:0;
}
.knowledge-header-menu{
  order:2;
  margin-inline-start:auto!important;
  margin-inline-end:0!important;
  justify-content:flex-end!important;
}
.knowledge-school-slogan{
  display:none!important;
}
.knowledge-page-shell{
  padding-top:clamp(28px,4vw,42px)!important;
}

@media(max-width:1000px){
  .knowledge-main-header .knowledge-nav{
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
  }
  .knowledge-main-header .brand{
    width:100%;
    justify-content:flex-start!important;
  }
  .knowledge-header-menu{
    width:100%!important;
    margin-inline-start:0!important;
  }
}


/* ==============================
   v90 - Main page login button matches menu buttons
   ============================== */
.site-header .nav .nav-login-btn{
  min-height:42px !important;
  height:auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  padding:9px 16px !important;
  border-radius:16px !important;
  color:#f8fafc !important;
  font-weight:950 !important;
  font-size:14px !important;
  line-height:1.5 !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04) !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  cursor:pointer !important;
  flex:0 0 auto !important;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease !important;
}

.site-header .nav .nav-login-btn::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:linear-gradient(135deg,#facc15,#38bdf8);
  box-shadow:0 0 16px rgba(56,189,248,.35);
  flex:0 0 7px;
}

.site-header .nav .nav-login-btn:hover,
.site-header .nav .nav-login-btn:focus-visible{
  background:linear-gradient(135deg,rgba(250,204,21,.18),rgba(56,189,248,.12)) !important;
  border-color:rgba(250,204,21,.28) !important;
  color:#fff !important;
  transform:translateY(-1px) !important;
  box-shadow:0 14px 32px rgba(2,6,23,.22), inset 0 1px 0 rgba(255,255,255,.07) !important;
  outline:none !important;
}

@media(min-width:1101px){
  .site-header .nav .nav-login-btn{
    margin-inline-start:0 !important;
    margin-inline-end:auto !important;
  }
}

@media(max-width:1100px){
  .site-header .nav .nav-login-btn{
    width:100% !important;
    min-height:46px !important;
    padding:10px 12px !important;
    border-radius:18px !important;
    font-size:14px !important;
    background:rgba(255,255,255,.075) !important;
  }
}

@media(max-width:520px){
  .site-header .nav .nav-login-btn{
    min-height:44px !important;
    font-size:13px !important;
    padding:9px 10px !important;
  }
}

/* =========================================================
   v99 - Final homepage hero banner frame + manual controls
   هدف: بنرهای صفحه اصلی از قالب بیرون نزنند، کامل دیده شوند و کاربر بتواند دستی بین بنرها جابه‌جا شود.
   فقط ظاهر و رفتار اسلایدر تغییر می‌کند؛ دیتای بنرها دستکاری نمی‌شود.
   ========================================================= */
.hero.hero-ad-stage{
  width:100% !important;
  max-width:1240px !important;
  margin:0 auto !important;
  padding:22px 18px 34px !important;
  display:block !important;
  overflow:visible !important;
}

.ad-showcase,
.ad-showcase.js-hero-slider{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  aspect-ratio:1910 / 800 !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 auto !important;
  overflow:hidden !important;
  border-radius:34px !important;
  background:#071426 !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 24px 70px rgba(2,6,23,.42) !important;
  contain:layout paint;
}

.hero-slide{
  border-radius:34px !important;
  overflow:hidden !important;
}

.ad-showcase-media,
.hero-slide .ad-showcase-media{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#071426 !important;
  border-radius:34px !important;
}

.ad-showcase-placeholder,
.hero-slide .ad-showcase-placeholder{
  width:100% !important;
  height:100% !important;
  border-radius:34px !important;
}

.ad-showcase-overlay{
  border-radius:34px !important;
  pointer-events:none !important;
}

.ad-showcase-content{
  pointer-events:none !important;
}

.ad-showcase .hero-actions,
.ad-showcase .hero-actions a,
.hero-slider-btn,
.hero-slider-dots,
.hero-slider-dot{
  pointer-events:auto !important;
}

.hero-slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:30;
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(15,23,42,.58);
  color:#fff;
  font-size:34px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  backdrop-filter:blur(12px);
  box-shadow:0 14px 34px rgba(0,0,0,.32);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}

.hero-slider-btn:hover{
  transform:translateY(-50%) scale(1.05);
  background:rgba(15,23,42,.78);
  border-color:rgba(250,204,21,.48);
}

.hero-slider-prev{right:18px;}
.hero-slider-next{left:18px;}

.hero-slider-dots{
  position:absolute;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  z-index:31;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(15,23,42,.48);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(12px);
  box-shadow:0 14px 30px rgba(0,0,0,.24);
}

.hero-slider-dot{
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.45);
  cursor:pointer;
  transition:width .18s ease,background .18s ease,transform .18s ease;
}

.hero-slider-dot.active{
  width:28px;
  background:#facc15;
  transform:scale(1.02);
}

.js-hero-slider.single-slide .hero-slider-btn,
.js-hero-slider.single-slide .hero-slider-dots{
  display:none !important;
}

@media (min-width:761px){
  .hero.hero-ad-stage{
    padding-top:24px !important;
  }

  .ad-showcase,
  .ad-showcase.js-hero-slider{
    min-height:0 !important;
  }

  .ad-showcase-content{
    padding:clamp(26px,3vw,52px) clamp(24px,4vw,72px) clamp(56px,5vw,84px) !important;
  }

  .ad-showcase .hero-actions{
    margin-top:12px !important;
  }

  .hero-bottom-grid{
    max-width:1240px !important;
    margin:24px auto 0 !important;
    padding:0 !important;
  }
}

@media (max-width:760px){
  .hero.hero-ad-stage{
    width:100% !important;
    max-width:100% !important;
    padding:14px 12px 26px !important;
  }

  .ad-showcase,
  .ad-showcase.js-hero-slider{
    width:100% !important;
    margin:0 auto 72px !important;
    aspect-ratio:1910 / 800 !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    border-radius:20px !important;
  }

  .hero-slide,
  .hero-slide.active,
  .ad-showcase-media,
  .hero-slide .ad-showcase-media,
  .ad-showcase-placeholder,
  .hero-slide .ad-showcase-placeholder{
    border-radius:20px !important;
  }

  .ad-showcase-overlay,
  .ad-showcase-content .eyebrow,
  .ad-showcase-content h2,
  .ad-showcase-content p{
    display:none !important;
  }

  .ad-showcase-content{
    position:absolute !important;
    inset:0 !important;
    height:100% !important;
    padding:0 !important;
    display:block !important;
    pointer-events:none !important;
  }

  .ad-showcase .hero-actions{
    position:absolute !important;
    top:calc(100% + 12px) !important;
    left:0 !important;
    right:0 !important;
    bottom:auto !important;
    z-index:25 !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
  }

  .ad-showcase .hero-actions .btn{
    width:100% !important;
    min-width:0 !important;
    min-height:38px !important;
    padding:7px 5px !important;
    border-radius:13px !important;
    font-size:clamp(10px,2.8vw,12px) !important;
    line-height:1.45 !important;
    white-space:normal !important;
    box-shadow:0 9px 22px rgba(0,0,0,.24) !important;
  }

  .hero-slider-btn{
    top:50% !important;
    width:36px;
    height:36px;
    font-size:26px;
    background:rgba(15,23,42,.56);
  }

  .hero-slider-prev{right:8px;}
  .hero-slider-next{left:8px;}

  .hero-slider-dots{
    bottom:8px;
    gap:6px;
    padding:6px 8px;
  }

  .hero-slider-dot{
    width:7px;
    height:7px;
  }

  .hero-slider-dot.active{
    width:22px;
  }

  .hero-bottom-grid{
    margin-top:0 !important;
    padding:0 !important;
  }
}

@media (max-width:420px){
  .hero.hero-ad-stage{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .ad-showcase,
  .ad-showcase.js-hero-slider{
    margin-bottom:68px !important;
    border-radius:17px !important;
  }

  .hero-slide,
  .hero-slide.active,
  .ad-showcase-media,
  .hero-slide .ad-showcase-media,
  .ad-showcase-placeholder,
  .hero-slide .ad-showcase-placeholder{
    border-radius:17px !important;
  }

  .ad-showcase .hero-actions{
    top:calc(100% + 10px) !important;
    gap:6px !important;
  }

  .ad-showcase .hero-actions .btn{
    min-height:36px !important;
    padding:6px 3px !important;
    border-radius:12px !important;
  }
}


/* Scroll to top button - v100 */
.scroll-top-btn{
  position:fixed;
  left:24px;
  bottom:26px;
  z-index:9998;
  width:54px;
  height:54px;
  border:1px solid rgba(212,165,58,.45);
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#fff7d6;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.26), transparent 32%),
    linear-gradient(135deg, rgba(245,158,11,.96), rgba(180,83,9,.94));
  box-shadow:0 18px 45px rgba(2,6,23,.34), 0 0 0 6px rgba(212,165,58,.08);
  opacity:0;
  visibility:hidden;
  transform:translateY(18px) scale(.92);
  transition:opacity .22s ease, transform .22s ease, visibility .22s ease, box-shadow .22s ease;
}

.scroll-top-btn.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

.scroll-top-btn span{
  font-size:30px;
  line-height:1;
  font-weight:900;
  transform:translateY(-1px);
}

.scroll-top-btn:hover{
  transform:translateY(-3px) scale(1.02);
  box-shadow:0 22px 55px rgba(2,6,23,.42), 0 0 0 7px rgba(212,165,58,.13);
}

.scroll-top-btn:active{
  transform:translateY(0) scale(.98);
}

@media(max-width:760px){
  .scroll-top-btn{
    left:16px;
    bottom:86px;
    width:48px;
    height:48px;
    border-radius:16px;
  }

  .scroll-top-btn span{
    font-size:27px;
  }
}

@media(max-width:420px){
  .scroll-top-btn{
    left:14px;
    bottom:82px;
    width:46px;
    height:46px;
    border-radius:15px;
  }
}


/* =========================================================
   v101 - Scroll-to-top real fix + hide banner category label
   ========================================================= */
.ad-showcase-content .eyebrow{
  display:none !important;
}

.scroll-top-btn{
  z-index:2147483000 !important;
  border:0 !important;
  outline:0 !important;
}

.scroll-top-btn.show{
  display:flex !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

@media(max-width:760px){
  .scroll-top-btn{
    left:16px !important;
    bottom:96px !important;
  }
}

/* =========================================================
   v226 - Central site admin panel polish
   Header, dashboard, section collapse, quick sidebar, back-to-top
   ========================================================= */
.site-admin-v2{
  background:
    radial-gradient(circle at 15% 10%, rgba(56,189,248,.12), transparent 28%),
    radial-gradient(circle at 86% 4%, rgba(250,204,21,.10), transparent 26%),
    linear-gradient(180deg,#061226 0%,#071426 52%,#050b16 100%);
}
.site-admin-v2 .admin-wrap{
  max-width:1360px;
  padding:20px clamp(14px,2.2vw,28px) 70px;
}
.central-admin-header{
  align-items:center;
  border:1px solid rgba(56,189,248,.20);
  background:
    linear-gradient(135deg, rgba(15,23,42,.96), rgba(10,28,52,.94)),
    radial-gradient(circle at top right, rgba(250,204,21,.10), transparent 36%);
  box-shadow:0 18px 50px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
}
.central-admin-brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:260px;
}
.central-admin-logo{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:linear-gradient(145deg, rgba(250,204,21,.22), rgba(14,165,233,.12));
  border:1px solid rgba(250,204,21,.32);
  box-shadow:0 14px 35px rgba(0,0,0,.22);
  overflow:hidden;
  flex:0 0 auto;
}
.central-admin-logo img{width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.34))}
.central-admin-header h1{font-size:25px;margin:0 0 4px;color:#fff;letter-spacing:-.4px}
.central-admin-header .muted{margin:0;color:#b8c7dc;font-weight:800}
.central-admin-actions{
  justify-content:flex-end;
  align-items:center;
  gap:10px;
}
.central-admin-actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  border-radius:16px;
  padding:11px 15px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  text-decoration:none;
  white-space:nowrap;
}
.central-admin-actions .btn span{font-size:16px;line-height:1}
.site-admin-v2 .admin-section-nav{
  top:112px;
  border-color:rgba(56,189,248,.18);
  background:rgba(8,21,38,.82);
  box-shadow:0 14px 36px rgba(0,0,0,.22);
}
.site-admin-v2 .admin-section-nav a{
  background:linear-gradient(135deg, rgba(30,41,59,.92), rgba(15,23,42,.85));
  border-color:rgba(148,163,184,.16);
  transition:.18s ease;
}
.site-admin-v2 .admin-section-nav a:hover{
  transform:translateY(-1px);
  border-color:rgba(56,189,248,.45);
  box-shadow:0 10px 22px rgba(14,165,233,.16);
}
.site-admin-v2 .admin-card{
  position:relative;
  overflow:visible;
  border:1px solid rgba(56,189,248,.16);
  background:linear-gradient(180deg, rgba(17,24,39,.88), rgba(9,22,42,.86));
  box-shadow:0 18px 48px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04);
}
.site-admin-v2 .section-title-row{
  align-items:center;
  padding-bottom:10px;
  border-bottom:1px solid rgba(148,163,184,.12);
}
.site-admin-v2 .section-title-row h2{margin:0;color:#38bdf8;letter-spacing:-.4px}
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#fde68a;
  background:rgba(250,204,21,.09);
  border:1px solid rgba(250,204,21,.18);
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  margin-bottom:8px;
}
.central-card-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin-inline-start:auto;
}
.central-collapse-btn{
  appearance:none;
  border:1px solid rgba(56,189,248,.30);
  background:linear-gradient(135deg,rgba(37,99,235,.92),rgba(124,58,237,.92));
  color:#fff;
  min-height:40px;
  padding:8px 13px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-family:inherit;
  font-weight:900;
  box-shadow:0 12px 26px rgba(37,99,235,.20);
  transition:.18s ease;
}
.central-collapse-btn:hover{transform:translateY(-1px);filter:brightness(1.06)}
.central-collapse-icon{
  width:24px;height:24px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.14);font-size:18px;line-height:1
}
.central-card-body{padding-top:14px}
.admin-card.is-collapsed{padding-bottom:14px}
.admin-card.is-collapsed .section-title-row{border-bottom:0;padding-bottom:0;margin-bottom:0}
.admin-card.is-collapsed .central-collapse-btn{background:linear-gradient(135deg,#0ea5e9,#2563eb)}
.central-dashboard-card{
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(56,189,248,.18), transparent 26%),
    radial-gradient(circle at 88% 0%, rgba(250,204,21,.12), transparent 24%),
    linear-gradient(135deg, rgba(13,33,59,.94), rgba(9,18,35,.92));
}
.dashboard-title-row{border-bottom:0!important;margin-bottom:12px!important}
.central-stat-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.central-stat{
  position:relative;
  min-height:154px;
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  text-align:right;
  padding:22px 20px;
  overflow:hidden;
  isolation:isolate;
  transition:.2s ease;
}
.central-stat::before{
  content:"";
  position:absolute;
  inset:auto -20% -35% -20%;
  height:92px;
  background:radial-gradient(circle, rgba(56,189,248,.22), transparent 65%);
  z-index:-1;
}
.central-stat:hover{transform:translateY(-3px);border-color:rgba(56,189,248,.45);box-shadow:0 18px 36px rgba(14,165,233,.16)}
.central-stat.hot{background:linear-gradient(135deg,rgba(124,58,237,.20),rgba(14,165,233,.13))}
.central-stat .stat-icon{
  width:42px;height:42px;border-radius:15px;display:grid;place-items:center;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);font-size:22px;margin-bottom:10px;
}
.central-stat strong{font-size:38px;line-height:1;color:#38bdf8;text-shadow:0 0 22px rgba(56,189,248,.18)}
.central-stat span:not(.stat-icon){font-size:15px;color:#f8fafc;font-weight:950;margin-top:8px}
.central-stat em{font-style:normal;color:#9fb1c8;font-size:12px;font-weight:900;margin-top:5px}
.central-side-panel{
  position:fixed;
  right:18px;
  top:180px;
  width:245px;
  z-index:80;
  display:flex;
  align-items:flex-start;
  gap:8px;
  pointer-events:none;
}
.central-side-panel *{pointer-events:auto}
.central-side-toggle{
  display:none;
  border:0;
  color:#fff;
  background:linear-gradient(135deg,#38bdf8,#7c3aed);
  border-radius:999px;
  padding:12px 14px;
  font-family:inherit;
  font-weight:950;
  box-shadow:0 16px 34px rgba(37,99,235,.26);
  cursor:pointer;
  gap:8px;
  align-items:center;
}
.central-side-body{
  width:100%;
  background:rgba(10,22,41,.88);
  border:1px solid rgba(56,189,248,.22);
  border-radius:22px;
  padding:13px;
  box-shadow:0 18px 44px rgba(0,0,0,.30);
  backdrop-filter:blur(14px);
}
.central-side-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:2px 4px 10px;
}
.central-side-head>strong{display:block;color:#fde68a;font-size:13px;white-space:nowrap}
.central-side-hide{
  border:1px solid rgba(248,113,113,.22);
  color:#fee2e2;
  background:linear-gradient(135deg,rgba(127,29,29,.55),rgba(30,41,59,.55));
  border-radius:999px;
  padding:7px 10px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  font-family:inherit;
  font-weight:950;
  font-size:12px;
  transition:.16s ease;
}
.central-side-hide:hover{transform:translateY(-1px);border-color:rgba(248,113,113,.45);background:linear-gradient(135deg,rgba(220,38,38,.72),rgba(30,41,59,.62))}
.central-side-hide span{width:18px;height:18px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.10);font-size:16px;line-height:1}
.central-side-links{display:flex;flex-direction:column;gap:7px;max-height:58vh;overflow:auto;padding-left:2px}
.central-side-links a{
  color:#dbeafe;
  text-decoration:none;
  border:1px solid rgba(148,163,184,.12);
  background:rgba(15,23,42,.72);
  border-radius:13px;
  padding:9px 11px;
  font-size:13px;
  font-weight:900;
  transition:.16s ease;
}
.central-side-links a:hover,.central-side-links a.is-active{background:rgba(14,165,233,.18);border-color:rgba(56,189,248,.38);color:#fff}
.central-side-panel.is-closed .central-side-body{display:none}
.central-side-panel.is-closed{width:auto}
.central-side-panel.is-closed .central-side-toggle{display:flex}
.central-backtop{
  position:fixed;
  left:22px;
  bottom:24px;
  z-index:85;
  width:58px;
  height:58px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:20px;
  color:#fff;
  background:linear-gradient(135deg,#38bdf8,#7c3aed);
  box-shadow:0 18px 38px rgba(37,99,235,.32);
  font-size:30px;
  line-height:1;
  cursor:pointer;
  opacity:0;
  transform:translateY(18px) scale(.9);
  pointer-events:none;
  transition:.18s ease;
}
.central-backtop.is-visible{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
@media(max-width:1280px){
  .central-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .central-side-panel{right:12px;top:auto;bottom:92px;width:auto;display:block}
  .central-side-toggle{display:flex}
  .central-side-body{position:absolute;right:0;bottom:56px;width:min(290px,calc(100vw - 28px));max-height:60vh}
}
@media(max-width:1000px){
  .central-admin-header{position:relative!important;top:auto!important;flex-direction:column;align-items:stretch}
  .central-admin-actions{justify-content:stretch;display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .central-admin-actions .btn{width:100%}
  .central-stat-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .central-admin-brand{align-items:flex-start}.central-admin-logo{width:50px;height:50px;border-radius:17px}.central-admin-logo img{width:42px;height:42px}
  .central-admin-header h1{font-size:20px}.central-admin-header .muted{font-size:13px}
  .central-admin-actions{grid-template-columns:1fr}.central-stat-grid{grid-template-columns:1fr}.central-stat{min-height:132px}
  .central-card-tools{width:100%;justify-content:stretch;margin-top:10px}.central-collapse-btn{width:100%;justify-content:center}
  .site-admin-v2 .section-title-row{align-items:stretch}.site-admin-v2 .section-title-row h2{font-size:22px}
  .central-backtop{left:16px;bottom:18px;width:54px;height:54px;border-radius:18px}
  .central-side-panel{right:14px;bottom:84px}.central-side-toggle b{display:none}.central-side-toggle{width:54px;height:54px;border-radius:18px;justify-content:center;padding:0}.central-side-toggle span{font-size:22px}
}

/* =========================================================
   v289 - Hero teaser sound control
   هدف: ویدئوی بنر اصلی برای Autoplay بی‌صدا شروع شود و کاربر با دکمه بتواند صدا را فعال/قطع کند.
   فقط ظاهر و رفتار بنر تغییر می‌کند؛ دیتای بنرها و تنظیمات مدیریت دست‌نخورده می‌ماند.
   ========================================================= */
.ad-showcase .hero-sound-btn{
  position:absolute;
  right:18px;
  bottom:16px;
  z-index:34;
  display:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:9px 15px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  background:rgba(15,23,42,.66);
  box-shadow:0 14px 34px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  font-family:VazirmatnLocal,Tahoma,Arial,sans-serif;
  font-size:13px;
  font-weight:950;
  line-height:1.5;
  cursor:pointer;
  pointer-events:auto!important;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ad-showcase .hero-sound-btn:hover,
.ad-showcase .hero-sound-btn:focus-visible{
  transform:translateY(-2px);
  background:rgba(15,23,42,.86);
  border-color:rgba(250,204,21,.50);
  box-shadow:0 18px 42px rgba(0,0,0,.36), 0 0 0 5px rgba(250,204,21,.08);
  outline:none;
}
.ad-showcase .hero-sound-icon{
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(250,204,21,.16);
  font-size:15px;
  line-height:1;
}
.ad-showcase .hero-sound-text{
  white-space:nowrap;
}
.ad-showcase .hero-sound-btn[aria-pressed="true"]{
  background:linear-gradient(135deg,rgba(245,158,11,.92),rgba(14,165,233,.76));
  border-color:rgba(255,255,255,.22);
}
.ad-showcase .hero-sound-btn[aria-pressed="true"] .hero-sound-icon{
  background:rgba(2,6,23,.22);
}

@media(max-width:760px){
  .ad-showcase .hero-sound-btn{
    right:10px;
    bottom:46px;
    min-height:34px;
    padding:6px 10px;
    border-radius:14px;
    font-size:11px;
    gap:6px;
  }
  .ad-showcase .hero-sound-icon{
    width:22px;
    height:22px;
    font-size:13px;
  }
}

@media(max-width:420px){
  .ad-showcase .hero-sound-btn{
    right:8px;
    bottom:42px;
    min-height:32px;
    padding:5px 8px;
    font-size:10px;
  }
}
