:root{
  --ink:#17256b; --blue:#243be8; --blue2:#4b66ff; --purple:#7045ee;
  --green:#20a15a; --orange:#f48b25; --pink:#d20a68;
  --soft:#f5f7ff; --line:#e4e8f7; --muted:#525d7d;
}
*{box-sizing:border-box}
body.landing-page{margin:0;background:linear-gradient(180deg,#f5f8ff 0%,#fff 38%,#f7f9ff 100%);color:#172047;font-family:Vazirmatn,Tahoma,Arial,sans-serif;overflow-x:hidden}
.landing-page a{text-decoration:none;color:inherit}
.landing-page::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 20%,rgba(73,96,255,.08),transparent 28%),radial-gradient(circle at 85% 10%,rgba(112,69,238,.07),transparent 25%);z-index:-1}

.site-nav{width:min(949px,calc(100% - 23.4px));margin:11.7px auto 0;min-height:50.7px;border-radius:15.6px;background:rgba(255,255,255,.92);box-shadow:0 7.8px 22.75px rgba(31,52,130,.10);display:flex;align-items:center;gap:19.5px;padding:7.8px 14.3px;position:relative;z-index:10;border:1px solid rgba(226,231,250,.9)}
.nav-brand{display:flex;align-items:center;gap:6.5px;white-space:nowrap;color:var(--ink);font-size:11.75px;font-weight:800}.nav-logo{width:31.2px;height:31.2px;border-radius:9.1px;background:linear-gradient(135deg,#eef1ff,#fff);display:grid;place-items:center;color:var(--blue);box-shadow:inset 0 0 0 1px #e3e7ff}.nav-logo svg{width:20.8px;height:20.8px}.nav-links{display:flex;align-items:center;justify-content:center;gap:20.8px;flex:1}.nav-links a{font-weight:700;color:#26305a;transition:.25s}.nav-links a:hover{color:var(--blue);transform:translateY(-2px)}.nav-contact{border-radius:9.1px;background:linear-gradient(135deg,var(--blue),#5168ff);color:#fff!important;padding:5.5px 8.5px;font-weight:800;font-size:10px;box-shadow:0 7px 11px rgba(36,59,232,.22)}

main{width:min(949px,calc(100% - 23.4px));margin:auto}
.hero-section{min-height:396.5px;margin:13px 0 15.6px;border-radius:19.5px;position:relative;overflow:hidden;background:#eef3ff url('hero-building-new.webp') left center/58% 100% no-repeat;box-shadow:0 14.3px 35.75px rgba(36,59,232,.16);border:1px solid rgba(214,221,249,.9);isolation:isolate}
.hero-section::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(238,243,255,.02) 0%,rgba(238,243,255,.02) 35%,rgba(242,246,255,.25) 48%,rgba(248,250,255,.84) 68%,#f8faff 100%)}
.hero-section::after{content:"";position:absolute;inset:auto -10% -20% 35%;height:55%;background:radial-gradient(ellipse,rgba(89,111,255,.20),transparent 62%);filter:blur(6.5px);z-index:0;animation:heroGlow 7s ease-in-out infinite alternate}
.hero-visual{position:absolute;inset:0;z-index:1;pointer-events:none}.landing-bg{display:none}.visual-orb,.visual-ring,.visual-shimmer,.hero-spark{display:none}
.hero-copy{position:relative;z-index:3;width:50%;margin-right:0;margin-left:0;padding:50.7px 37.7px 33.8px 35.75px;text-align:right;min-height:396.5px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.hero-eyebrow{font-size:11.1px;font-weight:800;color:#3f4f86;display:flex;align-items:center;gap:9px;margin-bottom:11.7px}.hero-eyebrow span{display:inline-block;width:18.2px;height:3px;border-radius:5px;background:linear-gradient(90deg,var(--blue),var(--purple))}
.hero-copy h1{font-size:clamp(22.1px,3.6vw,37.7px);line-height:1.2;margin:0;color:var(--ink);letter-spacing:-2px;font-weight:900}.hero-copy h1 strong{color:#d52422;position:relative}.hero-copy h1 strong::after{content:"";position:absolute;right:0;bottom:-8px;width:100%;height:7px;border-radius:64.35px;background:linear-gradient(90deg,rgba(213,36,34,0),rgba(213,36,34,.28));filter:blur(2px)}
.hero-copy>p{font-size:13.05px;line-height:1.9;color:#394466;margin:15.6px 0 18.2px;max-width:390px}
.hero-benefits{display:flex;gap:11.7px;width:100%;max-width:422.5px;margin-bottom:18.2px}.hero-benefits>div{display:grid;grid-template-columns:28.6px 1fr;column-gap:6.5px;align-items:center;flex:1;min-width:0}.hero-benefits i{width:28.6px;height:28.6px;border-radius:8.45px;display:grid;place-items:center;background:#fff;box-shadow:0 8px 14.3px rgba(40,60,130,.11);grid-row:span 2}.hero-benefits i svg{width:16.25px;height:16.25px}.hero-benefits .blue{color:var(--blue)}.hero-benefits .green{color:var(--green)}.hero-benefits .purple{color:var(--purple)}.hero-benefits b{font-size:10.45px;color:#202b59}.hero-benefits small{font-size:9.15px;color:#626d8d}
.strategic-plan-btn{display:flex;align-items:center;gap:8.45px;background:linear-gradient(135deg,#263de8,#563ef0);color:#fff!important;border-radius:11.7px;padding:8.45px 11.7px;min-width:253.5px;box-shadow:0 9.1px 19.5px rgba(46,60,220,.25);position:relative;overflow:hidden;transition:.25s}.strategic-plan-btn::after{content:"";position:absolute;top:-40%;bottom:-40%;width:58.5px;right:-120px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);transform:skewX(-20deg);animation:shine 4.5s infinite}.strategic-plan-btn:hover{transform:translateY(-3px);box-shadow:0 11.7px 22.1px rgba(46,60,220,.32)}.strategic-plan-icon{width:31.2px;height:31.2px;border-radius:9.1px;background:rgba(255,255,255,.14);display:grid;place-items:center}.strategic-plan-icon svg{width:18.2px;height:18.2px}.strategic-plan-btn span:nth-child(2){display:flex;flex-direction:column;gap:3px}.strategic-plan-btn b{font-size:11.1px}.strategic-plan-btn small{font-size:8.5px;opacity:.82}.strategic-plan-btn>strong{font-size:18.25px;margin-right:auto}

.access-section{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:0 0 16.9px}.access-card{background:#fff;border:1px solid var(--line);border-radius:15.6px;padding:14.3px;display:flex;align-items:center;gap:13px;box-shadow:0 8.45px 19.5px rgba(40,55,120,.08);transition:.3s;position:relative;overflow:hidden}.access-card::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--blue),#7a5cff);opacity:.9}.admin-card::before{background:linear-gradient(180deg,var(--green),#51c989)}.access-card:hover{transform:translateY(-5px);box-shadow:0 11.7px 24.7px rgba(40,55,120,.13)}.access-art{width:48.1px;height:48.1px;border-radius:14.3px;display:grid;place-items:center;flex:none}.access-art svg{width:27.3px;height:27.3px}.register-art{background:#eef1ff;color:var(--blue)}.admin-art{background:#eaf9f1;color:var(--green)}.access-body{flex:1}.access-label{font-size:9.8px;color:#707a98}.access-body h2{font-size:14.35px;margin:4px 0 8px;color:var(--ink)}.access-body p{margin:0 0 8.45px;color:#727b96;font-size:10.45px;line-height:1.9}.access-button{display:inline-flex;align-items:center;gap:8px;background:#edf0ff;color:var(--blue);padding:6.5px 9.1px;border-radius:7.8px;font-size:9.8px;font-weight:800}.admin-card .access-button{background:#e9f8ef;color:#17824a}

.news-section{background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:16.9px;padding:18.2px;margin-bottom:16.9px;box-shadow:0 7.8px 19.5px rgba(40,55,120,.06)}.section-topline{height:3px;display:flex;justify-content:flex-end;gap:6px;margin-bottom:11.7px}.section-topline span:first-child{width:45.5px;border-radius:64.35px;background:var(--blue)}.section-topline span:last-child{width:10.4px;border-radius:64.35px;background:var(--orange)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:13px;direction:ltr}.section-heading>div{direction:rtl;text-align:right}.section-heading small{color:var(--blue);font-weight:800}.section-heading h2{font-size:18.9px;margin:2px 0 0;color:var(--ink);font-weight:900}.section-heading>a{color:var(--blue);font-weight:800;font-size:11.1px;border:1px solid #dce2ff;padding:6.5px 10.4px;border-radius:8.45px;background:#f7f8ff}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10.4px}.news-card{border:1px solid #e6e9f3;border-radius:13px;padding:11.7px;background:#fff;box-shadow:0 7px 13px rgba(50,60,110,.06);transition:.25s}.news-card:hover{transform:translateY(-4px);box-shadow:0 9.1px 18.2px rgba(50,60,110,.10)}.news-card-head{display:flex;align-items:center;justify-content:space-between;direction:rtl}.news-icon{width:28.6px;height:28.6px;border-radius:8.45px;display:grid;place-items:center}.news-icon svg{width:16.25px;height:16.25px}.news-card time{font-size:9.15px;color:#8b92a8}.news-card h3{font-size:11.75px;color:#202b59;margin:10.4px 0 9px}.news-card p{font-size:9.8px;line-height:1.9;color:#7b8298;min-height:44.2px;margin:0}.news-more{display:flex;justify-content:space-between;color:var(--blue);font-size:9.8px;font-weight:800;margin-top:8.45px}.tone-red .news-icon{background:#fff0f1;color:#dc3b46}.tone-green .news-icon{background:#eaf8f0;color:#1b9b59}.tone-blue .news-icon{background:#eef1ff;color:var(--blue)}.tone-purple .news-icon{background:#f2edff;color:var(--purple)}

.about-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10.4px;margin-bottom:18.2px}.about-strip>div{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px;text-align:right;box-shadow:0 8px 14.3px rgba(40,55,120,.05)}.about-strip i{display:grid;place-items:center;width:28.6px;height:28.6px;border-radius:8.45px;background:#eef1ff;color:var(--blue);margin-bottom:7.8px}.about-strip i svg{width:16.25px;height:16.25px}.about-strip b{display:block;color:#2b3364;font-size:11.1px}.about-strip span{display:block;color:#7a8298;font-size:9.15px;line-height:1.9;margin-top:5px}

.site-footer{background:#182568;color:#fff;border-radius:16.9px 16.9px 0 0;padding:22.75px 20.8px;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:19.5px}.footer-col{display:flex;flex-direction:column;gap:9px}.footer-brand strong{font-size:13.7px}.footer-brand span{color:#aeb9ee;font-size:10.45px}.footer-brand p{color:#d0d6f2;font-size:9.8px;line-height:2;max-width:338px}.footer-col h3{font-size:10.45px;margin:0 0 6px}.footer-contact span,.footer-socials small{font-size:9.8px;color:#d0d6f2}.social-row{display:flex;gap:9px;direction:rtl}.social-row a{width:26px;height:26px;border-radius:7.8px;display:grid;place-items:center;background:#2b3a8e;color:#fff;font-weight:900;transition:.2s}.social-row a:hover{transform:translateY(-3px);background:#4355bb}.copyright{text-align:center;background:#111a4e;color:#aeb8e7;font-size:9.15px;padding:7.8px}

@keyframes shine{0%,55%{right:-130px}75%,100%{right:120%}}@keyframes heroGlow{from{transform:translateX(-3%) scale(.96);opacity:.55}to{transform:translateX(3%) scale(1.03);opacity:.9}}
@media(max-width:682.5px){.nav-links{gap:11.7px}.hero-section{background-size:54% 100%}.hero-copy{width:58%;padding-right:22.75px}.hero-copy h1{font-size:34.5px}.news-grid{grid-template-columns:repeat(2,1fr)}.about-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:494px){.site-nav{flex-wrap:wrap;padding:7.8px 9.75px}.nav-links{order:3;width:100%;overflow:auto;justify-content:flex-start;padding:4px 0}.nav-contact{display:none}main{width:min(100% - 13px,949px)}.hero-section{min-height:455px;background-size:auto 100%;background-position:35% center}.hero-section::before{background:linear-gradient(180deg,rgba(248,250,255,.15) 0%,rgba(248,250,255,.35) 28%,rgba(248,250,255,.94) 58%,#f8faff 100%)}.hero-copy{width:100%;min-height:455px;padding:27.3px 15.6px 19.5px;justify-content:flex-end;align-items:stretch}.hero-copy h1{font-size:25.4px}.hero-copy>p{font-size:11.75px}.hero-benefits{gap:8px}.hero-benefits>div{grid-template-columns:22.75px 1fr}.hero-benefits i{width:22.75px;height:22.75px}.hero-benefits b{font-size:9.15px}.hero-benefits small{font-size:11px}.strategic-plan-btn{min-width:0;width:100%}.access-section{grid-template-columns:1fr}.news-grid,.about-strip{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr}.section-heading h2{font-size:16.3px}}

/* v13 - compact desktop proportions */
@media (min-width: 494.65px){
  .site-nav{min-height:45.5px;padding:6.5px 13px;margin-top:9.75px;gap:16.9px}
  .nav-logo{width:28.6px;height:28.6px}.nav-logo svg{width:18.85px;height:18.85px}.nav-brand{font-size:11.1px}.nav-links{gap:17.55px}.nav-contact{padding:6.5px 10.4px}
  .hero-section{min-height:351px;margin:11.05px 0 13px;border-radius:17.55px}
  .hero-copy{min-height:351px;padding:37.7px 31.2px 27.3px 29.9px}
  .hero-eyebrow{font-size:9.8px;margin-bottom:8.45px}.hero-eyebrow span{width:15.6px;height:2px}
  .hero-copy h1{font-size:clamp(19.5px,3.15vw,32.5px);letter-spacing:-1.5px}
  .hero-copy h1 strong::after{bottom:-6px;height:5px}
  .hero-copy>p{font-size:11.75px;line-height:1.8;margin:11.7px 0 13.65px}
  .hero-benefits{gap:9.1px;max-width:396.5px;margin-bottom:13.65px}.hero-benefits>div{grid-template-columns:24.7px 1fr;column-gap:8px}.hero-benefits i{width:24.7px;height:24.7px;border-radius:7.15px}.hero-benefits i svg{width:14.3px;height:14.3px}.hero-benefits b{font-size:9.8px}.hero-benefits small{font-size:8.5px}
  .strategic-plan-btn{min-width:227.5px;padding:7.15px 9.75px;border-radius:10.4px}.strategic-plan-icon{width:27.3px;height:27.3px;border-radius:7.8px}.strategic-plan-icon svg{width:16.25px;height:16.25px}.strategic-plan-btn b{font-size:10.45px}.strategic-plan-btn small{font-size:11px}.strategic-plan-btn>strong{font-size:16.3px}
  .access-section{gap:10.4px;margin-bottom:13px}.access-card{border-radius:13.65px;padding:11.7px;gap:10.4px}.access-art{width:41.6px;height:41.6px;border-radius:12.35px}.access-art svg{width:24.05px;height:24.05px}.access-body h2{font-size:13.05px}.access-body p{font-size:9.8px;line-height:1.8;margin-bottom:6.5px}.access-button{padding:8px 7.8px;font-size:9.15px}
  .news-section{border-radius:14.95px;padding:14.95px;margin-bottom:13px}.section-topline{margin-bottom:9.1px}.section-heading{margin-bottom:10.4px}.section-heading h2{font-size:16.95px}.section-heading>a{font-size:9.8px;padding:8px 8.45px}.news-grid{gap:8.45px}.news-card{border-radius:11.05px;padding:9.75px}.news-icon{width:25.35px;height:25.35px;border-radius:7.15px}.news-icon svg{width:14.3px;height:14.3px}.news-card h3{font-size:10.45px;margin:8.45px 0 7px}.news-card p{font-size:9.15px;line-height:1.8;min-height:39px}.news-more{font-size:9.15px;margin-top:6.5px}
  .about-strip{gap:8.45px;margin-bottom:14.3px}.about-strip>div{border-radius:11.05px;padding:10.4px}.about-strip i{width:25.35px;height:25.35px;border-radius:7.15px;margin-bottom:9px}.about-strip i svg{width:14.3px;height:14.3px}.about-strip b{font-size:10.45px}.about-strip span{font-size:8.5px;line-height:1.8}
  .site-footer{border-radius:14.95px 14.95px 0 0;padding:18.2px 18.2px;gap:16.25px}.footer-brand strong{font-size:12.4px}.footer-brand span{font-size:9.8px}.footer-brand p,.footer-contact span,.footer-socials small{font-size:9.15px}.social-row a{width:23.4px;height:23.4px;border-radius:6.5px}.copyright{font-size:8.5px;padding:6.5px}
}

/* v14 compact refinement */
@media (min-width: 494.65px){
  .site-nav{min-height:41.6px;padding:9px 11.7px;gap:15.6px;margin-top:9.1px}
  .nav-logo{width:27.3px;height:27.3px}.nav-logo svg{width:17.55px;height:17.55px}.nav-brand{font-size:10.45px}.nav-links{gap:15.6px}.nav-contact{padding:9px 9.1px}
  .hero-section{min-height:295.75px;margin:9.75px 0 11.7px;border-radius:15.6px}
  .hero-copy{min-height:295.75px;padding:27.3px 26px 20.8px 24.7px}
  .hero-eyebrow{font-size:9.15px;margin-bottom:6.5px}.hero-eyebrow span{width:14.3px;height:2px}
  .hero-copy h1{font-size:clamp(17.55px,2.7vw,27.95px);letter-spacing:-1.2px}
  .hero-copy h1 strong::after{bottom:-5px;height:4px}
  .hero-copy>p{font-size:10.45px;line-height:1.75;margin:9.1px 0 11.05px}
  .hero-benefits{gap:7.15px;max-width:364px;margin-bottom:11.05px}.hero-benefits>div{grid-template-columns:22.1px 1fr;column-gap:7px}.hero-benefits i{width:22.1px;height:22.1px;border-radius:6.5px}.hero-benefits i svg{width:13px;height:13px}.hero-benefits b{font-size:9.15px}.hero-benefits small{font-size:11px}
  .strategic-plan-btn{min-width:208px;padding:9px 8.45px;border-radius:9.1px}.strategic-plan-icon{width:24.7px;height:24.7px;border-radius:6.5px}.strategic-plan-icon svg{width:14.3px;height:14.3px}.strategic-plan-btn b{font-size:9.8px}.strategic-plan-btn small{font-size:10px}.strategic-plan-btn>strong{font-size:15px}
  .access-section{gap:9.1px;margin-bottom:13px}.access-card{border-radius:13px;padding:10.4px;gap:9.1px}.access-art{width:37.7px;height:37.7px;border-radius:11.05px}.access-art svg{width:22.1px;height:22.1px}.access-body h2{font-size:12.4px}.access-body p{font-size:9.15px;line-height:1.75;margin-bottom:9px}.access-button{padding:7px 7.15px;font-size:8.5px}
  .news-section{border-radius:14.3px;padding:14.3px;margin-bottom:13px}.section-heading{margin-bottom:9.75px}.section-heading h2{font-size:15.65px}.section-heading>a{font-size:9.15px;padding:7px 7.8px}.news-grid{gap:7.8px}.news-card{border-radius:10.4px;padding:9.1px}.news-icon{width:23.4px;height:23.4px;border-radius:6.5px}.news-icon svg{width:13px;height:13px}.news-card h3{font-size:10.45px;margin:7.8px 0 6px}.news-card p{font-size:8.5px;line-height:1.75;min-height:35.1px}.news-more{font-size:8.5px;margin-top:9px}
  .about-strip{gap:7.8px;margin-bottom:14.3px}.about-strip>div{border-radius:10.4px;padding:9.75px}.about-strip i{width:23.4px;height:23.4px;border-radius:6.5px;margin-bottom:8px}.about-strip i svg{width:13px;height:13px}.about-strip b{font-size:9.8px}.about-strip span{font-size:11px;line-height:1.75}
  .site-footer{border-radius:14.3px 14.3px 0 0;padding:17.55px 17.55px;gap:15.6px}.footer-brand strong{font-size:12.4px}.footer-brand span{font-size:9.15px}.footer-brand p,.footer-contact span,.footer-socials small{font-size:8.5px}.social-row a{width:22.1px;height:22.1px;border-radius:9px}.copyright{font-size:11px;padding:9px}
}
@media (max-width:494px){
  .hero-section{min-height:396.5px}.hero-copy{min-height:396.5px;padding:22.1px 13px 16.25px}.hero-copy h1{font-size:22.8px}.hero-copy>p{font-size:10.45px;margin:9.1px 0 11.7px}.strategic-plan-btn{padding:9px 7.8px}.access-card{padding:9.75px}.news-section{padding:13px}.section-heading h2{font-size:15px}
}

/* v19: top benefits removed; keep layout clean */
.hero-benefits{display:none!important}
/* v19: compact contact button */
.nav-contact{font-size:10px!important;padding:5.5px 8.5px!important}


/* Stable responsive layout override - keeps the landing page readable on desktop and mobile. */
.landing-page .site-nav,.landing-page main{width:min(1180px,calc(100% - 32px))}
.landing-page .site-nav{min-height:64px;margin-top:16px;padding:10px 18px;border-radius:18px}
.landing-page .nav-brand{font-size:14px;gap:9px}.landing-page .nav-logo{width:40px;height:40px;border-radius:11px}.landing-page .nav-logo svg{width:27px;height:27px}
.landing-page .nav-links{gap:28px}.landing-page .nav-links a{font-size:14px}.landing-page .nav-contact{padding:9px 15px;font-size:13px;border-radius:11px}
.landing-page .hero-section{min-height:500px;margin:18px 0 20px;border-radius:24px;background-size:58% 100%}
.landing-page .hero-copy{min-height:500px;padding:58px 54px 42px 50px}
.landing-page .hero-eyebrow{font-size:14px;margin-bottom:15px}.landing-page .hero-copy h1{font-size:clamp(30px,4vw,52px)}
.landing-page .hero-copy p{font-size:17px;line-height:2}
.landing-page .strategic-plan-btn{padding:15px 18px;border-radius:16px}
.landing-page .access-section{gap:18px;margin-bottom:22px}.landing-page .access-card{padding:20px;gap:18px;border-radius:20px}
.landing-page .news-section{padding:24px;border-radius:22px;margin-bottom:22px}.landing-page .news-grid{gap:16px}
.landing-page .news-card{padding:16px;border-radius:16px}.landing-page .about-strip{gap:14px;margin-bottom:24px}.landing-page .about-strip>div{padding:18px;border-radius:16px}
.landing-page .site-footer{padding:30px 26px;border-radius:22px 22px 0 0;gap:28px}.landing-page .copyright{padding:14px}
@media(max-width:900px){
 .landing-page .nav-links{gap:12px}.landing-page .nav-links a{font-size:12px}
 .landing-page .hero-section{background-size:52% 100%}.landing-page .hero-copy{width:58%;padding:45px 32px}
 .landing-page .about-strip{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
 .landing-page .site-nav,.landing-page main{width:min(100% - 20px,600px)}
 .landing-page .site-nav{margin-top:10px;min-height:auto;flex-wrap:wrap}.landing-page .nav-links{order:3;width:100%;overflow:auto;justify-content:flex-start;padding:4px 0}
 .landing-page .nav-contact{margin-inline-start:auto}
 .landing-page .hero-section{min-height:620px;background-size:100% 55%;background-position:center top}.landing-page .hero-copy{width:100%;min-height:620px;padding:300px 24px 28px;background:linear-gradient(180deg,transparent 30%,rgba(248,250,255,.92) 55%,#f8faff 100%)}
 .landing-page .hero-copy h1{font-size:32px;letter-spacing:-1px}.landing-page .hero-copy p{font-size:15px}
 .landing-page .access-section{grid-template-columns:1fr}.landing-page .about-strip{grid-template-columns:1fr}.landing-page .site-footer{grid-template-columns:1fr}
}
.home-gallery,.home-achievements{padding:70px 6vw;background:#fff}.home-gallery{background:#f7f9fc}.home-gallery-head,.home-achievements-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.home-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.home-gallery-card{position:relative;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.08);aspect-ratio:4/3}.home-gallery-card img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.home-gallery-card:hover img{transform:scale(1.05)}.home-gallery-card span{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.55);color:#fff;padding:7px 10px;border-radius:10px;font-size:.82rem}.home-achievements-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-achievement{padding:24px;border:1px solid #e7ebf1;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}.home-achievement .ach-icon{font-size:30px;margin-bottom:12px}.home-achievement h3{margin:0 0 8px}.home-achievement p{margin:0;color:#64748b;line-height:1.9}.home-achievement small{color:#8b5cf6}.home-source{display:block;margin-top:8px;font-size:.72rem;color:#94a3b8}@media(max-width:900px){.home-gallery-grid{grid-template-columns:repeat(2,1fr)}.home-achievements-grid{grid-template-columns:1fr}}@media(max-width:520px){.home-gallery-grid{grid-template-columns:1fr}.home-gallery,.home-achievements{padding:45px 5vw}}

/* ===== گالری و افتخارات: هماهنگ با کارت‌های اخبار ===== */
.home-gallery,.home-achievements{padding:34px 0;background:transparent}
.home-gallery-head,.home-achievements-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}
.home-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.home-gallery-card{overflow:hidden;border-radius:16px;padding:0;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.07);border:1px solid #e7ebf1;transition:.22s;display:flex;flex-direction:column}
.home-gallery-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(15,23,42,.11)}
.home-gallery-media{height:68px;overflow:hidden;background:#eef2f7;flex:none}
.home-gallery-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.home-gallery-card:hover img{transform:scale(1.03)}
.home-gallery-body{padding:12px 14px 13px;display:flex;flex-direction:column;flex:1}
.home-gallery-title-row{display:flex;justify-content:space-between;gap:10px;align-items:start}
.home-gallery-title-row h3{margin:0;font-size:14px;color:#202b59;line-height:1.6}
.home-gallery-title-row time{font-size:10px;color:#8b92a8;white-space:nowrap;padding-top:3px}
.home-gallery-body p{margin:7px 0 8px;color:#667085;line-height:1.85;font-size:11.5px;min-height:85px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.gallery-more{display:inline-flex;align-items:center;gap:4px;color:#5148e8;font-size:11px;font-weight:800;margin-top:auto;margin-bottom:8px}
.gallery-votes{display:flex;gap:7px}
.gallery-vote{border:1px solid #e2e8f0;background:#f8fafc;border-radius:8px;padding:5px 9px;font-size:10px;cursor:pointer;transition:.2s}
.gallery-vote:hover,.gallery-vote.selected{transform:translateY(-1px);background:#eef2ff;border-color:#c7d2fe}
.gallery-vote:disabled{cursor:default;opacity:.75}
.home-achievements-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-achievement{padding:18px;border:1px solid #e7ebf1;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.home-achievement .ach-icon{font-size:28px;margin-bottom:9px}.home-achievement h3{margin:0 0 7px;font-size:14px}.home-achievement p{margin:0;color:#667085;line-height:1.9;font-size:11.5px}.home-achievement small{color:#8b5cf6;font-size:10px}
@media(max-width:900px){.home-gallery-grid,.home-achievements-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.home-gallery-grid,.home-achievements-grid{grid-template-columns:1fr}.home-gallery,.home-achievements{padding:25px 0}.home-gallery-media{height:78px}}
/* صفحه جزئیات تصویر */
.gallery-detail-page{max-width:1000px;margin:24px auto;padding:0 18px 50px}
.gallery-detail-card{background:#fff;border:1px solid #e7ebf1;border-radius:20px;overflow:hidden;box-shadow:0 14px 40px rgba(15,23,42,.08)}
.gallery-detail-image{width:auto;max-width:44%;max-height:208px;height:auto;object-fit:contain;background:#f3f6fa;display:block;margin:20px auto;border-radius:12px}
.gallery-detail-body{padding:24px}
.gallery-detail-meta{display:flex;gap:12px;align-items:center;color:#8b92a8;font-size:11px;margin-bottom:10px}
.gallery-detail-body h1{margin:0 0 12px;font-size:24px;color:#202b59}
.gallery-detail-description{margin:0;color:#475467;line-height:2.1;font-size:14px;white-space:pre-line}
.gallery-detail-actions{display:flex;align-items:center;gap:9px;margin-top:20px}
.gallery-back{display:inline-flex;padding:9px 14px;border-radius:9px;background:#f1f5f9;color:#334155;font-size:11px;font-weight:700}
@media(max-width:600px){.gallery-detail-page{margin-top:12px;padding-inline:10px}.gallery-detail-body{padding:17px}.gallery-detail-body h1{font-size:20px}.gallery-detail-description{font-size:13px}.gallery-detail-image{max-width:55%;max-height:156px;margin:12px auto}}

/* v9 gallery sizing: harmonized with landing page cards */
.landing-page .home-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.landing-page .home-gallery-card{border-radius:14px}
.landing-page .home-gallery-media{height:62px}
.landing-page .home-gallery-body{padding:10px 12px 11px}
.landing-page .home-gallery-title-row h3{font-size:12px}
.landing-page .home-gallery-body p{font-size:10px;line-height:1.75;min-height:70px;-webkit-line-clamp:4}
.landing-page .gallery-more{font-size:9px}

/* Detail image: deliberately compact, centered, never full-page */
.gallery-detail-card{text-align:center}
.gallery-detail-image{display:block;width:320px;height:240px;max-width:40%;max-height:240px;object-fit:contain;margin:18px auto 8px;background:#f3f6fa;border-radius:12px}
.gallery-detail-body{text-align:right;max-width:760px;margin:0 auto}
@media(max-width:900px){
 .landing-page .home-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .gallery-detail-image{width:280px;height:210px;max-width:45%;max-height:210px}
}
@media(max-width:600px){
 .landing-page .home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-page .home-gallery-media{height:58px}
 .gallery-detail-image{width:230px;height:175px;max-width:55%;max-height:175px}
}
@media(max-width:420px){
 .landing-page .home-gallery-grid{grid-template-columns:1fr}
 .gallery-detail-image{width:210px;height:160px;max-width:62%;max-height:160px}
}

/* v10 gallery sizing: image area fills the card up to the content/continue link */
.landing-page .home-gallery-card{min-height:310px}
.landing-page .home-gallery-media{height:125px;flex:none}
.landing-page .home-gallery-card img{object-fit:cover;width:100%;height:100%}
.landing-page .home-gallery-body{min-height:185px}
.landing-page .home-gallery-body p{min-height:70px;max-height:98px;overflow:hidden}

/* v10 detail: enlarge the image 2.5x compared with the previous compact version, but keep it inside the page */
.gallery-detail-image{width:520px;height:390px;max-width:68%;max-height:520px;object-fit:contain;margin:24px auto 12px}
@media(max-width:900px){
 .landing-page .home-gallery-media{height:115px}
 .gallery-detail-image{width:460px;height:345px;max-width:72%;max-height:430px}
}
@media(max-width:600px){
 .landing-page .home-gallery-media{height:105px}
 .gallery-detail-image{width:380px;height:285px;max-width:82%;max-height:340px}
}
@media(max-width:420px){
 .landing-page .home-gallery-media{height:100px}
 .gallery-detail-image{width:330px;height:248px;max-width:88%;max-height:290px}
}

/* v11: restore compact homepage gallery to match news cards */
.landing-page .home-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.landing-page .home-gallery-card{min-height:0;height:270px;border-radius:14px}
.landing-page .home-gallery-media{height:62px;flex:none}
.landing-page .home-gallery-card img{width:100%;height:100%;object-fit:cover;display:block}
.landing-page .home-gallery-body{padding:10px 12px 9px;min-height:0;height:208px;box-sizing:border-box}
.landing-page .home-gallery-title-row{min-height:28px}
.landing-page .home-gallery-title-row h3{font-size:12px;line-height:1.5;margin:0}
.landing-page .home-gallery-title-row time{font-size:9px}
.landing-page .home-gallery-body p{font-size:10px;line-height:1.7;min-height:68px;height:68px;max-height:68px;margin:6px 0 6px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.landing-page .gallery-more{font-size:9px;margin-top:auto;margin-bottom:6px;line-height:1.5}
.landing-page .gallery-votes{gap:5px}
.landing-page .gallery-vote{padding:4px 7px;font-size:9px}
@media(max-width:900px){
 .landing-page .home-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .landing-page .home-gallery-card{height:265px}
 .landing-page .home-gallery-media{height:62px}
 .landing-page .home-gallery-body{height:203px}
}
@media(max-width:600px){
 .landing-page .home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-page .home-gallery-card{height:250px}
 .landing-page .home-gallery-media{height:58px}
 .landing-page .home-gallery-body{height:192px;padding:9px 10px 8px}
 .landing-page .home-gallery-body p{height:62px;min-height:62px;max-height:62px;font-size:9.5px}
}
@media(max-width:420px){
 .landing-page .home-gallery-grid{grid-template-columns:1fr}
 .landing-page .home-gallery-card{height:250px}
 .landing-page .home-gallery-media{height:70px}
 .landing-page .home-gallery-body{height:180px}
}

/* V12: homepage gallery must use exactly the same column geometry as the news cards. */
.landing-page .home-gallery{width:100%;max-width:100%;box-sizing:border-box;overflow:hidden;padding-inline:0}
.landing-page .home-gallery-grid{width:100%;max-width:100%;box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10.4px;align-items:stretch}
.landing-page .home-gallery-card{width:100%;min-width:0;max-width:100%;height:270px;box-sizing:border-box;overflow:hidden}
.landing-page .home-gallery-media{width:100%;max-width:100%;height:105px;min-width:0;box-sizing:border-box;overflow:hidden;flex:0 0 105px}
.landing-page .home-gallery-media img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center;box-sizing:border-box}
.landing-page .home-gallery-body{width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;height:165px;min-height:165px;padding:10px 11px 9px}
.landing-page .home-gallery-title-row{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.landing-page .home-gallery-title-row h3{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.landing-page .home-gallery-body p{width:100%;max-width:100%;box-sizing:border-box;height:68px;min-height:68px;max-height:68px;overflow:hidden}
.landing-page .gallery-more{max-width:100%;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:900px){
  .landing-page .home-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .landing-page .home-gallery-card{height:260px}
  .landing-page .home-gallery-media{height:100px;flex-basis:100px}
  .landing-page .home-gallery-body{height:160px;min-height:160px}
}
@media(max-width:600px){
  .landing-page .home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .landing-page .home-gallery-card{height:250px}
  .landing-page .home-gallery-media{height:92px;flex-basis:92px}
  .landing-page .home-gallery-body{height:158px;min-height:158px;padding:9px 10px 8px}
}
@media(max-width:420px){
  .landing-page .home-gallery-grid{grid-template-columns:1fr}
  .landing-page .home-gallery-card{height:250px}
  .landing-page .home-gallery-media{height:100px;flex-basis:100px}
  .landing-page .home-gallery-body{height:150px;min-height:150px}
}


/* V13: gallery homepage final sizing — 20% shorter, balanced with news cards */
.landing-page .home-gallery{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  overflow:hidden;
  padding-inline:0;
}
.landing-page .home-gallery-grid{
  width:100%;
  max-width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  align-items:stretch;
  box-sizing:border-box;
}
.landing-page .home-gallery-card{
  width:100%;
  min-width:0;
  max-width:100%;
  height:216px; /* 20% کمتر از 270px */
  box-sizing:border-box;
  overflow:hidden;
  border-radius:13px;
}
.landing-page .home-gallery-media{
  width:100%;
  height:100px;
  min-width:0;
  flex:0 0 100px;
  box-sizing:border-box;
  overflow:hidden;
}
.landing-page .home-gallery-media img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:cover;
  object-position:center;
}
.landing-page .home-gallery-body{
  width:100%;
  min-width:0;
  max-width:100%;
  height:116px;
  min-height:116px;
  box-sizing:border-box;
  overflow:hidden;
  padding:7px 10px 7px;
}
.landing-page .home-gallery-title-row{
  min-height:21px;
  height:21px;
  width:100%;
}
.landing-page .home-gallery-title-row h3{
  font-size:10.5px;
  line-height:1.45;
  margin:0;
}
.landing-page .home-gallery-title-row time{
  font-size:8px;
  padding-top:1px;
}
.landing-page .home-gallery-body p{
  width:100%;
  height:46px;
  min-height:46px;
  max-height:46px;
  margin:4px 0 3px;
  font-size:9px;
  line-height:1.42;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.landing-page .gallery-more{
  font-size:8.5px;
  line-height:1.35;
  margin-top:0;
  margin-bottom:3px;
}
.landing-page .gallery-votes{
  gap:4px;
  height:18px;
}
.landing-page .gallery-vote{
  padding:2px 6px;
  font-size:8px;
  line-height:1.3;
}

/* در موبایل همچنان از عرض صفحه بیرون نمی‌زند */
@media(max-width:900px){
  .landing-page .home-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .landing-page .home-gallery-card{height:208px}
  .landing-page .home-gallery-media{height:94px;flex-basis:94px}
  .landing-page .home-gallery-body{height:114px;min-height:114px}
}
@media(max-width:600px){
  .landing-page .home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .landing-page .home-gallery-card{height:200px}
  .landing-page .home-gallery-media{height:88px;flex-basis:88px}
  .landing-page .home-gallery-body{height:112px;min-height:112px;padding:6px 9px}
  .landing-page .home-gallery-body p{height:43px;min-height:43px;max-height:43px;font-size:8.7px}
}
@media(max-width:420px){
  .landing-page .home-gallery-grid{grid-template-columns:1fr}
  .landing-page .home-gallery-card{height:216px}
  .landing-page .home-gallery-media{height:96px;flex-basis:96px}
  .landing-page .home-gallery-body{height:120px;min-height:120px}
}
.collaboration-card{border:1px solid rgba(49,111,177,.18)}

/* ===== Homepage final visual pass ===== */
.landing-page .hero-section{min-height:460px;margin:16px 0 14px;border-radius:28px;box-shadow:0 20px 50px rgba(36,59,232,.14)}
.landing-page .hero-copy{min-height:460px;padding:52px 56px 40px}
.landing-page .hero-register-btn{min-width:310px;background:linear-gradient(135deg,#243be8 0%,#7045ee 100%)}
.landing-page .access-section{grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 14px}
.landing-page .access-card{min-height:150px;padding:18px;border-radius:18px}
.landing-page .plan-card::before{background:linear-gradient(180deg,#7045ee,#9b7aff)}
.landing-page .plan-art{background:#f2edff;color:#7045ee}
.landing-page .news-section{margin-bottom:10px;padding:20px;border-radius:20px}
.landing-page .news-grid{gap:12px}
.landing-page .news-card{min-height:190px;padding:14px;border-radius:15px}
.landing-page .home-gallery,.landing-page .home-achievements{padding:12px 0 8px;margin:0}
.landing-page .home-gallery-grid,.landing-page .home-achievements-grid{gap:10px}
.landing-page .home-gallery-card{height:205px}
.landing-page .home-gallery-media{height:88px;flex-basis:88px}
.landing-page .home-gallery-body{height:117px;min-height:117px}
.landing-page .home-achievement{padding:14px;min-height:145px;border-radius:15px}
.landing-page .about-strip{margin-top:8px;margin-bottom:10px}
.landing-page .site-footer{grid-template-columns:1.25fr 1fr 1.1fr;padding:24px 26px;gap:24px;border-radius:22px 22px 0 0}
.footer-quick .quick-links{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}
.footer-quick .quick-links a{color:#d0d6f2;font-size:10px;transition:.2s}
.footer-quick .quick-links a:hover{color:#fff;transform:translateX(-2px)}
.footer-visitor{display:flex;align-items:center;gap:7px;color:#bfc8ed;font-size:10px;margin-top:6px}
.footer-visitor strong{color:#fff;font-size:12px;margin-right:2px}
.footer-contact .social-row{margin-top:3px}
.footer-contact .social-row a{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);color:#fff}
.landing-page .copyright{text-align:center;background:#111c55;color:#aeb9ee}
@media(max-width:900px){
 .landing-page .access-section{grid-template-columns:1fr 1fr}
 .landing-page .site-footer{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
 .landing-page .access-section{grid-template-columns:1fr}
 .landing-page .hero-section{min-height:570px}.landing-page .hero-copy{min-height:570px;padding:285px 24px 25px}
 .landing-page .hero-register-btn{min-width:0;width:100%}
 .landing-page .site-footer{grid-template-columns:1fr}
}
.social-title{font-size:10.45px;margin:8px 0 0}.social-row a.is-disabled{opacity:.45;cursor:default}.social-row a.is-disabled:hover{transform:none}

/* ===== Final homepage polish: gallery, collaboration card and footer ===== */
.landing-page .collaboration-card::before{background:linear-gradient(180deg,#7c3aed,#ec4899)}
.landing-page .collaboration-art{background:linear-gradient(135deg,#f3e8ff,#fce7f3);color:#7c3aed}
.landing-page .collaboration-card .access-button{background:#f5e8ff;color:#7c3aed}
.landing-page .home-gallery-more-wrap{display:flex;justify-content:center;margin-top:24px}
.landing-page .home-gallery-more{display:inline-flex;align-items:center;gap:10px;padding:11px 20px;border-radius:14px;background:linear-gradient(135deg,#5148e8,#7c5cff);color:#fff;text-decoration:none;font-weight:800;font-size:13px;box-shadow:0 10px 24px rgba(81,72,232,.22);transition:transform .2s,box-shadow .2s}
.landing-page .home-gallery-more:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(81,72,232,.28)}
.landing-page .footer-quick .quick-links{display:flex;flex-direction:column;grid-template-columns:none;gap:8px;align-items:stretch}
.landing-page .footer-quick .quick-links a{display:block;font-size:12px;line-height:1.8;padding:2px 0;color:#e3e8ff;text-decoration:none}
.landing-page .footer-quick .quick-links a:hover{color:#fff;transform:translateX(-3px)}
.landing-page .site-footer .footer-col h3{font-size:13px;line-height:1.7}
.landing-page .site-footer .footer-contact span,.landing-page .site-footer .footer-brand span,.landing-page .site-footer .footer-brand p{font-size:11.5px;line-height:2}
.landing-page .copyright{display:flex;direction:ltr;justify-content:space-between;align-items:center;gap:18px;text-align:initial;font-size:11.5px;line-height:1.9;padding:11px 24px;background:#0f173f}
.landing-page .copyright span{direction:rtl;color:#d5dcff;font-weight:600}
.landing-page .copyright span:first-child{color:#eef1ff}

/* Full modern gallery page */
.gallery-page{max-width:1180px;margin:0 auto;padding:36px 22px 60px;min-height:100vh;background:linear-gradient(180deg,#f8faff 0%,#eef2ff 100%);font-family:inherit}
.gallery-page-hero{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:34px;border-radius:28px;background:linear-gradient(135deg,#ffffff 0%,#eef1ff 100%);border:1px solid #e1e6f5;box-shadow:0 20px 55px rgba(31,41,95,.10);margin-bottom:30px}
.gallery-page-kicker{display:inline-block;color:#6258e8;font-size:12px;font-weight:900;background:#e9e7ff;padding:7px 12px;border-radius:999px;margin-bottom:10px}
.gallery-page-hero h1{margin:0 0 8px;color:#202b59;font-size:clamp(25px,4vw,38px)}
.gallery-page-hero p{margin:0;color:#667085;line-height:2;font-size:14px;max-width:720px}
.gallery-back{flex:none;display:inline-flex;padding:12px 18px;border-radius:14px;background:#202b59;color:#fff;text-decoration:none;font-weight:800;transition:.2s}
.gallery-back:hover{transform:translateY(-2px);background:#5148e8}
.gallery-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.gallery-page-card{overflow:hidden;border-radius:22px;background:#fff;border:1px solid #e4e8f2;box-shadow:0 12px 35px rgba(15,23,42,.08);transition:.25s;display:flex;flex-direction:column}
.gallery-page-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(15,23,42,.13)}
.gallery-page-media{display:block;height:245px;background:#eef2f7;overflow:hidden}
.gallery-page-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s}
.gallery-page-card:hover .gallery-page-media img{transform:scale(1.05)}
.gallery-page-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.gallery-page-body h2{margin:0 0 9px;color:#202b59;font-size:17px;line-height:1.7}
.gallery-page-body p{margin:0 0 15px;color:#667085;font-size:13px;line-height:2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.gallery-page-body>a{margin-top:auto;color:#5148e8;text-decoration:none;font-size:12px;font-weight:900}
.gallery-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin:32px 0 15px;flex-wrap:wrap}
.gallery-pagination a{min-width:40px;height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#fff;border:1px solid #dfe4f0;color:#3d4666;text-decoration:none;font-weight:800}
.gallery-pagination a.active,.gallery-pagination a:hover{background:#5148e8;border-color:#5148e8;color:#fff}
.gallery-page-count{text-align:center;color:#7b849d;font-size:12px}
.gallery-empty{padding:60px;text-align:center;background:#fff;border-radius:22px;color:#667085;border:1px solid #e4e8f2}
@media(max-width:850px){.gallery-page-hero{flex-direction:column;align-items:flex-start}.gallery-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.gallery-page{padding:18px 12px 40px}.gallery-page-hero{padding:23px;border-radius:22px}.gallery-page-grid{grid-template-columns:1fr;gap:16px}.gallery-page-media{height:230px}.landing-page .copyright{flex-direction:column;align-items:center;gap:3px;text-align:center}}
/* ===== 2026 homepage redesign ===== */
.landing-page{background:#f6f8fc;color:#17213f;overflow-x:hidden}.landing-page:before{opacity:.45}
.landing-page .site-nav{position:relative;top:auto;z-index:20;width:min(1180px,calc(100% - 28px));margin:12px auto 0;padding:10px 14px;border:1px solid rgba(255,255,255,.72);background:rgba(255,255,255,.82);backdrop-filter:blur(18px);box-shadow:0 12px 40px rgba(20,31,74,.08);border-radius:18px}.landing-page .nav-logo{box-shadow:0 8px 20px rgba(81,72,232,.18)}
.landing-page main{width:min(1180px,calc(100% - 28px));margin:0 auto}.landing-page .hero-section{position:relative;min-height:500px;margin:18px 0 18px;border-radius:32px;overflow:hidden;background:linear-gradient(120deg,#111a3d 0%,#1e2a5b 55%,#5148e8 100%);box-shadow:0 25px 70px rgba(26,39,94,.18)}.landing-page .hero-section:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 20%,rgba(255,255,255,.16),transparent 26%),radial-gradient(circle at 20% 100%,rgba(83,207,255,.14),transparent 25%);pointer-events:none}.landing-page .hero-copy{position:relative;z-index:2;min-height:500px;display:flex;flex-direction:column;justify-content:center;padding:54px 58px;max-width:680px;color:#fff}.landing-page .hero-copy h1{font-size:clamp(30px,4.2vw,52px);line-height:1.3;letter-spacing:-.8px}.landing-page .hero-copy p{font-size:14px;line-height:2.2;color:#dbe3ff;max-width:610px}.landing-page .hero-eyebrow{color:#bfc7ff}.landing-page .hero-register-btn{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.11);backdrop-filter:blur(10px);box-shadow:0 12px 35px rgba(0,0,0,.15)}.landing-page .hero-visual{position:absolute!important;inset:0 0 0 42%;opacity:.75}.landing-page .hero-visual .landing-bg{height:100%;background-size:cover;background-position:center;mask-image:linear-gradient(90deg,transparent,#000 32%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 32%)}
.landing-page .access-section{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 25px}.landing-page .access-card{position:relative;overflow:hidden;min-height:175px;padding:22px;border:1px solid #e5e9f2;background:rgba(255,255,255,.88);box-shadow:0 14px 38px rgba(24,34,69,.07);transition:.3s}.landing-page .access-card:hover{transform:translateY(-6px);box-shadow:0 22px 48px rgba(24,34,69,.12);border-color:#d8d5ff}.landing-page .access-card:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;left:-35px;bottom:-45px;background:rgba(99,91,255,.06)}.landing-page .access-art{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;font-size:25px;margin-bottom:12px}.landing-page .access-body h2{font-size:17px}.landing-page .access-body p{font-size:11.5px;line-height:1.9;color:#69738a}.landing-page .access-button{font-weight:900;border-radius:10px}
.landing-page .news-section,.landing-page .about-strip{border:1px solid #e7eaf2;background:rgba(255,255,255,.78);box-shadow:0 12px 36px rgba(22,31,63,.05)}.landing-page .section-heading h2{font-size:24px}.landing-page .news-card{background:#fff;border:1px solid #e7eaf2;box-shadow:0 8px 24px rgba(22,31,63,.045)}
.landing-page .home-gallery{margin-top:20px}.landing-page .home-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.landing-page .home-gallery-card{height:285px;background:#fff;border:1px solid #e4e8f1;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px rgba(18,28,61,.07);transition:.3s}.landing-page .home-gallery-card:hover{transform:translateY(-5px)}.landing-page .home-gallery-media{height:155px!important;flex-basis:155px!important}.landing-page .home-gallery-media img{transition:transform .5s}.landing-page .home-gallery-card:hover .home-gallery-media img{transform:scale(1.05)}.landing-page .home-gallery-body{height:130px!important;min-height:130px!important;padding:13px 15px}.landing-page .home-gallery-title-row h3{font-size:13px}.landing-page .home-gallery-body p{font-size:10px}.landing-page .gallery-votes{margin-top:auto}.landing-page .home-gallery-more-wrap{margin-top:20px}.landing-page .home-gallery-more{padding:13px 24px;border-radius:14px}
.landing-page .site-footer{margin-top:28px;border-radius:24px 24px 0 0;background:linear-gradient(135deg,#101938,#18244b);border:1px solid rgba(255,255,255,.08);box-shadow:0 -12px 35px rgba(15,24,54,.08)}.landing-page .footer-quick .quick-links{display:flex;flex-direction:column;gap:4px}.landing-page .footer-quick .quick-links a{font-size:12px;padding:3px 0}.landing-page .copyright{background:#0b122d;border-top:1px solid rgba(255,255,255,.06);font-size:12px;padding:13px 24px}
@media(max-width:900px){.landing-page .hero-visual{inset:0;opacity:.25}.landing-page .hero-copy{max-width:100%}.landing-page .access-section,.landing-page .home-gallery-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.landing-page main{width:min(100% - 18px,1180px)}.landing-page .site-nav{width:calc(100% - 18px);top:auto}.landing-page .nav-links{display:none}.landing-page .hero-section,.landing-page .hero-copy{min-height:560px}.landing-page .hero-copy{padding:40px 25px 30px;justify-content:flex-end}.landing-page .access-section,.landing-page .home-gallery-grid{grid-template-columns:1fr}.landing-page .hero-copy h1{font-size:32px}}

/* ===== صفحه اول: هیرو اسلایدی آموزشی ===== */
.landing-page .hero-visual{overflow:hidden;background:#111a3d}
.landing-page .hero-slideshow{position:absolute;inset:0}
.landing-page .hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s ease}
.landing-page .hero-slide.is-active{opacity:1;visibility:visible}
.landing-page .hero-slide img{width:100%;height:100%;object-fit:cover;display:block}
.landing-page .hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,26,61,.96) 0%,rgba(17,26,61,.58) 28%,rgba(17,26,61,.08) 68%,rgba(17,26,61,.18) 100%)}
.landing-page .hero-slide-caption{position:absolute;z-index:2;right:38px;bottom:34px;display:flex;flex-direction:column;gap:5px;color:#fff;max-width:360px;text-align:right}
.landing-page .hero-slide-caption strong{font-size:15px}.landing-page .hero-slide-caption span{font-size:11px;color:#e5e7eb;line-height:1.8}
.landing-page .hero-slide-dots{position:absolute;z-index:4;right:34px;top:30px;display:flex;gap:6px}
.landing-page .hero-slide-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer;transition:.2s}
.landing-page .hero-slide-dots button.active{width:22px;border-radius:8px;background:#fff}
@media(max-width:900px){.landing-page .hero-visual{inset:0;opacity:1}.landing-page .hero-slide:after{background:linear-gradient(180deg,rgba(17,26,61,.22),rgba(17,26,61,.85))}.landing-page .hero-slide-caption{right:24px;bottom:24px}.landing-page .hero-slide-dots{right:24px;top:22px}}
@media(max-width:680px){.landing-page .hero-slide-caption{right:18px;left:18px;max-width:none}.landing-page .hero-slide-caption strong{font-size:14px}.landing-page .hero-slide-caption span{font-size:10px}}


/* ===== Hero readability + image-fit fix ===== */
.landing-page .hero-section{
  min-height:520px;
  background:#111a3d;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 26px 70px rgba(21,31,74,.19);
}
.landing-page .hero-visual{
  position:absolute!important;
  inset:0!important;
  z-index:1;
  opacity:1!important;
  overflow:hidden;
  background:#111a3d;
  pointer-events:none;
}
.landing-page .hero-slideshow,.landing-page .hero-slide{position:absolute;inset:0}
.landing-page .hero-slide img{
  width:100%;height:100%;display:block;
  object-fit:cover;
  object-position:center;
  transform:none!important;
}
.landing-page .hero-slide:after{
  content:"";position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(90deg,rgba(10,17,45,.18) 0%,rgba(12,20,51,.38) 36%,rgba(12,19,48,.84) 70%,rgba(9,15,40,.96) 100%),
    linear-gradient(180deg,rgba(4,8,25,.08),rgba(4,8,25,.22));
}
.landing-page .hero-copy{
  position:relative;z-index:3;
  width:min(58%,680px);max-width:680px;
  min-height:520px;
  padding:58px 58px 50px;
  margin-right:0;margin-left:auto;
  color:#fff;text-align:right;
  text-shadow:0 2px 14px rgba(0,0,0,.22);
}
.landing-page .hero-eyebrow{
  width:max-content;max-width:100%;
  margin-bottom:15px;padding:7px 12px;
  border:1px solid rgba(255,255,255,.16);border-radius:999px;
  background:rgba(255,255,255,.10);backdrop-filter:blur(10px);
  color:#eef1ff;font-size:12px;font-weight:800;
}
.landing-page .hero-eyebrow span{background:linear-gradient(90deg,#9ca8ff,#fff)}
.landing-page .hero-copy h1{
  max-width:620px;margin:0;
  color:#fff;font-size:clamp(32px,4vw,54px);line-height:1.32;
  letter-spacing:-1px;font-weight:950;
  text-wrap:balance;
}
.landing-page .hero-copy>p{
  max-width:575px;margin:18px 0 22px;
  color:#eef2ff;font-size:15px;line-height:2.05;font-weight:500;
  text-shadow:0 2px 10px rgba(0,0,0,.28);
}
.landing-page .hero-register-btn{
  min-width:320px;max-width:100%;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.14);
  backdrop-filter:blur(14px);
  box-shadow:0 12px 30px rgba(0,0,0,.16);
}
.landing-page .hero-slide-caption{
  position:absolute;z-index:3;
  left:30px;right:auto;bottom:30px;
  width:min(340px,34vw);max-width:340px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.18);border-radius:16px;
  background:rgba(8,14,38,.48);backdrop-filter:blur(12px);
  color:#fff;text-align:right;
  box-shadow:0 12px 34px rgba(0,0,0,.18);
}
.landing-page .hero-slide-caption strong{
  display:block;color:#fff;font-size:14px;line-height:1.65;font-weight:900;
  white-space:normal;overflow-wrap:anywhere;
}
.landing-page .hero-slide-caption span{
  display:block;margin-top:4px;color:#e8ecff;font-size:11.5px;line-height:1.9;font-weight:500;
  white-space:normal;overflow-wrap:anywhere;
}
.landing-page .hero-slide-dots{
  right:auto;left:31px;top:30px;z-index:5;
  padding:7px 9px;border-radius:999px;
  background:rgba(8,14,38,.35);backdrop-filter:blur(10px);
  pointer-events:auto;
}
.landing-page .hero-slide-dots button{width:8px;height:8px;background:rgba(255,255,255,.55)}
.landing-page .hero-slide-dots button.active{width:25px;background:#fff}
.landing-page .hero-slide-nav{
  position:absolute;z-index:5;left:30px;bottom:132px;
  display:flex;gap:7px;direction:ltr;pointer-events:auto;
}
.landing-page .hero-slide-nav button{
  width:36px;height:36px;border:1px solid rgba(255,255,255,.22);border-radius:11px;
  background:rgba(8,14,38,.40);backdrop-filter:blur(10px);color:#fff;
  font:700 24px/1 sans-serif;cursor:pointer;transition:.2s;
}
.landing-page .hero-slide-nav button:hover{background:rgba(255,255,255,.20);transform:translateY(-2px)}
@media(max-width:900px){
  .landing-page .hero-section,.landing-page .hero-copy{min-height:540px}
  .landing-page .hero-copy{width:70%;max-width:700px;padding:48px 40px}
  .landing-page .hero-slide:after{background:linear-gradient(90deg,rgba(7,13,34,.32),rgba(8,15,39,.86) 65%,rgba(7,12,33,.95))}
  .landing-page .hero-slide-caption{width:min(290px,34vw);left:22px;bottom:22px}
  .landing-page .hero-slide-dots{left:22px;top:22px}.landing-page .hero-slide-nav{left:22px;bottom:122px}
}
@media(max-width:680px){
  .landing-page .hero-section{min-height:610px;border-radius:24px}
  .landing-page .hero-copy{width:100%;max-width:none;min-height:610px;padding:48px 22px 178px;justify-content:flex-end}
  .landing-page .hero-copy h1{font-size:clamp(29px,9vw,38px);line-height:1.4}
  .landing-page .hero-copy>p{font-size:13px;line-height:2}
  .landing-page .hero-slide:after{background:linear-gradient(180deg,rgba(7,12,33,.24) 0%,rgba(7,12,33,.56) 42%,rgba(6,11,31,.96) 78%,rgba(6,11,31,.98) 100%)}
  .landing-page .hero-slide-caption{left:18px;right:18px;bottom:18px;width:auto;max-width:none;padding:10px 12px;border-radius:13px}
  .landing-page .hero-slide-caption strong{font-size:12.5px}.landing-page .hero-slide-caption span{font-size:10.5px;line-height:1.75}
  .landing-page .hero-slide-dots{left:18px;top:18px}.landing-page .hero-slide-nav{left:auto;right:18px;bottom:104px}
  .landing-page .hero-register-btn{min-width:0;width:100%}
}

/* ===== vNext premium homepage / five access cards / live statistics ===== */
body.landing-page{background:
 radial-gradient(circle at 10% 14%,rgba(79,70,229,.10),transparent 24%),
 radial-gradient(circle at 88% 28%,rgba(14,165,233,.09),transparent 22%),
 linear-gradient(180deg,#f7f9ff 0%,#eef3fb 46%,#f9fbff 100%);}
.landing-page main{position:relative}
.landing-page main::before{content:"";position:absolute;inset:510px -90px auto;height:520px;z-index:-1;border-radius:70px;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(235,241,255,.66));border:1px solid rgba(255,255,255,.9);box-shadow:0 35px 90px rgba(47,57,115,.07);transform:rotate(-1.2deg)}
.landing-page .access-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:-2px 0 24px;align-items:stretch}
.landing-page .access-five .access-card{min-width:0;min-height:168px;padding:15px 14px 13px;gap:10px;flex-direction:column;align-items:flex-start;border-radius:18px;background:linear-gradient(155deg,rgba(255,255,255,.98),rgba(247,249,255,.94));box-shadow:0 12px 30px rgba(27,39,94,.08);border:1px solid rgba(221,227,244,.95);overflow:hidden}
.landing-page .access-five .access-card::before{width:100%;height:4px;inset:0 0 auto;background:linear-gradient(90deg,#4f46e5,#818cf8)}
.landing-page .access-five .access-card::after{content:"";position:absolute;width:86px;height:86px;border-radius:50%;left:-34px;top:-40px;background:rgba(79,70,229,.06);transition:.35s}
.landing-page .access-five .access-card:hover{transform:translateY(-6px);box-shadow:0 20px 42px rgba(38,50,112,.14)}
.landing-page .access-five .access-card:hover::after{transform:scale(1.28)}
.landing-page .access-five .access-art{width:42px;height:42px;border-radius:13px;font-size:20px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)}
.landing-page .access-five .access-body{width:100%;display:flex;min-height:96px;flex-direction:column}
.landing-page .access-five .access-label{font-size:10px;font-weight:800;color:#7b849f}
.landing-page .access-five .access-body h2{font-size:13.5px;line-height:1.7;margin:3px 0 4px;color:#172047;white-space:normal}
.landing-page .access-five .access-body p{font-size:10.2px;line-height:1.8;margin:0 0 7px;color:#667085;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.landing-page .access-five .access-button{margin-top:auto;padding:5px 8px;border-radius:8px;font-size:9px;background:#eef1ff;color:#4f46e5}
.landing-page .access-five .admin-card::before{background:linear-gradient(90deg,#059669,#34d399)}
.landing-page .access-five .collaboration-card::before{background:linear-gradient(90deg,#d97706,#fbbf24)}
.landing-page .access-five .academies-card::before{background:linear-gradient(90deg,#0284c7,#38bdf8)}
.landing-page .access-five .counseling-card::before{background:linear-gradient(90deg,#7c3aed,#c084fc)}
.academies-art{background:#e8f7ff;color:#0284c7}.counseling-art{background:#f5edff;color:#7c3aed}.collaboration-art{background:#fff7e6;color:#d97706}
.reveal-card,.news-card,.home-gallery-card,.home-achievement,.about-strip>div{opacity:0;transform:translateY(18px) scale(.985);transition:opacity .22s ease var(--reveal-delay,0ms),transform .22s ease var(--reveal-delay,0ms)}
.reveal-card.is-visible,.news-card.is-visible,.home-gallery-card.is-visible,.home-achievement.is-visible,.about-strip>div.is-visible{opacity:1;transform:none}
.site-live-stats{width:min(1180px,calc(100% - 32px));margin:18px auto 22px;padding:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-radius:18px;background:rgba(20,29,61,.96);box-shadow:0 16px 45px rgba(15,23,42,.18);direction:rtl}
.live-stat{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;border-radius:13px;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.10);color:#fff}
.live-stat-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(129,140,248,.18);color:#c7d2fe;font-weight:900}.live-stat>span:last-child{display:flex;flex-direction:column}.live-stat small{color:#b8c1dc;font-size:10px}.live-stat strong{font-size:16px;line-height:1.3;font-variant-numeric:tabular-nums}
@media(max-width:1000px){.landing-page .access-five{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.landing-page .access-five{grid-template-columns:repeat(2,1fr);gap:9px}.landing-page .access-five .access-card{min-height:158px}.site-live-stats{width:calc(100% - 20px);grid-template-columns:1fr;margin-bottom:12px}.live-stat{justify-content:flex-start;padding:0 16px}}
@media(max-width:420px){.landing-page .access-five{grid-template-columns:1fr}.landing-page .access-five .access-card{min-height:140px}}
@media(prefers-reduced-motion:reduce){.reveal-card,.news-card,.home-gallery-card,.home-achievement,.about-strip>div{opacity:1;transform:none;transition:none}.landing-page .access-five .access-card{transition:none}}

/* CAPTCHA shared styling for public forms */
.captcha-section{overflow:visible}.captcha-box{margin-top:8px;padding:14px;border:1px solid #dfe6f2;border-radius:16px;background:linear-gradient(180deg,#fff,#f8faff);box-shadow:0 8px 24px rgba(35,50,82,.06)}
.captcha-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:13px;font-weight:900;color:#34415e}.captcha-refresh{border:0;background:#eef2ff;color:#5148e8;border-radius:10px;padding:8px 11px;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.captcha-row{display:grid;grid-template-columns:minmax(180px,240px) 1fr;gap:12px;align-items:center}.captcha-image{display:block;width:100%;height:78px;object-fit:contain;border-radius:14px;background:#f7f9fd}.captcha-input{height:52px!important;text-align:center!important;letter-spacing:5px!important;font-size:20px!important;font-weight:900!important;text-transform:uppercase}.captcha-box .field-validation-error{display:block;margin-top:8px;color:#b42318;font-size:12px;font-weight:800}@media(max-width:620px){.captcha-row{grid-template-columns:1fr}}


/* ===== Compact footer statistics + non-sticky homepage header ===== */
.site-live-stats{display:none!important}
.landing-page .site-nav{position:relative!important;top:auto!important;inset-block-start:auto!important}
.footer-mini-stats{margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.10);display:flex;flex-direction:column;gap:4px;max-width:280px}
.footer-mini-stats>div{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:7px;min-height:22px;color:#d9e1ff;font-size:10.5px;line-height:1.4}
.footer-mini-stats small{font-size:10.5px;color:#c1cbed;white-space:nowrap}
.footer-mini-stats strong{font-size:11.5px;color:#fff;font-variant-numeric:tabular-nums;font-weight:900;min-width:34px;text-align:left}
.stat-dot{width:6px;height:6px;border-radius:999px;background:#93a4e8;box-shadow:0 0 0 3px rgba(147,164,232,.10)}
.stat-dot.online{background:#55d6a7;box-shadow:0 0 0 3px rgba(85,214,167,.10)}
.stat-dot.today{background:#f2c66d;box-shadow:0 0 0 3px rgba(242,198,109,.10)}
.stat-dot.total{background:#8fa9ff;box-shadow:0 0 0 3px rgba(143,169,255,.10)}
@media(max-width:650px){.footer-mini-stats{max-width:none}.footer-mini-stats>div{font-size:10px}.footer-mini-stats small{font-size:10px}}

/* Lightweight eNAMAD status placeholder — intentionally not an official badge until a license is issued. */
.enamad-placeholder{margin-top:18px;padding:14px 12px;border:1px solid rgba(229,184,92,.34);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(229,184,92,.055));display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;max-width:220px}
.enamad-placeholder-mark{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;background:rgba(229,184,92,.09);box-shadow:inset 0 0 0 1px rgba(229,184,92,.22)}
.enamad-placeholder-mark svg{width:35px;height:35px;fill:none;stroke:#e5b85c;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.enamad-placeholder strong{font-size:.82rem;color:#f0c86e;font-weight:800}
.enamad-placeholder span{font-size:.7rem;line-height:1.8;color:rgba(255,255,255,.72)}
@media(max-width:760px){.enamad-placeholder{max-width:none;width:100%;margin-top:14px}}

.footer-quick-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.footer-quick-heading>h3{margin:5px 0 0;white-space:nowrap}
.enamad-placeholder.enamad-inline{margin:0;max-width:185px;padding:8px 9px;flex-direction:row;text-align:right;gap:8px;border-radius:13px}
.enamad-inline .enamad-placeholder-mark{width:38px;height:38px;min-width:38px;border-radius:10px}
.enamad-inline .enamad-placeholder-mark svg{width:25px;height:25px}
.enamad-inline-copy{display:flex;flex-direction:column;gap:1px}
.enamad-inline-copy strong{font-size:.68rem;line-height:1.5}
.enamad-inline-copy span{font-size:.58rem;line-height:1.55}
@media(max-width:760px){.footer-quick-heading{align-items:center}.enamad-placeholder.enamad-inline{width:auto;max-width:190px;margin:0}}

/* Header hamburger + integrated Persian date/time */
.nav-left-cluster{display:flex;align-items:center;gap:9px;min-width:0}
.home-menu-toggle{width:34px;height:34px;min-width:34px;border:1px solid #e1e6fb;border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;cursor:pointer;box-shadow:0 4px 12px rgba(42,58,130,.08);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.home-menu-toggle:hover{transform:translateY(-1px);border-color:#cbd4ff;box-shadow:0 7px 18px rgba(42,58,130,.13)}
.home-menu-toggle span{display:block;width:16px;height:2px;border-radius:2px;background:#27315f;transition:.2s ease}
.home-menu-open .home-menu-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.home-menu-open .home-menu-toggle span:nth-child(2){opacity:0}
.home-menu-open .home-menu-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.nav-datetime{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:116px;padding:5px 9px;border-radius:11px;background:linear-gradient(145deg,#f5f7ff,#fff);border:1px solid #e4e8fb;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6);line-height:1.25}
.nav-datetime span{font:800 13px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#26305a;letter-spacing:.4px}
.nav-datetime small{margin-top:3px;font-size:8.5px;font-weight:700;color:#68709a;white-space:nowrap}

.home-full-menu-backdrop{position:fixed;inset:0;background:rgba(15,22,54,.42);backdrop-filter:blur(3px);opacity:0;visibility:hidden;pointer-events:none;transition:.22s ease;z-index:998}
.home-full-menu{position:fixed;top:0;right:0;width:min(330px,88vw);height:100dvh;background:rgba(255,255,255,.985);box-shadow:-18px 0 45px rgba(20,30,75,.20);transform:translateX(105%);transition:transform .26s cubic-bezier(.2,.75,.25,1);z-index:999;padding:18px;overflow-y:auto}
.home-menu-open .home-full-menu-backdrop{opacity:1;visibility:visible;pointer-events:auto}
.home-menu-open .home-full-menu{transform:translateX(0)}
.home-full-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;margin-bottom:10px;border-bottom:1px solid #e9ecf8}
.home-full-menu-head>div{display:flex;flex-direction:column;gap:3px}
.home-full-menu-head strong{font-size:15px;color:#20294f}
.home-full-menu-head small{font-size:10px;color:#7a82a8}
.home-menu-close{width:34px;height:34px;border:0;border-radius:10px;background:#f2f4fb;color:#343d68;font-size:25px;line-height:1;cursor:pointer}
.home-full-menu-links{display:flex;flex-direction:column;gap:6px}
.home-full-menu-links a{display:flex;align-items:center;min-height:42px;padding:9px 12px;border:1px solid transparent;border-radius:11px;color:#28315a;font-size:12px;font-weight:750;background:#f8f9fd;transition:.18s ease}
.home-full-menu-links a:hover{background:#eef1ff;border-color:#dce3ff;transform:translateX(-2px)}
body.home-menu-open{overflow:hidden}

@media(max-width:980px){
  .site-nav{gap:10px}
  .nav-links{display:none}
  .nav-datetime{margin-right:auto}
}
@media(max-width:560px){
  .site-nav{padding:7px 9px;gap:7px}
  .nav-brand strong{max-width:148px;overflow:hidden;text-overflow:ellipsis}
  .nav-datetime{min-width:94px;padding:4px 6px}
  .nav-datetime span{font-size:11px}
  .nav-datetime small{font-size:7px}
  .home-menu-toggle{width:32px;height:32px;min-width:32px}
}

/* Refined hamburger navigation: lightweight black/gold theme */
.nav-menu-divider{
  width:1px;height:25px;display:block;flex:0 0 1px;
  background:linear-gradient(to bottom,transparent,#d9def2 22%,#c8cee9 50%,#d9def2 78%,transparent);
  margin:0 1px;
}
.home-menu-toggle{
  overflow:hidden;
}
.home-menu-toggle span{
  transform:none!important;
  opacity:1!important;
  transform-origin:center;
}
.home-menu-open .home-menu-toggle{
  border-color:#d7b55f;
  background:linear-gradient(145deg,#171717,#252525);
  box-shadow:0 6px 16px rgba(20,20,20,.18),inset 0 0 0 1px rgba(222,185,91,.12);
}
.home-menu-open .home-menu-toggle span{
  background:#e1bd67;
}
/* Keep the three-line hamburger stable; no X/outward protrusion. */
.home-menu-open .home-menu-toggle span:nth-child(1),
.home-menu-open .home-menu-toggle span:nth-child(2),
.home-menu-open .home-menu-toggle span:nth-child(3){
  transform:none!important;opacity:1!important;
}

.home-full-menu-backdrop{
  background:rgba(4,6,10,.64);
  backdrop-filter:blur(5px);
  transition:opacity .32s ease,visibility .32s ease;
}
.home-full-menu{
  color:#f5f1e7;
  background:
    radial-gradient(circle at 88% 9%,rgba(211,170,75,.14),transparent 22%),
    radial-gradient(circle at 10% 88%,rgba(211,170,75,.07),transparent 28%),
    linear-gradient(160deg,#090a0c 0%,#111318 50%,#08090b 100%);
  border-left:1px solid rgba(219,180,83,.30);
  box-shadow:-26px 0 70px rgba(0,0,0,.46),inset 1px 0 rgba(255,255,255,.025);
  transform:translateX(108%) scale(.985);
  opacity:.55;
  transition:transform .42s cubic-bezier(.18,.85,.22,1),opacity .32s ease;
  will-change:transform,opacity;
}
.home-menu-open .home-full-menu{
  transform:translateX(0) scale(1);
  opacity:1;
}
.home-full-menu::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.34;
  background:
    linear-gradient(115deg,transparent 0 34%,rgba(226,187,90,.045) 35%,transparent 36% 65%,rgba(226,187,90,.035) 66%,transparent 67%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.013) 0 1px,transparent 1px 24px);
}
.home-full-menu::after{
  content:"";position:absolute;top:0;right:0;left:0;height:3px;pointer-events:none;
  background:linear-gradient(90deg,transparent,#b78a2d 18%,#f1d181 50%,#b78a2d 82%,transparent);
  box-shadow:0 0 18px rgba(232,191,91,.36);
}
.home-full-menu-head{
  position:relative;z-index:1;
  border-bottom:0;
  padding:8px 2px 12px;
  margin-bottom:0;
}
.home-menu-title-wrap{display:flex;flex-direction:column;gap:3px}
.home-menu-kicker{
  color:#c89d45;font:800 8px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:1.7px;direction:ltr;text-align:right;opacity:.9
}
.home-full-menu-head strong{color:#f4d887;font-size:16px}
.home-full-menu-head small{color:rgba(255,255,255,.57);font-size:9.5px}
.home-menu-close{
  color:#e5c26d;background:rgba(229,194,109,.07);
  border:1px solid rgba(229,194,109,.25);
  transition:background .2s ease,transform .2s ease,border-color .2s ease;
}
.home-menu-close:hover{
  background:rgba(229,194,109,.14);border-color:rgba(229,194,109,.48);transform:rotate(4deg);
}
.home-menu-gold-line{
  position:relative;z-index:1;height:1px;margin:0 0 13px;
  background:linear-gradient(90deg,transparent,rgba(205,164,65,.22),rgba(238,201,111,.75),rgba(205,164,65,.22),transparent)
}
.home-menu-gold-line span{
  display:block;width:34px;height:3px;border-radius:999px;margin:auto;transform:translateY(-1px);
  background:linear-gradient(90deg,#9f7625,#f0d07c,#9f7625);box-shadow:0 0 12px rgba(229,190,91,.32)
}
.home-full-menu-links{position:relative;z-index:1;gap:7px}
.home-full-menu-links a{
  position:relative;overflow:hidden;
  color:#ece8dd;background:linear-gradient(120deg,rgba(255,255,255,.035),rgba(255,255,255,.018));
  border:1px solid rgba(218,181,91,.12);
  border-radius:12px;min-height:43px;padding:9px 13px;
  transition:transform .22s ease,border-color .22s ease,background .22s ease,color .22s ease;
}
.home-full-menu-links a::before{
  content:"";width:4px;height:4px;border-radius:50%;margin-left:9px;flex:0 0 4px;
  background:#d7ad50;box-shadow:0 0 9px rgba(226,187,88,.56)
}
.home-full-menu-links a::after{
  content:"";position:absolute;inset:0 auto 0 -45%;width:35%;
  background:linear-gradient(90deg,transparent,rgba(238,203,118,.06),transparent);
  transform:skewX(-15deg);transition:left .42s ease;
}
.home-full-menu-links a:hover{
  color:#f5d77e;background:rgba(211,171,73,.075);
  border-color:rgba(222,183,88,.36);
  transform:translateX(-4px);
}
.home-full-menu-links a:hover::after{left:115%}

@media (prefers-reduced-motion:reduce){
  .home-full-menu,.home-full-menu-backdrop,.home-full-menu-links a,.home-menu-close{transition:none!important}
}

/* Compact full-height menu + lightweight ChatGPT-like system font */
.landing-page,
.landing-page button,
.landing-page input,
.landing-page select,
.landing-page textarea{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,Tahoma,sans-serif;
}

/* Fit the hamburger menu in the viewport without an internal scrollbar. */
.home-full-menu{
  height:100dvh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  padding:14px 15px 12px;
}
.home-full-menu-head{
  flex:0 0 auto;
  padding:5px 1px 9px;
}
.home-menu-gold-line{
  flex:0 0 auto;
  margin-bottom:8px;
}
.home-full-menu-links{
  flex:1 1 auto;
  min-height:0;
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:repeat(12,minmax(0,1fr));
  gap:4px;
}
.home-full-menu-links a{
  min-height:0;
  height:100%;
  padding:5px 11px;
  font-size:11px;
  line-height:1.35;
  border-radius:9px;
}
.home-full-menu-links a::before{
  width:3px;height:3px;flex-basis:3px;margin-left:7px;
}
.home-full-menu-head strong{font-size:14px}
.home-full-menu-head small{font-size:8.5px}
.home-menu-kicker{font-size:7px}
.home-menu-close{width:30px;height:30px;font-size:21px;border-radius:9px}

/* Short screens: tighten spacing further instead of scrolling. */
@media(max-height:760px){
  .home-full-menu{padding:10px 12px 9px}
  .home-full-menu-head{padding:2px 0 6px}
  .home-menu-gold-line{margin-bottom:5px}
  .home-full-menu-links{gap:3px}
  .home-full-menu-links a{font-size:10px;padding:4px 9px;border-radius:8px}
  .home-full-menu-head strong{font-size:13px}
  .home-full-menu-head small{font-size:8px}
}
@media(max-height:620px){
  .home-menu-kicker,.home-full-menu-head small{display:none}
  .home-full-menu{padding:8px 10px}
  .home-full-menu-head{padding-bottom:4px}
  .home-menu-gold-line{margin-bottom:4px}
  .home-full-menu-links{gap:2px}
  .home-full-menu-links a{font-size:9px;padding:3px 8px}
}
/* Preserve accessibility: if the viewport is exceptionally tiny, allow the page itself
   to remain usable without showing a visible menu scrollbar. */
.home-full-menu{scrollbar-width:none}
.home-full-menu::-webkit-scrollbar{display:none}

/* Ultra-light compact glass menu */
.home-full-menu-backdrop{display:none!important}
.home-menu-close{display:none!important}
.home-full-menu{
  top:10px;
  right:10px;
  height:auto;
  max-height:calc(100dvh - 20px);
  width:min(286px,calc(100vw - 20px));
  padding:11px 12px 10px;
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(145deg,rgba(18,19,22,.90),rgba(25,26,30,.84));
  border:1px solid rgba(224,188,103,.24);
  box-shadow:0 14px 38px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.035);
  backdrop-filter:blur(10px) saturate(115%);
  -webkit-backdrop-filter:blur(10px) saturate(115%);
  transform:translateX(18px) scale(.985);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:transform .18s ease-out,opacity .15s ease-out,visibility .15s linear;
  will-change:transform,opacity;
}
.home-menu-open .home-full-menu{
  transform:translateX(0) scale(1);
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.home-full-menu::before{
  opacity:.16;
  background:
    radial-gradient(circle at 92% 8%,rgba(219,180,84,.11),transparent 24%),
    linear-gradient(120deg,transparent 0 55%,rgba(255,255,255,.018) 56%,transparent 57%);
}
.home-full-menu::after{
  height:2px;
  background:linear-gradient(90deg,transparent,#c99f46 30%,#e7c66f 50%,#c99f46 70%,transparent);
  box-shadow:none;
}
.home-full-menu-head{
  padding:4px 2px 7px;
  margin:0;
}
.home-menu-title-wrap{gap:2px}
.home-menu-kicker{font-size:6.5px;letter-spacing:1.2px}
.home-full-menu-head strong{font-size:13px}
.home-full-menu-head small{font-size:8px}
.home-menu-gold-line{margin-bottom:6px}
.home-menu-gold-line span{width:24px;height:2px;box-shadow:none}
.home-full-menu-links{
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:none;
  gap:3px;
}
.home-full-menu-links a{
  min-height:34px;
  height:auto;
  padding:6px 9px;
  font-size:10.5px;
  border-radius:9px;
  background:rgba(255,255,255,.025);
  border-color:rgba(222,183,88,.09);
  box-shadow:none;
}
.home-full-menu-links a:hover{
  transform:translateX(-2px);
  background:rgba(219,178,78,.06);
  border-color:rgba(222,183,88,.22);
}
.home-full-menu-links a::after{display:none}
.home-full-menu-links a::before{box-shadow:none}
.home-menu-open{overflow:auto!important}

/* Keep hamburger itself visually clean with nothing protruding to the right. */
.home-menu-toggle{
  position:relative;
  box-shadow:0 3px 9px rgba(42,58,130,.06);
}
.home-menu-toggle::before,.home-menu-toggle::after{content:none!important}
.home-menu-open .home-menu-toggle{
  background:#fff;
  border-color:#d9def2;
  box-shadow:0 3px 9px rgba(42,58,130,.06);
}
.home-menu-open .home-menu-toggle span{background:#27315f}

/* More compact on small/short screens */
@media(max-height:760px){
  .home-full-menu{top:7px;right:7px;max-height:calc(100dvh - 14px);padding:8px 9px}
  .home-full-menu-links{gap:2px}
  .home-full-menu-links a{min-height:29px;font-size:9.5px;padding:4px 8px}
  .home-full-menu-head strong{font-size:12px}
  .home-full-menu-head small,.home-menu-kicker{display:none}
  .home-menu-gold-line{margin-bottom:4px}
}
@media(max-width:560px){
  .home-full-menu{width:min(270px,calc(100vw - 14px));right:7px;border-radius:15px}
}
@media(prefers-reduced-motion:reduce){
  .home-full-menu{transition:none!important}
}

/* ===== Home vNext: cohesive lightweight redesign from Hero to Footer ===== */
.landing-page{
  --home-ink:#17213f;
  --home-muted:#6b7595;
  --home-line:rgba(79,96,156,.12);
  --home-surface:rgba(255,255,255,.86);
  --home-shadow:0 14px 34px rgba(35,49,104,.08);
  background:
    radial-gradient(circle at 12% 18%,rgba(85,112,255,.08),transparent 24%),
    radial-gradient(circle at 88% 48%,rgba(76,194,181,.06),transparent 22%),
    linear-gradient(180deg,#f7f9ff 0%,#f4f7fc 48%,#f8faff 100%);
}
.landing-page main{
  width:min(1120px,calc(100% - 28px));
  position:relative;
}
.landing-page main::before{
  content:"";position:absolute;inset:280px -18px 50px;z-index:-1;pointer-events:none;border-radius:44px;
  background:linear-gradient(180deg,rgba(255,255,255,.52),rgba(244,247,254,.22));
  border:1px solid rgba(255,255,255,.65);
}

/* Hero: cleaner frame, less visual noise */
.landing-page .hero-section{
  min-height:420px;
  margin:14px 0 18px;
  border-radius:26px;
  background:#eef3ff;
  border:1px solid rgba(209,218,248,.9);
  box-shadow:0 20px 52px rgba(39,58,136,.12);
}
.landing-page .hero-section::before{
  background:linear-gradient(90deg,rgba(238,243,255,0) 0 34%,rgba(242,246,255,.18) 48%,rgba(250,251,255,.90) 73%,#fbfcff 100%);
}
.landing-page .hero-section::after{
  opacity:.55;filter:blur(12px);animation-duration:10s;
}
.landing-page .hero-copy{
  width:47%;min-height:420px;padding:52px 42px 38px;
}
.landing-page .hero-copy h1{font-size:clamp(28px,3vw,42px);line-height:1.45;letter-spacing:-.4px}
.landing-page .hero-copy p{font-size:12.5px;line-height:2;color:#56617f;max-width:480px}
.landing-page .hero-eyebrow{font-size:10px;letter-spacing:.1px}
.landing-page .hero-visual{border-radius:26px;overflow:hidden}
.landing-page .hero-slide img{transform:scale(1.002);transition:transform 7s ease}
.landing-page .hero-slide.is-active img{transform:scale(1.035)}
.landing-page .hero-slide-caption{
  left:18px;bottom:18px;max-width:44%;padding:11px 13px;border-radius:13px;
  background:rgba(8,19,41,.58);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(7px)
}

/* v15 - keep the new fifth access card on the far-left of the desktop row without disturbing the existing four cards */
@media (min-width: 981px){
  .landing-page .access-section.access-five{direction:ltr;}
  .landing-page .access-section.access-five .access-card{direction:rtl;}
  .landing-page .access-section.access-five .exams-packages-card{grid-column:auto;order:-1;}
}

/* Five access cards: compact premium rail */
.landing-page .access-section.access-five{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;
  margin:0 0 24px;padding:0;
}
.landing-page .access-card{
  min-height:150px;border-radius:18px;padding:13px;
  display:flex;flex-direction:column;justify-content:space-between;
  background:rgba(255,255,255,.88)!important;
  border:1px solid rgba(96,112,170,.13)!important;
  box-shadow:0 10px 26px rgba(39,52,110,.065)!important;
  overflow:hidden;position:relative;isolation:isolate;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.landing-page .access-card::before{
  content:"";position:absolute;inset:0 0 auto;height:3px;z-index:-1;
  background:linear-gradient(90deg,#566df4,#8ba2ff);
}
.landing-page .access-card:nth-child(2)::before{background:linear-gradient(90deg,#172a4f,#5075ba)}
.landing-page .access-card:nth-child(3)::before{background:linear-gradient(90deg,#5d4cc9,#a089ff)}
.landing-page .access-card:nth-child(4)::before{background:linear-gradient(90deg,#138e83,#65cfc1)}
.landing-page .access-card:nth-child(5)::before{background:linear-gradient(90deg,#b98225,#efc76d)}
.landing-page .access-card:hover{transform:translateY(-4px);border-color:rgba(84,104,200,.22)!important;box-shadow:0 16px 32px rgba(39,52,110,.10)!important}
.landing-page .access-art{width:38px;height:38px;border-radius:11px;font-size:18px;display:grid;place-items:center;margin-bottom:8px}
.landing-page .access-label{font-size:8.5px;color:#8690ac}
.landing-page .access-body h2{font-size:13px;line-height:1.55;margin:3px 0 4px;color:var(--home-ink)}
.landing-page .access-body p{font-size:9px;line-height:1.7;color:var(--home-muted);margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.landing-page .access-button{font-size:9px;font-weight:800;color:#445ed9}

/* Shared section surfaces */
.landing-page .news-section,
.landing-page .home-gallery,
.landing-page .home-achievements,
.landing-page .about-strip{
  margin:0 0 18px;
  padding:22px;
  border-radius:24px;
  border:1px solid var(--home-line);
  background:var(--home-surface);
  box-shadow:var(--home-shadow);
}
.landing-page .news-section,
.landing-page .home-gallery,
.landing-page .home-achievements{backdrop-filter:blur(8px)}
.landing-page .section-head,
.landing-page .gallery-head,
.landing-page .achievements-head{
  margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid rgba(87,103,157,.10)
}
.landing-page .section-head h2,
.landing-page .gallery-head h2,
.landing-page .achievements-head h2{font-size:18px;color:var(--home-ink);margin:0}
.landing-page .section-head p,
.landing-page .gallery-head p,
.landing-page .achievements-head p{font-size:10px;color:var(--home-muted)}

/* News */
.landing-page .news-grid{gap:11px}
.landing-page .news-card{
  border-radius:16px!important;border:1px solid rgba(91,106,159,.11)!important;
  background:#fff!important;box-shadow:none!important;transition:.2s ease
}
.landing-page .news-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(35,50,102,.07)!important}
.landing-page .news-card h3{font-size:12px;line-height:1.75}
.landing-page .news-card p{font-size:9.5px;line-height:1.8}

/* Gallery */
.landing-page .gallery-grid{gap:10px}
.landing-page .gallery-card{border-radius:15px;overflow:hidden;box-shadow:none;border:1px solid rgba(90,106,161,.10)}
.landing-page .gallery-card img{transition:transform .35s ease}
.landing-page .gallery-card:hover img{transform:scale(1.035)}

/* Achievements */
.landing-page .achievement-grid{gap:10px}
.landing-page .achievement-card{
  border-radius:15px!important;background:linear-gradient(145deg,#fff,#f8faff)!important;
  border:1px solid rgba(93,108,166,.11)!important;box-shadow:none!important
}

/* About strip: more editorial, less bulky */
.landing-page .about-strip{
  display:grid;grid-template-columns:1.25fr .75fr;gap:18px;align-items:center;
  background:linear-gradient(135deg,#fff 0%,#f3f6ff 100%);
  margin-bottom:22px;
}
.landing-page .about-strip h2{font-size:19px}
.landing-page .about-strip p{font-size:10.5px;line-height:1.95;color:var(--home-muted)}

/* Reveal motions remain lightweight */
@media(prefers-reduced-motion:no-preference){
 .landing-page .access-card,.landing-page .news-card,.landing-page .gallery-card,.landing-page .achievement-card{
   will-change:transform;
 }
}

@media(max-width:980px){
 .landing-page .access-section.access-five{grid-template-columns:repeat(3,minmax(0,1fr))}
 .landing-page .hero-copy{width:54%}
}
@media(max-width:700px){
 .landing-page main{width:min(100% - 18px,1120px)}
 .landing-page .hero-section{min-height:500px;border-radius:20px}
 .landing-page .hero-copy{width:100%;min-height:255px;padding:28px 22px 20px;justify-content:flex-end}
 .landing-page .hero-visual{opacity:.34}
 .landing-page .hero-section::before{background:linear-gradient(180deg,rgba(248,250,255,.55),#f9fbff 70%)}
 .landing-page .access-section.access-five{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .landing-page .access-card{min-height:135px}
 .landing-page .news-section,.landing-page .home-gallery,.landing-page .home-achievements,.landing-page .about-strip{padding:15px;border-radius:18px}
 .landing-page .about-strip{grid-template-columns:1fr}
}
@media(max-width:430px){
 .landing-page .access-section.access-five{grid-template-columns:1fr}
 .landing-page .access-card{min-height:116px}
}

/* ==========================================================================
   Home editorial redesign — news, gallery, achievements and lower content
   No external UI library, no new image assets, GPU-light transitions only.
   ========================================================================== */
.landing-page .modern-home-section{
  position:relative;
  overflow:hidden;
  padding:26px;
  border-radius:28px;
  background:
    radial-gradient(circle at 92% -20%,rgba(92,108,246,.09),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.96),rgba(248,250,255,.90));
  border:1px solid rgba(85,101,164,.12);
  box-shadow:0 18px 46px rgba(42,55,111,.075);
}
.landing-page .modern-home-section::before{
  content:"";position:absolute;top:0;right:30px;width:96px;height:2px;
  background:linear-gradient(90deg,transparent,#6578f3,transparent);opacity:.7
}
.landing-page .modern-section-head{
  position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
  margin:0 0 19px;padding:0 0 15px;border-bottom:1px solid rgba(86,102,158,.10)
}
.landing-page .modern-section-title{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.landing-page .modern-section-title small,
.landing-page .modern-section-kicker{
  color:#6475de;font-size:9px;font-weight:850;letter-spacing:.1px
}
.landing-page .modern-section-title h2{margin:0;color:#18213d;font-size:20px;line-height:1.5;font-weight:900}
.landing-page .modern-section-title p{margin:1px 0 0;color:#7a839f;font-size:9.5px;line-height:1.85}
.landing-page .modern-section-link{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;
  border-radius:10px;background:#f0f3ff;color:#5367d9;font-size:9px;font-weight:850;
  border:1px solid rgba(91,109,215,.10);transition:.18s ease
}
.landing-page .modern-section-link span{font-size:13px;transition:transform .18s ease}
.landing-page .modern-section-link:hover{background:#e9edff;color:#3f53c5;transform:translateY(-1px)}
.landing-page .modern-section-link:hover span{transform:translateX(-2px)}

/* NEWS — first story is editorial feature, remaining stories are concise cards. */
.landing-page .news-section{padding:26px}
.landing-page .news-grid{
  display:grid!important;grid-template-columns:1.35fr 1fr 1fr;grid-auto-rows:minmax(154px,auto);gap:11px!important
}
.landing-page .news-card{
  position:relative;min-width:0;margin:0!important;padding:16px 15px 14px!important;
  display:flex;flex-direction:column;overflow:hidden;border-radius:17px!important;
  background:linear-gradient(150deg,#fff,#fbfcff)!important;
  border:1px solid rgba(78,95,153,.105)!important;box-shadow:none!important;
}
.landing-page .news-card:first-child{
  grid-row:span 2;min-height:319px;padding:23px 21px!important;
  justify-content:flex-end;
  background:
    radial-gradient(circle at 15% 15%,rgba(100,120,242,.12),transparent 32%),
    linear-gradient(145deg,#182546,#263b6c)!important;
  border-color:rgba(255,255,255,.08)!important;color:#fff
}
.landing-page .news-card:first-child::before{
  content:"خبر ویژه";position:absolute;top:18px;right:18px;padding:5px 9px;border-radius:999px;
  background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13);
  color:#dbe3ff;font-size:8px;font-weight:800
}
.landing-page .news-card-accent{
  position:absolute;top:0;right:0;width:3px;height:42px;border-radius:0 0 0 4px;
  background:linear-gradient(#7487ff,#8ad9cd)
}
.landing-page .news-card:first-child .news-card-accent{display:none}
.landing-page .news-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}
.landing-page .news-card-head time{font-size:8px;color:#929ab0;background:#f4f6fb;padding:4px 7px;border-radius:7px}
.landing-page .news-card:first-child .news-card-head time{color:#d4dcf5;background:rgba(255,255,255,.08)}
.landing-page .news-icon{
  width:31px;height:31px;border-radius:9px;display:grid;place-items:center;
  background:#eff2ff;font-size:13px
}
.landing-page .news-card:first-child .news-icon{background:rgba(255,255,255,.09)}
.landing-page .news-card h3{margin:0 0 7px;font-size:12px!important;line-height:1.75;color:#222c4a}
.landing-page .news-card:first-child h3{font-size:18px!important;color:#fff;line-height:1.7;margin-bottom:10px}
.landing-page .news-card p{
  margin:0 0 11px;color:#7a829b;font-size:9px!important;line-height:1.85!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.landing-page .news-card:first-child p{color:#cbd4ec;-webkit-line-clamp:4;font-size:10px!important}
.landing-page .news-card>a{
  margin-top:auto;display:inline-flex;align-items:center;width:max-content;color:#5267d5;font-size:9px;font-weight:850
}
.landing-page .news-card:first-child>a{color:#f2cf78}
.landing-page .news-card:hover{transform:translateY(-3px)!important;border-color:rgba(91,109,215,.20)!important}

/* GALLERY — editorial mosaic with strong photography and restrained copy. */
.landing-page .home-gallery-grid{
  display:grid!important;grid-template-columns:1.35fr .825fr .825fr;grid-auto-rows:175px;gap:10px!important
}
.landing-page .home-gallery-card{
  position:relative;min-width:0;height:100%;border-radius:18px!important;overflow:hidden;
  border:0!important;background:#11182a!important;box-shadow:none!important
}
.landing-page .home-gallery-card:first-child{grid-row:span 2}
.landing-page .home-gallery-media{position:absolute;inset:0;display:block}
.landing-page .home-gallery-media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 34%,rgba(8,14,29,.32) 58%,rgba(7,12,25,.91) 100%)
}
.landing-page .home-gallery-media img{width:100%;height:100%;object-fit:cover;transition:transform .38s ease!important}
.landing-page .home-gallery-card:hover .home-gallery-media img{transform:scale(1.045)!important}
.landing-page .home-gallery-body{
  position:absolute;z-index:2;right:0;left:0;bottom:0;padding:13px 14px;color:#fff;pointer-events:none
}
.landing-page .home-gallery-card:first-child .home-gallery-body{padding:18px 19px}
.landing-page .home-gallery-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.landing-page .home-gallery-title-row h3{margin:0;color:#fff;font-size:11px;line-height:1.6}
.landing-page .home-gallery-card:first-child .home-gallery-title-row h3{font-size:15px}
.landing-page .home-gallery-title-row time{color:#cbd3e3;font-size:7.5px;white-space:nowrap}
.landing-page .home-gallery-body p{
  margin:5px 0 0;color:#d5dae5;font-size:8.5px;line-height:1.7;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden
}
.landing-page .home-gallery-card:first-child .home-gallery-body p{-webkit-line-clamp:2;font-size:9px}
.landing-page .gallery-more{display:none!important}
.landing-page .gallery-votes{
  position:absolute;left:12px;top:auto;bottom:11px;display:flex;gap:5px;pointer-events:auto
}
.landing-page .gallery-vote{
  min-width:33px;height:25px;padding:0 6px;border:1px solid rgba(255,255,255,.15)!important;
  border-radius:8px!important;background:rgba(4,9,20,.38)!important;color:#fff!important;
  backdrop-filter:blur(5px);font-size:8px!important
}
.landing-page .gallery-vote:hover,.landing-page .gallery-vote.selected{background:rgba(92,110,220,.64)!important}
.landing-page .home-gallery-more-wrap{display:none!important}

/* ACHIEVEMENTS — modern progress rail, not generic boxes. */
.landing-page .achievements-section-head{align-items:center}
.landing-page .achievement-head-mark{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#c59636;
  background:linear-gradient(145deg,#fff8e8,#f6ebcb);border:1px solid rgba(195,151,55,.17);font-size:17px
}
.landing-page .home-achievements-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px!important;position:relative
}
.landing-page .home-achievement{
  position:relative;min-width:0;padding:15px 14px 14px!important;border-radius:16px!important;
  background:linear-gradient(155deg,#fff,#fafbff)!important;
  border:1px solid rgba(88,103,159,.105)!important;box-shadow:none!important;text-align:right!important;overflow:hidden
}
.landing-page .home-achievement::after{
  content:"";position:absolute;right:0;bottom:0;width:52px;height:2px;
  background:linear-gradient(90deg,#5d72e4,transparent)
}
.landing-page .home-achievement .ach-icon{
  width:34px;height:34px;margin:0 0 10px!important;border-radius:10px;display:grid;place-items:center;
  background:#f0f3ff;color:#5267d5;font-size:15px!important
}
.landing-page .home-achievement h3{font-size:11px!important;line-height:1.65;margin:0 0 5px!important;color:#202946}
.landing-page .home-achievement small{
  display:inline-flex;padding:3px 6px;border-radius:6px;background:#f4f6fb;color:#7e879f;font-size:7.5px!important;margin-bottom:6px
}
.landing-page .home-achievement p{
  margin:0;color:#7a8299;font-size:8.5px!important;line-height:1.8!important;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
}
.landing-page .home-achievement:hover{transform:translateY(-3px);border-color:rgba(89,107,209,.18)!important}

/* LOWER SERVICE / ABOUT AREA — visually tied to the sections above. */
.landing-page .modern-about-section{
  position:relative;display:grid!important;grid-template-columns:1.1fr repeat(3,minmax(0,1fr))!important;
  gap:10px!important;padding:12px!important;border-radius:24px!important;
  background:linear-gradient(135deg,#172547,#223868)!important;
  border:1px solid rgba(255,255,255,.07)!important;box-shadow:0 17px 38px rgba(24,38,77,.12)!important;color:#fff
}
.landing-page .modern-about-section>div{
  min-width:0;padding:16px!important;border-radius:16px;background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.075)
}
.landing-page .modern-about-section>div:first-child{
  display:flex;flex-direction:column;justify-content:center;background:transparent;border:0;padding:19px!important
}
.landing-page .modern-about-section>div:first-child small{color:#9fb0ec;font-size:8px}
.landing-page .modern-about-section>div:first-child h2{color:#fff;font-size:19px;line-height:1.55;margin:3px 0 0}
.landing-page .modern-about-section i{
  width:31px;height:31px;margin-bottom:9px;border-radius:9px;display:grid;place-items:center;
  font-style:normal;background:rgba(240,201,109,.11);color:#f0c96d
}
.landing-page .modern-about-section strong{display:block;color:#fff;font-size:10.5px;margin-bottom:5px}
.landing-page .modern-about-section p{margin:0!important;color:#bdc8e3!important;font-size:8.5px!important;line-height:1.8!important}

/* Responsive layout */
@media(max-width:900px){
  .landing-page .news-grid{grid-template-columns:1fr 1fr}
  .landing-page .news-card:first-child{grid-column:1/-1;grid-row:auto;min-height:230px}
  .landing-page .home-gallery-grid{grid-template-columns:1.2fr 1fr;grid-auto-rows:170px}
  .landing-page .home-gallery-card:first-child{grid-row:span 2}
  .landing-page .home-achievements-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .landing-page .modern-about-section{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .landing-page .modern-about-section>div:first-child{grid-column:1/-1}
}
@media(max-width:620px){
  .landing-page .modern-home-section{padding:17px;border-radius:20px}
  .landing-page .modern-section-head{align-items:flex-start;gap:12px;margin-bottom:13px;padding-bottom:11px}
  .landing-page .modern-section-title h2{font-size:16px}
  .landing-page .modern-section-title p{font-size:8.5px}
  .landing-page .news-grid{grid-template-columns:1fr;grid-auto-rows:auto}
  .landing-page .news-card:first-child{min-height:210px}
  .landing-page .home-gallery-grid{grid-template-columns:1fr;grid-auto-rows:195px}
  .landing-page .home-gallery-card:first-child{grid-row:auto}
  .landing-page .home-achievements-grid{grid-template-columns:1fr 1fr}
  .landing-page .modern-about-section{grid-template-columns:1fr!important}
  .landing-page .modern-about-section>div:first-child{grid-column:auto}
}
@media(max-width:420px){
  .landing-page .home-achievements-grid{grid-template-columns:1fr}
  .landing-page .modern-section-link{padding:6px 8px;font-size:8px}
}
@media(prefers-reduced-motion:reduce){
  .landing-page .news-card,.landing-page .home-gallery-media img,.landing-page .home-achievement,
  .landing-page .modern-section-link,.landing-page .modern-section-link span{transition:none!important}
}

/* ===== Final home polish: RTL heading, compact gallery, modern outer canvas ===== */

/* Outer page canvas: calm modern frame without expensive image assets. */
.landing-page{
  background:
    linear-gradient(180deg,#eef2f9 0%,#f7f9fd 22%,#f3f6fb 58%,#edf2f8 100%);
  position:relative;
}
.landing-page::before,
.landing-page::after{
  content:"";
  position:fixed;
  pointer-events:none;
  z-index:-2;
  border-radius:50%;
  filter:none;
}
.landing-page::before{
  width:34vw;height:34vw;min-width:260px;min-height:260px;
  top:120px;right:-12vw;
  background:radial-gradient(circle,rgba(84,103,210,.07),transparent 68%);
}
.landing-page::after{
  width:30vw;height:30vw;min-width:230px;min-height:230px;
  bottom:80px;left:-10vw;
  background:radial-gradient(circle,rgba(63,173,160,.055),transparent 70%);
}
.landing-page main::before{
  inset:245px -14px 40px;
  border-radius:34px;
  background:linear-gradient(180deg,rgba(255,255,255,.48),rgba(255,255,255,.20));
  border:1px solid rgba(255,255,255,.70);
  box-shadow:0 24px 70px rgba(44,58,111,.035);
}

/* News heading: title/content firmly on right, "view all" on left. */
.landing-page .news-section .modern-section-head{
  direction:rtl;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:18px;
}
.landing-page .news-section .modern-section-title{
  grid-column:1;
  justify-self:start;
  align-items:flex-start;
  text-align:right;
}
.landing-page .news-section .modern-section-link{
  grid-column:2;
  justify-self:end;
  direction:rtl;
}

/* Gallery: considerably more compact, lower visual height. */
.landing-page .home-gallery{
  padding:20px 22px;
}
.landing-page .home-gallery .modern-section-head{
  margin-bottom:12px;
  padding-bottom:11px;
}
.landing-page .home-gallery-grid{
  grid-template-columns:1.18fr .91fr .91fr!important;
  grid-auto-rows:122px!important;
  gap:8px!important;
}
.landing-page .home-gallery-card{
  border-radius:14px!important;
}
.landing-page .home-gallery-card:first-child{
  grid-row:span 2;
}
.landing-page .home-gallery-card:first-child .home-gallery-body{
  padding:13px 14px;
}
.landing-page .home-gallery-body{
  padding:9px 10px;
}
.landing-page .home-gallery-title-row h3{
  font-size:9.5px!important;
  line-height:1.55!important;
}
.landing-page .home-gallery-card:first-child .home-gallery-title-row h3{
  font-size:12px!important;
}
.landing-page .home-gallery-body p{
  display:none!important;
}
.landing-page .gallery-votes{
  left:8px;
  bottom:7px;
  gap:3px;
}
.landing-page .gallery-vote{
  min-width:28px;
  height:21px;
  padding:0 4px;
  border-radius:6px!important;
  font-size:7px!important;
}
.landing-page .home-gallery-media::after{
  background:linear-gradient(180deg,transparent 45%,rgba(7,12,25,.78) 100%);
}

/* Tighter lower sections to keep the page elegant and faster to scan. */
.landing-page .home-achievements{
  padding:20px 22px;
}
.landing-page .home-achievements-grid{
  gap:8px!important;
}
.landing-page .home-achievement{
  padding:12px 12px 11px!important;
}
.landing-page .modern-about-section{
  margin-bottom:18px!important;
}

/* Performance: skip initial paint/layout for off-screen lower sections.
   Browser reserves space, then renders when approaching viewport. */
@supports (content-visibility:auto){
  .landing-page .news-section,
  .landing-page .home-gallery,
  .landing-page .home-achievements,
  .landing-page .modern-about-section{
    content-visibility:auto;
    contain-intrinsic-size:1px 520px;
  }
  .landing-page .home-gallery{contain-intrinsic-size:1px 390px}
  .landing-page .home-achievements{contain-intrinsic-size:1px 360px}
  .landing-page .modern-about-section{contain-intrinsic-size:1px 280px}
}

/* Avoid costly blur compositing on repeated cards/sections. */
.landing-page .news-section,
.landing-page .home-gallery,
.landing-page .home-achievements{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.landing-page .gallery-vote{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Remove unnecessary persistent GPU hints from repeated cards. */
.landing-page .access-card,
.landing-page .news-card,
.landing-page .gallery-card,
.landing-page .home-gallery-card,
.landing-page .achievement-card,
.landing-page .home-achievement{
  will-change:auto!important;
}

/* Compact responsive gallery. */
@media(max-width:900px){
  .landing-page .home-gallery-grid{
    grid-template-columns:1.12fr .88fr!important;
    grid-auto-rows:118px!important;
  }
}
@media(max-width:620px){
  .landing-page::before,.landing-page::after{display:none}
  .landing-page .news-section .modern-section-head{
    grid-template-columns:1fr auto;
    gap:8px;
  }
  .landing-page .home-gallery{
    padding:15px;
  }
  .landing-page .home-gallery-grid{
    grid-template-columns:1fr 1fr!important;
    grid-auto-rows:112px!important;
  }
  .landing-page .home-gallery-card:first-child{
    grid-column:1/-1;
    grid-row:auto;
    min-height:155px;
  }
}
@media(max-width:420px){
  .landing-page .home-gallery-grid{
    grid-template-columns:1fr!important;
    grid-auto-rows:128px!important;
  }
  .landing-page .home-gallery-card:first-child{
    min-height:160px;
  }
}

/* Editable achievements introduction — compact editorial copy */
.landing-page .achievements-section-head{
  display:grid;
  grid-template-columns:minmax(240px,.85fr) minmax(320px,1.15fr);
  align-items:stretch;
  gap:18px;
}
.landing-page .achievements-intro-copy{
  position:relative;
  display:grid;
  grid-template-columns:38px 1fr;
  align-items:start;
  gap:11px;
  padding:12px 13px;
  border-radius:14px;
  background:linear-gradient(135deg,#faf8f1,#fffdf8);
  border:1px solid rgba(190,145,55,.14);
}
.landing-page .achievements-intro-copy .achievement-head-mark{
  width:34px;height:34px;border-radius:10px;font-size:15px;
}
.landing-page .achievements-intro-copy p{
  margin:0;
  color:#626b82;
  font-size:9px;
  line-height:2;
  text-align:justify;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
@media(max-width:800px){
  .landing-page .achievements-section-head{grid-template-columns:1fr}
}
@media(max-width:520px){
  .landing-page .achievements-intro-copy{grid-template-columns:30px 1fr;padding:10px}
  .landing-page .achievements-intro-copy .achievement-head-mark{width:28px;height:28px;font-size:12px}
  .landing-page .achievements-intro-copy p{font-size:8.5px;line-height:1.9}
}

.landing-page .modern-about-section .features-section-intro p{margin:7px 0 0!important;color:#bdc8e3!important;font-size:8.5px!important;line-height:1.9!important;max-width:320px}

/* Compact black/gold security indicator in the top bar — CSS only, no image/network cost. */
.top-security-badge{
  display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;
  min-height:31px;padding:5px 9px;border-radius:10px;
  color:#f0cc75;background:linear-gradient(145deg,#111318,#1b1d22);
  border:1px solid rgba(220,180,82,.30);
  box-shadow:0 5px 12px rgba(19,21,28,.10);
  font-size:8.7px;font-weight:850;white-space:nowrap;
  transition:transform .16s ease,border-color .16s ease;
}
.top-security-badge:hover{color:#ffe39a;transform:translateY(-1px);border-color:rgba(230,191,95,.48)}
.security-shield{
  width:18px;height:18px;border-radius:6px;display:grid;place-items:center;
  color:#e3ba5c;background:rgba(227,186,92,.09);font-size:7px;transform:rotate(45deg)
}
.security-shield::first-letter{transform:rotate(-45deg)}
@media(max-width:1100px){
  .top-security-badge{display:none}
}

.landing-page .site-nav{width:min(1120px,calc(100% - 28px))}

/* Final gallery page sizing: balanced thumbnails across pagination pages. */
.gallery-page{
  max-width:1120px;
  margin:20px auto 0;
  padding:0 16px 42px;
}
.gallery-page-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.gallery-page-card{
  border-radius:16px;
  box-shadow:0 8px 22px rgba(15,23,42,.06);
}
.gallery-page-media{
  height:170px;
  aspect-ratio:16/10;
  background:#eef2f7;
}
.gallery-page-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.gallery-page-body{
  padding:12px 13px 14px;
}
.gallery-page-body h2{
  font-size:13px;
  margin-bottom:6px;
}
.gallery-page-body p{
  font-size:10px;
  line-height:1.8;
  margin-bottom:9px;
  -webkit-line-clamp:2;
}
.gallery-page-body>a{font-size:9.5px}
.gallery-pagination{margin:22px 0 10px}
.gallery-pagination a{
  min-width:34px;
  height:34px;
  padding:0 9px;
  border-radius:9px;
  font-size:10px;
}
.gallery-page-count{font-size:10px}

/* Detail page remains intentionally compact even for very large source images. */
.gallery-detail-page{max-width:900px}
.gallery-detail-card{padding-top:4px}
.gallery-detail-image{
  width:min(520px,72vw);
  height:min(340px,52vw);
  max-width:520px;
  max-height:340px;
  object-fit:contain;
  margin:16px auto 6px;
}
.gallery-detail-body{padding:17px 20px 20px}
.gallery-detail-body h1{font-size:19px}
.gallery-detail-description{font-size:11px;line-height:1.95}

@media(max-width:850px){
  .gallery-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .gallery-page-media{height:155px}
}
@media(max-width:560px){
  .gallery-page{padding:12px 10px 30px}
  .gallery-page-grid{grid-template-columns:1fr 1fr;gap:9px}
  .gallery-page-card{border-radius:12px}
  .gallery-page-media{height:118px}
  .gallery-page-body{padding:9px 10px 10px}
  .gallery-page-body h2{font-size:10.5px}
  .gallery-page-body p{font-size:8.5px;-webkit-line-clamp:2}
  .gallery-page-body>a{font-size:8.5px}
  .gallery-detail-image{
    width:min(360px,84vw);
    height:min(250px,62vw);
    max-width:360px;
    max-height:250px;
  }
}
@media(max-width:390px){
  .gallery-page-grid{grid-template-columns:1fr}
  .gallery-page-media{height:155px}
}

/* ==========================================================================
   FINAL gallery listing size + light black/gold top header
   ========================================================================== */

/* Gallery archive/list page: deliberately compact cards.
   Images should occupy only a modest portion of the screen. */
.gallery-page{
  max-width:1040px!important;
  margin:16px auto 0!important;
  padding:0 14px 34px!important;
}
.gallery-page-hero{
  padding:17px 19px!important;
  margin-bottom:13px!important;
  border-radius:16px!important;
}
.gallery-page-hero h1{font-size:19px!important;margin:2px 0 5px!important}
.gallery-page-hero p{font-size:9px!important;line-height:1.75!important;max-width:620px}
.gallery-page-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:start!important;
}
.gallery-page-card{
  width:100%!important;
  min-width:0!important;
  border-radius:13px!important;
  box-shadow:0 5px 15px rgba(15,23,42,.045)!important;
}
.gallery-page-media{
  display:block!important;
  width:100%!important;
  height:118px!important;
  max-height:118px!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  background:#eef2f7!important;
}
.gallery-page-media img{
  display:block!important;
  width:100%!important;
  height:118px!important;
  max-width:100%!important;
  max-height:118px!important;
  object-fit:cover!important;
  object-position:center!important;
}
.gallery-page-card:hover .gallery-page-media img{
  transform:scale(1.025)!important;
}
.gallery-page-body{
  padding:8px 9px 10px!important;
  min-height:76px!important;
}
.gallery-page-body h2{
  margin:0 0 4px!important;
  font-size:10.5px!important;
  line-height:1.55!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.gallery-page-body p{
  margin:0 0 5px!important;
  font-size:8px!important;
  line-height:1.55!important;
  -webkit-line-clamp:1!important;
}
.gallery-page-body>a{
  font-size:8px!important;
}
.gallery-pagination{margin:17px 0 8px!important}
.gallery-pagination a{
  min-width:30px!important;height:30px!important;
  padding:0 8px!important;border-radius:8px!important;font-size:9px!important
}
.gallery-page-count{font-size:9px!important}

/* Gallery detail: also keep a hard visual ceiling. */
.gallery-detail-page{
  max-width:820px!important;
  margin:16px auto!important;
  padding:0 12px 34px!important;
}
.gallery-detail-card{
  border-radius:16px!important;
  padding-top:10px!important;
}
.gallery-detail-image{
  display:block!important;
  width:360px!important;
  height:240px!important;
  max-width:min(360px,72vw)!important;
  max-height:240px!important;
  object-fit:contain!important;
  margin:10px auto 4px!important;
  border-radius:10px!important;
}
.gallery-detail-body{
  max-width:680px!important;
  padding:13px 16px 17px!important;
}
.gallery-detail-body h1{font-size:16px!important;margin-bottom:7px!important}
.gallery-detail-description{font-size:9.5px!important;line-height:1.8!important}
.gallery-detail-actions{margin-top:12px!important}

/* Entire top header: light black/gold palette, CSS-only and low-cost. */
.landing-page .site-nav{
  background:linear-gradient(145deg,rgba(24,24,25,.96),rgba(40,38,34,.94))!important;
  border:1px solid rgba(219,183,101,.30)!important;
  box-shadow:0 8px 22px rgba(22,20,17,.10)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border-radius:16px!important;
}
.landing-page .site-nav::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(115deg,rgba(255,255,255,.025),transparent 30%,rgba(224,188,102,.025) 72%,transparent);
}
.landing-page .nav-brand strong,
.landing-page .nav-links a,
.landing-page .top-security-badge,
.landing-page .nav-datetime span,
.landing-page .nav-datetime small{
  color:#e3bf69!important;
}
.landing-page .nav-brand strong{
  font-weight:850!important;
}
.landing-page .nav-links a{
  font-weight:800!important;
  opacity:.94;
}
.landing-page .nav-links a:hover{
  color:#ffe39b!important;
  background:rgba(226,190,103,.07)!important;
}
.landing-page .nav-logo{
  background:rgba(224,187,99,.10)!important;
  border:1px solid rgba(224,187,99,.20)!important;
  color:#e4bf69!important;
  box-shadow:none!important;
}
.landing-page .nav-menu-divider{
  background:linear-gradient(to bottom,transparent,rgba(224,188,102,.16),rgba(224,188,102,.55),rgba(224,188,102,.16),transparent)!important;
}
.landing-page .home-menu-toggle{
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(224,188,102,.24)!important;
  box-shadow:none!important;
}
.landing-page .home-menu-toggle span,
.landing-page .home-menu-open .home-menu-toggle span{
  background:#dfbb67!important;
}
.landing-page .nav-datetime{
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(224,188,102,.18)!important;
  box-shadow:none!important;
}
.landing-page .top-security-badge{
  background:rgba(226,190,103,.055)!important;
  border-color:rgba(226,190,103,.25)!important;
  box-shadow:none!important;
}
.landing-page .security-shield{
  color:#e3bb60!important;
  background:rgba(226,190,103,.08)!important;
}

/* Gold emphasis for every top menu text. */
.landing-page .site-nav a,
.landing-page .site-nav strong,
.landing-page .site-nav small,
.landing-page .site-nav [data-live-clock],
.landing-page .site-nav [data-persian-date]{
  color:#dfbb67!important;
}
.landing-page .site-nav a:hover{
  color:#ffe7a5!important;
}

/* Responsive compact gallery */
@media(max-width:900px){
  .gallery-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .gallery-page-media,.gallery-page-media img{height:112px!important;max-height:112px!important}
}
@media(max-width:650px){
  .gallery-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .gallery-page-media,.gallery-page-media img{height:105px!important;max-height:105px!important}
  .gallery-page-body{padding:7px 8px 8px!important}
  .gallery-detail-image{
    width:300px!important;height:200px!important;
    max-width:78vw!important;max-height:200px!important;
  }
}
@media(max-width:390px){
  .gallery-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .gallery-page-media,.gallery-page-media img{height:92px!important;max-height:92px!important}
  .gallery-page-body h2{font-size:9px!important}
}

/* Keep animations cheap. */
.landing-page .site-nav *,
.gallery-page-card,
.gallery-page-media img{
  will-change:auto!important;
}

/* ==========================================================================
   HERO CLEAN REDESIGN — sharp imagery, fewer overlays, no floating clutter
   ========================================================================== */
.landing-page .hero-section{
  position:relative!important;
  min-height:430px!important;
  margin:14px 0 18px!important;
  border-radius:24px!important;
  overflow:hidden!important;
  background:#171a20!important;
  border:1px solid rgba(30,38,66,.10)!important;
  box-shadow:0 14px 34px rgba(27,38,78,.10)!important;
}
.landing-page .hero-visual{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  opacity:1!important;
  pointer-events:auto!important;
  background:#e9edf5!important;
}
.landing-page .hero-slideshow,
.landing-page .hero-slide{position:absolute!important;inset:0!important}
.landing-page .hero-slide img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
  image-rendering:auto!important;
  transition:opacity .28s ease!important;
}
.landing-page .hero-slide.is-active img{transform:none!important}
.landing-page .hero-slide::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:linear-gradient(90deg,rgba(9,12,18,.05) 0%,rgba(9,12,18,.08) 44%,rgba(12,15,22,.48) 72%,rgba(12,15,22,.68) 100%)!important;
}
.landing-page .hero-section::before,
.landing-page .hero-section::after{
  display:none!important;
}
.landing-page .hero-copy{
  position:relative!important;
  z-index:3!important;
  width:min(47%,520px)!important;
  min-height:430px!important;
  margin-right:0!important;
  margin-left:auto!important;
  padding:42px 38px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  color:#fff!important;
  text-align:right!important;
  text-shadow:none!important;
}
.landing-page .hero-copy::before{
  content:"";
  position:absolute;
  inset:24px 22px;
  z-index:-1;
  border-radius:20px;
  background:linear-gradient(145deg,rgba(18,21,27,.78),rgba(30,32,37,.64));
  border:1px solid rgba(232,198,119,.16);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}
.landing-page .hero-eyebrow{
  padding:0!important;
  margin:0 0 9px!important;
  border:0!important;
  background:none!important;
  backdrop-filter:none!important;
  color:#e7c77b!important;
  font-size:9.5px!important;
}
.landing-page .hero-eyebrow span{display:none!important}
.landing-page .hero-copy h1{
  max-width:440px!important;
  font-size:clamp(27px,3.2vw,39px)!important;
  line-height:1.48!important;
  color:#fff!important;
  letter-spacing:-.35px!important;
}
.landing-page .hero-copy>p{
  max-width:430px!important;
  margin:11px 0 15px!important;
  color:rgba(255,255,255,.78)!important;
  font-size:11.5px!important;
  line-height:1.95!important;
  text-shadow:none!important;
}
.landing-page .hero-register-btn{
  width:max-content!important;
  min-width:0!important;
  max-width:100%!important;
  padding:9px 11px!important;
  border-radius:11px!important;
  border:1px solid rgba(226,190,104,.22)!important;
  background:rgba(226,190,104,.08)!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}
.landing-page .hero-register-btn span:first-child{display:none!important}
.landing-page .hero-register-btn b{font-size:9.5px!important;color:#e7c77b!important}
.landing-page .hero-register-btn small{font-size:7.5px!important;color:rgba(255,255,255,.58)!important}
.landing-page .hero-register-btn strong{font-size:13px!important;color:#e7c77b!important}

/* Remove duplicate/floating slide content that made the hero look busy. */
.landing-page .hero-slide-caption,
.landing-page .hero-slide-nav{display:none!important}
.landing-page .hero-slide-dots{
  position:absolute!important;
  z-index:6!important;
  top:auto!important;
  right:auto!important;
  left:50%!important;
  bottom:12px!important;
  transform:translateX(-50%)!important;
  display:flex!important;
  gap:5px!important;
  padding:5px 7px!important;
  border-radius:999px!important;
  background:rgba(15,17,22,.42)!important;
  backdrop-filter:none!important;
}
.landing-page .hero-slide-dots button{
  width:5px!important;height:5px!important;border:0!important;border-radius:50%!important;
  background:rgba(255,255,255,.48)!important
}
.landing-page .hero-slide-dots button.active{
  width:15px!important;border-radius:999px!important;background:#e4c274!important
}

@media(max-width:760px){
  .landing-page .hero-section{min-height:460px!important}
  .landing-page .hero-slide::after{
    background:linear-gradient(180deg,rgba(10,12,17,.05),rgba(10,12,17,.15) 42%,rgba(10,12,17,.76) 100%)!important;
  }
  .landing-page .hero-copy{
    width:100%!important;min-height:460px!important;
    padding:190px 20px 36px!important;justify-content:flex-end!important
  }
  .landing-page .hero-copy::before{inset:auto 12px 24px;height:235px}
  .landing-page .hero-copy h1{font-size:27px!important}
  .landing-page .hero-copy>p{font-size:10.5px!important}
}

/* ==========================================================================
   PUBLIC HOME POPUP — premium public-facing notice, light rendering cost
   ========================================================================== */
.public-popup-layer{
  position:fixed;
  inset:0;
  z-index:3000;
  display:grid;
  place-items:center;
  padding:18px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease,visibility .18s linear;
}
.public-popup-layer.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.public-popup-backdrop{
  position:absolute;
  inset:0;
  background:rgba(11,13,18,.58);
}
.public-popup-card{
  position:relative;
  z-index:1;
  width:min(760px,calc(100vw - 30px));
  max-height:calc(100dvh - 36px);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,1.15fr);
  overflow:hidden;
  border-radius:24px;
  background:linear-gradient(145deg,#15171c,#24231f);
  border:1px solid rgba(232,197,115,.30);
  box-shadow:0 24px 70px rgba(0,0,0,.30);
  transform:translateY(12px) scale(.985);
  transition:transform .20s ease-out;
}
.public-popup-layer.is-open .public-popup-card{transform:translateY(0) scale(1)}
.public-popup-card.no-image{grid-template-columns:1fr;width:min(590px,calc(100vw - 30px))}
.public-popup-card::before{
  content:"";
  position:absolute;
  width:180px;height:180px;border-radius:50%;
  top:-105px;right:-70px;
  background:rgba(224,184,89,.08);
  pointer-events:none;
}
.public-popup-media{
  min-height:370px;
  background:#111318;
}
.public-popup-media img{
  width:100%;height:100%;min-height:370px;max-height:480px;
  object-fit:cover;display:block;filter:none
}
.public-popup-content{
  position:relative;
  padding:42px 34px 32px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:right;
}
.public-popup-icon{
  width:45px;height:45px;border-radius:14px;
  display:grid;place-items:center;
  margin-bottom:15px;
  color:#e7c56f;
  font-size:20px;
  background:rgba(231,197,111,.08);
  border:1px solid rgba(231,197,111,.18);
}
.public-popup-kicker{
  color:#d8b45c;
  font-size:9px;
  font-weight:850;
  margin-bottom:5px;
}
.public-popup-content h2{
  margin:0;
  color:#fff;
  font-size:clamp(23px,3vw,34px);
  line-height:1.55;
}
.public-popup-content p{
  margin:11px 0 0;
  color:rgba(255,255,255,.68);
  font-size:11.5px;
  line-height:2;
}
.public-popup-actions{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:21px
}
.public-popup-primary,
.public-popup-secondary{
  min-height:40px;padding:9px 14px;border-radius:11px;
  font-size:10px;font-weight:850;cursor:pointer
}
.public-popup-primary{
  display:inline-flex;align-items:center;gap:8px;
  color:#171717;
  background:linear-gradient(135deg,#e7c66f,#c89d45);
  border:1px solid rgba(255,230,164,.38);
}
.public-popup-secondary{
  color:rgba(255,255,255,.65);
  background:transparent;
  border:1px solid rgba(255,255,255,.11);
}
.public-popup-close{
  position:absolute;z-index:3;top:12px;left:12px;
  width:32px;height:32px;border-radius:10px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(14,16,20,.52);color:#fff;
  font-size:20px;line-height:1;cursor:pointer
}
.public-popup-primary:hover{filter:brightness(1.04)}
.public-popup-secondary:hover,.public-popup-close:hover{border-color:rgba(232,197,115,.35);color:#e7c56f}

@media(max-width:700px){
  .public-popup-card{grid-template-columns:1fr;width:min(480px,calc(100vw - 22px));max-height:calc(100dvh - 22px)}
  .public-popup-media{min-height:170px;max-height:210px}
  .public-popup-media img{min-height:170px;max-height:210px}
  .public-popup-content{padding:24px 20px 22px}
  .public-popup-content h2{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
  .public-popup-layer,.public-popup-card{transition:none!important}
}

/* Central icon library rendering */
.landing-page .modern-about-section i img,
.landing-page .home-achievement .ach-icon img,
.public-popup-icon img{width:70%;height:70%;object-fit:contain;display:block}
.landing-page .modern-about-section i{overflow:hidden}

.landing-page .news-icon img{width:18px;height:18px;object-fit:contain;display:block}

/* Popup icon as a top-left attached label/badge */
.public-popup-badge{
  position:absolute;
  z-index:5;
  top:0;
  left:20px;
  width:54px;
  height:58px;
  transform:translateY(-1px);
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#171717;
  font-size:23px;
  background:linear-gradient(145deg,#f0d17f,#c9973e);
  border:1px solid rgba(255,232,169,.52);
  border-top:0;
  border-radius:0 0 14px 14px;
  box-shadow:0 8px 18px rgba(0,0,0,.16);
}
.public-popup-badge::after{
  content:"";
  position:absolute;
  inset:auto 7px 6px;
  height:1px;
  background:rgba(72,52,16,.20);
}
.public-popup-badge img{
  width:29px;
  height:29px;
  object-fit:contain;
  display:block;
}
.public-popup-card .public-popup-close{
  left:84px;
}
@media(max-width:700px){
  .public-popup-badge{left:14px;width:48px;height:51px;border-radius:0 0 12px 12px}
  .public-popup-badge img{width:26px;height:26px}
  .public-popup-card .public-popup-close{left:72px}
}

/* Fifth access card: exams and educational packages (coming soon) */
.exams-packages-card {
    cursor: default;
    position: relative;
}

.exams-packages-card .access-button {
    cursor: default;
    opacity: .78;
}

.exams-packages-card .access-art {
    position: relative;
}

.exams-packages-card .access-art::after {
    content: 'به‌زودی';
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    background: rgba(255,255,255,.9);
    color: inherit;
}


/* اصلاح نهایی نمایش تصاویر گالری - واکنش گرا */
.gallery-detail-page .gallery-detail-image{
 width:min(48vw,520px);
 height:min(36vw,390px);
 max-width:100%;
 max-height:390px;
 object-fit:contain;
 margin:20px auto;
}
@media(max-width:768px){
 .gallery-detail-page .gallery-detail-image{width:90%;height:260px;max-height:260px}
}


/* ==========================================================================
   2026-08 CMS/GALLERY STABILITY OVERRIDES
   Keep this block last: it intentionally wins over legacy duplicated rules.
   ========================================================================== */

/* Home gallery: uniform cards eliminate the empty trailing cell caused by the old featured-card row span. */
.landing-page .home-gallery-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:150px!important;
  grid-auto-flow:row dense!important;
  gap:10px!important;
}
.landing-page .home-gallery-card,
.landing-page .home-gallery-card:first-child{
  grid-row:auto!important;
  grid-column:auto!important;
  height:150px!important;
}
.landing-page .home-gallery-card:first-child .home-gallery-body{padding:10px 11px!important}
.landing-page .home-gallery-card:first-child .home-gallery-title-row h3{font-size:10px!important}

/* Services/benefits section: exactly four columns on desktop so eight CMS cards form two balanced rows. */
.landing-page .home-achievements-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}

/* Gallery details: compact media ceiling; enough of the description remains visible without scrolling. */
.gallery-detail-page{
  max-width:760px!important;
  margin:14px auto!important;
  padding:0 12px 28px!important;
}
.gallery-detail-page .gallery-detail-card{padding-top:8px!important}
.gallery-detail-page .gallery-detail-image{
  display:block!important;
  width:min(320px,58vw)!important;
  height:min(210px,38vw)!important;
  max-width:320px!important;
  max-height:210px!important;
  object-fit:contain!important;
  margin:8px auto 2px!important;
  border-radius:10px!important;
}
.gallery-detail-page .gallery-detail-body{
  max-width:650px!important;
  margin:0 auto!important;
  padding:11px 15px 16px!important;
}
.gallery-detail-page .gallery-detail-body h1{font-size:16px!important;margin:0 0 6px!important}
.gallery-detail-page .gallery-detail-description{font-size:10px!important;line-height:1.85!important}
.gallery-detail-page .gallery-detail-meta{margin-bottom:6px!important}
.gallery-detail-page .gallery-detail-actions{margin-top:10px!important}

@media(max-width:850px){
  .landing-page .home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:142px!important}
  .landing-page .home-gallery-card,.landing-page .home-gallery-card:first-child{height:142px!important}
  .landing-page .home-achievements-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .landing-page .home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:126px!important;gap:7px!important}
  .landing-page .home-gallery-card,.landing-page .home-gallery-card:first-child{height:126px!important}
  .gallery-detail-page .gallery-detail-image{
    width:min(260px,76vw)!important;
    height:min(170px,50vw)!important;
    max-width:260px!important;
    max-height:170px!important;
  }
}
@media(max-width:390px){
  .landing-page .home-gallery-grid{grid-template-columns:1fr!important;grid-auto-rows:145px!important}
  .landing-page .home-gallery-card,.landing-page .home-gallery-card:first-child{height:145px!important}
  .landing-page .home-achievements-grid{grid-template-columns:1fr!important}
}

/* V24: shared visual polish for both selectable homepage designs. */
.landing-page .quick-five-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.landing-page .home-quick-access{position:relative;overflow:hidden}
.landing-page .home-quick-access::before{content:"";position:absolute;inset:8% auto auto -8%;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(8,122,89,.09),transparent 70%);pointer-events:none}
.landing-page .student-entry-card{border-color:rgba(8,122,89,.28)!important;background:linear-gradient(145deg,#fff,rgba(8,122,89,.055))!important}
.landing-page .staff-entry-card{border-color:rgba(210,169,76,.3)!important;background:linear-gradient(145deg,#fff,rgba(210,169,76,.065))!important}
.landing-page .access-card,
.landing-page .news-card,
.landing-page .home-achievement,
.landing-page .home-gallery-card,
.landing-page .about-strip>div{position:relative;isolation:isolate;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease!important}
.landing-page .access-card::after,
.landing-page .home-achievement::after{content:"";position:absolute;z-index:-1;top:-45%;right:-80%;width:55%;height:190%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.68),transparent);transform:rotate(18deg);transition:right .65s ease;pointer-events:none}
.landing-page .access-card:hover::after,
.landing-page .home-achievement:hover::after{right:135%}
.landing-page .access-card:hover,
.landing-page .news-card:hover,
.landing-page .home-achievement:hover,
.landing-page .about-strip>div:hover{transform:translateY(-5px)!important;box-shadow:0 18px 42px rgba(15,31,53,.13)!important}
.landing-page .hero-slide.is-active img{animation:v24HeroPan 11s ease-in-out both!important}
.landing-page .home-gallery-media img{transform-origin:center;backface-visibility:hidden}
.landing-page .home-gallery-card:hover .home-gallery-media img{transform:scale(1.055) rotate(.35deg)!important}
.landing-page .ach-icon{transition:transform .3s ease,filter .3s ease}
.landing-page .home-achievement:hover .ach-icon{transform:translateY(-3px) scale(1.07);filter:drop-shadow(0 8px 8px rgba(8,122,89,.12))}
@keyframes v24HeroPan{0%{object-position:50% 48%}50%{object-position:53% 51%}100%{object-position:50% 48%}}
@media(max-width:1050px){.landing-page .quick-five-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.landing-page .quick-five-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:390px){.landing-page .quick-five-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.landing-page .hero-slide.is-active img{animation:none!important}.landing-page .access-card,.landing-page .news-card,.landing-page .home-achievement,.landing-page .home-gallery-card,.landing-page .about-strip>div,.landing-page .ach-icon{transition:none!important;transform:none!important}.landing-page .access-card::after,.landing-page .home-achievement::after{display:none}}


/* 1405/06 - Karaj launch polish + resource-conscious home */
.landing-page .hero-section{min-height:365px!important;height:clamp(330px,36vw,390px)!important;margin:12px 0 14px!important;border-radius:22px!important;box-shadow:0 12px 34px rgba(36,59,120,.10)!important;background:#f4f7fb!important}
.landing-page .hero-copy{min-height:100%!important;padding:26px 28px!important;justify-content:center!important}
.landing-page .hero-copy h1{font-size:clamp(24px,3vw,38px)!important;line-height:1.55!important;max-width:650px}
.landing-page .hero-copy>p{max-width:620px!important;line-height:1.9!important;color:#687b90!important}
.landing-page .hero-slideshow,.landing-page .hero-slide{height:100%!important;min-height:0!important}
.landing-page .hero-slide img{width:100%;height:100%;object-fit:cover;background:#eaf0f5}
.hero-slide.image-caption-mode{display:grid!important;grid-template-rows:minmax(0,1fr) auto;background:#fff}
.hero-slide.image-caption-mode img{position:relative!important;inset:auto!important;min-height:0!important}
.hero-slide.image-caption-mode .hero-slide-caption{position:relative!important;inset:auto!important;background:#fff!important;color:#2f465b!important;padding:9px 14px!important;text-shadow:none!important;backdrop-filter:none!important;border-radius:0!important}
.hero-slide.image-caption-mode .hero-slide-caption strong{color:#2d455b!important;font-size:13px!important}.hero-slide.image-caption-mode .hero-slide-caption span{color:#738498!important;font-size:8px!important;margin-top:2px!important}
.hero-section::after{animation:none!important;filter:none!important;opacity:.55}
.access-five{gap:9px!important}.access-card{min-height:128px!important;border-radius:14px!important;box-shadow:0 6px 18px rgba(43,65,92,.055)!important;transition:transform .14s ease,box-shadow .14s ease!important}.access-card:hover{transform:translateY(-2px)!important;box-shadow:0 9px 22px rgba(43,65,92,.08)!important}
.modern-home-section{content-visibility:auto;contain-intrinsic-size:1px 560px}.site-footer{content-visibility:auto;contain-intrinsic-size:1px 320px}
.home-gallery-media img,.news-icon img,.about-strip img,.feature-icon img{content-visibility:auto}
@media(max-width:900px){.landing-page .hero-section{height:340px!important;min-height:340px!important}.landing-page .hero-copy{padding:21px!important}.landing-page .hero-copy h1{font-size:27px!important}}
@media(max-width:620px){.landing-page .hero-section{height:430px!important;min-height:430px!important;border-radius:17px!important}.landing-page .hero-copy{padding:230px 15px 17px!important;justify-content:flex-end!important}.landing-page .hero-copy h1{font-size:21px!important}.landing-page .hero-copy>p{font-size:10px!important}.access-card{min-height:112px!important}}
@media(prefers-reduced-motion:reduce){.landing-page *{animation:none!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* low-cost menu rendering for constrained hosting/devices */
.home-full-menu,.home-full-menu-backdrop,.site-nav,.hero-register-btn{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.home-full-menu{will-change:transform;transition:transform .16s ease-out!important}
.home-full-menu-links a{transition:background-color .10s ease,color .10s ease,border-color .10s ease!important}
.home-full-menu-links a:hover{transform:none!important}
.home-full-menu::before,.home-full-menu::after{filter:none!important;animation:none!important}
