/* Domain-only exhibition layout for naph.ir. All controls, typography, icons and themes come from SadrCrp.UiKit 10. */
.naph-site { min-width: 0; }
.naph-site *, .naph-site *::before, .naph-site *::after { box-sizing: border-box; }
.naph-site-header { backdrop-filter: blur(16px); }
.naph-site-nav { min-height: 76px; }
.naph-brand { display: inline-flex; min-width: 0; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 1; }
.naph-brand-mark { width: 52px; height: 46px; object-fit: contain; flex-shrink: 0; border-radius: 12px; background: #fff; padding: 2px; box-shadow: 0 2px 14px rgba(8,35,20,.12); }
.naph-brand-name { color: #087f7e; font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1; font-weight: 850; white-space: nowrap; letter-spacing: -.065em; }
.naph-main-nav { flex: 1; }
.naph-main-nav .btn { font-weight: 600; padding-inline: .75rem; white-space: nowrap; }
.naph-panel-btn { white-space: nowrap; }
.naph-hero { position: relative; background: #0d201b; color: #fff; isolation: isolate; }
.naph-hero-bg { position:absolute; inset: 0; pointer-events:none; opacity: .55; background: radial-gradient(ellipse at 100% 0%, rgba(124,184,57,.24), transparent 52%), radial-gradient(ellipse at 0% 100%, rgba(14,117,112,.24), transparent 50%); }
.naph-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(28px,5vw,80px); align-items: center; min-height: clamp(580px,75vh,800px); }
.naph-hero-copy { min-width:0; padding-block: 22px; }
.naph-overline { display: inline-flex; flex-wrap:wrap; align-items:center; gap: 8px; border: 1px solid rgba(203,228,189,.3); border-radius:99px; padding: 8px 14px; font-size: .76rem; color:#b9dcb2; letter-spacing: .02em; }
.naph-hero-title { margin-top: 24px; font-size: clamp(2.5rem,5vw,5rem); line-height: 1.45; font-weight:850; letter-spacing:-.035em; text-wrap:balance; }
.naph-hero-title span { display:block; color:#aee381; }
.naph-hero-art { position: relative; min-width:0; padding: 14px; border: 1px solid rgba(242,247,232,.28); border-radius: 5px; }
.naph-hero-frame { position: relative; background: #f6f3ec; padding: clamp(10px, 2.5vw, 25px); border-radius: 2px; box-shadow: 0 18px 60px rgba(0,0,0,.35); }
.naph-hero-frame img { display:block; width:100%; height: clamp(280px,39vw,500px); object-fit:cover; background:#d8dcd3; }
.naph-hero-image-tag { position:absolute; right: 22px; bottom: 22px; padding:5px 12px; font-size:.72rem; color:#234631; background:rgba(255,255,255,.9); border-radius:5px; }
.naph-hero-index { display:block; position:absolute; left:12px; bottom:-31px; font-size:.64rem; letter-spacing:.3em; color:#a7c4b1; }
.naph-hero-note { margin-top: clamp(25px,5vw,58px); display:flex; align-items:center; gap:10px; color:rgba(255,255,255,.64); font-size:.85rem; }
.naph-hero-note-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#aee381; }
.naph-collections { background: transparent; }
.naph-section-head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:30px; }
.naph-section-eyebrow { display:inline-block; color:#0d8972; font-size:.84rem; font-weight:800; letter-spacing:.035em; }
.naph-section-title { font-size:clamp(1.65rem,3.2vw,2.75rem); font-weight:850; line-height:1.6; letter-spacing:-.03em; text-wrap:balance; }
.naph-halls { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:15px; }
.naph-hall-card { display:block; position:relative; aspect-ratio:4/5; min-width:0; overflow:hidden; border-radius:12px; background:#20362b; color:#fff; box-shadow:0 8px 28px rgba(23,43,34,.1); text-decoration:none; isolation:isolate; }
.naph-hall-card > img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; display:block; }
.naph-hall-card:hover > img, .naph-hall-card:focus-visible > img { transform:scale(1.065); }
.naph-hall-gradient { position:absolute; inset:0; background:linear-gradient(to top,rgba(4,14,10,.94),rgba(4,14,10,.18) 45%,transparent 72%); }
.naph-hall-content { position:absolute; bottom:0; right:0; left:0; padding:15px; display:flex; flex-direction:column; gap:3px; }
.naph-hall-content strong { font-size:clamp(.95rem,1.7vw,1.25rem); line-height:1.6; }
.naph-hall-content small { font-size:.7rem; color:rgba(255,255,255,.77); line-height:1.6; }
.naph-hall-arrow { position:absolute; left:13px; top:13px; background:rgba(255,255,255,.88); color:#0f493a; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; }
.naph-hall-placeholder { display:grid; place-items:center; width:100%; height:100%; color:rgba(255,255,255,.6); }
.naph-exhibit-wall { background: #edece5; color:#1b332b; }
.naph-selected-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.naph-photo-card { background: #fff; border: 1px solid rgba(24,55,37,.1); box-shadow:0 12px 36px rgba(20,44,27,.08); transition:box-shadow .25s ease, transform .25s ease; }
.naph-photo-card:hover { box-shadow:0 20px 48px rgba(13,33,20,.18); transform:translateY(-3px); }
.naph-photo-card .naph-photo-image { padding:clamp(8px,1.4vw,16px); background:#fff; }
.naph-photo-card .naph-photo-image img { display:block; border-radius:3px; width:100%; height:100%; }
.naph-about-band { background:color-mix(in srgb, var(--color-base-200,#e9ebe6) 60%, transparent); }
.naph-about-figure { max-width:370px; padding:12px; background:#fff; border:1px solid rgba(16,59,35,.1); border-radius:8px; box-shadow:0 15px 40px rgba(13,40,25,.12); }
.naph-about-figure img { width:100%; aspect-ratio:4/5; object-fit:cover; display:block; border-radius:3px; }
.naph-footer { border-top:4px solid #799c49; }
html[data-theme$="-dark"] .naph-exhibit-wall { background:#19251f; color:#edf4ed; }
html[data-theme$="-dark"] .naph-section-eyebrow { color:#a4d17a; }
html[data-theme$="-dark"] .naph-about-band { background:#182821; }
@media (max-width: 1279px) { .naph-main-nav { display:none; } }
@media (max-width: 1100px) { .naph-halls { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width: 850px) { .naph-hero-inner { grid-template-columns:1fr; gap:26px; min-height:initial; } .naph-hero-copy { padding-block:5px; } .naph-hero-frame img { height: clamp(260px,55vw,420px); } .naph-selected-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }
@media (max-width: 600px) { .naph-site-nav { min-height:66px; } .naph-brand-mark {width:39px;height:39px;padding:0;} .naph-brand { gap:.35rem; } .naph-hero-title { font-size:clamp(2rem,7vw,3rem); line-height:1.5; } .naph-halls { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; } .naph-hall-card { aspect-ratio:4/5; border-radius:10px; } .naph-hall-content { padding:11px; } .naph-selected-grid { grid-template-columns:1fr; gap:16px; } .naph-section-head { align-items:flex-start; } .naph-section-head > .btn { min-height:2.5rem; } .naph-hero-index { display:none; } }
@media (max-width: 340px) { .naph-brand-name { font-size:1.17rem; } .naph-brand-mark { width:36px; height:36px; } .naph-panel-btn { padding-inline:.55rem; } }
@media (prefers-reduced-motion: reduce) { .naph-photo-card, .naph-hall-card img { transition:none; } }

/* Archive and individual works: framed like exhibition prints, never stretched. */
.naph-gallery-intro { position:relative; padding:clamp(24px,5vw,56px); border:1px solid rgba(34,74,48,.16); border-radius:12px; background:linear-gradient(125deg,rgba(110,157,97,.1),transparent 56%); }
.naph-gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.naph-detail-stage { background:#152a21; padding:clamp(12px,2.4vw,28px); border:1px solid rgba(180,205,175,.18); border-radius:8px; box-shadow:0 18px 45px rgba(6,31,17,.15); }
.naph-detail-stage img { display:block; background:#0d1713; border-radius:3px; }
@media (max-width:1100px) { .naph-gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:790px) { .naph-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .naph-gallery-grid { grid-template-columns:1fr; gap:15px; } }

.naph-main-nav a[aria-current="page"] { color:#087f7e; font-weight:850; background:rgba(15,125,100,.065); }
html[data-theme$="-dark"] .naph-main-nav a[aria-current="page"] { color:#a4d17a; }

/* Final exhibition polish: scoped layout, no replacement of UiKit component styling. */
.naph-site-header { box-shadow:0 3px 24px rgba(8,31,21,.06); }
.naph-site-nav { width:100%; gap:clamp(.4rem,1.5vw,1.5rem); }
.naph-main-nav { justify-content:center; white-space:nowrap; }
.naph-main-nav a { transition:color .18s ease,background-color .18s ease; }
.naph-main-nav a:hover { color:#087f7e; }
.naph-service-feature { background:linear-gradient(120deg,#eaf1e3 0%,#f7f7f2 60%,#e9f0e6 100%); color:#17342a; border-block:1px solid rgba(24,71,41,.12); }
.naph-service-feature-inner { display:flex; align-items:center; justify-content:space-between; gap:clamp(1rem,4vw,3rem); }
.naph-hall-card:focus-visible,.naph-photo-card:focus-visible { outline:3px solid #82c44a; outline-offset:4px; }
.naph-hall-content { background:linear-gradient(0deg,rgba(0,0,0,.28),transparent); }
.naph-photo-card figure { margin:0; }
.naph-photo-card img { content-visibility:auto; }
#naph-slideshow:fullscreen { height:100dvh!important; max-height:none!important; min-height:0!important; }
#naph-slideshow:fullscreen #slide-photo { height:100%;width:100%; }
#naph-slideshow #slide-description { max-width:70ch; }
.naph-site .naph-section-title { overflow-wrap:anywhere; }
html[data-theme$="-dark"] .naph-service-feature { background:linear-gradient(120deg,#192e23,#1b2825); color:#f1f8f0; }
@media (max-width:1279px) { .naph-mobile-nav { display:block; } }
@media (max-width:790px) { .naph-service-feature-inner { flex-direction:column; align-items:flex-start; } }
@media (max-width:600px) {
  .naph-site-nav { gap:4px; padding-inline:10px; }
  .naph-brand-name { letter-spacing:-.03em; }
  .naph-panel-btn { min-height:2.25rem; }
  #naph-slideshow { height:min(83svh,740px); min-height:420px; }
  #naph-slideshow #slide-description { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
  #naph-slideshow #slide-title { font-size:1.05rem; }
  .naph-hall-card { border-radius:9px; }
}
@media (max-width:359px) {
  .naph-site-nav { padding-inline:8px; }
  .naph-brand-mark { width:34px; height:34px; }
  .naph-brand-name { font-size:1.1rem; }
  .naph-panel-btn { padding-inline:.45rem; }
}
@media (prefers-reduced-motion:reduce) { .naph-main-nav a,.naph-photo-card,.naph-hall-card img { transition:none; } }



/* English editorial typography — the original IRANSansX bundled with UiKit 10. */
.naph-site, .naph-site :is(button,input,select,textarea,option,label),
.naph-site :is(.btn,.badge,.input,.textarea,.select),
.naph-site :is(h1,h2,h3,h4,h5,h6,.naph-brand-name,.naph-section-title,.naph-hero-title) {
  font-family: IRANSansX, system-ui, Arial, sans-serif;
}
.naph-brand-name { font-size: clamp(1.4rem,2.65vw,2rem); font-weight: 900; line-height: 1.18; letter-spacing: -.025em; }
@media(max-width:600px) { .naph-brand-name {font-size:clamp(1.18rem,5vw,1.6rem);} }
.naph-video-card { overflow:hidden; transition: transform .25s ease, box-shadow .25s ease; }
.naph-video-card:hover { transform:translateY(-3px); box-shadow:0 20px 44px rgba(5,32,21,.14); }
.naph-video-card figure {position:relative;aspect-ratio:16/9;background:#172d25;overflow:hidden;}
.naph-video-card figure img {width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
.naph-video-card:hover figure img {transform:scale(1.035);}
.naph-video-play {position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;}
.naph-video-play span {width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:rgba(10,36,22,.7);color:white;box-shadow:0 0 0 1px rgba(255,255,255,.4);}
.naph-video-play svg {width:25px;height:25px;fill:currentColor;}
.naph-site :is(img,video,iframe) {max-width:100%;}
@media (prefers-reduced-motion:reduce){.naph-video-card,.naph-video-card figure img{transition:none;}}
