/* KIDC v38 preview fix - RTL, responsive, Laravel-ready
   Font files must be placed in: public/kidc-site/assets/font/
   Supports Vazirmatn variable and static filenames. */
@font-face{font-family:'Vazirmatn';src:local('Vazirmatn'),url('font/Vazirmatn[wght].woff2') format('woff2'),url('font/Vazirmatn-Variable.woff2') format('woff2'),url('font/Vazirmatn-Regular.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('font/Vazirmatn-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('font/Vazirmatn-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('font/Vazirmatn-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('font/Vazirmatn-Bold.woff2') format('woff2');font-weight:700 900;font-style:normal;font-display:swap}
:root{
  --bg:#FAF8F3;
  --bg-2:#F3EFE6;
  --paper:#FFFDF7;
  --paper-2:#fbf7ec;
  --ink:#06382C;
  --muted:#5e6b61;
  --muted-2:#7b806f;
  --green-950:#021F18;
  --green-900:#06382C;
  --green-850:#0A4534;
  --green-800:#0E5A43;
  --green-700:#1C6B50;
  --cane:#3F6B3F;
  --cane-2:#87A45F;
  --sage:#e5ecd7;
  --gold:#C4922E;
  --gold-2:#E0C47A;
  --line:#d9caaa;
  --line-soft:rgba(126,100,50,.20);
  --shadow:0 20px 60px rgba(8,47,37,.10);
  --shadow-soft:0 12px 36px rgba(8,47,37,.08);
  --radius-xl:30px;
  --radius-lg:22px;
  --radius-md:16px;
  --radius-sm:10px;
  --container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  direction:rtl;
  font-family:'Vazirmatn','IRANSans','Vazir',Tahoma,sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(199,155,50,.10), transparent 32%),
    linear-gradient(180deg,var(--bg) 0%,#fffaf0 58%,#f5efdf 100%);
  color:var(--ink);
  line-height:1.85;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-synthesis:none;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
.container{width:min(var(--container),calc(100% - 42px));margin-inline:auto}
.kidc-shell{overflow:hidden;min-height:100vh}
.skip-link{position:absolute;inset-inline-start:18px;top:-60px;background:#fff;color:var(--ink);padding:10px 14px;border-radius:12px;z-index:1000}
.skip-link:focus{top:18px}

/* Header */
.site-topline{background:linear-gradient(90deg,var(--green-950),var(--green-850));color:#e9f3e3;border-bottom:1px solid rgba(255,255,255,.08);font-size:12px}
.topline-inner{height:34px;display:flex;align-items:center;justify-content:space-between;gap:18px;white-space:nowrap}
.topline-list{display:flex;align-items:center;gap:22px;margin:0;padding:0;list-style:none;color:rgba(245,249,239,.86)}
.topline-list li{display:flex;align-items:center;gap:8px}
.topline-list svg{width:15px;height:15px;color:var(--gold-2)}
.lang-switch{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.92);font-weight:700;letter-spacing:.06em}

.brandbar{background:linear-gradient(180deg,rgba(255,253,247,.96),rgba(248,243,231,.94));backdrop-filter:blur(14px);border-bottom:1px solid var(--line-soft);position:relative;overflow:hidden}
.brandbar::before{content:"KIDC · کارون · KARUN";position:absolute;inset-inline:0;top:-26px;text-align:center;font-size:92px;font-weight:950;letter-spacing:.11em;color:var(--green-800);opacity:.045;white-space:nowrap;pointer-events:none}
.brandbar-inner{height:88px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;position:relative}
.brand-actions{justify-self:start;display:flex;align-items:center;gap:12px}
.brand-tagline{justify-self:end;display:flex;align-items:center;gap:12px;color:var(--green-700);font-weight:800;line-height:1.55}
.brand-leaf{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#edf4df,#d3e1b4);display:grid;place-items:center;color:var(--cane);box-shadow:inset 0 0 0 1px rgba(15,79,58,.10)}
.brand-mark{text-align:center;line-height:1.2;min-width:260px}
.brand-kicker{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#667267;margin-bottom:2px}
.brand-title{font-size:40px;font-weight:950;letter-spacing:-.04em;margin:0;color:var(--ink)}
.brand-subtitle{font-size:14px;font-weight:800;color:var(--green-700);margin-top:2px}
.brand-en{font-size:10.5px;color:#627066;margin-top:2px;letter-spacing:.02em}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:999px;padding:11px 18px;font-weight:900;line-height:1;transition:.2s ease;cursor:pointer;white-space:nowrap}
.btn svg{width:18px;height:18px;flex:0 0 auto}
.btn-primary{background:linear-gradient(180deg,var(--gold-2),var(--gold));color:#092d22;border-color:rgba(68,48,11,.16);box-shadow:0 10px 22px rgba(199,155,50,.23)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(199,155,50,.28)}
.btn-outline{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.55)}
.btn-outline:hover{background:rgba(255,255,255,.18)}
.btn-ghost{background:#fffaf0;border-color:var(--line);color:var(--green-800)}
.btn-ghost:hover{border-color:var(--gold);background:#fff7df}
.btn-dark{background:var(--green-800);color:#fff;border-color:var(--green-700)}

.navwrap{background:rgba(255,253,247,.95);border-bottom:1px solid rgba(128,103,52,.16);position:sticky;top:0;z-index:50;backdrop-filter:blur(14px);box-shadow:0 8px 22px rgba(8,47,37,.035)}
.navbar{min-height:56px;display:flex;align-items:center;justify-content:center;gap:10px;position:relative}
.nav-menu{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:0;list-style:none}
.nav-menu a,.nav-menu button{border:0;background:transparent;color:var(--green-900);font-weight:850;padding:9px 15px;border-radius:999px;display:flex;align-items:center;gap:7px;cursor:pointer}
.nav-menu a:hover,.nav-menu button:hover{background:rgba(18,84,63,.08)}
.nav-menu a.is-active{background:var(--green-800);color:#fff;box-shadow:0 10px 22px rgba(6,43,32,.16)}
.nav-menu .has-dd{position:relative}
.nav-menu .has-dd>a::after{content:"";width:6px;height:6px;border-inline-end:1.8px solid currentColor;border-block-end:1.8px solid currentColor;transform:rotate(45deg);margin-top:-3px;opacity:.8}
.dropdown{position:absolute;top:calc(100% + 10px);inset-inline-end:0;min-width:220px;background:var(--paper);border:1px solid var(--line-soft);border-radius:18px;padding:10px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease;z-index:20}
.dropdown a{border-radius:12px;padding:9px 12px;justify-content:flex-start;color:var(--green-900)}
.nav-menu .has-dd:hover .dropdown,.nav-menu .has-dd:focus-within .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.nav-toggle{display:none;background:var(--green-800);color:#fff;border:0;border-radius:14px;padding:9px 12px;align-items:center;gap:8px;font-weight:900}
.nav-toggle span{width:18px;height:2px;background:currentColor;display:block;box-shadow:0 6px 0 currentColor,0 -6px 0 currentColor}

/* Hero */
.hero-slider{position:relative;background:var(--green-950);isolation:isolate}
.hero-viewport{position:relative;height:clamp(390px,43vw,500px);overflow:hidden}
.hero-slide{position:absolute;inset:0;display:grid;align-items:center;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s ease;background:var(--green-900)}
.hero-slide.is-active{opacity:1;visibility:visible}
.hero-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(3,33,24,.86) 0%,rgba(6,56,44,.74) 44%,rgba(6,43,32,.34) 100%),linear-gradient(180deg,rgba(4,35,25,.16),rgba(4,35,25,.52));z-index:-1}
.hero-slide::after{content:"KIDC · KARUN";position:absolute;inset-inline-start:-10px;top:32px;font-size:clamp(64px,9vw,118px);font-weight:950;letter-spacing:.10em;color:rgba(255,255,255,.035);z-index:-1;white-space:nowrap}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:saturate(.95) contrast(1.03)}
.hero-copy{width:min(560px,calc(100% - 42px));margin-inline-start:0;margin-inline-end:auto;padding:38px 0 58px;position:relative;z-index:2}
.eyebrow{display:inline-flex;align-items:center;gap:9px;color:#f1e4bd;font-weight:900;font-size:13px;margin-bottom:12px}
.eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold)}
.hero-copy h1{font-size:clamp(38px,4.8vw,62px);line-height:1.18;margin:0 0 16px;font-weight:950;letter-spacing:-.055em;color:#fff}
.hero-copy p{margin:0 0 24px;color:rgba(255,255,255,.86);font-size:16px;max-width:560px}
.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(5,38,29,.35);color:#fff;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(8px);transition:.2s ease}
.slider-arrow:hover{background:rgba(5,38,29,.62);border-color:#fff}
.slider-prev{inset-inline-start:28px}.slider-next{inset-inline-end:28px}
.slider-arrow svg{width:20px;height:20px}
.hero-controls{position:absolute;z-index:7;inset-inline:0;bottom:22px;display:flex;align-items:center;justify-content:center;gap:10px}
.hero-dot{width:10px;height:10px;border-radius:999px;border:0;background:rgba(255,255,255,.55);cursor:pointer;transition:.2s ease;padding:0}
.hero-dot.is-active{width:42px;background:var(--gold)}
.hero-meta{position:absolute;z-index:4;inset-inline-end:34px;bottom:26px;color:rgba(255,255,255,.72);font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:900}

.section{padding:58px 0}.section-tight{padding:44px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:22px}.section-title small{display:block;color:var(--gold);font-weight:950;margin-bottom:5px}.section-title h2{font-size:clamp(27px,3.4vw,42px);line-height:1.35;margin:0;font-weight:950;letter-spacing:-.04em}.section-title p{margin:8px 0 0;color:var(--muted);max-width:620px}.section-link{display:inline-flex;gap:8px;align-items:center;color:var(--green-800);font-weight:900;border-bottom:1px solid currentColor;padding-bottom:2px}

/* Focus cards */
.focus-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;grid-auto-rows:1fr}
.focus-card{position:relative;min-height:156px;background:rgba(255,253,247,.86);border:1px solid var(--line-soft);border-radius:22px;padding:17px;overflow:hidden;box-shadow:0 10px 26px rgba(8,47,37,.045);transition:.2s ease}
.focus-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);border-color:rgba(199,155,50,.38)}
.focus-card.feature{background:linear-gradient(145deg,var(--green-800),var(--green-950));color:#fff;border-color:rgba(255,255,255,.10)}
.focus-card.gold{background:linear-gradient(145deg,#d7b34d,#c79b32);color:#092d22;border-color:rgba(120,83,8,.18)}
.focus-no{position:absolute;inset-inline-start:16px;top:13px;font-size:26px;font-weight:950;color:rgba(8,47,37,.18);letter-spacing:-.04em}.feature .focus-no{color:rgba(217,184,90,.9)}.gold .focus-no{color:rgba(255,255,255,.55)}
.focus-label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:950}.feature .focus-label{color:var(--gold-2)}.gold .focus-label{color:rgba(8,47,37,.62)}
.focus-icon{height:34px;margin:9px 0 10px;color:var(--cane);opacity:.80}.focus-icon svg{width:38px;height:38px}.feature .focus-icon{color:#b9d38a;opacity:.88}.gold .focus-icon{color:rgba(8,47,37,.58)}
.focus-card h3{font-size:18px;line-height:1.45;margin:0 0 8px;font-weight:950;letter-spacing:-.02em}.focus-card p{font-size:12.7px;line-height:1.75;margin:0;color:var(--muted)}.feature p{color:rgba(255,255,255,.76)}.gold p{color:rgba(8,47,37,.72)}

/* Units */
.units-section{background:linear-gradient(180deg,rgba(229,236,215,.36),rgba(255,255,255,0));padding-top:48px}
.units-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.unit-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:20px;padding:17px 18px;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;box-shadow:0 10px 24px rgba(8,47,37,.045)}.unit-mark{width:40px;height:40px;border-radius:15px;background:linear-gradient(135deg,var(--sage),#fff8df);display:grid;place-items:center;color:var(--green-800);font-weight:950}.unit-card h3{margin:0 0 3px;font-size:18px}.unit-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.8}

/* Editorial panels */
.editorial{background:linear-gradient(180deg,#fffaf1 0%,#f4eddd 100%);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.editorial-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;align-items:stretch}.story-card{border-radius:30px;border:1px solid var(--line-soft);background:var(--paper);overflow:hidden;display:grid;grid-template-columns:1fr 1.08fr;box-shadow:var(--shadow-soft)}.story-media{min-height:250px;background:linear-gradient(180deg,rgba(8,47,37,.16),rgba(8,47,37,.68)),url('../img/hero-karun.jpg') center/cover}.story-copy{padding:30px}.story-copy small{color:var(--gold);font-weight:950}.story-copy h2{font-size:32px;line-height:1.35;margin:8px 0 12px}.story-copy p{color:var(--muted);margin:0 0 20px}.notice-stack{display:grid;gap:14px}.notice-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:22px;padding:17px;display:flex;justify-content:space-between;gap:16px;align-items:center}.notice-card span{font-size:12px;color:var(--gold);font-weight:950}.notice-card h3{margin:4px 0;font-size:18px}.notice-card p{margin:0;color:var(--muted);font-size:13px}.notice-badge{width:54px;height:54px;border-radius:18px;background:var(--green-800);color:#fff;display:grid;place-items:center;font-weight:950;flex:0 0 auto}

/* Quick resources */
.resource-row{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line-soft);border-radius:28px;background:rgba(255,253,247,.82);box-shadow:var(--shadow-soft);overflow:hidden}.resource-card{padding:23px 21px;text-align:center;min-height:162px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-inline-start:1px solid var(--line-soft)}.resource-card:last-child{border-inline-start:0}.resource-icon{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,#edf4df,#fff6da);display:grid;place-items:center;color:var(--green-800);margin-bottom:10px}.resource-icon svg{width:27px;height:27px}.resource-card h3{font-size:19px;margin:0 0 5px}.resource-card p{margin:0 0 8px;color:var(--muted);font-size:13.5px;line-height:1.75}.resource-card a{color:var(--gold);font-weight:950;font-size:13px}

/* Page internals */
.page-hero{padding:74px 0 56px;background:linear-gradient(120deg,rgba(6,43,32,.95),rgba(18,84,63,.86)),url('../img/hero-karun.jpg') center/cover;color:#fff}.page-hero h1{font-size:clamp(36px,5vw,60px);line-height:1.25;margin:0 0 12px;font-weight:950}.page-hero p{max-width:680px;margin:0;color:rgba(255,255,255,.78)}.breadcrumb{display:flex;gap:8px;align-items:center;font-size:13px;color:#f1e4bd;margin-bottom:12px}.content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.content-card{background:var(--paper);border:1px solid var(--line-soft);border-radius:24px;padding:24px;box-shadow:0 10px 24px rgba(8,47,37,.045)}.content-card h3{margin:0 0 8px;font-size:21px}.content-card p{margin:0;color:var(--muted);font-size:14px}.list-panel{background:var(--paper);border:1px solid var(--line-soft);border-radius:26px;overflow:hidden}.list-item{padding:20px 24px;border-bottom:1px solid var(--line-soft);display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}.list-item:last-child{border-bottom:0}.list-item h3{margin:0 0 5px}.list-item p{margin:0;color:var(--muted);font-size:13.5px}.tag{display:inline-flex;align-items:center;border:1px solid rgba(199,155,50,.34);background:#fff8e2;color:#624b0c;border-radius:999px;font-size:12px;font-weight:900;padding:5px 9px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.filter-pill{border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:9px 14px;color:var(--green-800);font-weight:850}.filter-pill.is-active{background:var(--green-800);color:#fff;border-color:var(--green-800)}

/* Footer */
.site-footer{border-top:1px solid rgba(224,196,122,.24);background:radial-gradient(circle at 8% 8%,rgba(120,147,61,.22),transparent 28%),linear-gradient(135deg,var(--green-950),#021912 76%);color:rgba(255,255,255,.86);padding:58px 0 22px;position:relative;overflow:hidden}.site-footer::before{content:"";position:absolute;inset-inline-start:-70px;bottom:-70px;width:320px;height:320px;border:1px solid rgba(156,183,96,.16);border-radius:50%;box-shadow:0 0 0 34px rgba(156,183,96,.035),0 0 0 74px rgba(156,183,96,.025)}.footer-grid{position:relative;display:grid;grid-template-columns:1.5fr .75fr .75fr 1fr;gap:34px;align-items:start}.footer-brand small{color:var(--gold-2);font-size:11px;letter-spacing:.22em;font-weight:950}.footer-brand h2{font-size:54px;line-height:1;margin:8px 0 12px;color:#fff;font-weight:950}.footer-brand p{max-width:420px;margin:0;color:rgba(255,255,255,.72)}.footer-title{font-size:15px;color:#E0C47A;font-weight:950;margin:0 0 15px}.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:8px}.footer-links a{color:rgba(255,255,255,.78);font-size:14px}.footer-links a:hover{color:#fff}.contact-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.contact-list li{display:flex;gap:10px;align-items:flex-start;color:rgba(255,255,255,.78);font-size:14px}.contact-list svg{width:18px;height:18px;color:#E0C47A;flex:0 0 auto;margin-top:5px}.socials{display:flex;gap:9px;margin-top:18px}.socials a{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.22);display:grid;place-items:center;color:#fff;font-size:13px}.footer-bottom{position:relative;border-top:1px solid rgba(255,255,255,.12);margin-top:38px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:rgba(255,255,255,.62);font-size:12px}.footer-bottom-links{display:flex;gap:18px;flex-wrap:wrap}

/* helpers */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.icon{display:inline-block;vertical-align:middle}.center-actions{display:flex;justify-content:center;margin-top:22px}

@media (max-width:1024px){
  .brandbar-inner{grid-template-columns:1fr auto;min-height:84px;height:auto;padding:16px 0}.brand-tagline{display:none}.brand-mark{justify-self:end;text-align:right}.brand-actions{justify-self:start}.focus-grid{grid-template-columns:repeat(2,1fr)}.units-grid{grid-template-columns:repeat(2,1fr)}.editorial-grid{grid-template-columns:1fr}.story-card{grid-template-columns:1fr}.resource-row{grid-template-columns:repeat(2,1fr)}.resource-card:nth-child(2n){border-inline-start:0}.footer-grid{grid-template-columns:1fr 1fr}.content-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .container{width:min(100% - 28px,var(--container))}.topline-inner{height:auto;padding:8px 0}.topline-list{gap:12px;overflow:auto}.topline-list li:nth-child(n+3){display:none}.brandbar-inner{grid-template-columns:1fr;gap:12px}.brand-mark{text-align:center;justify-self:center}.brand-title{font-size:34px}.brand-actions{justify-self:center}.nav-toggle{display:flex;margin-inline-start:auto}.navbar{justify-content:flex-start;padding:10px 0}.nav-menu{position:absolute;inset-inline:0;top:100%;background:var(--paper);border:1px solid var(--line-soft);border-radius:0 0 22px 22px;box-shadow:var(--shadow);display:none;align-items:stretch;flex-direction:column;padding:12px}.navwrap.is-open .nav-menu{display:flex}.nav-menu a,.nav-menu button{justify-content:space-between}.dropdown{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border-radius:14px;margin-top:4px;display:none}.has-dd:focus-within .dropdown{display:block}.hero-viewport{height:520px}.hero-copy{margin-inline:auto;text-align:right;padding-top:64px}.hero-copy h1{font-size:40px}.slider-arrow{display:none}.hero-meta{display:none}.section{padding:50px 0}.section-head{display:block}.focus-grid,.units-grid,.content-grid{grid-template-columns:1fr}.resource-row{grid-template-columns:1fr}.resource-card{border-inline-start:0;border-bottom:1px solid var(--line-soft)}.resource-card:last-child{border-bottom:0}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom-links{margin-bottom:10px}.list-item{grid-template-columns:1fr}.story-media{min-height:210px}
}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}


/* ===== v38 precision fixes ===== */
html,body,button,input,select,textarea{font-family:'Vazirmatn','Vazir',Tahoma,sans-serif!important;font-feature-settings:"ss01" 1;font-variant-ligatures:contextual}
body{font-weight:400}
.brand-title,.hero-copy h1,.section-title h2,.page-hero h1,.footer-brand h2{font-weight:900}

.hero-viewport{height:clamp(330px,36vw,430px)}
.hero-copy{width:min(610px,calc(100% - 42px));padding:32px 0 48px}
.hero-copy h1{font-size:clamp(36px,4.1vw,56px);line-height:1.2}
.hero-copy p{font-size:15px;line-height:2;max-width:590px}
.hero-slide:not(.is-active){pointer-events:none}
.hero-bg{background:#06382C}
.slider-prev{inset-inline-start:auto;inset-inline-end:28px}
.slider-next{inset-inline-end:auto;inset-inline-start:28px}
.hero-controls{bottom:18px}
.hero-dot{height:8px;width:8px}.hero-dot.is-active{width:36px}

.section{padding:42px 0}.section-tight{padding:34px 0}.section-head{margin-bottom:18px}.section-title h2{font-size:clamp(26px,3vw,38px)}
.hero-slider + .section{padding-top:34px}
#focus.section{padding-bottom:26px}
#units.section{padding-top:28px;padding-bottom:36px}
.editorial.section{padding-top:32px}
#resources.section{padding-top:28px;padding-bottom:36px}
.center-actions{margin-top:16px}

.focus-grid{gap:10px}.focus-card{min-height:142px;padding:15px 16px}.focus-icon{height:26px;margin:6px 0 7px}.focus-icon svg{width:31px;height:31px}.focus-card h3{font-size:16.5px;margin-bottom:5px}.focus-card p{font-size:12.2px;line-height:1.65}.focus-no{font-size:23px;top:11px}.focus-label{font-size:9px}

.units-showcase{display:grid;grid-template-columns:minmax(380px,.95fr) minmax(520px,1.28fr);gap:16px;align-items:stretch;direction:rtl}
.units-feature{background:linear-gradient(145deg,var(--green-800),var(--green-950));color:#fff;border-radius:28px;padding:34px 38px;min-height:360px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;box-shadow:var(--shadow-soft)}
.units-feature::after{content:'۶';position:absolute;inset-inline-start:28px;bottom:-52px;font-size:190px;line-height:1;font-weight:950;color:rgba(255,255,255,.055)}
.units-feature small{color:var(--gold-2);font-weight:950;margin-bottom:14px}.units-feature h3{font-size:clamp(30px,3.2vw,46px);line-height:1.35;margin:0 0 16px;font-weight:950}.units-feature p{margin:0;color:rgba(255,255,255,.78);max-width:560px;line-height:2.05}
.unit-mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;direction:rtl}
.unit-card{background:rgba(255,253,247,.88);border:1px solid var(--line-soft);border-radius:19px;padding:18px 20px;min-height:112px;display:block;box-shadow:0 10px 24px rgba(8,47,37,.04)}
.unit-card span{display:block;color:var(--gold);font-weight:950;font-size:12px;line-height:1;margin-bottom:8px}.unit-card h3{font-size:20px;line-height:1.35;margin:0 0 7px;font-weight:950}.unit-card p{font-size:13px;line-height:1.85;color:var(--muted);margin:0}.unit-card .unit-chip{display:inline-flex;margin-top:10px;border:1px solid rgba(15,90,67,.18);background:rgba(229,236,215,.42);color:var(--green-800);font-size:11px;font-weight:850;padding:3px 10px;border-radius:999px}

.document-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.document-card{background:rgba(255,253,247,.9);border:1px solid var(--line-soft);border-radius:22px;overflow:hidden;box-shadow:0 10px 28px rgba(8,47,37,.045);display:flex;flex-direction:column;min-height:100%}.document-thumb{height:138px;background:linear-gradient(145deg,#edf4df,#fff6da);border-bottom:1px solid var(--line-soft);display:grid;place-items:center;overflow:hidden}.document-thumb img{width:100%;height:100%;object-fit:cover}.document-body{padding:18px}.document-body h3{font-size:18px;line-height:1.45;margin:8px 0 7px;font-weight:950}.document-body p{font-size:13px;color:var(--muted);line-height:1.85;margin:0 0 13px}.document-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.tag{display:inline-flex;border:1px solid rgba(196,146,46,.28);background:rgba(224,196,122,.12);color:#8a671c;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:900}.document-meta a{color:var(--green-800);font-size:13px;font-weight:950;border-bottom:1px solid currentColor}.list-panel.as-documents{background:transparent;border:0;padding:0;box-shadow:none}
.resource-card.featured{border-color:rgba(15,90,67,.28);box-shadow:0 14px 34px rgba(8,47,37,.075)}

@media (max-width:1024px){.hero-viewport{height:410px}.units-showcase{grid-template-columns:1fr}.unit-mini-grid{grid-template-columns:repeat(2,1fr)}.document-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.hero-viewport{height:470px}.hero-copy{padding-top:50px}.hero-copy h1{font-size:36px}.section{padding:36px 0}.hero-slider + .section{padding-top:28px}.unit-mini-grid,.document-grid{grid-template-columns:1fr}.units-feature{min-height:260px;padding:28px 24px}.units-feature h3{font-size:30px}.focus-card{min-height:auto}}

/* ===== v39 preview polish: real image layer, compact sections, units pages, CTA band ===== */
@font-face{font-family:'Vazirmatn';src:url('/kidc-site/assets/font/Vazirmatn[wght].woff2') format('woff2'),url('/kidc-site/assets/font/Vazirmatn-Variable.woff2') format('woff2'),url('/kidc-site/assets/font/Vazirmatn-Regular.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('/kidc-site/assets/font/Vazirmatn-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('/kidc-site/assets/font/Vazirmatn-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('/kidc-site/assets/font/Vazirmatn-SemiBold.woff2') format('woff2');font-weight:600 700;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('/kidc-site/assets/font/Vazirmatn-Bold.woff2') format('woff2');font-weight:800 900;font-style:normal;font-display:swap}
html,body,.kidc-shell,.kidc-shell *:not(svg):not(path){font-family:'Vazirmatn','Vazir',Tahoma,sans-serif!important}
body{font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}

.hero-slider{background:var(--green-950)}
.hero-viewport{height:clamp(318px,33vw,392px)!important}
.hero-slide{background:linear-gradient(135deg,#082f25,#021f18),url('../img/hero-karun.jpg') center/cover no-repeat;overflow:hidden}
.hero-bg{z-index:0!important;opacity:.78;filter:saturate(1.08) contrast(1.04) brightness(.88)}
.hero-slide::before{z-index:1!important;background:linear-gradient(270deg,rgba(3,31,24,.82) 0%,rgba(5,55,43,.60) 48%,rgba(7,49,38,.22) 100%),linear-gradient(180deg,rgba(4,35,25,.08),rgba(4,35,25,.34))!important}
.hero-slide::after{z-index:1!important;color:rgba(255,255,255,.045)!important;top:16px!important}
.hero-slide .container,.hero-copy,.hero-meta,.hero-controls,.slider-arrow{position:relative;z-index:2}
.hero-copy{padding:26px 0 42px!important;width:min(600px,calc(100% - 42px))!important}
.hero-copy h1{font-size:clamp(34px,3.75vw,52px)!important;line-height:1.22!important;margin-bottom:12px!important}
.hero-copy p{font-size:14.5px!important;line-height:1.9!important;margin-bottom:18px!important}
.hero-actions{gap:10px!important}.hero-actions .btn{padding:11px 18px!important}
.slider-arrow{width:40px!important;height:40px!important;background:rgba(3,31,24,.28)!important;border-color:rgba(255,255,255,.52)!important;color:#fff!important;backdrop-filter:blur(10px)}
.slider-prev{inset-inline-start:24px!important;inset-inline-end:auto!important}.slider-next{inset-inline-end:24px!important;inset-inline-start:auto!important}
.hero-controls{bottom:14px!important}.hero-dot{height:7px!important;width:7px!important}.hero-dot.is-active{width:32px!important;background:var(--gold)!important}

.section{padding:30px 0!important}.section-head{margin-bottom:14px!important}.section-title h2{font-size:clamp(25px,2.65vw,36px)!important}.section-title p{margin-top:6px!important}
.hero-slider + .section{padding-top:24px!important}.section + .section{padding-top:22px!important}
#focus.section{padding-bottom:18px!important}.muted#units,.section#units{padding-top:20px!important;padding-bottom:26px!important}.editorial.section{padding-top:24px!important;padding-bottom:26px!important}.section#resources{padding-top:20px!important;padding-bottom:20px!important}
.focus-grid{gap:9px!important}.focus-card{min-height:132px!important;padding:14px 15px!important}.focus-card h3{font-size:16px!important}.focus-card p{font-size:12px!important;line-height:1.58!important}.center-actions{margin-top:12px!important}
.resource-row{box-shadow:0 16px 44px rgba(8,47,37,.065)!important}.resource-card{padding:22px 20px!important}.resource-card h3{font-size:18px!important}.resource-card p{font-size:13px!important;line-height:1.75!important}

.cta-band{background:linear-gradient(105deg,#D0A339 0%,#E0C56E 54%,#C69832 100%);position:relative;overflow:hidden;border-top:1px solid rgba(104,72,12,.14);border-bottom:1px solid rgba(104,72,12,.16);padding:34px 0;color:#073429}.cta-band::before{content:'KARUN · ایده · آینده';position:absolute;inset-inline-end:6%;top:-18px;font-size:82px;line-height:1;font-weight:950;letter-spacing:.05em;color:rgba(6,56,44,.08);white-space:nowrap}.cta-band-inner{position:relative;display:grid;grid-template-columns:minmax(360px,.74fr) 1fr;gap:42px;align-items:center}.cta-band-copy small{display:block;color:#75570e;font-weight:950;margin-bottom:6px}.cta-band-copy h2{font-size:clamp(28px,3.2vw,44px);line-height:1.32;margin:0 0 8px;font-weight:950;color:#06382C}.cta-band-copy p{margin:0;color:rgba(6,56,44,.72);line-height:1.9}.cta-band-actions{display:grid;gap:10px;max-width:330px}.cta-band-actions a{height:42px;border-radius:11px;background:#06382C;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-weight:900;box-shadow:0 12px 24px rgba(6,56,44,.12)}.cta-band-actions a span{opacity:.82}
.site-footer{padding-top:42px!important}.footer-grid{gap:24px!important}.footer-brand h2{font-size:48px!important}.footer-bottom{margin-top:28px!important}

.units-showcase{grid-template-columns:minmax(360px,.95fr) minmax(520px,1.3fr)!important;gap:14px!important}.units-feature{min-height:310px!important;padding:28px 32px!important}.units-feature h3{font-size:clamp(28px,2.8vw,40px)!important}.units-feature p{line-height:1.9!important}.unit-mini-grid{gap:10px!important}.unit-card{color:inherit;text-decoration:none!important;transition:.18s ease;min-height:104px!important;padding:15px 18px!important}.unit-card:hover{transform:translateY(-2px);border-color:rgba(15,90,67,.30);box-shadow:0 16px 34px rgba(8,47,37,.08)}.unit-card h3{font-size:19px!important}.unit-card p{font-size:12.8px!important;line-height:1.72!important}.unit-chip{font-style:normal!important}
.page-hero.slim{padding:50px 0 38px!important}.units-page{padding-top:28px!important}.units-showcase.page-mode{margin-top:8px}.unit-detail-grid{display:grid;grid-template-columns:1fr 330px;gap:16px;align-items:start}.unit-detail-card{background:rgba(255,253,247,.9);border:1px solid var(--line-soft);border-radius:24px;box-shadow:0 12px 32px rgba(8,47,37,.05);padding:26px}.unit-detail-card.main h2{font-size:30px;margin:12px 0 10px}.unit-detail-card.main p{color:var(--muted);line-height:2}.unit-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.unit-side-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.unit-side-list a{display:flex;border:1px solid var(--line-soft);border-radius:13px;background:#fffdf7;color:var(--green-900);padding:10px 12px;font-weight:850}.unit-side-list a.is-active{background:var(--green-800);color:#fff;border-color:var(--green-800)}
.document-thumb{background:#f4eddd url('../img/doc-publications.svg') center/cover no-repeat!important}.document-thumb img{display:block;background:#f4eddd}.document-card img[src=''],.document-card img:not([src]){display:none}.list-panel.as-documents{overflow:visible!important}.document-grid{gap:12px!important}

@media (max-width:1024px){.hero-viewport{height:380px!important}.cta-band-inner,.units-showcase,.units-showcase.page-mode,.unit-detail-grid{grid-template-columns:1fr!important}.cta-band-actions{max-width:none;grid-template-columns:repeat(3,1fr)}.units-feature{min-height:230px!important}.resource-row{grid-template-columns:repeat(2,1fr)!important}}
@media (max-width:760px){.hero-viewport{height:430px!important}.hero-copy h1{font-size:34px!important}.section{padding:28px 0!important}.focus-grid,.resource-row,.cta-band-actions{grid-template-columns:1fr!important}.cta-band{padding:28px 0}.cta-band-inner{gap:22px}.cta-band::before{font-size:48px}.unit-mini-grid,.document-grid{grid-template-columns:1fr!important}.site-footer{padding-top:34px!important}}

/* ===== v40 final preview polish: home process, real document thumbnails, compact responsive footer ===== */
@font-face{font-family:'Vazirmatn';src:url('font/Vazirmatn-VariableFont_wght.woff2') format('woff2'),url('font/Vazirmatn[wght].woff2') format('woff2'),url('font/Vazirmatn-Variable.woff2') format('woff2'),url('font/VazirmatnFD[wght].woff2') format('woff2'),url('font/Vazirmatn-FD[wght].woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('font/Vazirmatn-Regular.woff2') format('woff2'),url('font/Vazirmatn-Regular.woff') format('woff'),url('font/Vazirmatn-Regular.ttf') format('truetype'),url('font/Vazirmatn-FD-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('font/Vazirmatn-Bold.woff2') format('woff2'),url('font/Vazirmatn-Bold.woff') format('woff'),url('font/Vazirmatn-Bold.ttf') format('truetype'),url('font/Vazirmatn-FD-Bold.woff2') format('woff2');font-weight:700 950;font-style:normal;font-display:swap}
body{font-family:'Vazirmatn','Vazir','IRANSans',Tahoma,sans-serif!important}

.section{padding:24px 0!important}.section-head{margin-bottom:12px!important}.section + .section{padding-top:18px!important}.hero-slider + .section{padding-top:22px!important}
#focus.section{padding-bottom:16px!important}.section#resources{padding-top:16px!important;padding-bottom:18px!important}.editorial.section{padding-top:20px!important;padding-bottom:20px!important}.process-section{padding-top:22px!important;padding-bottom:26px!important;background:linear-gradient(180deg,rgba(255,253,247,.72),rgba(245,239,224,.52))}.muted#units,.section#units{padding-top:18px!important;padding-bottom:22px!important}

.home-docs{margin-top:22px}.home-docs .section-head{padding-top:4px;border-top:1px solid rgba(126,100,50,.14)}.home-document-grid{grid-template-columns:repeat(4,1fr)!important}.document-card-compact .document-thumb{height:108px}.document-card-compact .document-body{padding:14px}.document-card-compact .document-body h3{font-size:15.5px;margin:6px 0 5px;line-height:1.55}.document-card-compact .document-body p{font-size:12.5px;line-height:1.7;margin-bottom:10px}.document-card-compact .document-meta{font-size:11.5px}.document-thumb{position:relative}.document-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(6,56,44,.08));pointer-events:none}.document-thumb img{transition:transform .22s ease}.document-card:hover .document-thumb img{transform:scale(1.025)}

.process-track{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:18px;margin-top:18px;padding-top:22px}.process-track::before{content:"";position:absolute;inset-inline:38px;top:43px;height:1px;background:linear-gradient(90deg,transparent,var(--line),var(--line),transparent)}.process-step{position:relative;text-align:center;z-index:1}.process-step span{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;background:#fffaf0;border:1px solid var(--line);box-shadow:0 8px 18px rgba(8,47,37,.06);color:var(--green-800);font-weight:950}.process-step h3{font-size:15.5px;margin:0 0 3px;font-weight:950;color:var(--green-900)}.process-step p{font-size:12.5px;line-height:1.6;margin:0;color:var(--muted)}

.cta-band{padding:28px 0!important}.cta-band-inner{gap:30px!important}.cta-band-copy h2{font-size:clamp(26px,2.7vw,38px)!important}.cta-band-actions a{height:40px!important}

.site-footer{padding:38px 0 18px!important}.footer-grid{grid-template-columns:1.35fr .7fr .7fr 1fr!important;gap:26px!important}.footer-brand h2{font-size:44px!important}.footer-brand p{line-height:1.8!important}.footer-links{gap:6px!important}.contact-list{gap:7px!important}.footer-title{color:#E0C47A!important}.footer-bottom{margin-top:24px!important;padding-top:14px!important}

@media (max-width:1024px){
  .section{padding:22px 0!important}.hero-viewport{height:370px!important}.focus-grid{gap:10px!important}.home-document-grid,.document-grid{grid-template-columns:repeat(2,1fr)!important}.process-track{grid-template-columns:repeat(3,1fr);row-gap:20px}.process-track::before{display:none}.cta-band-inner{grid-template-columns:1fr!important}.cta-band-actions{grid-template-columns:repeat(3,1fr)!important;max-width:none!important}.footer-grid{grid-template-columns:1.2fr 1fr 1fr!important;gap:22px!important}.footer-col-brand{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;border-bottom:1px solid rgba(255,255,255,.10);padding-bottom:18px}.footer-col-brand small,.footer-col-brand h2,.footer-col-brand p{grid-column:1}.footer-col-brand .socials{grid-column:2;grid-row:1/4;margin-top:0}.footer-brand h2{font-size:38px!important}.footer-brand p{max-width:620px!important}.footer-col-contact{grid-column:auto}
}
@media (max-width:760px){
  .container{width:min(100% - 26px,var(--container))}.section{padding:20px 0!important}.hero-slider + .section{padding-top:18px!important}.hero-viewport{height:400px!important}.hero-copy h1{font-size:32px!important}.hero-copy p{font-size:14px!important}.section-title h2{font-size:26px!important}.section-title p{font-size:13.5px!important}.resource-row{grid-template-columns:repeat(2,1fr)!important}.resource-card{min-height:132px!important;padding:17px 14px!important;border-bottom:1px solid var(--line-soft)}.resource-card h3{font-size:15.5px!important}.resource-card p{font-size:12px!important}.resource-icon{width:42px;height:42px;border-radius:14px}.home-document-grid,.document-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}.document-card-compact .document-thumb{height:92px}.document-card-compact .document-body{padding:11px}.document-card-compact .document-body p{display:none}.process-track{grid-template-columns:repeat(2,1fr);gap:14px}.process-step{background:rgba(255,253,247,.72);border:1px solid var(--line-soft);border-radius:16px;padding:13px 10px}.process-step span{width:32px;height:32px;margin-bottom:7px}.cta-band{padding:22px 0!important}.cta-band-actions{grid-template-columns:1fr!important}.site-footer{padding:26px 0 16px!important}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 20px!important}.footer-col-brand{grid-column:1/-1;display:block;text-align:right;padding-bottom:14px}.footer-col-brand .socials{justify-content:flex-start;margin-top:12px}.footer-brand small{font-size:10px!important}.footer-brand h2{font-size:36px!important;margin:6px 0!important}.footer-brand p{font-size:13.5px!important}.footer-title{font-size:13.5px!important;margin-bottom:8px!important}.footer-links a,.contact-list li{font-size:12.5px!important}.footer-col-contact{grid-column:1/-1}.contact-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px!important}.footer-bottom{display:block!important;margin-top:18px!important;font-size:11.5px!important}.footer-bottom-links{margin-bottom:8px!important;gap:11px!important}
}
@media (max-width:430px){
  .resource-row,.home-document-grid,.document-grid{grid-template-columns:1fr!important}.contact-list{grid-template-columns:1fr}.process-track{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr!important}.footer-col-contact{grid-column:1/-1}
}

/* ===== v41 restore submission guide visibility and CTA action ===== */
.submission-guide-strip{margin:0 0 18px;background:linear-gradient(135deg,rgba(255,253,247,.96),rgba(248,241,222,.94));border:1px solid rgba(196,146,46,.28);border-radius:26px;box-shadow:0 16px 44px rgba(8,47,37,.06);padding:20px 22px;display:grid;grid-template-columns:1.25fr 1fr auto;gap:18px;align-items:center;position:relative;overflow:hidden}.submission-guide-strip::before{content:'راهنمای ثبت طرح';position:absolute;inset-inline-end:18px;top:-18px;font-size:54px;font-weight:950;color:rgba(196,146,46,.08);white-space:nowrap;pointer-events:none}.submission-guide-copy{position:relative}.submission-guide-copy small{display:block;color:#9a6d16;font-weight:950;margin-bottom:5px}.submission-guide-copy h2{font-size:clamp(22px,2.1vw,32px);line-height:1.35;margin:0 0 5px;color:var(--green-900);font-weight:950}.submission-guide-copy p{margin:0;color:var(--muted);line-height:1.8;font-size:14px}.submission-guide-steps{position:relative;display:flex;flex-wrap:wrap;gap:8px}.submission-guide-steps span{border:1px solid rgba(6,56,44,.16);background:rgba(255,255,255,.58);color:var(--green-850);border-radius:999px;padding:7px 11px;font-size:12.5px;font-weight:900}.submission-guide-strip .btn{white-space:nowrap}.publications-guide{margin-bottom:22px}.cta-band-actions{grid-template-columns:1fr!important}.cta-band-actions a:nth-child(2){background:#0B513F}.document-card[id="submission-guide"]{outline:1px solid rgba(196,146,46,.22);box-shadow:0 14px 34px rgba(196,146,46,.08)}
@media (max-width:1024px){.submission-guide-strip{grid-template-columns:1fr;gap:14px}.submission-guide-strip .btn{justify-self:start}.cta-band-actions{grid-template-columns:repeat(2,1fr)!important}.cta-band-actions a{min-height:40px}}
@media (max-width:760px){.submission-guide-strip{padding:17px 15px;border-radius:20px}.submission-guide-strip::before{font-size:36px;top:-10px}.submission-guide-copy h2{font-size:22px!important}.submission-guide-steps{gap:6px}.submission-guide-steps span{font-size:11.5px;padding:6px 9px}.submission-guide-strip .btn{width:100%;justify-content:center}.cta-band-actions{grid-template-columns:1fr!important}}

/* ===== v42 preview cleanup: clear hero controls, remove dark lower band, keep submission CTA/docs ===== */
.hero-slider{
  overflow:hidden!important;
  background:var(--green-950)!important;
}
.hero-viewport{
  height:clamp(292px,30vw,356px)!important;
  overflow:hidden!important;
  background:var(--green-950)!important;
}
.hero-slide{
  background:var(--green-950)!important;
  overflow:hidden!important;
}
.hero-bg{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center top!important;
  z-index:0!important;
  opacity:.92!important;
  filter:saturate(1.05) contrast(1.03) brightness(.72)!important;
}
.hero-slide::before{
  z-index:1!important;
  background:
    linear-gradient(270deg,rgba(3,31,24,.78) 0%,rgba(5,55,43,.54) 47%,rgba(7,49,38,.20) 100%),
    linear-gradient(180deg,rgba(4,35,25,.04) 0%,rgba(4,35,25,.22) 74%,rgba(4,35,25,.30) 100%)!important;
}
.hero-slide::after{
  z-index:1!important;
  pointer-events:none!important;
}
.hero-slide .container,
.hero-copy,
.hero-meta,
.hero-controls,
.slider-arrow{
  position:relative;
  z-index:3!important;
}
.hero-copy{
  padding:20px 0 38px!important;
}
.hero-copy h1{
  font-size:clamp(31px,3.25vw,48px)!important;
  line-height:1.24!important;
}
.hero-copy p{
  max-width:610px!important;
}
.slider-arrow{
  position:absolute!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(3,31,24,.58)!important;
  border:1px solid rgba(255,255,255,.72)!important;
  color:#fff!important;
  box-shadow:0 10px 26px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(8px)!important;
  opacity:.96!important;
  visibility:visible!important;
}
.slider-prev{
  right:24px!important;
  left:auto!important;
  inset-inline-start:auto!important;
  inset-inline-end:auto!important;
}
.slider-next{
  left:24px!important;
  right:auto!important;
  inset-inline-start:auto!important;
  inset-inline-end:auto!important;
}
.slider-prev svg,
.slider-next svg{
  width:19px!important;
  height:19px!important;
}
/* right side button should point right; left side button should point left in RTL */
.slider-prev svg{transform:scaleX(-1)!important;}
.slider-next svg{transform:scaleX(-1)!important;}
.hero-controls{
  position:absolute!important;
  z-index:4!important;
  left:0!important;
  right:0!important;
  bottom:16px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:9px!important;
  height:auto!important;
  padding:0!important;
  background:transparent!important;
  pointer-events:auto!important;
}
.hero-dot{
  width:8px!important;
  height:8px!important;
  background:rgba(255,255,255,.55)!important;
  border:0!important;
  box-shadow:none!important;
}
.hero-dot.is-active{
  width:34px!important;
  background:var(--gold)!important;
}
.hero-slider + .section{padding-top:18px!important;}
#focus.section{padding-top:20px!important;}

/* keep the submission guide visible and prevent it from being swallowed by adjacent sections */
.submission-guide-strip{
  margin:0 0 14px!important;
  position:relative!important;
  z-index:1!important;
}
.cta-band{
  margin-top:0!important;
  position:relative!important;
  z-index:1!important;
}

/* publication thumbnails on home/publications */
.home-document-grid,
.document-grid{
  align-items:stretch!important;
}
.document-card{
  min-width:0!important;
}
.document-thumb{
  background:#f4eddd url('../img/doc-publications.svg') center/cover no-repeat!important;
}
.document-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

@media (max-width:1024px){
  .hero-viewport{height:330px!important;}
  .slider-prev{right:16px!important;}
  .slider-next{left:16px!important;}
}
@media (max-width:760px){
  .hero-viewport{height:360px!important;}
  .hero-copy{padding:34px 0 44px!important;}
  .hero-copy h1{font-size:30px!important;}
  .slider-arrow{width:36px!important;height:36px!important;}
  .slider-prev{right:10px!important;}
  .slider-next{left:10px!important;}
  .hero-controls{bottom:12px!important;}
}

/* ===== v43 targeted fixes: brandbar refinement + merged submission/process card ===== */
.brandbar{
  background:
    radial-gradient(circle at 74% 46%, rgba(135,164,95,.13), transparent 26%),
    linear-gradient(180deg,rgba(255,253,247,.98),rgba(246,240,226,.96))!important;
}
.brandbar::before{
  top:-18px!important;
  font-size:78px!important;
  opacity:.038!important;
  letter-spacing:.10em!important;
}
.brandbar-inner{
  height:78px!important;
  gap:18px!important;
  grid-template-columns:minmax(210px,1fr) auto minmax(250px,1fr)!important;
}
.brand-mark{
  min-width:230px!important;
  padding-top:2px!important;
}
.brand-kicker{
  font-size:9px!important;
  letter-spacing:.20em!important;
  color:rgba(6,56,44,.52)!important;
}
.brand-title{
  font-size:36px!important;
  line-height:.98!important;
}
.brand-subtitle{
  font-size:13px!important;
}
.brand-en{
  font-size:9.5px!important;
  opacity:.74!important;
}
.brand-tagline{
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:max-content!important;
  max-width:360px!important;
  min-height:44px!important;
  padding:8px 14px 8px 16px!important;
  border:1px solid rgba(63,107,63,.20)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(229,236,215,.76),rgba(255,253,247,.58))!important;
  box-shadow:0 10px 24px rgba(8,47,37,.045)!important;
  color:var(--green-800)!important;
  font-size:14px!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.brand-leaf{
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#f3f7e9,#bfd09c)!important;
  box-shadow:inset 0 0 0 1px rgba(63,107,63,.15),0 6px 14px rgba(8,47,37,.06)!important;
}
.brand-leaf svg{
  width:19px!important;
  height:19px!important;
}
.brand-actions{
  justify-self:start!important;
}
.brand-actions .btn-primary{
  min-width:210px!important;
  height:43px!important;
  padding:0 19px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#E2C66D,#C8962E)!important;
  box-shadow:0 12px 26px rgba(153,105,19,.17)!important;
  border-color:rgba(86,61,12,.18)!important;
  font-size:14px!important;
}

.submission-guide-process{
  grid-template-columns:minmax(295px,.86fr) minmax(0,1.25fr)!important;
  gap:24px!important;
  padding:22px 26px!important;
  align-items:center!important;
}
.submission-guide-process::before{
  content:'مسیر همراهی'!important;
  inset-inline-end:auto!important;
  inset-inline-start:24px!important;
  top:-18px!important;
  font-size:54px!important;
}
.submission-guide-process .submission-guide-copy h2{
  font-size:clamp(25px,2.35vw,36px)!important;
  letter-spacing:-.035em!important;
}
.submission-guide-process .submission-guide-copy .btn{
  margin-top:14px!important;
}
.submission-process-track{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  padding-top:18px!important;
}
.submission-process-track::before{
  content:"";
  position:absolute;
  inset-inline:34px;
  top:39px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(196,146,46,.36),rgba(196,146,46,.36),transparent);
}
.submission-process-step{
  position:relative!important;
  z-index:1!important;
  text-align:center!important;
  min-width:0!important;
}
.submission-process-step span{
  width:38px!important;
  height:38px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  margin:0 auto 8px!important;
  background:#fffaf0!important;
  border:1px solid rgba(196,146,46,.34)!important;
  color:var(--green-850)!important;
  font-weight:950!important;
  box-shadow:0 10px 20px rgba(8,47,37,.06)!important;
}
.submission-process-step strong{
  display:block!important;
  font-size:13.5px!important;
  line-height:1.5!important;
  color:var(--green-900)!important;
  font-weight:950!important;
}
.submission-process-step em{
  display:block!important;
  font-style:normal!important;
  font-size:11.5px!important;
  line-height:1.55!important;
  color:var(--muted)!important;
  margin-top:2px!important;
}

@media (max-width:1024px){
  .brandbar-inner{grid-template-columns:1fr auto!important;height:auto!important;min-height:78px!important;padding:12px 0!important;gap:12px!important;}
  .brand-tagline{grid-column:1 / -1!important;justify-self:center!important;order:3!important;max-width:100%!important;}
  .brand-actions{justify-self:start!important;}
  .submission-guide-process{grid-template-columns:1fr!important;}
  .submission-process-track{grid-template-columns:repeat(3,minmax(0,1fr))!important;row-gap:16px!important;}
  .submission-process-track::before{display:none!important;}
}
@media (max-width:760px){
  .brandbar-inner{grid-template-columns:1fr!important;min-height:auto!important;padding:12px 0 10px!important;}
  .brand-mark{justify-self:center!important;text-align:center!important;min-width:0!important;}
  .brand-actions{justify-self:center!important;}
  .brand-actions .btn-primary{min-width:190px!important;height:40px!important;font-size:13px!important;}
  .brand-tagline{display:flex!important;white-space:normal!important;text-align:center!important;justify-content:center!important;font-size:12.5px!important;min-height:38px!important;padding:7px 12px!important;}
  .brand-leaf{width:30px!important;height:30px!important;}
  .submission-guide-process{padding:18px 16px!important;}
  .submission-process-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding-top:8px!important;}
  .submission-process-step{background:rgba(255,253,247,.62)!important;border:1px solid rgba(126,100,50,.14)!important;border-radius:16px!important;padding:10px 8px!important;}
  .submission-process-step span{width:32px!important;height:32px!important;margin-bottom:6px!important;}
  .submission-process-step strong{font-size:12.5px!important;}
  .submission-process-step em{font-size:10.8px!important;}
}

/* ===== v47 targeted: hero CTA fix + DB content/admin polish ===== */
.hero-copy{
  padding-bottom:78px!important;
}
.hero-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin-top:16px!important;
  position:relative!important;
  z-index:8!important;
  direction:rtl!important;
}
.hero-actions .btn{
  min-height:42px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  line-height:1!important;
  white-space:nowrap!important;
  flex:0 0 auto!important;
  position:relative!important;
  z-index:9!important;
}
.hero-actions .btn svg{
  width:17px!important;
  height:17px!important;
}
.hero-actions .btn-outline{
  background:rgba(3,31,24,.18)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.58)!important;
}
.hero-controls{
  bottom:14px!important;
  z-index:6!important;
}
.resource-latest{
  width:100%;
  margin:7px 0 8px;
  padding:8px 10px;
  border:1px dashed rgba(196,146,46,.32);
  border-radius:13px;
  background:rgba(255,250,240,.64);
  text-align:right;
}
.resource-latest span{
  display:block;
  font-size:10.5px;
  color:#9a6d16;
  font-weight:950;
  margin-bottom:2px;
}
.resource-latest strong{
  display:block;
  font-size:12px;
  line-height:1.75;
  color:var(--green-900);
  font-weight:900;
}
.admin-hero{
  min-height:230px!important;
}
.admin-section{
  padding-top:28px!important;
}
.admin-alert{
  background:#ecf5e3;
  border:1px solid rgba(63,107,63,.20);
  color:var(--green-900);
  border-radius:18px;
  padding:13px 16px;
  margin-bottom:14px;
  font-weight:850;
}
.admin-alert.danger{
  background:#fff0ea;
  border-color:rgba(184,59,42,.20);
  color:#7e2518;
}
.admin-toolbar{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.admin-toolbar form{margin:0}
.admin-content-grid{
  display:grid;
  gap:18px;
}
.admin-content-card{
  background:rgba(255,253,247,.92);
  border:1px solid var(--line-soft);
  border-radius:24px;
  box-shadow:0 14px 34px rgba(8,47,37,.045);
  padding:18px;
}
.admin-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:12px;
}
.admin-card-head h2{
  margin:0 0 5px;
  color:var(--green-900);
  font-size:22px;
  font-weight:950;
}
.admin-card-head p{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.8;
}
.admin-stats{
  display:flex;
  gap:8px;
  margin-bottom:12px;
}
.admin-stats span{
  border:1px solid rgba(196,146,46,.26);
  background:rgba(224,196,122,.11);
  color:#8a671c;
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  font-weight:900;
}
.admin-table-wrap{
  overflow:auto;
  border:1px solid var(--line-soft);
  border-radius:18px;
}
.admin-table{
  width:100%;
  border-collapse:collapse;
  min-width:640px;
  background:#fffdf7;
}
.admin-table th,.admin-table td{
  padding:12px 13px;
  border-bottom:1px solid var(--line-soft);
  text-align:right;
  vertical-align:middle;
}
.admin-table th{
  color:var(--green-900);
  background:rgba(229,236,215,.38);
  font-size:12.5px;
  font-weight:950;
}
.admin-table td strong{display:block;font-weight:950;color:var(--green-900)}
.admin-table td small{display:block;color:var(--muted);font-size:11px;margin-top:3px;direction:ltr;text-align:right}
.admin-pill{
  display:inline-flex;
  border-radius:999px;
  padding:4px 10px;
  font-size:11.5px;
  font-weight:900;
  border:1px solid transparent;
}
.admin-pill.on{background:rgba(63,107,63,.12);border-color:rgba(63,107,63,.22);color:var(--green-800)}
.admin-pill.off{background:rgba(184,59,42,.08);border-color:rgba(184,59,42,.18);color:#8d2d1f}
.admin-actions-cell{display:flex;gap:10px;align-items:center;white-space:nowrap}
.admin-actions-cell a,.admin-actions-cell button{
  border:0;
  background:transparent;
  color:var(--green-800);
  font-family:inherit;
  font-weight:900;
  cursor:pointer;
  padding:0;
}
.admin-actions-cell button{color:#9b2e20}
.admin-form{
  background:rgba(255,253,247,.92);
  border:1px solid var(--line-soft);
  border-radius:24px;
  box-shadow:0 14px 34px rgba(8,47,37,.045);
  padding:20px;
}
.admin-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.admin-field{
  display:grid;
  gap:7px;
}
.admin-field.wide{grid-column:1/-1}
.admin-field>span{
  color:var(--green-900);
  font-size:13px;
  font-weight:950;
}
.admin-field input,.admin-field textarea{
  width:100%;
  border:1px solid rgba(8,47,37,.16);
  border-radius:14px;
  background:#fffef9;
  padding:11px 12px;
  font-family:inherit;
  color:var(--green-900);
  outline:none;
}
.admin-field textarea{resize:vertical;line-height:1.9}
.admin-field input:focus,.admin-field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(196,146,46,.10)}
.admin-field em{font-style:normal;color:var(--muted);font-size:11.5px;line-height:1.7}
.admin-field.check{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  border:1px solid var(--line-soft);
  border-radius:14px;
  background:rgba(229,236,215,.22);
}
.admin-field.check input{width:18px;height:18px}
.admin-form-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
@media (max-width:760px){
  .hero-copy{padding-bottom:92px!important;}
  .hero-actions{justify-content:center!important;}
  .hero-actions .btn{width:min(100%,250px)!important;}
  .admin-form-grid{grid-template-columns:1fr}
  .admin-card-head{display:block}.admin-card-head .btn{margin-top:12px}
}

/* ===== v48: admin integration, uploads, header login/submit, hero CTA separation ===== */
.brand-actions-v48{gap:10px!important;flex-wrap:wrap!important}
.brand-actions-v48 .brand-login{height:42px!important;border-color:rgba(8,47,37,.20)!important;background:rgba(255,253,247,.70)!important;color:var(--green-900)!important;font-weight:900!important;padding:0 16px!important}
.hero-copy{padding-bottom:120px!important;max-width:680px!important}
.hero-actions{margin-top:22px!important;margin-bottom:24px!important;clear:both!important}
.hero-actions .btn{height:44px!important;min-width:170px!important;justify-content:center!important}
.hero-controls{bottom:20px!important;pointer-events:auto!important}
@media(max-width:720px){.brand-actions-v48{justify-content:center!important}.brand-actions-v48 .btn{min-width:0!important}.hero-copy{padding-bottom:128px!important}.hero-actions{justify-content:center!important}.hero-actions .btn{width:min(100%,265px)!important}.hero-controls{bottom:14px!important}}

.kidc-admin-body{margin:0;background:#f3f6fa;color:#101c2e;font-family:Vazirmatn,system-ui,sans-serif;direction:rtl}
.kidc-admin-shell{min-height:100vh;display:grid;grid-template-columns:280px 1fr;background:#f3f6fa}
.kidc-admin-sidebar{background:#0b1a2b;color:#dbe7f5;padding:22px 18px;position:sticky;top:0;height:100vh;overflow:auto;box-shadow:-12px 0 30px rgba(6,18,36,.08)}
.kidc-admin-brand{display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.10);padding-bottom:18px;margin-bottom:18px}
.kidc-admin-brand strong{background:#d7ad35;color:#061321;border-radius:8px;padding:4px 8px;font-weight:950;letter-spacing:.03em}.kidc-admin-brand span{font-weight:900;color:#fff}
.kidc-admin-nav{display:grid;gap:7px}.kidc-admin-nav a{color:#c7d4e3;padding:11px 12px;border-radius:10px;font-weight:850}.kidc-admin-nav a:hover,.kidc-admin-nav a.is-active{background:#1f7bb7;color:#fff}.kidc-admin-note{font-size:12px;line-height:1.9;color:#9fb0c5;border-top:1px solid rgba(255,255,255,.10);margin-top:18px;padding-top:14px}
.kidc-admin-main{min-width:0}.kidc-admin-topbar{height:78px;background:#fff;border-bottom:1px solid #dfe7f0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 26px;position:sticky;top:0;z-index:30}.kidc-admin-topbar small{display:block;color:#64748b;font-weight:800;margin-bottom:3px}.kidc-admin-topbar h1{font-size:20px;margin:0;font-weight:950;color:#0b1a2b}.kidc-admin-top-actions{display:flex;gap:10px;align-items:center}
.kidc-admin-content{padding:26px}.kidc-admin-toolbar-main{background:#fff;border:1px solid #dde7f1;border-radius:14px;padding:14px;margin-bottom:18px;box-shadow:0 10px 28px rgba(15,23,42,.04)}.kidc-admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.kidc-admin-tabs a{background:#fff;border:1px solid #dfe7f0;color:#0b1a2b;border-radius:999px;padding:8px 13px;font-weight:850}.kidc-admin-tabs a:hover{background:#eaf4ff;border-color:#b9dcff}
.kidc-admin-content-grid{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}.kidc-admin-card{background:#fff!important;border:1px solid #dfe7f0!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(15,23,42,.045)!important;overflow:hidden}.kidc-admin-card .admin-card-head{padding:18px 20px;border-bottom:1px solid #edf2f7;background:#fff}.kidc-admin-card h2{font-size:19px;color:#0b1a2b}.kidc-admin-card p{color:#64748b}.kidc-admin-table{min-width:920px!important}.kidc-admin-table th{background:#f7fafc!important;color:#334155!important;font-weight:900!important;border-bottom:1px solid #dfe7f0!important}.kidc-admin-table td{border-bottom:1px solid #eef3f8!important;color:#102033!important}.admin-title-cell strong{display:block;font-size:14.5px;color:#0f2f25}.admin-title-cell small{display:block;color:#64748b;margin-top:3px;direction:ltr;text-align:right}.admin-small-value{font-size:12.5px;color:#475569}.kidc-admin-thumb{width:76px;height:46px;object-fit:cover;border-radius:10px;border:1px solid #dfe7f0;background:#f8fafc}.admin-actions-cell{display:flex!important;gap:8px;align-items:center}.admin-actions-cell form{margin:0}.admin-edit,.admin-delete{display:inline-flex;border:1px solid #d2ddea;background:#fff;border-radius:9px;padding:7px 10px;font-weight:850;color:#075985;cursor:pointer}.admin-delete{color:#b42318;border-color:#fecaca}.admin-delete:hover{background:#fff1f2}.admin-edit:hover{background:#eff6ff}.kidc-admin-form-card{max-width:1180px}.current-upload{margin-top:8px;border:1px dashed #cbd5e1;background:#f8fafc;border-radius:12px;padding:10px;display:grid;gap:7px}.current-upload code{direction:ltr;text-align:left;display:block;font-size:12px;color:#475569;white-space:normal;word-break:break-all}.current-upload img{max-width:260px;max-height:130px;object-fit:cover;border-radius:12px;border:1px solid #e2e8f0}.admin-form input[type="file"]{padding:10px;background:#f8fafc;border-style:dashed}.admin-field.wide{grid-column:span 2}.admin-form-actions{position:sticky;bottom:0;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-top:1px solid #e2e8f0;margin:22px -20px -18px;padding:16px 20px!important}
@media(max-width:980px){.kidc-admin-shell{grid-template-columns:1fr}.kidc-admin-sidebar{height:auto;position:relative}.kidc-admin-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.kidc-admin-topbar{position:relative;height:auto;padding:16px;display:grid}.kidc-admin-content{padding:16px}.admin-field.wide{grid-column:1/-1}}
@media(max-width:640px){.kidc-admin-nav{grid-template-columns:1fr}.kidc-admin-top-actions{flex-wrap:wrap}.kidc-admin-table{min-width:760px!important}}

/* v49 site-manager admin additions */
.admin-field select{width:100%;border:1px solid rgba(6,56,44,.16);border-radius:14px;background:#fff;color:#06382c;padding:12px 14px;font:inherit;outline:none;min-height:46px}.admin-field select:focus{border-color:rgba(197,151,51,.65);box-shadow:0 0 0 4px rgba(197,151,51,.12)}.admin-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.settings-group-card{border:1px solid rgba(6,56,44,.12);background:#fffdf7;border-radius:20px;padding:18px}.settings-group-card h3{margin:0 0 14px;color:#06382c;font-size:18px}.kidc-admin-nav a.is-active{background:rgba(197,151,51,.16);color:#fff;border-color:rgba(197,151,51,.4)}.site-topline a{color:inherit;text-decoration:none}.admin-table td small{display:block;color:#66736f;margin-top:4px;line-height:1.8}.admin-table code,.kidc-admin-card code{direction:ltr;unicode-bidi:embed;background:rgba(6,56,44,.05);border-radius:7px;padding:2px 6px;color:#06382c}@media (max-width:1100px){.admin-settings-grid{grid-template-columns:1fr}.kidc-admin-shell{grid-template-columns:1fr}.kidc-admin-sidebar{position:relative;min-height:auto}.kidc-admin-main{min-width:0}}@media (max-width:740px){.kidc-admin-topbar{align-items:flex-start;flex-direction:column}.kidc-admin-top-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.admin-form-grid{grid-template-columns:1fr}.admin-field.wide{grid-column:auto}.admin-table-wrap{overflow:auto}}

/* =========================================================
   KIDC header final reset - no logo
   هدف: حذف نوار بالا، وسط‌چین عنوان، برگشت دکمه‌ها سمت چپ
   ========================================================= */

/* حذف نوار سیاه/سبز بالا و هر لوگوی اضافه‌شده */
.site-topline,
.brand-tagline,
.brand-kicker,
.karun-logo,
.karun-wordmark{
    display:none!important;
}

/* هدر اصلی */
.brandbar{
    min-height:88px!important;
    padding:0!important;
}

.brandbar-inner{
    height:88px!important;
    min-height:88px!important;
    display:grid!important;
    grid-template-columns:1fr auto 1fr!important;
    grid-template-areas:none!important;
    direction:ltr!important;
    align-items:center!important;
    gap:22px!important;
}

/* عنوان مرکز دقیقاً وسط */
.brand-mark{
    grid-column:2!important;
    grid-area:auto!important;
    justify-self:center!important;
    text-align:center!important;
    direction:rtl!important;
    margin:0!important;
}

.brand-title{
    text-align:center!important;
    font-size:40px!important;
    line-height:1.16!important;
    font-weight:950!important;
    margin:0!important;
}

.brand-subtitle{
    display:none!important;
}

.brand-en{
    display:block!important;
    text-align:center!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:800!important;
    letter-spacing:.18px!important;
    color:rgba(6,56,44,.68)!important;
    margin-top:2px!important;
}

/* دکمه‌ها سمت چپ هدر */
.brand-actions,
.brand-actions-v48{
    grid-column:1!important;
    grid-area:auto!important;
    justify-self:start!important;
    direction:rtl!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    margin:0!important;
    opacity:1!important;
    visibility:visible!important;
}

/* اسلوگان فقط روی اسلایدر */
.hero-slider,
.hero-viewport{
    position:relative!important;
}

.hero-slogan-overlay{
    position:absolute!important;
    left:28px!important;
    right:auto!important;
    bottom:24px!important;
    z-index:12!important;
    display:inline-flex!important;
    align-items:center!important;
    max-width:calc(100% - 56px)!important;
    padding:10px 16px!important;
    border-radius:999px!important;
    color:#fff!important;
    background:rgba(255,255,255,.12)!important;
    border:1px solid rgba(255,255,255,.24)!important;
    backdrop-filter:blur(7px)!important;
    -webkit-backdrop-filter:blur(7px)!important;
    font-size:15px!important;
    font-weight:850!important;
    line-height:1.6!important;
    box-shadow:0 10px 24px rgba(0,0,0,.16)!important;
}

/* بدون فاصله مصنوعی پایین اسلایدر */
.hero-slider{
    margin-bottom:0!important;
    padding-bottom:0!important;
}

/* موبایل */
@media(max-width:720px){
    .brandbar-inner{
        height:auto!important;
        min-height:auto!important;
        grid-template-columns:1fr!important;
        padding:12px 0 10px!important;
        gap:10px!important;
    }

    .brand-mark,
    .brand-actions,
    .brand-actions-v48{
        grid-column:auto!important;
        justify-self:center!important;
    }

    .brand-title{
        font-size:25px!important;
    }

    .brand-en{
        font-size:11.5px!important;
    }

    .brand-actions,
    .brand-actions-v48{
        justify-content:center!important;
        flex-wrap:wrap!important;
    }

    .hero-slogan-overlay{
        left:14px!important;
        bottom:14px!important;
        max-width:calc(100% - 28px)!important;
        font-size:13px!important;
    }
}

/* =========================================================
   KIDC final: buttons left + slider slogan
   فقط هدر و اسلایدر
   ========================================================= */

/* اگر لوگوی آزمایشی قبلی مانده بود */
.karun-logo,
.karun-wordmark{
    display:none!important;
}

/* هدر: عنوان وسط، دکمه‌ها سمت چپ واقعی */
.brandbar-inner{
    position:relative!important;
    height:88px!important;
    min-height:88px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    direction:rtl!important;
}

/* عنوان مرکز دقیقاً وسط */
.brand-mark{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    text-align:center!important;
    margin:0!important;
    z-index:2!important;
    width:max-content!important;
    max-width:56%!important;
}

.brand-title{
    text-align:center!important;
    margin:0!important;
}

.brand-en{
    text-align:center!important;
}

/* دکمه‌ها سمت چپ */
.brand-actions,
.brand-actions-v48{
    position:absolute!important;
    left:0!important;
    right:auto!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    margin:0!important;
    z-index:3!important;
    opacity:1!important;
    visibility:visible!important;
}

/* شعار هدر بالا حذف بماند؛ شعار فقط روی اسلایدر باشد */
.brand-tagline,
.brand-pill{
    display:none!important;
}

/* اسلوگان روی اسلایدر */
.hero-viewport{
    position:relative!important;
}

.hero-slogan-overlay{
    position:absolute!important;
    left:28px!important;
    right:auto!important;
    bottom:24px!important;
    z-index:30!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    max-width:calc(100% - 56px)!important;
    padding:10px 16px!important;
    border-radius:999px!important;
    color:#fff!important;
    background:rgba(255,255,255,.14)!important;
    border:1px solid rgba(255,255,255,.26)!important;
    backdrop-filter:blur(7px)!important;
    -webkit-backdrop-filter:blur(7px)!important;
    font-size:15px!important;
    font-weight:850!important;
    line-height:1.6!important;
    box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}

/* موبایل */
@media(max-width:720px){
    .brandbar-inner{
        height:auto!important;
        min-height:auto!important;
        padding:12px 0 10px!important;
        flex-direction:column!important;
        gap:10px!important;
    }

    .brand-mark{
        position:static!important;
        transform:none!important;
        max-width:100%!important;
        width:auto!important;
        order:1!important;
    }

    .brand-actions,
    .brand-actions-v48{
        position:static!important;
        transform:none!important;
        order:2!important;
        justify-content:center!important;
        flex-wrap:wrap!important;
    }

    .hero-slogan-overlay{
        left:14px!important;
        bottom:14px!important;
        max-width:calc(100% - 28px)!important;
        font-size:13px!important;
    }
}
