﻿: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:Tahoma,"Segoe UI",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}




main{width:min(949px,calc(100% - 23.4px));margin:auto}



.visual-orb,.visual-ring,.visual-shimmer{display:none}


.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-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}

.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>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%}}
@media (max-width:682.5px){.news-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:494px){main{width:min(100% - 13px,949px)}.strategic-plan-btn{min-width:0;width:100%}.news-grid{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){
  
  
  
  
  
  
  
  
  
  .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-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}
  .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>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 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){
  
  
  
  
  
  
  
  
  
  .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-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}
  .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>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){
  .strategic-plan-btn{padding:9px 7.8px}.access-card{padding:9.75px}.section-heading h2{font-size:15px}
}

/* v19: top benefits removed; keep layout clean */

/* v19: compact contact button */



/* Stable responsive layout override - keeps the landing page readable on desktop and mobile. */
.landing-page main{width:min(1180px,calc(100% - 32px))}





.landing-page .strategic-plan-btn{padding:15px 18px;border-radius:16px}
.landing-page .access-card{padding:20px;gap:18px;border-radius:20px}
.landing-page .news-grid{gap:16px}
.landing-page .news-card{padding:16px;border-radius:16px}.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){
 
 
 
}
@media (max-width:680px){
 .landing-page main{width:min(100% - 20px,600px)}
 
 
 
 
}
.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: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-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-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-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-body{padding:10px 12px 11px}

.landing-page .home-gallery-body p{font-size:10px;line-height:1.75;min-height:70px;-webkit-line-clamp:4}


/* 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){
 .gallery-detail-image{width:280px;height:210px;max-width:45%;max-height:210px}
}
@media (max-width:600px){
 .gallery-detail-image{width:230px;height:175px;max-width:55%;max-height:175px}
}
@media (max-width:420px){
 .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-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-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-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-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-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-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-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-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 .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-grid{gap:12px}
.landing-page .news-card{min-height:190px;padding:14px;border-radius:15px}

.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 .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 .site-footer{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
 
 
 .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 main{width:min(1180px,calc(100% - 28px));margin:0 auto}
.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 .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-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 .home-gallery-grid{grid-template-columns:1fr 1fr}}
@media (max-width:650px){.landing-page main{width:min(100% - 18px,1180px)}.landing-page .home-gallery-grid{grid-template-columns:1fr}}

/* ===== صفحه اول: هیرو اسلایدی آموزشی ===== */


/* ===== Hero readability + image-fit fix ===== */


/* ===== 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::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:none}.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}

.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 */












.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){
  
  
  
}
@media (max-width:560px){
  
  
  
  
  
  
}

/* Refined hamburger navigation: lightweight black/gold theme */





/* Keep the three-line hamburger stable; no X/outward protrusion. */


.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-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}
}
@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. */





/* 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 */


/* 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 .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-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 .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 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){
 
 
}
@media (max-width:700px){
 .landing-page main{width:min(100% - 18px,1120px)}
 
 
 
 
 
 .landing-page .access-card{min-height:135px}
 
 
}
@media (max-width:430px){
 
 .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-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-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-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>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>div:first-child{grid-column:1/-1}
}
@media (max-width:620px){
  
  .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>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 .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-grid{
  gap:8px!important;
}
.landing-page .home-achievement{
  padding:12px 12px 11px!important;
}


/* Performance: skip initial paint/layout for off-screen lower sections.
   Browser reserves space, then renders when approaching viewport. */
@supports (content-visibility:auto){
  
  
  
  
}

/* Avoid costly blur compositing on repeated cards/sections. */

.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-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. */




@media (max-width:1100px){
  
}



/* 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. */














/* Gold emphasis for every top menu text. */



/* 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. */
.gallery-page-card,.gallery-page-media img{
  will-change:auto!important;
}

/* ==========================================================================
   HERO CLEAN REDESIGN — sharp imagery, fewer overlays, no floating clutter
   ========================================================================== */


/* Remove duplicate/floating slide content that made the hero look busy. */


/* Central icon library rendering */
.landing-page .modern-about-section i img,.landing-page .home-achievement .ach-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}

/* 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 .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 .entry-card-link{display:block;color:inherit;text-decoration:none;cursor:pointer;outline:none}
.landing-page .entry-card-link .feature-more{color:#087a59;font-weight:900}
.landing-page .staff-entry-card.entry-card-link .feature-more{color:#8a681e}
.landing-page .entry-card-link:focus-visible{box-shadow:0 0 0 4px rgba(8,122,89,.2),0 14px 34px rgba(20,46,62,.12)!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 .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 .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 */


.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}
.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:620px){.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 */


/* ===== V112 HOME READABILITY / COMPACTNESS ===== */
/* Top strip is light; gold is retained as an accent rather than a dark background. */









/* Five first-row cards: icon + bold title share the first row; card height is intentionally compact. */
.landing-page .access-section.access-five .access-card{
  min-height:108px!important;padding:10px 11px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;
  grid-template-rows:auto 1fr!important;column-gap:9px!important;row-gap:4px!important;align-items:start!important;
}
.landing-page .access-section.access-five .access-art{grid-column:1;grid-row:1;width:34px!important;height:34px!important;margin:0!important;border-radius:9px!important;font-size:16px!important}
.landing-page .access-section.access-five .access-body{grid-column:2;grid-row:1/3;min-width:0!important;display:flex!important;flex-direction:column!important}
.landing-page .access-section.access-five .access-label{font-size:7.8px!important;line-height:1.25!important;margin-bottom:1px!important}
.landing-page .access-section.access-five .access-body h2{font-size:11.3px!important;line-height:1.55!important;margin:0 0 3px!important}
.landing-page .access-section.access-five .access-body p{font-size:8.7px!important;line-height:1.65!important;margin:0 0 4px!important;-webkit-line-clamp:2!important}
.landing-page .access-section.access-five .access-button{font-size:8.2px!important;margin-top:auto!important;padding:3px 0!important;background:transparent!important}

/* Quick/service cards follow the same icon+title rhythm and avoid tall empty boxes. */
.landing-page .quick-five-grid .home-achievement{
  min-height:112px!important;padding:11px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;column-gap:9px!important;row-gap:5px!important;align-content:start!important;
}
.landing-page .quick-five-grid .home-achievement .ach-icon{grid-column:1;grid-row:1;width:32px;height:32px;margin:0!important;display:grid;place-items:center;font-size:17px!important}
.landing-page .quick-five-grid .home-achievement h3{grid-column:2;grid-row:1;margin:0!important;align-self:center;font-size:11.2px!important;line-height:1.55!important}
.landing-page .quick-five-grid .home-achievement p{grid-column:1/-1;grid-row:2;margin:0!important;font-size:8.8px!important;line-height:1.65!important;min-height:0!important}
.landing-page .quick-five-grid .home-achievement .feature-more{grid-column:1/-1;grid-row:3;margin-top:1px!important;font-size:8.3px!important}
@media (max-width:620px){
 .landing-page .access-section.access-five .access-card,.landing-page .quick-five-grid .home-achievement{min-height:104px!important}
}

/* ==========================================================
   V113 HOME PAGE FIXED-SLOT / DATE+PRIORITY / PERFORMANCE
   Contract: fixed public card slots; no layout collapse when content is inactive.
   ========================================================== */
.landing-page .home-card-placeholder{
  display:block!important;visibility:visible!important;pointer-events:none!important;
  background:linear-gradient(145deg,#fbfcfe,#f6f8fc)!important;
  border:1px dashed #dfe5ef!important;box-shadow:none!important;opacity:.72!important;
  transform:none!important;min-width:0!important;
}
.landing-page .home-card-placeholder::before,.landing-page .home-card-placeholder::after{display:none!important}

/* Top strip: clearer registration and date/time blocks. */









/* Fixed first row: always 5 visual slots and more compact. */

.landing-page .access-five .access-card{min-height:126px!important;padding:10px!important;gap:7px!important;border-radius:14px!important}
.landing-page .access-five .access-art{width:34px!important;height:34px!important;border-radius:10px!important;font-size:17px!important}
.landing-page .access-five .access-body{min-height:75px!important}
.landing-page .access-five .access-label{font-size:9px!important}
.landing-page .access-five .access-body h2{font-size:11.3px!important;line-height:1.55!important;margin:2px 0 3px!important}
.landing-page .access-five .access-body p{font-size:9px!important;line-height:1.6!important;margin-bottom:4px!important;-webkit-line-clamp:2!important}
.landing-page .access-five .access-button{font-size:8.5px!important;padding:4px 7px!important}

/* News: four equal compact slots; first item is no longer a giant dark feature. */

.landing-page .home-news-media{display:block;height:54px;margin:-10px -10px 5px;overflow:hidden;background:#eef1f7}
.landing-page .home-news-media img{display:block;width:100%;height:100%;object-fit:cover}
.landing-page .news-card:has(.home-news-media) .news-card-head{min-height:20px!important;margin-bottom:2px!important}
.landing-page .news-card:has(.home-news-media) h3{margin-top:2px!important}

.landing-page .news-section .modern-section-head{margin-bottom:7px!important;padding-bottom:6px!important}
.landing-page .news-section .modern-section-title p{font-size:9.2px!important;line-height:1.55!important;margin-top:2px!important}
.landing-page .news-grid,.landing-page .news-grid.home-fixed-grid-4{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:8px!important;
}
.landing-page .news-card,.landing-page .news-card:first-child{
  grid-column:auto!important;grid-row:auto!important;min-height:136px!important;height:136px!important;
  padding:10px!important;border-radius:13px!important;background:#fff!important;color:#18213b!important;
  border:1px solid #e6eaf2!important;box-shadow:0 6px 17px rgba(26,39,78,.055)!important;overflow:hidden!important;
}
.landing-page .news-card:first-child::before{display:none!important}
.landing-page .news-card:first-child .news-card-accent{display:block!important}
.landing-page .news-card-head{min-height:25px!important}
.landing-page .news-icon,.landing-page .news-card:first-child .news-icon{width:27px!important;height:27px!important;background:#f2f5ff!important;color:#4f46e5!important}
.landing-page .news-card time,.landing-page .news-card:first-child .news-card-head time{font-size:8.5px!important;color:#7a8499!important;background:#f7f8fb!important;padding:3px 6px!important;border-radius:7px!important}
.landing-page .news-card h3,.landing-page .news-card:first-child h3{font-size:11px!important;line-height:1.55!important;color:#1d2846!important;margin:6px 0 3px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.landing-page .news-card p,.landing-page .news-card:first-child p,.landing-page .home-news-preview{font-size:9px!important;line-height:1.65!important;color:#667085!important;margin:0!important;min-height:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.landing-page .news-card>a,.landing-page .news-card:first-child>a{margin-top:auto!important;font-size:8.7px!important;color:#4f46e5!important;font-weight:800!important}

/* Gallery: eight equal slots (4x2 desktop), no first-card enlargement and no vote overlay on home. */

.landing-page .home-gallery-grid,.landing-page .home-gallery-grid.home-fixed-grid-8{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:8px!important}
.landing-page .home-gallery-card,.landing-page .home-gallery-card:first-child{height:184px!important;min-height:184px!important;grid-row:auto!important;aspect-ratio:auto!important;border-radius:14px!important;box-shadow:0 6px 17px rgba(26,39,78,.055)!important}
.landing-page .home-gallery-media{height:112px!important;flex-basis:112px!important}
.landing-page .home-gallery-body,.landing-page .home-gallery-card:first-child .home-gallery-body{height:72px!important;min-height:72px!important;padding:7px 9px!important}
.landing-page .home-gallery-title-row h3,.landing-page .home-gallery-card:first-child .home-gallery-title-row h3{font-size:10.5px!important;line-height:1.45!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.landing-page .home-gallery-title-row time{font-size:7.8px!important}
.landing-page .home-gallery-body p,.landing-page .home-gallery-card:first-child .home-gallery-body p{font-size:8.4px!important;line-height:1.45!important;margin:2px 0!important;-webkit-line-clamp:1!important}
.landing-page .gallery-more{font-size:8.3px!important;margin-top:auto!important}
.landing-page .gallery-votes{display:none!important}

/* Services / growth paths: eight compact slots. */

.landing-page .home-services .compact-section-head{margin-bottom:6px!important;padding-bottom:5px!important}
.landing-page .home-services .home-achievements-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.landing-page .home-services .service-feature-card{min-height:108px!important;height:108px!important;padding:9px!important;display:grid!important;grid-template-columns:30px 1fr!important;grid-template-rows:auto 1fr auto!important;column-gap:7px!important;align-items:start!important;border-radius:13px!important}
.landing-page .home-services .service-feature-card .ach-icon{grid-row:1/3!important;width:30px!important;height:30px!important;font-size:17px!important;margin:0!important}
.landing-page .compact-card-copy{min-width:0!important}
.landing-page .home-services .service-feature-card h3{font-size:10.5px!important;margin:0 0 2px!important;line-height:1.5!important}
.landing-page .home-services .service-feature-card p{font-size:8.7px!important;line-height:1.55!important;margin:0!important}
.landing-page .home-services .service-feature-card .feature-more{grid-column:2!important;font-size:8px!important;margin-top:3px!important}

/* Achievements: keep cards, shrink the oversized intro/header block. */

.landing-page .achievements-section-head.compact-achievements-head{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(230px,.6fr)!important;gap:10px!important;align-items:center!important;margin-bottom:9px!important;padding-bottom:7px!important}
.landing-page .achievements-section-head .modern-section-title h2{font-size:16px!important;margin:2px 0!important}
.landing-page .achievements-section-head .modern-section-title p{font-size:9px!important;line-height:1.55!important;margin:2px 0!important}
.landing-page .achievements-intro-copy{min-height:0!important;padding:7px 9px!important;border-radius:11px!important;gap:7px!important}
.landing-page .achievements-intro-copy p{font-size:8.7px!important;line-height:1.55!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.landing-page .achievement-head-mark{width:26px!important;height:26px!important;font-size:13px!important;flex:0 0 26px!important}

/* Features: intro + six fixed, compact service slots. */

.landing-page .modern-about-section .features-section-intro{grid-column:1/-1!important;min-height:66px!important;padding:10px 12px!important;border-radius:13px!important}
.landing-page .modern-about-section .features-section-intro h2{font-size:15px!important;margin:2px 0!important}
.landing-page .modern-about-section .features-section-intro p{font-size:9px!important;line-height:1.55!important;max-width:900px!important}
.landing-page .modern-about-section .feature-compact-card{min-height:102px!important;height:102px!important;padding:9px!important;display:grid!important;grid-template-columns:30px 1fr!important;grid-template-rows:1fr auto!important;column-gap:7px!important;border-radius:12px!important;align-items:start!important}
.landing-page .modern-about-section .feature-compact-card>i{grid-row:1!important;width:30px!important;height:30px!important;font-size:16px!important;margin:0!important}
.landing-page .modern-about-section .feature-compact-card strong{font-size:10.3px!important;margin:0 0 2px!important}
.landing-page .modern-about-section .feature-compact-card p{font-size:8.6px!important;line-height:1.5!important;margin:0!important}
.landing-page .modern-about-section .feature-compact-card .feature-more{grid-column:2!important;font-size:8px!important;margin:2px 0 0!important}

/* Hamburger: no blur/backdrop/scroll-close work; short compositor-only transition. */
.landing-page .home-full-menu{contain:layout paint!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:transform .08s linear!important;will-change:transform!important}
.landing-page .home-full-menu-links a{transition:none!important}
.landing-page .home-full-menu::before,.landing-page .home-full-menu::after{filter:none!important;backdrop-filter:none!important}

/* Render work below the fold only when needed. */


@media (max-width:1000px){
 
 .landing-page .news-grid,.landing-page .news-grid.home-fixed-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .landing-page .home-gallery-grid,.landing-page .home-gallery-grid.home-fixed-grid-8{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .landing-page .home-services .home-achievements-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 
 .landing-page .achievements-section-head.compact-achievements-head{grid-template-columns:1fr!important}
}
@media (max-width:620px){
 
 
 .landing-page .news-grid,.landing-page .news-grid.home-fixed-grid-4,.landing-page .home-gallery-grid,.landing-page .home-gallery-grid.home-fixed-grid-8,.landing-page .home-services .home-achievements-grid{grid-template-columns:1fr!important}
 .landing-page .news-card,.landing-page .news-card:first-child{height:auto!important;min-height:126px!important}
 .landing-page .home-gallery-card,.landing-page .home-gallery-card:first-child{height:190px!important}
 .landing-page .home-services .service-feature-card,.landing-page .modern-about-section .feature-compact-card{height:auto!important;min-height:98px!important}
 }
/* V113 beats legacy inline compact rule in Index.cshtml without adding page-specific duplicate CSS. */
.landing-page .news-section .news-card,.landing-page .news-section .news-card:first-child{min-height:136px!important;height:136px!important}
@media (max-width:620px){.landing-page .news-section .news-card,.landing-page .news-section .news-card:first-child{min-height:126px!important;height:auto!important}}

/* ==========================================================
   V114 HOME VISUAL HARMONY / 8 NEWS / 80% GALLERY MEDIA
   Final homepage-only overrides. Keep other site surfaces untouched.
   ========================================================== */

/* Header: one clean line, neutral light theme with restrained navy/gold accents. */



















/* News: 8 equal cards in a compact 4x2 desktop grid; full body remains in details page. */

.landing-page .news-section .modern-section-head{
  min-height:0!important;margin:0 0 5px!important;padding:0 0 5px!important;align-items:center!important;gap:8px!important;
}
.landing-page .news-section .modern-section-title{min-width:0!important}
.landing-page .news-section .modern-section-title small{font-size:7.8px!important;line-height:1.2!important}
.landing-page .news-section .modern-section-title h2{font-size:15px!important;line-height:1.35!important;margin:1px 0!important}
.landing-page .news-section .modern-section-title p{
  font-size:8.5px!important;line-height:1.35!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.landing-page .news-section .modern-section-link{padding:5px 7px!important;font-size:8.2px!important;white-space:nowrap!important}
.landing-page .news-grid,.landing-page .news-grid.home-fixed-grid-8{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;
}
.landing-page .news-section .news-card,.landing-page .news-section .news-card:first-child{
  min-height:124px!important;height:124px!important;padding:8px 9px!important;border-radius:12px!important;
}
.landing-page .news-card-head{min-height:23px!important;margin-bottom:3px!important}
.landing-page .news-icon,.landing-page .news-card:first-child .news-icon{width:24px!important;height:24px!important;font-size:11px!important}
.landing-page .news-card h3,.landing-page .news-card:first-child h3{font-size:10.5px!important;line-height:1.5!important;margin:4px 0 2px!important}
.landing-page .news-card p,.landing-page .news-card:first-child p,.landing-page .home-news-preview{font-size:8.7px!important;line-height:1.55!important;-webkit-line-clamp:2!important}
.landing-page .news-card>a,.landing-page .news-card:first-child>a{font-size:8.3px!important}

/* Gallery: image owns 80% of each card; only one compact caption row remains below. */

.landing-page .home-gallery .modern-section-head{margin-bottom:6px!important;padding-bottom:5px!important}
.landing-page .home-gallery-grid,.landing-page .home-gallery-grid.home-fixed-grid-8{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.landing-page .home-gallery-card,.landing-page .home-gallery-card:first-child{
  display:flex!important;flex-direction:column!important;height:190px!important;min-height:190px!important;
  background:#fff!important;border:1px solid #e3e8ef!important;border-radius:14px!important;overflow:hidden!important;
  color:inherit!important;text-decoration:none!important;box-shadow:0 5px 15px rgba(32,48,76,.05)!important;
}
.landing-page .home-gallery-media{
  position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:152px!important;min-height:152px!important;flex:0 0 152px!important;overflow:hidden!important;background:#eef2f6!important;
}
.landing-page .home-gallery-media::after{display:none!important}
.landing-page .home-gallery-media img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.landing-page .home-gallery-body,.landing-page .home-gallery-card:first-child .home-gallery-body{
  position:relative!important;inset:auto!important;z-index:auto!important;width:100%!important;height:38px!important;min-height:38px!important;flex:0 0 38px!important;
  padding:0 9px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  background:#fff!important;color:#263650!important;pointer-events:none!important;
}
.landing-page .home-gallery-body strong{min-width:0!important;font-size:9.4px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#263650!important}
.landing-page .home-gallery-body small{flex:0 0 auto!important;font-size:7.6px!important;line-height:1!important;color:#78869a!important;white-space:nowrap!important}
.landing-page .home-gallery-card:hover{transform:translateY(-2px)!important;border-color:#cfd8e4!important}

/* Growth/services: keep the 8 DB-backed records dense and readable. */

.landing-page .home-services .compact-section-head{min-height:0!important;margin-bottom:5px!important;padding-bottom:4px!important}
.landing-page .home-services .compact-section-head h2{font-size:14px!important;margin:0!important}
.landing-page .home-services .service-feature-card{height:102px!important;min-height:102px!important}

/* Achievements: concise title area on the right, full readable intro inside a light box on the left. */

.landing-page .achievements-section-head.compact-achievements-head{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important;align-items:stretch!important;
  min-height:0!important;margin-bottom:7px!important;padding-bottom:6px!important;
}
.landing-page .achievements-section-head .modern-section-title{display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:52px!important}
.landing-page .achievements-section-head .modern-section-kicker{font-size:8px!important;line-height:1.25!important;margin:0 0 2px!important}
.landing-page .achievements-section-head .modern-section-title h2{font-size:15px!important;line-height:1.4!important;margin:0!important;color:#263650!important}
.landing-page .achievements-intro-copy{
  display:flex!important;align-items:flex-start!important;min-height:52px!important;padding:8px 10px!important;gap:7px!important;
  border-radius:11px!important;background:#f7f9fc!important;border:1px solid #e2e7ef!important;
}
.landing-page .achievements-intro-copy p{
  display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;font-size:9.2px!important;line-height:1.75!important;margin:0!important;color:#647287!important;
}
.landing-page .achievement-head-mark{width:24px!important;height:24px!important;flex:0 0 24px!important;font-size:11px!important;background:#fff4d8!important;color:#a77b25!important}

/* Six feature slots retain exact geometry; an empty slot looks intentional, not broken. */
.landing-page .modern-about-section .feature-compact-card.home-card-placeholder{
  min-height:102px!important;height:102px!important;background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.075)!important;box-shadow:none!important;opacity:.58!important;
}

@media (max-width:1000px){
  .landing-page .news-grid,.landing-page .news-grid.home-fixed-grid-8{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .landing-page .home-gallery-grid,.landing-page .home-gallery-grid.home-fixed-grid-8{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .landing-page .achievements-section-head.compact-achievements-head{grid-template-columns:1fr!important}
}
@media (max-width:980px){
  
}
@media (max-width:620px){
  
  
  
  
  
  
  .landing-page .news-grid,.landing-page .news-grid.home-fixed-grid-8{grid-template-columns:1fr!important}
  .landing-page .news-section .news-card,.landing-page .news-section .news-card:first-child{height:auto!important;min-height:112px!important}
  .landing-page .news-section .modern-section-title p{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical!important}
  .landing-page .home-gallery-grid,.landing-page .home-gallery-grid.home-fixed-grid-8{grid-template-columns:1fr!important}
  .landing-page .home-gallery-card,.landing-page .home-gallery-card:first-child{height:205px!important;min-height:205px!important}
  .landing-page .home-gallery-media{height:164px!important;min-height:164px!important;flex-basis:164px!important}
  .landing-page .home-gallery-body,.landing-page .home-gallery-card:first-child .home-gallery-body{height:41px!important;min-height:41px!important;flex-basis:41px!important}
}
@media (max-width:620px){
  
  
  
}
/* Neutralize the legacy generic .home-gallery-card span overlay rule for V114 markup. */
.landing-page .home-gallery-card>.home-gallery-media{padding:0!important;border-radius:0!important;color:inherit!important;font-size:inherit!important}
.landing-page .home-gallery-card>.home-gallery-body{border-radius:0!important;font-size:inherit!important}

/* V115 — ویژگی‌ها و خدمات کانون: حذف kicker و کاهش ارتفاع سربرگ. */
.landing-page .modern-about-section .features-section-intro{min-height:48px!important;padding:7px 11px!important;align-content:center!important}
.landing-page .modern-about-section .features-section-intro h2{margin:0!important;font-size:15px!important;line-height:1.45!important}
.landing-page .modern-about-section .features-section-intro p{margin:3px 0 0!important;font-size:8.8px!important;line-height:1.5!important;max-width:1000px!important}

/* V117 - Excel V116 Hero contract corrective override */



/* === V119 restore Home section icons === */
/* Hero-only cleanup must not affect News / Information / Features / Services icons. */
.landing-page .home-news-card img,.landing-page .home-news-card .icon,.landing-page .home-news-card .home-icon,.landing-page .news-card img,.landing-page .news-card .icon,.landing-page .service-card img,.landing-page .service-card .icon,.landing-page .feature-card img,.landing-page .feature-card .icon,.landing-page .home-feature-card img,.landing-page .home-feature-card .icon,.landing-page .home-service-card img,.landing-page .home-service-card .icon{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:auto!important;
  height:auto!important;
  max-width:42px!important;
  max-height:42px!important;
  object-fit:contain!important;
  flex:0 0 auto!important;
}
.landing-page .service-card .icon,.landing-page .feature-card .icon,.landing-page .home-feature-card .icon,.landing-page .home-service-card .icon{
  min-width:32px!important;
  min-height:32px!important;
  align-items:center!important;
  justify-content:center!important;
}

/* ===== V135: unified fixed homepage design (single fixed homepage design) ===== */
/* Unified homepage design — fixed, not selectable from CMS. */
.landing-unified{
  --v2-navy: #071f3a;
  --v2-navy-soft: #0d2b4d;
  --v2-green: #087a59;
  --v2-green-dark: #056148;
  --v2-gold: #d2a94c;
  --v2-ivory: #f7f4ec;
  --v2-paper: #fffdf8;
  --v2-ink: #10283f;
  --v2-muted: #627083;
  --home-action-surface: linear-gradient(135deg, #f4fbff 0%, #e1f0fb 100%);
  --home-action-surface-hover: linear-gradient(135deg, #f9fdff 0%, #d8ebfa 100%);
  --home-action-border: rgba(54, 104, 153, .24);
  background: var(--v2-ivory);
  color: var(--v2-ink);
}






















.landing-unified .home-full-menu{
  right: 0 !important;
  left: auto !important;
  border-left: 1px solid rgba(210,169,76,.35);
  background: linear-gradient(180deg, #061a31, #0b2948) !important;
}

.landing-unified main{ background: var(--v2-ivory); }


.landing-unified .strategic-plan-btn{
  border: 0 !important;
  background: linear-gradient(145deg, var(--v2-green), var(--v2-green-dark)) !important;
  box-shadow: 0 14px 35px rgba(8,122,89,.25) !important;
}

.landing-unified .about-section,.landing-unified .contact-section{ padding-right: clamp(20px, 5vw, 78px) !important; padding-left: clamp(20px, 5vw, 78px) !important; }

.landing-unified .access-card,.landing-unified .news-card,.landing-unified .gallery-card,.landing-unified .about-card,.landing-unified .contact-card,.landing-unified .home-service-card{
  border: 1px solid rgba(16,40,63,.09) !important;
  background: var(--v2-paper) !important;
  box-shadow: 0 14px 38px rgba(16,40,63,.08) !important;
}
.landing-unified .access-card:hover,.landing-unified .news-card:hover,.landing-unified .gallery-card:hover{ transform: translateY(-5px); box-shadow: 0 22px 48px rgba(16,40,63,.14) !important; }
.landing-unified .access-label,.landing-unified .modern-section-title small{ color: var(--v2-green) !important; }
.landing-unified .access-button,.landing-unified .modern-section-link,.landing-unified .news-card a{ color: var(--v2-green) !important; }
.landing-unified .section-heading h2,.landing-unified .modern-section-title h2,.landing-unified .access-body h2{ color: var(--v2-navy) !important; }



.landing-unified .achievements-section,.landing-unified .features-section{
  background: linear-gradient(135deg, #062d35, #07563f) !important;
  color: #fff !important;
}
.landing-unified #achievements h2,.landing-unified .achievements-section h2,.landing-unified .features-section h2{ color: #fff !important; }
.landing-unified #achievements small,.landing-unified .achievements-section small,.landing-unified .features-section small{ color: #f0cf7e !important; }

.landing-unified footer,.landing-unified .site-footer,.landing-unified .landing-footer{ background: var(--v2-navy) !important; color: #eaf0f5 !important; }
.landing-unified footer a,.landing-unified .site-footer a,.landing-unified .landing-footer a{ color: #f1d58e !important; }

@media (max-width: 1120px){
  
  
  
}

@media (max-width: 820px){
  
  
  
  
  
  
  
  
  
  
}

@media (max-width: 520px){
  
  
  
  
  
  
  
  
  
}


/* Karaj launch: compact hero + low-cost motion */


@media (max-width:520px){}
@media (prefers-reduced-motion:reduce){.landing-unified *{animation:none!important;transition-duration:.01ms!important}}

/* low-cost menu rendering for constrained hosting/devices */
.home-full-menu,.home-full-menu-backdrop{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}

/* V114: keep unified home design compatible with the final single-line light header contract. */












.landing-unified main{background:#f4f7fb!important}
@media (max-width:980px){}
@media (max-width:620px){
 
 
 
 
}

/* V119 final icon visibility override */
.landing-page .home-news-card img,.landing-page .home-news-card .icon,.landing-page .news-card img,.landing-page .news-card .icon,.landing-page .service-card img,.landing-page .service-card .icon,.landing-page .feature-card img,.landing-page .feature-card .icon,.landing-page .home-feature-card img,.landing-page .home-feature-card .icon,.landing-page .home-service-card img,.landing-page .home-service-card .icon{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
}

/* === V274 HOME FINAL CONTRACT: seven parent containers, one visual shell === */
.landing-page .home-main-container{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 14px!important;
  padding:14px 16px!important;
  border:1px solid #dfe5ec!important;
  border-radius:18px!important;
  background:#ffffff!important;
  color:#24364d!important;
  box-shadow:0 10px 28px rgba(30,45,72,.065)!important;
  overflow:hidden!important;
}
.landing-page .home-main-container::before,.landing-page .home-main-container::after{pointer-events:none}
.landing-page .home-main-container-first{
  min-height:0!important;
  padding:10px!important;
  grid-template-columns:repeat(auto-fit,minmax(165px,1fr))!important;
  align-items:stretch!important;
  gap:9px!important;
}
.landing-page .access-section.access-five.home-main-container-first .access-card{
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:8px 9px!important;
  margin:0!important;
  align-self:stretch!important;
}
.landing-page .access-section.access-five.home-main-container-first .access-body{min-height:0!important}
.landing-page .access-section.access-five.home-main-container-first .access-art{width:32px!important;height:32px!important}
.landing-page .access-section.access-five.home-main-container-first .access-body h2{margin-bottom:2px!important}
.landing-page .access-section.access-five.home-main-container-first .access-body p{margin-bottom:2px!important}
.landing-page .access-section.access-five.home-main-container-first .access-button{margin-top:2px!important}
.landing-page .home-quick-access.home-main-container,.landing-page .news-section.home-main-container,.landing-page .home-gallery.home-main-container,.landing-page .home-services.home-main-container,.landing-page .home-achievements.home-main-container,.landing-page .modern-about-section.home-main-container{
  min-height:0!important;
  border:1px solid #dfe5ec!important;
  background:#fff!important;
  color:#24364d!important;
  box-shadow:0 10px 28px rgba(30,45,72,.065)!important;
}
.landing-page .home-achievements.home-main-container,.landing-unified #achievements.home-main-container{
  background:#ffffff!important;
  color:#24364d!important;
}
.landing-page .home-achievements.home-main-container h2,.landing-unified #achievements.home-main-container h2{color:#20364f!important}
.landing-page .home-achievements.home-main-container small{color:#087a59!important}
.landing-page .home-managed-link{cursor:pointer;text-decoration:none;transition:opacity .18s ease}
.landing-page .home-managed-link:hover{opacity:.82}
@media(max-width:900px){
  .landing-page .home-main-container{padding:12px!important;border-radius:16px!important}
  .landing-page .home-main-container-first{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .landing-page .home-main-container{padding:10px!important;margin-bottom:10px!important;border-radius:14px!important}
  .landing-page .home-main-container-first{grid-template-columns:1fr!important;gap:8px!important}
}
.landing-page .home-main-container-first{display:grid!important}
.landing-page .modern-about-section.home-main-container{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
.landing-page .modern-about-section.home-main-container .features-section-intro{grid-column:1/-1!important}
@media(max-width:760px){.landing-page .modern-about-section.home-main-container{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.landing-page .modern-about-section.home-main-container{grid-template-columns:1fr!important}}


/* CANONICAL HOME HERO - V274: merged into the single Home stylesheet. */
.landing-page .home-hero{
  display:grid;
  grid-template-columns:minmax(0,2.2fr) minmax(290px,.8fr);
  gap:12px;
  direction:ltr;
  position:relative;
  width:100%;
  height:clamp(330px,29vw,410px);
  min-height:330px;
  margin:14px 0 16px;
  padding:0;
  background:transparent;
}

.landing-page .home-hero-visual{
  position:relative;
  width:100%;
  height:100%;
  min-width:0;
  overflow:hidden;
  direction:rtl;
  border:1px solid rgba(255,255,255,.64);
  border-radius:20px;
  background:#eef3f7;
  box-shadow:0 12px 30px rgba(21,48,80,.10);
}

.landing-page .home-hero-empty{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,#edf3f8,#f9fbfd);
}

.landing-page .home-hero-slideshow,.landing-page .home-hero-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
}

.landing-page .home-hero-slide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .32s ease,visibility .32s ease;
  background:#eef3f7;
}

.landing-page .home-hero-slide.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:1;
}

.landing-page .home-hero-slide.has-link{cursor:pointer}

/* V146: every Hero image is fitted to the exact Hero viewport with no crop.
   The full source image remains visible; width and height are stretched to the responsive Hero box. */
.landing-page .home-hero-slide>img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  min-width:100%!important;
  min-height:100%!important;
  margin:0!important;
  padding:0!important;
  object-fit:fill!important;
  object-position:center center!important;
  filter:none!important;
}

.landing-page .home-hero-caption{
  position:absolute;
  z-index:2;
  right:16px;
  bottom:16px;
  max-width:min(500px,72%);
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:13px;
  color:#fff;
  text-align:right;
  background:rgba(8,27,49,.65);
  -webkit-backdrop-filter:blur(10px) saturate(120%);
  backdrop-filter:blur(10px) saturate(120%);
  box-shadow:0 8px 22px rgba(0,0,0,.16);
}

.landing-page .home-hero-caption strong,.landing-page .home-hero-caption span{display:block}
.landing-page .home-hero-caption strong{font-size:19px;line-height:1.5;font-weight:900}
.landing-page .home-hero-caption span{margin-top:3px;font-size:11.5px;line-height:1.75;color:#eef5fb}

.landing-page .home-hero-slide.image-caption-mode{
  display:block;
  background:#eef3f7;
}
/* image-caption is only a caption presentation mode; it must never shrink the image viewport. */
.landing-page .home-hero-slide.image-caption-mode>img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  object-fit:fill!important;
}
.landing-page .home-hero-slide.image-caption-mode .home-hero-caption{
  position:absolute;
  right:0;
  left:0;
  bottom:0;
  max-width:none;
  padding:9px 13px;
  border:0;
  border-radius:0;
  color:#2f465b;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  box-shadow:0 -5px 18px rgba(15,23,42,.08);
}
.landing-page .home-hero-slide.image-caption-mode .home-hero-caption strong{color:#2d455b}
.landing-page .home-hero-slide.image-caption-mode .home-hero-caption span{color:#738498}

.landing-page .home-hero-dots{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:11px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:6px;
  direction:ltr;
}
.landing-page .home-hero-dots button{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.62);
  box-shadow:0 1px 5px rgba(0,0,0,.18);
  cursor:pointer;
  transition:width .18s ease,background .18s ease;
}
.landing-page .home-hero-dots button.active{
  width:24px;
  border-radius:8px;
  background:#fff;
}

.landing-page .home-hero-nav{
  position:absolute;
  z-index:5;
  left:14px;
  bottom:12px;
  display:flex;
  gap:6px;
  direction:ltr;
}
.landing-page .home-hero-nav button{
  width:32px;
  height:32px;
  padding:0;
  border:1px solid rgba(255,255,255,.48);
  border-radius:10px;
  color:#fff;
  background:rgba(8,27,49,.42);
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.landing-page .home-hero-nav button:hover{background:rgba(8,27,49,.62)}

/* One visual system for all Hero action cards. */
.landing-page .home-hero-actions{
  position:relative;
  display:grid;
  grid-template-rows:repeat(5,minmax(0,1fr));
  gap:8px;
  width:100%;
  height:100%;
  min-width:0;
  direction:rtl;
}

.landing-page .home-hero-action-card{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 20px;
  align-items:center;
  gap:9px;
  min-width:0;
  min-height:0;
  padding:8px 10px;
  overflow:hidden;
  direction:rtl;
  border:1px solid var(--home-action-border);
  border-radius:16px;
  color:#16375e;
  text-decoration:none;
  background:var(--home-action-surface);
  -webkit-backdrop-filter:blur(14px) saturate(135%);
  backdrop-filter:blur(14px) saturate(135%);
  box-shadow:0 8px 22px rgba(21,48,80,.09),inset 0 1px 0 rgba(255,255,255,.74);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.landing-page .home-hero-action-card:hover{
  transform:translateX(-3px);
  border-color:rgba(46,101,157,.34);
  background:var(--home-action-surface-hover);
  box-shadow:0 12px 28px rgba(21,48,80,.14),inset 0 1px 0 rgba(255,255,255,.82);
}
.landing-page .home-hero-action-icon{
  grid-column:1;
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:21px;
  background:rgba(255,255,255,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.80),0 4px 12px rgba(21,48,80,.06);
}
.landing-page .home-hero-action-card span:nth-child(2){
  grid-column:2;
  min-width:0;
  text-align:right;
}
.landing-page .home-hero-action-card b{
  display:block;
  overflow:hidden;
  font-size:12.5px;
  line-height:1.45;
  font-weight:850;
  color:#173a69;
  white-space:normal;
}
.landing-page .home-hero-action-card small{
  display:block;
  margin-top:2px;
  overflow:hidden;
  font-size:8.8px;
  line-height:1.4;
  color:#748399;
  white-space:normal;
}
/* Card is on the right of the Hero; navigation arrow sits on the card's left edge and points left. */
.landing-page .home-hero-action-card strong{
  grid-column:3;
  justify-self:end;
  align-self:center;
  width:20px;
  color:#315f94;
  font-size:24px;
  font-weight:500;
  line-height:1;
  text-align:center;
  transform:translateX(-1px);
}

@media(max-width:900px){
  .landing-page .home-hero{
    display:block;
    height:auto;
    min-height:0;
    direction:rtl;
  }
  .landing-page .home-hero-visual{height:clamp(250px,54vw,390px)}
  .landing-page .home-hero-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto;
    margin-top:10px;
    height:auto;
  }
  .landing-page .home-hero-action-card{min-height:68px}
}

@media(max-width:560px){
  .landing-page .home-hero{margin:10px 0 14px}
  .landing-page .home-hero-visual{height:clamp(220px,62vw,320px)}
  .landing-page .home-hero-actions{grid-template-columns:1fr}
  .landing-page .home-hero-action-card{min-height:66px}
  .landing-page .home-hero-caption{right:10px;left:10px;bottom:10px;max-width:none;padding:9px 11px}
  .landing-page .home-hero-caption strong{font-size:15px}
  .landing-page .home-hero-caption span{font-size:10.5px}
  .landing-page .home-hero-nav{left:10px;bottom:10px}
}

@media(prefers-reduced-motion:reduce){
  .landing-page .home-hero-slide,.landing-page .home-hero-dots button,.landing-page .home-hero-action-card{transition:none}
}

/* Strategy action uses the same card system with one restrained accent. */
.landing-page .home-hero-action-card.action-strategy .home-hero-action-icon{background:rgba(238,246,255,.88);color:#285f91}

/* V274 HOME RUNTIME STYLES: moved from Index.cshtml; one Home stylesheet owns layout. */
/* compact homepage sections */
.home-quick-access.modern-home-section{padding-top:10px!important;padding-bottom:12px!important}
.home-quick-access .quick-access-head{margin-bottom:8px!important;min-height:0!important}
.home-quick-access .quick-access-head h2{margin:0!important;font-size:clamp(17px,1.7vw,22px)!important}
.home-quick-access .compact-home-cards{gap:9px!important}
.home-quick-access .compact-card{padding:12px!important;min-height:150px!important}
.footer-contact-line{display:flex!important;align-items:flex-start;gap:8px;margin:7px 0;line-height:1.85}
.footer-contact-line i{flex:0 0 22px;width:22px;height:22px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;font-style:normal;background:rgba(255,255,255,.09)}
.footer-address-line strong,.footer-phone-line strong{font-weight:800!important}
.footer-phone-line strong{letter-spacing:.25px;font-size:13px}

/* تکمیل کارت‌های صفحه اول و Footer کرج */
.site-footer{align-items:stretch!important}
.site-footer>.footer-col{min-height:210px!important}
.footer-contact-line{direction:rtl!important;justify-content:flex-start!important;text-align:right!important;width:100%!important}
.footer-contact-line i{order:0!important}
.footer-website-line a{color:#fff!important;text-decoration:none!important;font-weight:900!important;direction:ltr!important}
.footer-phone-values{direction:ltr!important;unicode-bidi:embed!important;text-align:right!important;font-weight:900!important;display:inline-block!important}
.footer-phone-line{font-weight:900!important}
.footer-phone-line i{background:rgba(255,255,255,.14)!important;font-size:14px!important}
.footer-address-line strong{font-weight:900!important}
.footer-quick .quick-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
.footer-quick .quick-links a{min-height:34px!important;display:flex!important;align-items:center!important;padding:6px 8px!important;border-radius:8px!important;background:rgba(255,255,255,.06)!important}
@media(max-width:720px){.footer-quick .quick-links{grid-template-columns:1fr!important}.site-footer>.footer-col{min-height:auto!important}}




.landing-page .home-hero{height:clamp(264px,23.2vw,328px)!important;min-height:264px!important}
.landing-page .home-hero-action-card{grid-template-columns:36px minmax(0,1fr) 16px!important;padding:5px 8px!important;border-radius:13px!important;gap:7px!important}.landing-page .home-hero-action-icon{width:34px!important;height:34px!important;font-size:17px!important;border-radius:10px!important}.landing-page .home-hero-action-card b{font-size:11px!important}.landing-page .home-hero-action-card small{font-size:8px!important}.landing-page .home-hero-action-card strong{font-size:20px!important}
@media(max-width:900px){.landing-page .home-hero{height:auto!important;min-height:0!important}.landing-page .home-hero-visual{height:clamp(200px,43.2vw,312px)!important}}


/* V297 — Home content completion. Keep all records CMS-backed; only presentation is adjusted here. */
.landing-page .news-section .news-card,.landing-page .news-section .news-card:first-child{height:178px!important;min-height:178px!important;display:flex!important;flex-direction:column!important}
.landing-page .news-card p,.landing-page .news-card:first-child p,.landing-page .home-news-preview{
  -webkit-line-clamp:4!important;line-clamp:4!important;min-height:54px!important
}
.landing-page .home-services .service-feature-card p,.landing-page .home-achievements .home-achievement p,.landing-page .modern-about-section .feature-compact-card p{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;line-clamp:4!important;overflow:hidden!important
}
.landing-page .home-services .service-feature-card{height:118px!important;min-height:118px!important}
.landing-page .modern-about-section .feature-compact-card{height:116px!important;min-height:116px!important}
.landing-page .home-achievements .home-achievement{min-height:132px!important}
.landing-page .home-achievements .home-achievement.home-achievement-wide{grid-column:span 2!important}
.landing-page .home-achievements .home-achievement.home-achievement-wide p{-webkit-line-clamp:4!important;line-clamp:4!important}
@media (max-width:1000px){
  .landing-page .home-achievements .home-achievement.home-achievement-wide{grid-column:span 2!important}
}
@media (max-width:620px){
  .landing-page .news-section .news-card,.landing-page .news-section .news-card:first-child{height:auto!important;min-height:168px!important}
  .landing-page .home-services .service-feature-card,.landing-page .modern-about-section .feature-compact-card{height:auto!important;min-height:112px!important}
  .landing-page .home-achievements .home-achievement.home-achievement-wide{grid-column:auto!important}
}

/* === V305 HOME CARD / POPUP COMPACT ALIGNMENT ===
   One canonical home treatment: news image stays at the physical left, icon starts the title line,
   achievement title begins immediately after its icon, and popup content no longer creates an inner scrollbar. */
.landing-page .news-section .news-card,.landing-page .news-section .news-card:first-child{
  position:relative!important;height:166px!important;min-height:166px!important;padding:9px!important;overflow:hidden!important;
  display:block!important;background:#fff!important;
}
.landing-page .news-section .news-card.has-news-image{
  display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-areas:"media content"!important;
  gap:10px!important;align-items:stretch!important;
}
.landing-page .news-section .news-card.no-news-image{display:block!important}
.landing-page .news-section .home-news-media{
  grid-area:media!important;width:76px!important;height:100%!important;min-height:0!important;max-height:none!important;
  margin:0!important;border-radius:10px!important;overflow:hidden!important;align-self:stretch!important;background:#f1f4f7!important;
}
.landing-page .news-section .home-news-media img{
  width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;display:block!important;
}
.landing-page .news-section .news-card-content{
  grid-area:content!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;text-align:right!important;direction:rtl!important;padding:0!important;
}
.landing-page .news-section .news-card-meta{display:flex!important;justify-content:flex-start!important;min-height:15px!important;margin:0 0 2px!important}
.landing-page .news-section .news-card-meta time{font-size:7.5px!important;line-height:1.3!important;color:#82909d!important;background:#f3f6f8!important;border-radius:5px!important;padding:2px 5px!important}
.landing-page .news-section .news-title-row{display:flex!important;align-items:flex-start!important;gap:6px!important;min-width:0!important;margin:0 0 3px!important}
.landing-page .news-section .news-title-row .news-icon{
  flex:0 0 25px!important;width:25px!important;height:25px!important;margin:0!important;border-radius:7px!important;background:#f4f7fb!important;
  display:grid!important;place-items:center!important;font-size:11px!important;
}
.landing-page .news-section .news-title-row .news-icon img{width:16px!important;height:16px!important;object-fit:contain!important}
.landing-page .news-section .news-title-row h3{
  flex:1 1 auto!important;min-width:0!important;margin:1px 0 0!important;font-size:10.4px!important;line-height:1.55!important;color:#21364d!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
.landing-page .news-section .news-card .home-news-preview{
  margin:0!important;min-height:0!important;font-size:8.55px!important;line-height:1.68!important;color:#637387!important;
  display:-webkit-box!important;-webkit-line-clamp:4!important;line-clamp:4!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
.landing-page .news-section .news-read-more{margin-top:auto!important;padding-top:3px!important;font-size:8px!important;font-weight:900!important;text-decoration:none!important}

.landing-page .home-achievements .home-achievement{
  min-height:112px!important;padding:10px 11px!important;display:flex!important;flex-direction:column!important;gap:5px!important;overflow:hidden!important;
}
.landing-page .home-achievements .achievement-card-head{display:flex!important;align-items:flex-start!important;gap:7px!important;min-width:0!important;margin:0!important}
.landing-page .home-achievements .achievement-card-head .ach-icon{
  flex:0 0 29px!important;width:29px!important;height:29px!important;margin:0!important;border-radius:8px!important;font-size:14px!important;
}
.landing-page .home-achievements .achievement-card-title{flex:1 1 auto!important;min-width:0!important;padding-top:1px!important}
.landing-page .home-achievements .achievement-card-title h3{margin:0!important;font-size:10.2px!important;line-height:1.55!important;color:#263b52!important}
.landing-page .home-achievements .achievement-card-title small{display:inline-flex!important;margin-top:2px!important;font-size:7px!important;line-height:1.2!important}
.landing-page .home-achievements .home-achievement>p.line-clamp-5{
  margin:0!important;font-size:8.45px!important;line-height:1.62!important;color:#657489!important;
  display:-webkit-box!important;-webkit-line-clamp:5!important;line-clamp:5!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}

/* V493: canonical public Home popup — image-dominant, full-image visible, one visual owner. */
.public-popup-layer{
  position:fixed!important;inset:0!important;z-index:4500!important;display:grid!important;place-items:center!important;padding:16px!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;overflow:hidden!important;
  transition:opacity .16s ease,visibility .16s linear!important;
}
.public-popup-layer.is-open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.public-popup-backdrop{position:absolute!important;inset:0!important;background:rgba(13,38,34,.55)!important;backdrop-filter:blur(3px)!important}
.public-popup-card{
  position:relative!important;z-index:1!important;direction:rtl!important;width:min(760px,calc(100vw - 32px))!important;
  max-width:760px!important;max-height:calc(100dvh - 32px)!important;overflow:hidden!important;border-radius:22px!important;
  border:1px solid rgba(167,215,201,.9)!important;background:#fff!important;box-shadow:0 28px 86px rgba(8,45,39,.3)!important;
  transform:translateY(10px) scale(.987)!important;transition:transform .18s ease-out!important;
}
.public-popup-layer.is-open .public-popup-card{transform:translateY(0) scale(1)!important}
.public-popup-card.has-image{height:min(720px,calc(100dvh - 32px))!important;min-height:430px!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;background:#e8f5f1!important}
.public-popup-media{position:relative!important;min-height:0!important;overflow:hidden!important;display:grid!important;place-items:center!important;background:#173f39!important;isolation:isolate!important}
.public-popup-media-fill{position:absolute!important;inset:-18px!important;width:calc(100% + 36px)!important;height:calc(100% + 36px)!important;object-fit:cover!important;filter:blur(18px) saturate(.82) brightness(.68)!important;transform:scale(1.06)!important;opacity:.82!important;z-index:0!important}
.public-popup-media::after{content:""!important;position:absolute!important;inset:0!important;z-index:.5!important;background:linear-gradient(180deg,rgba(10,35,31,.04),rgba(10,35,31,.18))!important;pointer-events:none!important}
.public-popup-media-image{position:relative!important;z-index:1!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;object-fit:contain!important;object-position:center!important}
.public-popup-image-footer{position:relative!important;z-index:2!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:13px 16px!important;min-height:96px!important;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(235,248,244,.98))!important;border-top:1px solid #bfe2d7!important;box-shadow:0 -8px 26px rgba(11,83,69,.08)!important}
.public-popup-image-copy{min-width:0!important;text-align:right!important}
.public-popup-kicker{display:block!important;margin:0 0 3px!important;font-size:9.5px!important;line-height:1.4!important;color:#12816a!important;font-weight:900!important;letter-spacing:-.05px!important}
.public-popup-image-copy h2,.public-popup-text-content h2{margin:0!important;color:#153f38!important;font-weight:950!important;letter-spacing:-.35px!important}
.public-popup-image-copy h2{font-size:clamp(17px,2vw,22px)!important;line-height:1.45!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.public-popup-image-copy p{margin:3px 0 0!important;color:#58736d!important;font-size:10.2px!important;line-height:1.65!important;display:-webkit-box!important;-webkit-line-clamp:2!important;line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.public-popup-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:nowrap!important;margin:0!important}
.public-popup-primary,.public-popup-secondary{min-height:37px!important;padding:8px 13px!important;border-radius:10px!important;font-size:10px!important;font-weight:900!important;cursor:pointer!important;text-decoration:none!important;white-space:nowrap!important}
.public-popup-primary{display:inline-flex!important;align-items:center!important;gap:7px!important;color:#fff!important;background:linear-gradient(135deg,#2eaf91,#137b67)!important;border:1px solid #167b68!important;box-shadow:0 7px 18px rgba(19,123,103,.18)!important}
.public-popup-primary:hover{filter:brightness(1.035)!important;transform:translateY(-1px)!important}
.public-popup-secondary{color:#42635d!important;background:#f8fcfb!important;border:1px solid #cfe5de!important}
.public-popup-close{position:absolute!important;z-index:5!important;top:11px!important;left:11px!important;width:34px!important;height:34px!important;border-radius:10px!important;display:grid!important;place-items:center!important;border:1px solid rgba(205,231,223,.95)!important;background:rgba(255,255,255,.95)!important;color:#365f57!important;font-size:21px!important;line-height:1!important;cursor:pointer!important;box-shadow:0 5px 16px rgba(12,60,52,.14)!important}
.public-popup-secondary:hover,.public-popup-close:hover{border-color:#86c8b5!important;color:#0c715e!important;background:#edf8f4!important}
.public-popup-card.no-image{width:min(570px,calc(100vw - 32px))!important;min-height:0!important;background:linear-gradient(145deg,#fff 0%,#f3fbf8 64%,#e8f6f1 100%)!important}
.public-popup-text-content{padding:34px 34px 29px!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;direction:rtl!important}
.public-popup-text-content .public-popup-badge{width:58px!important;height:58px!important;display:grid!important;place-items:center!important;margin:0 0 10px!important;border-radius:17px!important;border:1px solid #b8ded2!important;background:linear-gradient(145deg,#e4f7f1,#d4eee6)!important;color:#0b725e!important;font-size:25px!important;overflow:hidden!important;box-shadow:0 10px 26px rgba(19,123,103,.1)!important}
.public-popup-text-content .public-popup-badge img{width:34px!important;height:34px!important;object-fit:contain!important}
.public-popup-text-content h2{font-size:clamp(22px,3vw,31px)!important;line-height:1.5!important;max-width:480px!important}
.public-popup-text-content p{margin:9px 0 0!important;max-width:470px!important;color:#58716c!important;font-size:11.4px!important;line-height:1.95!important;white-space:pre-line!important}
.public-popup-text-content .public-popup-actions{margin-top:20px!important;justify-content:center!important;flex-wrap:wrap!important}
@media(max-width:700px){
  .public-popup-layer{padding:10px!important}
  .public-popup-card,.public-popup-card.has-image{width:min(560px,calc(100vw - 20px))!important;max-height:calc(100dvh - 20px)!important}
  .public-popup-card.has-image{height:min(690px,calc(100dvh - 20px))!important;min-height:390px!important}
  .public-popup-image-footer{grid-template-columns:1fr!important;gap:9px!important;padding:11px 13px 12px!important;min-height:0!important}
  .public-popup-image-copy h2{font-size:17px!important}.public-popup-image-copy p{font-size:9.8px!important}
  .public-popup-actions{justify-content:flex-start!important;flex-wrap:wrap!important}
  .public-popup-primary,.public-popup-secondary{min-height:35px!important;padding:7px 11px!important;font-size:9.5px!important}
  .public-popup-text-content{padding:31px 20px 23px!important}.public-popup-text-content h2{font-size:22px!important}.public-popup-text-content p{font-size:10.5px!important;line-height:1.85!important}
}
@media(max-width:430px){
  .public-popup-card.has-image{height:calc(100dvh - 20px)!important}
  .public-popup-image-footer{padding-inline:11px!important}
  .public-popup-secondary{display:none!important}
}
@media(prefers-reduced-motion:reduce){.public-popup-layer,.public-popup-card{transition:none!important}}

@media(max-width:620px){
  .landing-page .news-section .news-card.has-news-image{grid-template-columns:72px minmax(0,1fr)!important}
  .landing-page .news-section .home-news-media{width:72px!important}
  .landing-page .news-section .news-card,.landing-page .news-section .news-card:first-child{height:auto!important;min-height:154px!important}
}

/* === V306 HOME NEWS + FEATURE READABILITY ===
   News image is a small top-right thumbnail (not a full-height stripe); text remains CMS-backed.
   The three visible feature cards use their full descriptions with readable contrast. */
.landing-page .news-section .news-card,.landing-page .news-section .news-card:first-child{
  height:172px!important;min-height:172px!important;padding:9px 10px!important;overflow:hidden!important;direction:rtl!important;
}
.landing-page .news-section .news-card.has-news-image{
  display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-areas:"media content"!important;
  gap:9px!important;align-items:start!important;
}
.landing-page .news-section .home-news-media{
  grid-area:media!important;width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;max-width:58px!important;max-height:58px!important;
  align-self:start!important;margin:0!important;border-radius:9px!important;background:#eef3f6!important;overflow:hidden!important;
}
.landing-page .news-section .home-news-media img{width:58px!important;height:58px!important;object-fit:cover!important;display:block!important}
.landing-page .news-section .news-card-content{grid-area:content!important;min-height:154px!important;justify-content:flex-start!important}
.landing-page .news-section .news-card-meta{margin-bottom:2px!important}
.landing-page .news-section .news-title-row{margin-bottom:3px!important;gap:5px!important}
.landing-page .news-section .news-title-row .news-icon{flex-basis:23px!important;width:23px!important;height:23px!important;border-radius:7px!important}
.landing-page .news-section .news-title-row h3{font-size:10.5px!important;line-height:1.55!important;-webkit-line-clamp:2!important;line-clamp:2!important}
.landing-page .news-section .news-card .home-news-preview{font-size:8.7px!important;line-height:1.7!important;-webkit-line-clamp:5!important;line-clamp:5!important;color:#53697b!important}
.landing-page .news-section .news-read-more{margin-top:auto!important;padding-top:2px!important}
@media(max-width:620px){
 .landing-page .news-section .news-card.has-news-image{grid-template-columns:52px minmax(0,1fr)!important}
 .landing-page .news-section .home-news-media,.landing-page .news-section .home-news-media img{width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;max-width:52px!important;max-height:52px!important}
}

.landing-page .modern-about-section{align-items:stretch!important}
.landing-page .modern-about-section.feature-count-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.landing-page .modern-about-section .features-section-intro{min-height:58px!important;padding:9px 13px!important;background:#fff!important}
.landing-page .modern-about-section .features-section-intro h2{display:block!important;margin:0!important;color:#233e55!important;font-size:14.5px!important;line-height:1.45!important}
.landing-page .modern-about-section .features-section-intro p{margin:4px 0 0!important;max-width:none!important;color:#60788c!important;font-size:9.4px!important;line-height:1.75!important;font-weight:650!important}
.landing-page .modern-about-section .feature-compact-card{
  height:auto!important;min-height:118px!important;padding:11px 12px!important;grid-template-columns:30px minmax(0,1fr)!important;
  align-content:start!important;background:#fff!important;
}
.landing-page .modern-about-section .feature-compact-card>i{margin:0!important}
.landing-page .modern-about-section .feature-compact-card strong{display:block!important;margin:0 0 4px!important;color:#29465b!important;font-size:10.5px!important;line-height:1.55!important}
.landing-page .modern-about-section .feature-compact-card p{
  display:block!important;overflow:visible!important;max-height:none!important;margin:0!important;color:#526b7f!important;
  font-size:9.2px!important;line-height:1.85!important;font-weight:650!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;
}
@media(max-width:850px){.landing-page .modern-about-section.feature-count-3{grid-template-columns:1fr!important}}


/* V311-R2: ROOT FIX — Hero must respond to the actual available content width.
   The old rail used minmax(290px,.8fr), which can remain visible/clipped at browser zoom
   even when the physical screenshot is narrower than the media-query breakpoint. */
.landing-page main{box-sizing:border-box!important;min-width:0!important;max-width:1180px!important}
.landing-page .home-hero{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;overflow:visible!important}
.landing-page .home-hero>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.landing-page .home-hero-actions{min-width:0!important;max-width:100%!important}
.landing-page .home-hero-action-card{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.landing-page .home-hero-action-card span:nth-child(2),.landing-page .home-hero-action-card b,.landing-page .home-hero-action-card small{min-width:0!important;max-width:100%!important}

/* Use the real rendered main width, not only CSS viewport width. */
@container (max-width: 900px){
  .landing-page .home-hero{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    direction:rtl!important;
  }
  .landing-page .home-hero-visual{
    width:100%!important;
    height:clamp(220px,54cqw,390px)!important;
  }
  .landing-page .home-hero-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:auto!important;
    gap:8px!important;
    width:100%!important;
    height:auto!important;
    margin-top:10px!important;
  }
  .landing-page .home-hero-action-card{min-height:68px!important}
}

/* Fallback for browsers without container-query support. */
@media (max-width:1100px){
  .landing-page .home-hero{
    grid-template-columns:minmax(0,2.2fr) minmax(0,.8fr)!important;
  }
}
@media (max-width:900px){
  .landing-page .home-hero{display:block!important;height:auto!important;min-height:0!important;direction:rtl!important}
  .landing-page .home-hero-visual{height:clamp(220px,54vw,390px)!important}
  .landing-page .home-hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important;height:auto!important;margin-top:10px!important}
}
@media (max-width:560px){
  .landing-page .home-hero-actions{grid-template-columns:1fr!important}
}

/* V311 final menu behavior: fixed overlay, no internal scroll, no page jump. */
html{
  scrollbar-gutter:stable;
}
body.home-menu-open{
  /* Do not remove the document scrollbar. The menu is an overlay and must not
     change the page width when it opens/closes. */
  overflow-y:auto !important;
}
.home-full-menu{
  position:fixed !important;
  top:10px !important;
  right:10px !important;
  bottom:10px !important;
  height:auto !important;
  max-height:none !important;
  overflow:hidden !important;
  overscroll-behavior:contain;
  box-sizing:border-box;
}
.home-full-menu-links{
  min-height:0 !important;
  overflow:hidden !important;
  grid-template-rows:repeat(var(--home-menu-items,12),minmax(0,1fr)) !important;
}
.home-full-menu-links a{
  min-height:0 !important;
  height:100% !important;
  overflow:hidden !important;
  white-space:nowrap;
  text-overflow:ellipsis;
  box-sizing:border-box;
}
@media (max-height:760px){
  .home-full-menu{top:7px !important;right:7px !important;bottom:7px !important}
}
@media (max-height:620px){
  .home-full-menu{top:5px !important;right:5px !important;bottom:5px !important;padding:7px 9px !important}
}

/* FINAL MENU OVERRIDE: the quick/full menu must NEVER become a scroll container. */
.home-full-menu,.home-full-menu-links,.home-full-menu-head,.home-menu-title-wrap{
  box-sizing:border-box;
}
.home-full-menu{
  overflow:hidden !important;
  overflow-y:hidden !important;
  overflow-x:hidden !important;
  overscroll-behavior:none !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}
.home-full-menu::-webkit-scrollbar,.home-full-menu-links::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}
.home-full-menu-links{
  overflow:hidden !important;
  overflow-y:hidden !important;
  overflow-x:hidden !important;
  min-height:0 !important;
  max-height:none !important;
}
.home-full-menu-links > a{
  overflow:hidden !important;
  min-width:0;
  box-sizing:border-box;
}
/* Never lock the document or remove its scrollbar when the menu opens. */
body.home-menu-open{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-gutter:stable;
}
@media (max-height:760px){
  .home-full-menu{max-height:calc(100dvh - 16px) !important;top:8px !important;bottom:8px !important;height:auto !important;}
}

/* V338: calm, client-side hero transition with no extra server request. */
.landing-page .home-hero-slide{
  transition:opacity .95s ease-in-out,visibility .95s ease-in-out!important;
}
.landing-page .home-hero-slide>img{
  transform:scale(1.012);
  transition:transform 8s cubic-bezier(.2,.65,.3,1)!important;
}
.landing-page .home-hero-slide.is-active>img{transform:scale(1)}
@media (prefers-reduced-motion:reduce){
  .landing-page .home-hero-slide{transition:none!important}
  .landing-page .home-hero-slide>img{transition:none!important;transform:none!important}
}

/* V392 — compact three-line Home quick menu. Canonical landing.css remains the single owner. */







.landing-page .home-full-menu{width:min(292px,86vw)!important;padding:12px!important}
.landing-page .home-full-menu a{min-height:36px!important;padding:7px 10px!important;font-size:11.5px!important;line-height:1.45!important}
.landing-page .home-full-menu nav,.landing-page .home-full-menu .home-full-menu-links{gap:4px!important}
@media(max-width:720px){
  
  
  .landing-page .home-full-menu{width:min(280px,88vw)!important;padding:10px!important}
}

/* === V417 HOME QUICK MENU COMPACT / FAST ===
   Final override: keep the approved graphic language while removing the
   full-height drawer feel. The menu sizes to its content and uses only a
   transform transition, avoiding expensive blur/filter work while opening. */
.landing-page .home-full-menu{
  top:8px!important;
  right:8px!important;
  bottom:auto!important;
  width:min(273px,84vw)!important;
  height:auto!important;
  max-height:calc(100dvh - 16px)!important;
  padding:9px 10px!important;
  border-radius:16.5px!important;
  overflow:hidden!important;
  contain:layout paint!important;
  will-change:transform!important;
  transition:transform .12s ease-out!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.landing-page .home-full-menu-head{
  min-height:0!important;
  gap:6.6px!important;
  padding:2.2px 2.2px 6.6px!important;
  margin:0 0 5.5px!important;
}
.landing-page .home-menu-title-wrap{gap:1.1px!important}
.landing-page .home-menu-kicker{font-size:7.7px!important;line-height:1.2!important}
.landing-page .home-full-menu-head strong{font-size:13.2px!important;line-height:1.35!important}
.landing-page .home-full-menu-head small{font-size:8.8px!important;line-height:1.3!important}
.landing-page .home-menu-gold-line{margin:0 0 5.5px!important;height:1.1px!important}
.landing-page .home-full-menu-links{
  display:flex!important;
  flex-direction:column!important;
  grid-template-rows:none!important;
  gap:3.3px!important;
  overflow:hidden!important;
}
.landing-page .home-full-menu-links>a{
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:32px!important;
  padding:5.5px 8.8px!important;
  border-radius:8.8px!important;
  font-size:10.45px!important;
  line-height:1.35!important;
  transition:background-color .08s linear,color .08s linear,border-color .08s linear!important;
  transform:none!important;
}
@media(max-width:720px){
 .landing-page .home-full-menu{width:min(260px,88vw)!important;top:6px!important;right:6px!important;padding:7.7px 8.8px!important;max-height:calc(100dvh - 12px)!important}
 .landing-page .home-full-menu-links>a{min-height:31px!important;font-size:10.18px!important;padding:4.4px 7.7px!important}
}
@media(max-height:640px){
 .landing-page .home-full-menu{width:min(251px,86vw)!important;padding:6.6px 7.7px!important}
 .landing-page .home-full-menu-head{padding-bottom:4.4px!important;margin-bottom:3.3px!important}
 .landing-page .home-full-menu-head small,.landing-page .home-menu-kicker{display:none!important}
 .landing-page .home-full-menu-links{gap:2.2px!important}
 .landing-page .home-full-menu-links>a{min-height:27.5px!important;font-size:9.68px!important;padding:3.3px 7.7px!important}
}

/* === V483 CANONICAL HOME TOP STRIP ===
   Single owner for the current top line. Fixed labels live in Index.cshtml; no editable nav/title path remains.
   Surface intentionally matches the Hero-side action cards. */
.landing-page.landing-unified .site-nav{
  position:relative!important;top:auto!important;z-index:1000!important;
  width:min(1120px,calc(100% - 28px))!important;margin:12px auto 0!important;
  min-height:52px!important;padding:7px 10px!important;gap:8px!important;
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
  border:1px solid var(--home-action-border)!important;border-radius:16px!important;
  background:var(--home-action-surface)!important;color:#24425e!important;
  box-shadow:0 9px 24px rgba(31,76,120,.11),inset 0 1px 0 rgba(255,255,255,.82)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.landing-page.landing-unified .nav-left-cluster{display:flex!important;align-items:center!important;gap:9px!important;flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important}
.landing-page.landing-unified .nav-menu-divider{display:block!important;width:1px!important;height:27px!important;flex:0 0 1px!important;background:linear-gradient(to bottom,transparent,#aac5db,transparent)!important}
.landing-page.landing-unified .nav-brand{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;white-space:nowrap!important}
.landing-page.landing-unified .nav-brand strong{max-width:230px!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#24425e!important;font-size:12px!important;font-weight:850!important;line-height:1.2!important;white-space:nowrap!important}
.landing-page.landing-unified .nav-logo{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;flex:0 0 34px!important;border:1px solid #bed3e4!important;border-radius:10px!important;background:rgba(255,255,255,.64)!important;color:#2a6085!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important}
.landing-page.landing-unified .nav-links{display:flex!important;align-items:center!important;justify-content:center!important;gap:1px!important;flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important}
.landing-page.landing-unified .nav-links a{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;padding:7px 6px!important;border-radius:8px!important;color:#294a66!important;font-size:10.6px!important;font-weight:820!important;line-height:1!important;white-space:nowrap!important;opacity:1!important;text-decoration:none!important}
.landing-page.landing-unified .nav-links a:hover{color:#0c5f75!important;background:rgba(255,255,255,.62)!important;transform:none!important}
.landing-page.landing-unified .nav-datetime{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex:0 0 auto!important;min-width:0!important;min-height:36px!important;height:36px!important;padding:5px 8px!important;border:1px solid #bfd3e3!important;border-radius:10px!important;background:rgba(255,255,255,.66)!important;color:#24425e!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.86)!important;white-space:nowrap!important}
.landing-page.landing-unified .nav-datetime-label{margin:0!important;color:#668098!important;font-size:8px!important;white-space:nowrap!important}
.landing-page.landing-unified .nav-datetime b,.landing-page.landing-unified .nav-datetime [data-live-clock]{color:#24425e!important;font-size:10.5px!important;font-weight:850!important}
.landing-page.landing-unified .nav-time-separator{color:#6f8ca4!important}
.landing-page.landing-unified .home-menu-toggle-labeled{position:relative!important;display:block!important;flex:0 0 34px!important;min-width:34px!important;width:34px!important;height:34px!important;margin:0 2px!important;padding:0!important;border:1px solid #b9d0e2!important;border-radius:10px!important;background:rgba(255,255,255,.62)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important;cursor:pointer!important}
.landing-page.landing-unified .home-menu-toggle-labeled span{position:absolute!important;right:7px!important;left:auto!important;width:18px!important;height:2px!important;margin:0!important;border-radius:999px!important;background:#2e6388!important;transition:transform .12s ease,opacity .12s ease,top .12s ease!important}
.landing-page.landing-unified .home-menu-toggle-labeled span:nth-child(1){top:9px!important}
.landing-page.landing-unified .home-menu-toggle-labeled span:nth-child(2){top:16px!important}
.landing-page.landing-unified .home-menu-toggle-labeled span:nth-child(3){top:23px!important}
.landing-page.landing-unified.home-menu-open .home-menu-toggle-labeled span:nth-child(1){top:16px!important;transform:rotate(45deg)!important}
.landing-page.landing-unified.home-menu-open .home-menu-toggle-labeled span:nth-child(2){opacity:0!important}
.landing-page.landing-unified.home-menu-open .home-menu-toggle-labeled span:nth-child(3){top:16px!important;transform:rotate(-45deg)!important}
@media(max-width:1040px){
  .landing-page.landing-unified .nav-brand strong{max-width:170px!important}
  .landing-page.landing-unified .nav-links a{font-size:10.2px!important;padding-inline:5px!important}
}
@media(max-width:980px){
  .landing-page.landing-unified .nav-links{display:none!important}
  .landing-page.landing-unified .site-nav{justify-content:space-between!important}
}
@media(max-width:620px){
  .landing-page.landing-unified .site-nav{width:calc(100% - 18px)!important;min-height:48px!important;padding:6px 7px!important;gap:5px!important;margin-top:9px!important}
  .landing-page.landing-unified .nav-brand strong{max-width:132px!important;font-size:11px!important}
  .landing-page.landing-unified .nav-menu-divider,.landing-page.landing-unified .nav-datetime{display:none!important}
  .landing-page.landing-unified .home-menu-toggle-labeled{flex-basis:32px!important;min-width:32px!important;width:32px!important;height:32px!important}
  .landing-page.landing-unified .home-menu-toggle-labeled span{right:7px!important;width:17px!important}
}


/* V537: public Home popup image must fill the visual frame with no dark side gutters. */
.public-popup-card.has-image .public-popup-media{background:#e8f5f1!important}
.public-popup-card.has-image .public-popup-media-fill{display:none!important}
.public-popup-card.has-image .public-popup-media-image{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;background:#e8f5f1!important}
@media(max-width:700px){
  .public-popup-card.has-image{width:calc(100vw - 16px)!important;height:min(92dvh,720px)!important;min-height:0!important}
  .public-popup-image-footer{grid-template-columns:1fr!important;gap:9px!important;padding:10px 11px!important}.public-popup-actions{justify-content:stretch!important}.public-popup-actions>*{flex:1!important;text-align:center!important;justify-content:center!important}
}


/* === V540 HOME POPUP MOBILE FULL-IMAGE / CLOSE CONTRACT ===
   Desktop keeps the deliberate fill treatment. Phones must show the complete image,
   never crop it, and must always expose a touch-safe close control. */
@media(max-width:700px){
  .public-popup-layer{padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))!important;overflow:auto!important;align-items:center!important}
  .public-popup-card.has-image{width:calc(100vw - 16px)!important;height:auto!important;max-height:calc(100dvh - 16px)!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:auto!important;background:#fff!important}
  .public-popup-card.has-image .public-popup-media{flex:0 1 auto!important;width:100%!important;min-height:0!important;max-height:calc(100dvh - 150px)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:#fff!important}
  .public-popup-card.has-image .public-popup-media-fill{display:none!important}
  .public-popup-card.has-image .public-popup-media-image{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100dvh - 150px)!important;object-fit:contain!important;object-position:center center!important;background:#fff!important}
  .public-popup-card.has-image .public-popup-image-footer{flex:0 0 auto!important;width:100%!important}
  .public-popup-close{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:absolute!important;top:8px!important;left:8px!important;margin:0!important;z-index:30!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:12px!important;background:rgba(13,38,34,.86)!important;border:1px solid rgba(255,255,255,.62)!important;color:#fff!important;font-size:26px!important;box-shadow:0 6px 20px rgba(0,0,0,.28)!important}
  .public-popup-secondary{display:inline-flex!important;align-items:center!important;justify-content:center!important}
}
@media(max-width:430px){
  .public-popup-card.has-image .public-popup-media{max-height:calc(100dvh - 178px)!important}
  .public-popup-card.has-image .public-popup-media-image{max-height:calc(100dvh - 178px)!important}
  .public-popup-image-footer{padding:10px!important}
  .public-popup-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(86px,.55fr)!important;width:100%!important;gap:7px!important}
  .public-popup-actions>*{width:100%!important;min-width:0!important}
}

/* V541 signed-in identity lives inside the home toolbar. */
.site-nav .toolbar-user-identity{margin-inline-start:auto;color:#172047!important;background:rgba(255,255,255,.88)!important;border-color:rgba(23,32,71,.12)!important;box-shadow:0 3px 12px rgba(15,23,42,.07)!important;max-width:180px!important}
@media(max-width:680px){.site-nav .toolbar-user-identity{max-width:116px!important;height:28px!important;padding-inline:7px!important;margin-inline-start:4px!important}.site-nav .toolbar-user-identity b{font-size:8px!important}}

/* === V542 HOME CARD TYPOGRAPHY READABILITY ===
   Typography-only override. Card/grid dimensions, padding, gaps and responsive geometry stay untouched. */
.landing-page .access-section.access-five .access-label{font-size:10.2px!important;line-height:1.35!important}
.landing-page .access-section.access-five .access-body h2{font-size:13px!important;line-height:1.55!important;font-weight:900!important}
.landing-page .access-section.access-five .access-body p{font-size:10.4px!important;line-height:1.65!important;font-weight:600!important}
.landing-page .access-section.access-five .access-button{font-size:9.5px!important;line-height:1.45!important}

.landing-page .quick-five-grid .home-achievement h3{font-size:12.4px!important;line-height:1.55!important;font-weight:900!important}
.landing-page .quick-five-grid .home-achievement p{font-size:10.2px!important;line-height:1.6!important;font-weight:600!important}
.landing-page .quick-five-grid .home-achievement .feature-more{font-size:9.3px!important;line-height:1.45!important}

.landing-page .news-section .news-card-meta time{font-size:8.7px!important;line-height:1.35!important}
.landing-page .news-section .news-title-row h3{font-size:12px!important;line-height:1.55!important;font-weight:900!important}
.landing-page .news-section .news-card .home-news-preview{font-size:10.1px!important;line-height:1.65!important;font-weight:600!important}
.landing-page .news-section .news-read-more{font-size:9.3px!important;line-height:1.4!important}

.landing-page .home-services .service-feature-card h3{font-size:12px!important;line-height:1.55!important;font-weight:900!important}
.landing-page .home-services .service-feature-card p{font-size:10.1px!important;line-height:1.6!important;font-weight:600!important}
.landing-page .home-services .service-feature-card .feature-more{font-size:9.2px!important;line-height:1.4!important}

.landing-page .home-achievements .achievement-card-title h3{font-size:11.8px!important;line-height:1.55!important;font-weight:900!important}
.landing-page .home-achievements .achievement-card-title small{font-size:8.6px!important;line-height:1.3!important}
.landing-page .home-achievements .home-achievement>p.line-clamp-5{font-size:10px!important;line-height:1.62!important;font-weight:600!important}

.landing-page .modern-about-section .features-section-intro p{font-size:10.5px!important;line-height:1.7!important}
.landing-page .modern-about-section .feature-compact-card strong{font-size:12px!important;line-height:1.55!important;font-weight:900!important}
.landing-page .modern-about-section .feature-compact-card p{font-size:10.3px!important;line-height:1.7!important;font-weight:600!important}
.landing-page .modern-about-section .feature-compact-card .feature-more{font-size:9.2px!important;line-height:1.4!important}

.landing-page .home-gallery-body strong{font-size:10.6px!important;line-height:1.25!important;font-weight:900!important}
.landing-page .home-gallery-body small{font-size:8.5px!important;line-height:1.15!important}


/* === V543 HOME DESCRIPTIVE COPY READABILITY ===
   Body/description copy only. Titles and all card/grid geometry remain unchanged. */
.landing-page .access-section.access-five .access-body p{
  font-size:11.6px!important;
  line-height:1.72!important;
  font-weight:650!important;
}
.landing-page .quick-five-grid .home-achievement p{
  font-size:11.5px!important;
  line-height:1.7!important;
  font-weight:650!important;
}
.landing-page .news-section .news-card .home-news-preview{
  font-size:11.6px!important;
  line-height:1.72!important;
  font-weight:650!important;
}
.landing-page .home-services .service-feature-card p{
  font-size:11.5px!important;
  line-height:1.7!important;
  font-weight:650!important;
}
.landing-page .home-achievements .home-achievement>p.line-clamp-5{
  font-size:11.5px!important;
  line-height:1.7!important;
  font-weight:650!important;
}
.landing-page .modern-about-section .features-section-intro p{
  font-size:11.7px!important;
  line-height:1.72!important;
  font-weight:650!important;
}
.landing-page .modern-about-section .feature-compact-card p{
  font-size:11.5px!important;
  line-height:1.7!important;
  font-weight:650!important;
}

/* Section explanatory copy under "مسیر رشد و موفقیت" and "افتخارات و دستاوردها". */
.landing-page .section-heading p,
.landing-page .section-head p,
.landing-page .section-intro p,
.landing-page .achievements-section-intro p,
.landing-page .features-section-intro p{
  font-size:11.7px!important;
  line-height:1.72!important;
  font-weight:650!important;
}


/* === V544 ACHIEVEMENTS SECTION DESCRIPTION READABILITY ===
   Exact reported path: section#achievements > .achievements-section-head > .modern-section-title.
   Typography only; section/card geometry and title sizing remain unchanged. */
.landing-page #achievements .achievements-section-head .modern-section-title p{
  font-size:11.8px!important;
  line-height:1.72!important;
  font-weight:650!important;
}


/* === V545 HOME CARD READ-MORE / SINGLE DETAIL PAGE ===
   Adds only the bottom-left content link. Existing card dimensions and grid geometry are preserved. */
.landing-page .home-card-read-more{
  color:#087a59!important;
  font-size:9.4px!important;
  line-height:1.35!important;
  font-weight:900!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  justify-self:end!important;
  align-self:flex-end!important;
}
.landing-page .home-card-read-more:hover{text-decoration:underline!important}
.landing-page .home-achievements .home-achievement>.home-card-read-more{margin-top:auto!important}
.landing-page .home-services .service-feature-card>.home-card-read-more{grid-column:2!important;grid-row:3!important}
.landing-page .modern-about-section .feature-compact-card>.home-card-read-more{grid-column:2!important;grid-row:2!important;align-self:end!important}

.home-content-detail-page .home-content-detail{max-width:900px}
.home-content-detail-kicker{display:block;color:#087a59;font-weight:900;font-size:.9rem;margin-bottom:10px}
.home-content-detail-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.home-content-detail-heading h1{margin:0!important}
.home-content-detail-heading small{display:inline-block;margin-top:6px;color:#64748b;font-weight:800}
.home-content-detail-icon{flex:0 0 48px;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#eef8f4;color:#087a59;font-size:24px}
.home-content-detail-icon img{width:70%;height:70%;object-fit:contain}
.home-content-detail-text{white-space:pre-line;font-size:1rem!important;line-height:2!important;color:#3c4b5f!important}


/* === V546 HOME READ-MORE CONTAINMENT ===
   Keep the read-more action strictly inside its own card at every breakpoint. */
.landing-page .home-card-read-more{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.landing-page .home-services .service-feature-card,
.landing-page .home-achievements .home-achievement,
.landing-page .modern-about-section .feature-compact-card{
  overflow:hidden!important;
}
.landing-page .home-services .service-feature-card>.home-card-read-more,
.landing-page .modern-about-section .feature-compact-card>.home-card-read-more{
  width:auto!important;
  justify-self:end!important;
}
.landing-page .home-achievements .home-achievement>.home-card-read-more{
  width:auto!important;
  align-self:flex-end!important;
  margin-inline-start:0!important;
}


/* === V547 HOME CARD COPY CLAMP / READ-MORE SPACE ===
   Reserve clear space for read-more actions without changing card dimensions. */

/* News: keep summary shorter so "ادامه مطلب" always remains visible. */
.landing-page .news-section .news-card .home-news-preview{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  line-clamp:3!important;
  overflow:hidden!important;
  margin-bottom:6px!important;
}
.landing-page .news-section .news-card-content{
  min-height:0!important;
}
.landing-page .news-section .news-read-more{
  margin-top:auto!important;
  align-self:flex-start!important;
}

/* معرفی کانون / مسیرهای رشد و خدمات کانون: reduce body lines and reserve the final row for the link. */
.landing-page .home-services .service-feature-card p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  line-clamp:3!important;
  overflow:hidden!important;
  margin-bottom:3px!important;
}
.landing-page .home-services .service-feature-card>.home-card-read-more{
  align-self:end!important;
  margin-top:2px!important;
  position:relative!important;
  z-index:2!important;
}
