@font-face{font-family:'Vazirmatn';src:url('fonts/Vazirmatn-Variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;}
:root{--navy:#10263e;--navy-2:#173651;--ink:#17283a;--muted:#667687;--accent:#f2a93b;--teal:#3eaaa1;--paper:#f6f7f6;--line:#e5e9e9;--white:#fff;--radius:18px;--shadow:0 20px 60px rgba(13,37,59,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:94px}body{margin:0;color:var(--ink);font-family:'Vazirmatn',Tahoma,Arial,sans-serif;background:#fff;line-height:1.8}body.nav-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.container{width:min(1160px,calc(100% - 48px));margin-inline:auto}.skip-link{position:absolute;top:-80px;right:16px;z-index:100;background:white;padding:10px 18px;border-radius:8px}.skip-link:focus{top:12px}.topline{background:#0b1c2d;color:#b7c5d2;font-size:11px}.topline-inner{height:34px;display:flex;align-items:center;justify-content:space-between}.topline-caption{display:flex;align-items:center;gap:9px;color:#94a6b5}.topline-caption i{width:3px;height:3px;border-radius:50%;background:var(--accent)}.site-header{height:82px;position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(16,38,62,.07)}.header-inner{height:100%;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand-mark{width:42px;height:42px;border-radius:12px;background:var(--navy);display:grid;place-items:center}.brand-mark svg{width:30px;height:30px;fill:var(--accent)}.brand-copy{display:grid;line-height:1.4}.brand-copy strong{font-size:15px;color:var(--navy);font-weight:800}.brand-copy small{font-size:10px;color:#8492a0;margin-top:4px}.main-nav{display:flex;align-items:center;gap:27px;margin-inline:auto;font-size:12px;color:#526273}.main-nav a{transition:color .2s}.main-nav a:hover{color:#ca8420}.salary-button{height:43px;padding:0 16px;border-radius:9px;background:var(--accent);color:#142b42;font-size:12px;font-weight:800;display:flex;gap:9px;align-items:center;box-shadow:0 7px 20px rgba(242,169,59,.23);transition:transform .2s,box-shadow .2s;white-space:nowrap}.salary-button:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(242,169,59,.34)}.salary-icon{font-size:18px}.nav-toggle{display:none}.hero{min-height:480px;position:relative;isolation:isolate;color:white;overflow:hidden;background:#132e48;display:flex;align-items:center}.hero:before{content:"";position:absolute;z-index:-2;inset:0;background-image:linear-gradient(90deg,rgba(7,20,33,.12),rgba(8,27,44,.52) 48%,rgba(16,38,62,.76) 100%),var(--hero-image);background-position:center,center 48%;background-size:cover}.hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(5,17,28,.26),transparent 42%)}.hero-grid{position:absolute;inset:0;opacity:.13;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(90deg,transparent,#000)}.hero-inner{display:flex;justify-content:space-between;align-items:center;position:relative;padding-block:54px}.hero-copy{max-width:660px}.eyebrow{font-size:11px;color:#748496;display:flex;align-items:center;gap:10px;margin-bottom:17px;font-weight:600}.eyebrow span{height:2px;width:24px;background:var(--teal);display:inline-block}.eyebrow.light{color:#a9bdca}.eyebrow.light span{background:var(--accent)}.hero h1{font-size:clamp(28px,3.8vw,43px);line-height:1.35;margin:0 0 15px;font-weight:800;letter-spacing:-1.8px}.hero-copy>p{color:#cfdae1;font-size:15px;max-width:560px;margin:0;line-height:2.1}.hero-actions{display:flex;gap:12px;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:17px;padding:12px 19px;min-height:48px;border:0;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.button-accent{background:var(--accent);color:#172a3a}.button-ghost{border:1px solid rgba(255,255,255,.32);color:#fff;background:rgba(255,255,255,.05)}.button-ghost:hover{background:rgba(255,255,255,.12)}.hero-proof{display:flex;align-items:center;gap:12px;color:#aebdc8;font-size:11px;margin-top:36px}.proof-line{height:1px;width:40px;background:var(--teal)}.hero-side-note{display:flex;gap:13px;align-items:center;position:absolute;left:0;bottom:90px;direction:ltr;color:#dce7eb;border-right:1px solid rgba(255,255,255,.3);padding-right:13px}.hero-side-note>span{font-size:28px;font-weight:300;color:var(--accent)}.hero-side-note div{display:grid;direction:rtl}.hero-side-note b{font-size:12px}.hero-side-note small{color:#a8b8c4;font-size:10px}.scroll-cue{position:absolute;bottom:20px;left:50%;width:23px;height:36px;border:1px solid rgba(255,255,255,.4);border-radius:20px;display:grid;place-items:start center;padding-top:7px}.scroll-cue span{width:3px;height:7px;background:var(--accent);border-radius:4px;animation:scroll 1.4s infinite}@keyframes scroll{to{transform:translateY(9px);opacity:0}}.intro-strip{border-bottom:1px solid var(--line);background:#fff}.intro-strip-inner{display:flex;align-items:center;justify-content:center;gap:26px;min-height:56px;font-size:13px;color:#526273}.intro-strip-inner b{color:var(--teal);font-size:18px;font-weight:500}.intro-strip-inner small{border-right:1px solid var(--line);padding-right:24px;font-size:10px;color:#8996a1}.section{padding:68px 0}.about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center}.section-lead h2,.section-heading h2{font-size:clamp(24px,2.7vw,32px);line-height:1.55;margin:0;color:var(--navy);font-weight:800}.short-rule{width:56px;height:3px;background:var(--accent);margin-top:23px}.about-copy{padding-top:22px}.about-copy>p{font-size:14px;color:#566777;line-height:2.25;margin:0 0 14px;text-align:justify}.about-copy .muted-note{font-size:11px;color:#8492a0;border-right:2px solid var(--teal);padding-right:12px}.text-link{display:inline-flex;gap:12px;align-items:center;color:#bb781a;font-size:12px;font-weight:700;margin-top:10px}.text-link span,.card-link span{transition:transform .2s;display:inline-block}.text-link:hover span,.card-link:hover span{transform:translateX(-4px)}.about-visual{width:min(100%,480px);aspect-ratio:1;justify-self:center;position:relative;overflow:hidden;border-radius:14px;background:#d9e1e3}.about-visual>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.74)}.about-visual:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(0deg,rgba(6,25,42,.77),transparent)}.visual-caption{position:absolute;bottom:21px;right:26px;z-index:1;color:white;display:flex;align-items:center;gap:15px}.caption-number{font-size:26px;color:var(--accent);font-weight:800;letter-spacing:1px}.visual-caption>span:last-child{font-size:13px;font-weight:700}.visual-caption small{display:block;color:#cad6dd;font-size:10px;font-weight:400}.services-section{background:var(--navy);color:white;position:relative;overflow:hidden}.services-section:before{content:"";position:absolute;left:-140px;bottom:-230px;border:1px solid rgba(255,255,255,.08);width:460px;height:460px;border-radius:50%;box-shadow:0 0 0 60px rgba(255,255,255,.025),0 0 0 120px rgba(255,255,255,.018)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:32px}.section-heading h2{color:white}.section-heading>p{max-width:380px;margin:0 0 3px;color:#aebdca;font-size:12px;line-height:2}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;position:relative}.service-card{min-height:255px;padding:24px 21px 20px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));display:flex;flex-direction:column;transition:transform .25s,border-color .25s,background .25s}.service-card:hover{transform:translateY(-5px);border-color:rgba(242,169,59,.6);background:rgba(255,255,255,.09)}.service-card-top{display:flex;align-items:center;justify-content:space-between}.service-number{font-size:11px;color:#6c899d;direction:ltr}.service-icon{width:38px;height:38px;border-radius:11px;background:rgba(62,170,161,.15);color:#73c4bc;display:grid;place-items:center;font-size:21px}.service-card h3{font-size:14px;margin:24px 0 9px;color:#fff}.service-card p{font-size:11px;line-height:1.9;color:#aabac6;margin:0}.card-link{display:flex;align-items:center;justify-content:space-between;color:#edb453;font-size:10px;margin-top:auto;padding-top:19px}.projects-section{background:#f7f8f7}.projects-heading h2{color:var(--navy)}.projects-heading>p{color:#71808d}.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.project-card{background:white;border:1px solid #e9eceb;border-radius:13px;overflow:hidden;box-shadow:0 12px 34px rgba(20,48,66,.045);transition:transform .25s,box-shadow .25s}.project-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.project-image{height:220px;position:relative;overflow:hidden;background:#dde3e3}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.project-card:hover img{transform:scale(1.035)}.project-arrow{position:absolute;left:14px;bottom:14px;width:40px;height:40px;background:var(--accent);color:var(--navy);display:grid;place-items:center;border-radius:50%;font-size:20px}.project-content{padding:23px 25px 26px}.project-category{font-size:10px;color:#b17a29}.project-content h3{font-size:15px;color:var(--navy);margin:5px 0 7px}.project-content p{font-size:11px;color:#70808e;line-height:1.95;margin:0}.empty-state,.news-empty{display:flex;gap:18px;align-items:center;background:#fff;border:1px dashed #c9d4d6;border-radius:12px;padding:25px;color:#5a6c7b}.empty-mark,.news-empty-icon{flex:none;width:43px;height:43px;display:grid;place-items:center;background:#eff5f2;border-radius:12px;color:#439f98;font-size:23px}.empty-state strong,.news-empty strong{font-size:13px;color:var(--navy)}.empty-state p,.news-empty p{font-size:11px;margin:4px 0 0;color:#788896}.news-section{padding-top:60px;padding-bottom:68px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.news-card{padding:24px;background:white;border:1px solid var(--line);border-radius:12px}.news-meta{display:flex;justify-content:space-between;align-items:center;color:#9b762f;font-size:10px}.news-meta time{color:#8996a0}.news-card h3{font-size:15px;color:var(--navy);margin:18px 0 8px}.news-card>p,.news-card details>p{font-size:11px;color:#6d7c89;line-height:2}.news-card details summary{font-size:10px;color:#b17a29;cursor:pointer;list-style:none;font-weight:700}.news-card details summary span{margin-right:8px}.news-empty{background:#fafbfa}.contact-section{background:var(--navy);color:#fff;padding:68px 0;position:relative;overflow:hidden}.contact-section:before{content:"";position:absolute;top:-280px;left:-130px;width:560px;height:560px;border-radius:50%;border:1px solid rgba(255,255,255,.07);box-shadow:0 0 0 65px rgba(255,255,255,.02)}.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:76px;position:relative;align-items:start}.contact-copy h2{font-size:clamp(24px,2.7vw,32px);line-height:1.55;margin:0 0 12px}.contact-copy>p{color:#afbdc8;font-size:12px;line-height:2.1;max-width:430px}.contact-details{margin-top:32px;display:grid;gap:17px}.contact-details>a,.contact-details>div:not(.contact-hint){display:flex;align-items:center;gap:13px;color:#e2e9ed;font-size:12px}.contact-details small{display:block;color:#8ea2b0;font-size:10px}.detail-icon{width:37px;height:37px;border-radius:10px;background:rgba(255,255,255,.08);display:grid;place-items:center;color:var(--accent)}.contact-hint{font-size:11px;color:#d1c4a5;border-right:2px solid var(--accent);padding-right:11px}.contact-form{background:white;color:var(--ink);border-radius:14px;padding:30px 31px;box-shadow:0 18px 60px rgba(5,15,27,.2)}.form-heading{display:grid;gap:3px;margin-bottom:20px}.form-heading span{font-size:16px;color:var(--navy);font-weight:800}.form-heading small{font-size:10px;color:#8c99a2}.contact-form label{display:grid;gap:6px;font-size:10px;color:#526273;margin-bottom:13px}.contact-form label small{display:inline;color:#95a1aa}.contact-form input,.contact-form textarea,.admin-form input,.admin-form textarea,.admin-form select{border:1px solid #e2e7e8;background:#fbfcfc;padding:10px 12px;border-radius:7px;font-size:11px;color:var(--ink);outline:none;transition:border .2s,box-shadow .2s}.contact-form input:focus,.contact-form textarea:focus,.admin-form input:focus,.admin-form textarea:focus{border-color:#6bb9b3;box-shadow:0 0 0 3px rgba(62,170,161,.12)}.contact-form textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-submit{min-width:145px;margin-top:1px}.form-feedback{font-size:11px;color:#247b58;margin:10px 0 0}.honeypot{position:absolute!important;inset-inline-start:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.site-footer{background:#091827;color:#98a8b4}.footer-main{min-height:105px;display:flex;align-items:center;justify-content:space-between;gap:24px}.footer-brand .brand-mark{background:#18354e}.footer-brand .brand-copy strong{color:#f4f7f8}.footer-brand .brand-copy small{max-width:300px;color:#8495a3}.footer-links{display:flex;gap:18px;font-size:10px}.footer-links a:hover,.footer-bottom a:hover{color:var(--accent)}.back-top{font-size:10px;color:#d0d9df}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:20px;padding:15px 0;font-size:9px;color:#81909c}.footer-bottom a{color:#bac5cc}
/* Content management */
.admin-page{min-height:100vh;background:#f2f5f6}.admin-top{background:var(--navy);color:white;padding:23px 0}.admin-top-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-top h1{font-size:19px;margin:0}.admin-top p{font-size:10px;color:#b4c1ca;margin:3px 0 0}.admin-wrap{width:min(1050px,calc(100% - 32px));margin:28px auto 70px}.admin-card{background:white;border:1px solid #e3e8e9;border-radius:12px;padding:24px;margin-bottom:18px;box-shadow:0 8px 26px rgba(18,48,70,.04)}.admin-card h2{font-size:16px;color:var(--navy);margin:0 0 5px}.admin-card>p,.admin-help{font-size:11px;color:#7c8994;margin:0 0 18px}.admin-form label{display:grid;gap:6px;font-size:10px;color:#526273;margin-bottom:12px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.admin-item{border-top:1px solid #edf0f0;margin-top:18px;padding-top:18px}.admin-item:first-of-type{border-top:0;margin-top:0;padding-top:0}.admin-item-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.admin-item-head strong{font-size:12px;color:var(--navy)}.admin-item .wide{grid-column:1/-1}.admin-check{display:flex!important;align-items:center;gap:9px!important}.admin-check input{accent-color:var(--teal)}.admin-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.admin-button{border:0;border-radius:7px;padding:10px 17px;background:var(--navy);color:#fff;font-size:11px;font-weight:700;cursor:pointer}.admin-button:hover{background:#214a68}.admin-button.subtle{background:#edf1f2;color:#4d5c69}.admin-button.accent{background:var(--accent);color:#14283b}.admin-notice{padding:12px 15px;border-radius:8px;margin-bottom:16px;font-size:11px;background:#e9f5ee;color:#276b4a}.admin-notice.error{background:#fff0eb;color:#9b4c32}.admin-login{max-width:420px;margin:70px auto}.admin-login .admin-form label{font-size:11px}.admin-login .admin-form input{min-height:43px}.admin-logout{background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:7px;padding:8px 13px;font-size:10px;cursor:pointer}.admin-message{border-top:1px solid #edf0f0;padding:15px 0}.admin-message:first-of-type{border-top:0}.admin-message strong{font-size:12px;color:var(--navy)}.admin-message p{white-space:pre-wrap;font-size:11px;color:#61717e}.admin-message small{color:#87949c;font-size:10px}.admin-empty{font-size:11px;color:#788792;background:#f7f9f9;padding:15px;border-radius:8px}
@media(max-width:1000px){.header-inner{gap:18px}.main-nav{gap:16px}.main-nav a{font-size:11px}.brand-copy strong{font-size:13px}.salary-button{padding-inline:12px;font-size:11px}.service-grid{grid-template-columns:repeat(2,1fr)}.service-card{min-height:230px}.contact-grid{gap:42px}}
@media(max-width:760px){html{scroll-padding-top:72px}.container{width:min(100% - 34px,560px)}.topline-inner{height:30px}.topline-caption{display:none}.site-header{height:70px}.header-inner{gap:12px}.brand-mark{width:38px;height:38px}.brand-mark svg{width:27px}.brand-copy strong{font-size:12px}.brand-copy small{font-size:9px}.salary-button{margin-right:auto;height:39px;padding-inline:10px;font-size:10px;gap:6px}.salary-icon{font-size:15px}.nav-toggle{order:3;display:flex;width:38px;height:38px;border:1px solid #e6e9e9;background:#fff;border-radius:8px;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;flex-shrink:0}.nav-toggle span{display:block;width:15px;height:1.5px;background:#23394e;transition:.2s}.nav-toggle[aria-expanded=true] span:first-child{transform:translateY(6.5px) rotate(45deg)}.nav-toggle[aria-expanded=true] span:nth-child(2){opacity:0}.nav-toggle[aria-expanded=true] span:last-child{transform:translateY(-6.5px) rotate(-45deg)}.main-nav{display:none;position:fixed;top:100px;inset-inline:0;background:white;padding:14px 24px 20px;box-shadow:0 20px 30px rgba(16,38,62,.13);align-items:stretch;gap:0;flex-direction:column}.main-nav.is-open{display:flex}.main-nav a{padding:11px 5px;border-bottom:1px solid #edf0f0;font-size:13px}.hero{min-height:440px}.hero:before{background-image:linear-gradient(90deg,rgba(8,23,36,.48),rgba(9,29,46,.69)),var(--hero-image);background-position:center,58% center}.hero-inner{padding-block:46px 58px}.hero-copy{max-width:100%}.hero h1{font-size:29px;letter-spacing:-1px}.hero-copy>p{font-size:13px}.hero-side-note{display:none}.hero-actions{flex-wrap:wrap}.intro-strip-inner{justify-content:flex-start;gap:12px;overflow:auto;white-space:nowrap;min-height:50px;font-size:11px}.intro-strip-inner small{padding-right:12px}.section{padding:48px 0}.about-grid{grid-template-columns:minmax(0,1fr);gap:24px}.section-lead h2,.section-heading h2{font-size:25px}.about-copy{padding-top:0}.section-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:29px}.section-heading>p{font-size:11px}.service-grid{grid-template-columns:1fr;gap:10px}.service-card{min-height:unset;padding:19px}.service-card h3{margin-top:15px}.service-card p{max-width:470px}.project-grid{grid-template-columns:1fr;gap:14px}.project-image{height:190px}.projects-heading{gap:10px}.news-section{padding-top:48px;padding-bottom:48px}.news-grid{grid-template-columns:1fr}.contact-section{padding:48px 0}.contact-grid{grid-template-columns:1fr;gap:30px}.contact-copy h2{font-size:25px}.contact-form{padding:23px 20px}.form-row{grid-template-columns:1fr;gap:0}.footer-main{align-items:flex-start;flex-direction:column;padding:25px 0}.footer-links{flex-wrap:wrap;gap:10px 17px}.footer-bottom{font-size:9px;flex-direction:column;gap:6px}.admin-top-inner{align-items:flex-start;flex-direction:column}.admin-wrap{margin-top:17px}.admin-card{padding:19px}.admin-grid{grid-template-columns:1fr}.admin-item .wide{grid-column:auto}.admin-login{margin:35px auto}}
@media(max-width:390px){.container{width:calc(100% - 26px)}.brand{gap:7px}.brand-copy strong{font-size:11px}.salary-button{padding-inline:8px;font-size:9px}.hero h1{font-size:26px}.hero{min-height:420px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.service-photo{width:100%;height:136px;object-fit:cover;border-radius:7px;margin-top:14px;opacity:.82;filter:saturate(.72)}.service-card h3{margin-top:14px}.card-details,.project-details{margin-top:10px;color:#becbd3}.card-details summary,.project-details summary{font-size:10px;cursor:pointer;list-style:none;color:#edb453}.card-details summary span,.project-details summary span{margin-right:8px}.card-details>p,.project-details>p{padding-top:8px}.project-details{color:#70808e}.project-details summary{color:#b17a29}
.projects-intro{max-width:380px;display:grid;gap:9px}.projects-intro>p{margin:0 0 3px;color:#71808d;font-size:12px;line-height:2}.project-source{width:fit-content;color:#a97121;font-size:10px;font-weight:700;text-decoration:underline;text-underline-offset:4px}.project-source:hover{color:#775013}.admin-upload input[type=file]{width:100%;background:#fbfcfc;border:1px dashed #ccd5d7;padding:9px 10px;border-radius:7px;font-size:10px}

select,option{font-family:inherit}

.news-image-link {
  display: inline-grid;
  gap: 4px;
  max-width: 100%;
  color: #835a21;
  font-size: 10px;
  font-weight: 700;
}
.news-image-link img {
  display: block;
  max-width: 100%;
  height: auto;
  aspect-ratio: 276 / 195;
  object-fit: cover;
  object-position: center top;
  background: #f4f6f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.news-image-link:hover span { text-decoration: underline; }
.news-image-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

.project-image-note {
  margin: 16px 0 0;
  color: #596a78;
  font-size: 10px;
  line-height: 1.8;
}

.about-note-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.about-note-row .muted-note { margin: 0; }

.about-note-row .resume-button {
  min-height: 40px;
  padding: 7px 13px;
}

.news-image-link { position: relative; }
.news-gallery-count {
  position: absolute;
  inset: 8px 8px auto auto;
  border-radius: 6px;
  padding: 3px 9px;
  background: #10263e;
  color: #fff;
}
.news-image-link:hover .news-gallery-count { text-decoration: none; }
.news-gallery {
  width: min(840px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  border: 0;
  border-radius: 14px;
  padding: clamp(12px, 2.4vw, 24px);
  background: #fff;
  color: var(--navy);
}
.news-gallery::backdrop { background: rgb(8 20 34 / 78%); }
html:has(.news-gallery[open]) { overflow: hidden; }
.news-gallery-header, .news-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.news-gallery-header h4 { margin: 0; font-size: clamp(14px, 2.4vw, 18px); }
.news-gallery button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 11px;
  min-height: 40px;
  background: #f4f6f8;
  color: var(--navy);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.news-gallery-stage { margin: 10px 0; background: #f1f4f6; border-radius: 8px; }
.news-gallery-stage img {
  display: block;
  width: 100%;
  height: min(600px, 60dvh);
  object-fit: contain;
}
.news-gallery-controls { font-size: 12px; }
.news-gallery-full { display: block; margin-top: 8px; text-align: center; font-size: 12px; text-decoration: underline; }

.news-image-editor { min-width: 0; border: 1px solid #dce3eb; border-radius: 12px; padding: 14px; }
.news-image-editor label + label { margin-top: 14px; }
.news-image-list { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.news-image-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; background: #f4f7fa; border-radius: 8px; }
.news-image-list img { object-fit: cover; border-radius: 5px; }
.gallery-editor-cover { display: none; padding: 2px 8px; border-radius: 6px; background: #fff2d6; font-size: 11px; }
.news-image-list li:first-child .gallery-editor-cover { display: inline; }
.gallery-editor-actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: 6px; }
.gallery-editor-actions .admin-button { padding: 6px 9px; }
.gallery-editor-actions .admin-button:disabled { opacity: .45; cursor: default; }
