/* 0.5.0 — 디자인 개편 A3 「현재형」(결정 D-133~D-135, 대표 2026-11-17 「이게 더 낫네」).
   기존 화면 구조·기능은 그대로 두고 맨 마지막 층에서 옷만 바꾼다. 이 파일을 빼면 0.4.x 모습으로 돌아간다.
   원칙
   1) 글꼴 하나: 영문 Schibsted Grotesk(보통 자간·소문자 섞어 쓰기) + 한글 Pretendard. 대문자·넓은 자간을 쓰지 않는다.
   2) 글자 크기 두 단계 위주: 큰 글씨(로고·메뉴·제목)와 작은 글씨(캡션·정보). 위계는 자리와 가는 선으로.
   3) 색: 짙은 회색 글자, 회색 보조, 아주 옅은 선. 색 띠 배경을 쓰지 않는다(색은 작품 사진이 낸다).
   4) 상단 바 = 4칸 격자(로고 │ 보는 곳 │ 읽는 곳 │ 검색·언어), 바닥글 색인 = 한 문장. */

:root {
  --ink: #2a2a2a; --mute: #777; --rule: #e6e6e6; --panel: #f3f3f2; --bg: #fff;
  --a3-big: 20px; --a3-sm: 14px; --a3-hair: #ebebeb;
  /* 한글 화면은 Pretendard 가 먼저(한글 문장 속 쉼표·숫자가 벌어지지 않게), 영문 덩어리(로고·메뉴·바닥글 문장·영문 화면)에만 Grotesk */
  --a3-latin: 'Schibsted Grotesk', 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --serif: var(--sans);
}
body { font-family: var(--sans); color: var(--ink); }
html[lang^="en"] body, [lang="en"], .a3-logo, .a3-nav, .a3-right, .a3-sentence, .m-label, .k-now-h { font-family: var(--a3-latin); font-variant-numeric: normal; }
/* 이 글꼴은 숫자 폭 맞춤(tabular)을 켜면 쉼표·마침표까지 벌어진다 → 영문 덩어리에서는 끈다 */
html[lang^="en"] body { font-variant-numeric: normal; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 400; letter-spacing: -.012em; }

/* 대문자·넓은 자간 라벨 → 보통 글씨의 회색 라벨 */
.label, .m-label, .card .k, .rows .k, .k-meta, .k-place-sub, .m-copy-k, .m-foot-cols .k, .k-now-h + * .k {
  text-transform: none !important; letter-spacing: 0 !important; font-size: var(--a3-sm); color: var(--mute);
}

/* ---------- 상단 바: 4칸 격자 ---------- */
.site-head { border-bottom: 1px solid var(--a3-hair); background: var(--bg); }
.site-head .wrap { max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: baseline; min-height: 0; padding-top: 22px; padding-bottom: 20px; }
.a3-logo { order: 0; grid-column: 1; font-size: var(--a3-big); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; color: var(--ink); }
.a3-logo:hover { text-decoration: none; }
.site-head .a3-nav { order: 1; grid-column: 2 / span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; font-size: var(--a3-big); line-height: 1.2; text-transform: none; letter-spacing: 0; }
.a3-nav .ng { display: block; min-width: 0; }
.a3-nav .ng a { color: #555; white-space: nowrap; }
.a3-nav .ng a:not(:last-child)::after { content: ","; color: #555; margin-right: .28em; }
.a3-nav .ng a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.a3-nav .ng a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.a3-nav .nav-sub { display: none; }
.a3-right { order: 2; grid-column: 4; display: flex; justify-content: flex-end; align-items: baseline; gap: 16px; min-width: 0; }
.a3-right .h-search input { width: 9em; font: inherit; font-size: var(--a3-sm); border: 0; border-bottom: 1px solid #cfcfcf; background: transparent; padding: 2px 0; color: var(--ink); }
.a3-right .h-search input:focus { border-bottom-color: var(--ink); outline: none; }
.a3-right .util { font-size: var(--a3-sm); gap: 10px; }
.a3-right .h-ig { order: 0; width: 22px; height: 22px; align-self: center; }
.a3-right .h-ig .sns-ico { width: 18px; height: 18px; }
@media (max-width: 1180px) and (min-width: 861px) { :root { --a3-big: 17px; } .site-head .wrap, .site-head .a3-nav { gap: 16px; } .a3-right .h-search input { width: 7em; } }
@media (max-width: 860px) {
  .site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; padding-top: 14px; padding-bottom: 14px; }
  .a3-right { display: contents; }
  .a3-right .h-search { display: none; }
  .site-head .a3-nav { display: none; }
  .site-head.is-open .a3-nav { display: flex; flex-direction: column; width: 100%; gap: 0; grid-column: auto; }
  .site-head.is-open .a3-nav .ng { display: flex; flex-direction: column; gap: 4px; padding: 6px 0 14px; }
  .site-head.is-open .a3-nav .ng + .ng { border-top: 1px solid var(--a3-hair); padding-top: 14px; }
  .site-head.is-open .a3-nav .ng a::after { content: none; }
  .site-head.is-open .a3-nav .nav-sub { display: block; }
  .menu-btn { font-size: 16px; letter-spacing: 0; text-transform: none; }
}

/* ---------- 색 띠 → 흰 바탕 + 가는 선 ---------- */
.m-band, .m-band.is-sky, .m-band.is-sage, .m-band.is-stone, .m-band.is-paper, .m-band.is-white { background: var(--bg) !important; color: var(--ink); border-top: 1px solid var(--a3-hair); }
.m-band.is-ink { background: var(--bg) !important; color: var(--ink); }
.m-band.is-ink a, .m-band.is-ink .m-label { color: inherit; }
.m-band .m-more a, .m-band.is-white .m-more a, .m-band.is-ink .m-more a { color: var(--ink) !important; text-shadow: none; font-size: var(--a3-sm); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.m-label { margin-bottom: 14px; }
.m-heads { font-weight: 400; letter-spacing: -.02em; }
.m-heads a, .m-heads .is-on { text-decoration: none; }

/* ---------- 첫 화면: 글씨만 A3 목소리로 ---------- */
.m-slide-text h2 { font-family: var(--sans); font-weight: 400; letter-spacing: -.025em; text-transform: none; }
.m-slide-text .m-state, .m-slide-text .when { font-size: var(--a3-sm); letter-spacing: 0; }
.m-slide-text .m-link { font-size: var(--a3-sm); }

/* ---------- 목록·카드 ---------- */
.k-now-h, .section h2 { font-weight: 400; }
.k-title, .card h3, .m-tile h3 { font-weight: 400; letter-spacing: -.01em; }
.more { border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- 바닥글: 주소 두 칸 + 한 문장 ---------- */
.site-foot { border-top: 1px solid var(--a3-hair); color: var(--mute); }
.site-foot > .wrap { max-width: none; }
.m-place h2 { font-weight: 400; font-size: var(--a3-big); }
.m-foot-cols { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.a3-sentence { grid-column: 1 / -1; }
.a3-sentence p { margin: 0; max-width: 46em; font-size: var(--a3-big); line-height: 1.4; color: var(--ink); }
.a3-sentence p a { color: var(--ink); }
.a3-sentence p a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.a3-sentence .mute { color: var(--mute); }
.a3-privacy p { margin: 0; font-size: var(--a3-sm); }
.m-rights { text-align: left; border-top: 1px solid var(--a3-hair); color: var(--mute); }
@media (max-width: 860px) { .m-foot-cols { grid-template-columns: 1fr; } .a3-sentence p { font-size: 17px; } }

/* ---------- 휴대폰 메뉴 단추: 글자 「메뉴」 대신 두 줄(☰) — 대표 2026-11-17. 글자는 화면 읽기 프로그램용으로 남김 ---------- */
@media (max-width: 860px) {
  .menu-btn { position: relative; width: 44px; height: 44px; padding: 0; margin-left: auto; font-size: 0 !important; color: transparent; }
  .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s ease, top .25s ease; }
  .menu-btn::before { top: 17px; }
  .menu-btn::after { top: 25px; }
  .site-head.is-open .menu-btn::before { top: 21px; transform: rotate(45deg); }
  .site-head.is-open .menu-btn::after { top: 21px; transform: rotate(-45deg); }
  .a3-right .h-ig { order: 0; margin-left: auto; }
}

/* 화면 오른쪽 밖으로 삐져나가는 숨은 칸 때문에 생기던 가로 흔들림 막기 */
html, body { overflow-x: clip; }
input.sr-only { left: 0; top: 0; } /* 바닥글 스팸 방지 숨은 칸이 화면 오른쪽 밖에 놓여 옆으로 밀리던 것 */

/* ---------- 홈(a3-home.php) ---------- */
.a3-hero { margin: 0; }
.a3-hero-pic { display: block; }
.a3-hero .um-fig { margin: 0; background: #f3f3f2; aspect-ratio: auto !important; height: auto; display: block; }
.a3-hero.is-framed .um-fig { display: flex; align-items: center; justify-content: center; }
.a3-hero.is-wide .um-fig img { width: 100%; height: min(78vh, 880px); max-height: none; object-fit: cover; }
.a3-hero.is-framed .um-fig { height: min(78vh, 880px); padding: clamp(24px, 4vw, 56px) 0; }
.a3-hero.is-framed .um-fig img { max-height: 100%; width: auto; object-fit: contain; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.08); }
.a3-cap { max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 24px; align-items: baseline; padding-top: 22px; padding-bottom: clamp(64px, 8vw, 110px); }
.a3-cap p, .a3-cap h2 { margin: 0; }
.a3-cap-k { grid-column: 1 / -1; font-size: var(--a3-sm); color: var(--mute); margin-bottom: 8px !important; }
.a3-cap-who, .a3-cap-t, .a3-cap-d { font-size: var(--a3-big); line-height: 1.3; font-weight: 400; letter-spacing: -.01em; }
.a3-cap-d { color: #555; }
.a3-cap-go a, .a3-more a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.a3-cap-go { font-size: var(--a3-big); justify-self: start; }
.a3-sec { border-top: 1px solid var(--a3-hair); }
.a3-sec > .wrap { max-width: none; padding-top: 18px; padding-bottom: clamp(64px, 8vw, 110px); }
.a3-lab { font-family: var(--a3-latin); font-size: var(--a3-sm); color: var(--mute); font-weight: 400; letter-spacing: 0; margin: 0 0 36px; }
.a3-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 28px; }
.a3-card { display: grid; gap: 4px; color: var(--ink); }
.a3-card:hover { text-decoration: none; }
.a3-pic { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #f3f3f2; margin-bottom: 12px; }
.a3-pic .um-fig { height: 100%; margin: 0; background: transparent; aspect-ratio: auto !important; }
.a3-pic .um-fig img { width: 100%; height: 100%; max-height: none; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.a3-pic .um-fig:not(.is-crop) img { object-fit: contain; width: auto; max-width: 84%; max-height: 84%; }
@media (hover: hover) { .a3-card:hover .um-fig img { transform: scale(1.035); } .a3-card:hover .a3-t span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
.a3-t { font-size: 16px; line-height: 1.45; }
.a3-d { font-size: var(--a3-sm); color: var(--mute); }
.a3-more { margin: 36px 0 0; font-size: 16px; }
.a3-jl { list-style: none; margin: 0; padding: 0; }
.a3-jl li a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 24px; padding: 14px 0; border-top: 1px solid var(--a3-hair); font-size: 16px; color: var(--ink); }
.a3-jl li:first-child a { border-top: 0; }
.a3-jl .a3-jd { color: var(--mute); justify-self: end; }
.a3-jl li a:hover { text-decoration: none; }
.a3-jl li a:hover .a3-jt { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (prefers-reduced-motion: reduce) { .a3-pic .um-fig img, .menu-btn::before, .menu-btn::after { transition: none; } }
@media (max-width: 860px) {
  .a3-hero.is-wide .um-fig img, .a3-hero.is-framed .um-fig { height: 60vh; }
  .a3-cap { grid-template-columns: 1fr; gap: 2px; }
  .a3-cap-go { margin-top: 12px !important; }
  .a3-grid3 { grid-template-columns: 1fr; gap: 48px; }
  .a3-jl li a { grid-template-columns: 1fr; gap: 2px; }
  .a3-jl .a3-jd { justify-self: start; }
}

/* =========================================================
   0.5.3 디자인 검수 반영(D-139, 대표 2026-11-17 「진행해줘」)
   ========================================================= */
/* A1 왼쪽 줄: 상단 바·바닥글과 같은 왼쪽 끝에서 시작(가운데 좁은 틀을 없앤다) */
.wrap { max-width: none; }
/* 긴 글은 읽기 좋은 폭에서 멈춘다 */
.text, .lede, .stack-en { max-width: 44em; }

/* A2 관리용 정보(근거·기록 번호)는 공개 화면에서 숨김 — 다른 기록 화면도 같게 */
.facts dd.uid, .facts dd.evidence, .facts dt:has(+ dd.uid), .facts dt:has(+ dd.evidence) { display: none; }

/* A3·A4 아카이브: 「보기」 버튼 글자가 세로로 깨지지 않게, 연대 목록 한 줄 */
.ax-inline { display: flex; gap: 8px; align-items: flex-end; }
.ax-inline input { flex: 1 1 auto; min-width: 0; }
.ax-inline .um-btn, .um-btn { white-space: nowrap; flex: none; }
.ax-decades { flex-wrap: wrap; gap: 6px 14px; }

/* A5 선택 표시: 연두색 → 짙은 회색 가는 밑줄 / 옅은 회색 바탕 */
:root { --accent: #ececea; --accent-ink: #111; }
.nav a[aria-current] { box-shadow: none; font-weight: 400; }
.subnav a[aria-current="page"], .projects-nav a[aria-current="page"] { border-bottom-color: var(--ink); font-weight: 500; }
.pager [aria-current="page"] { border-bottom: 1px solid var(--ink); }
.tabs a[aria-current] { background: none; border-bottom: 1px solid var(--ink); padding: 3px 0 1px; }
.ev-tabs a[aria-current="page"], .ev-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.um-pill[aria-current="true"] { box-shadow: inset 0 -1px 0 var(--ink); }

/* A6 상단 메뉴: 두 묶음 사이를 좁혀 한 줄로 읽히게 */
@media (min-width: 861px) { .site-head .a3-nav { display: flex; flex-wrap: wrap; gap: 0 1.6em; } }

/* B1 화면 제목: 모든 화면 같은 크기·글꼴 */
.d-head h1 { font-family: var(--a3-latin); font-size: clamp(34px, 4.4vw, 56px); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; }

/* B2 전시 목록의 지금·다음 전시: 홈과 같은 큰 사진 + 4칸 설명 */
.a3-feat { margin: 8px 0 clamp(48px, 6vw, 88px); }
.a3-feat .a3-cap { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.a3-feat.is-noimg .a3-cap { border-top: 1px solid var(--a3-hair); }
.a3-feat .a3-cap-who:empty { display: none; }
@media (min-width: 861px) { .a3-feat .a3-cap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* B4 전시 상세 「포스터·행사 사진」: 같은 비율 칸, 사진은 잘리지 않게 */
.ev-side { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; align-items: start; }
.ev-side .um-fig { aspect-ratio: auto !important; height: auto !important; display: block !important; background: none !important; margin: 0; }
.ev-side .um-fig img { width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: contain !important; background: var(--panel); max-height: none; }
.ev-side .um-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--mute); }
@media (max-width: 599px) { .ev-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   0.5.4 남은 디자인(D-140): 방문 칸·바닥글·소개·방문·아카이브
   ========================================================= */
/* 방문 칸(바닥글·Visit 공용) — 시안 A3 Visit / 국제갤러리 방식 */
.a3-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.a3-loc { display: grid; gap: 10px; align-content: start; font-size: 15px; line-height: 1.55; min-width: 0; }
.a3-loc h2 { margin: 0 0 4px; font-family: var(--a3-latin); font-size: var(--a3-big); font-weight: 400; letter-spacing: -.01em; }
.a3-loc h2 .mute { color: var(--mute); font-size: var(--a3-sm); margin-left: .4em; }
.a3-loc p { margin: 0; }
.a3-ad { display: grid; gap: 4px; }
.a3-loc .m-copy-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.a3-loc .m-copy-line > span { min-width: 0; }
.a3-loc .is-ko { font-size: 14px; color: #555; }
.a3-loc .m-copy { text-transform: none; letter-spacing: 0; font-size: 12px; padding: 1px 8px; border: 1px solid #d6d6d6; border-radius: 99px; background: none; color: var(--mute); cursor: pointer; }
.a3-loc .m-copy:hover { color: var(--ink); border-color: var(--ink); }
.a3-pk { font-size: 13px; color: var(--mute); }
.a3-pk .is-ko { font-size: 12.5px; color: var(--mute); }
.a3-map a { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; color: var(--ink); }
.a3-hr { font-size: 14px; }
.a3-hr .is-ko { font-size: 13px; color: var(--mute); }
.a3-ct { display: grid; gap: 2px; font-size: 14px; }
.a3-ct .m-copy-k { margin-top: 8px; }
.a3-places.in-foot { padding-bottom: 40px; border-bottom: 1px solid var(--a3-hair); margin-bottom: 32px; }
.a3-places.in-page { margin: 8px 0 clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--a3-hair); max-width: none; }
@media (min-width: 861px) { .a3-places.in-page .a3-loc { font-size: 16px; } }
@media (max-width: 860px) { .a3-places { grid-template-columns: 1fr; } }

/* 바닥글: 방문 칸 → 한 문장 + SNS → 뉴스레터 · 권리, 짧게 */
.site-foot.m-foot { padding-top: clamp(48px, 6vw, 80px); }
.m-foot-cols { gap: 28px 24px; }
.m-foot-cols .m-sns .sns-btn { width: 32px; height: 32px; }
.m-news { max-width: 40em; }
.m-rights { margin-top: 32px; padding-top: 16px; font-size: 12.5px; }
.m-rights p { margin: 0 0 2px; }

/* 소개·방문: 영문이 먼저(본문 색 그대로), 국문이 아래 같은 크기 */
.text .stack-en { color: var(--ink); font-size: inherit; border: 0; padding: 0; margin: 0; }
.text .stack-en p { color: var(--ink); }
.text .stack-ko { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--a3-hair); }
.page-visit .stack-en h2, .page-visit .stack-ko h2, .page-visit h2 { font-size: var(--a3-big); font-weight: 400; margin: 32px 0 8px; }
.page-visit h3 { font-size: 16px; font-weight: 500; margin: 20px 0 6px; }
.page-visit ul { padding-left: 1.1em; }

/* 아카이브: 번호 머리(01 EXPLORE…)를 빼고, 큰 제목을 절제 */
.ax-k { display: none; }
.ax-h { font-size: var(--a3-big); font-weight: 400; margin: 0 0 20px; }
.ax-by h3, .ax-material h2 { font-family: var(--a3-latin); letter-spacing: 0 !important; font-weight: 500; }
.ax-special h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.1; }
.ax-special .ax-no { display: none; }

/* =========================================================
   0.5.5 아트페어 Pace 방식(D-141): 두 갈래 탭 + 한 줄 목록
   ========================================================= */
.a3-fr { list-style: none; margin: 8px 0 0; padding: 0; }
.a3-fr li { border-top: 1px solid var(--a3-hair); }
.a3-fr li:first-child { border-top: 0; }
.a3-fr a { display: grid; grid-template-columns: 96px minmax(0, 2.2fr) minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.2fr) 24px; gap: 24px; align-items: center; min-height: 104px; padding: 12px 0; color: var(--ink); font-size: 15px; }
.a3-fr a:hover { text-decoration: none; }
.a3-fr .fr-th { width: 96px; height: 80px; display: flex; align-items: center; justify-content: center; }
.a3-fr .fr-th .um-fig { margin: 0; background: none !important; aspect-ratio: auto !important; height: auto !important; display: block !important; }
.a3-fr .fr-th img { max-width: 84px !important; max-height: 72px !important; width: auto !important; height: auto !important; object-fit: contain !important; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06); }
.a3-fr .fr-a, .a3-fr .fr-c, .a3-fr .fr-d { color: #555; }
.a3-fr .fr-d { white-space: nowrap; }
.a3-fr .fr-go { color: var(--mute); justify-self: end; }
@media (hover: hover) { .a3-fr a:hover .fr-n { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } .a3-fr a:hover .fr-go { color: var(--ink); } }
.a3-fr-count { margin: 24px 0 0; font-size: var(--a3-sm); color: var(--mute); }
@media (max-width: 860px) {
  .a3-fr a { grid-template-columns: 72px minmax(0, 1fr); gap: 2px 14px; min-height: 0; }
  .a3-fr .fr-th { width: 72px; height: 64px; grid-row: 1 / span 4; align-self: start; }
  .a3-fr .fr-th img { max-width: 64px !important; max-height: 56px !important; }
  .a3-fr .fr-n, .a3-fr .fr-a, .a3-fr .fr-c, .a3-fr .fr-d { grid-column: 2; }
  .a3-fr .fr-go { display: none; }
}
/* 두 갈래 탭: 「On View & Upcoming / Archive」 — 가운데 큰 탭 대신 왼쪽 작은 글씨 */
.ev-tabs { justify-content: flex-start; gap: 0; border-bottom-color: var(--ink); padding-bottom: 14px; }
.ev-tabs li + li::before { content: "/"; color: #c8c8c8; margin: 0 10px; }
.ev-tabs a { font-size: 17px; font-weight: 400; color: var(--mute); border-bottom-width: 1px; } /* 0.5.9(D-147): 전시·저널·아트페어·프로젝트 목록 탭을 모두 같은 모양(왼쪽 작은 글씨, / 구분) */
.site-foot .a3-loc, .site-foot .a3-loc a { color: var(--ink); }
.site-foot .a3-loc .is-ko, .site-foot .a3-pk, .site-foot .a3-loc h2 .mute { color: var(--mute); }
/* 작가 소개 「최근 전시·아트페어」 한 줄 목록 */
.a3-rl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.a3-rl li { border-bottom: 1px solid var(--a3-hair); }
.a3-rl a { display: grid; grid-template-columns: 56px minmax(0, 3fr) minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, 1.2fr); gap: 20px; padding: 13px 0; font-size: 15px; color: var(--ink); align-items: baseline; }
.a3-rl a:hover { text-decoration: none; }
.a3-rl a:hover .rl-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.a3-rl .rl-y, .a3-rl .rl-k, .a3-rl .rl-p, .a3-rl .rl-d { color: var(--mute); font-size: 14px; }
.a3-rl .rl-d { white-space: nowrap; }
@media (max-width: 860px) { .a3-rl a { grid-template-columns: 48px minmax(0, 1fr); gap: 2px 12px; } .a3-rl .rl-k, .a3-rl .rl-p, .a3-rl .rl-d { grid-column: 2; } .a3-rl .rl-k { display: none; } }
/* 전시·아트페어 상세 오른쪽 칸: 글 폭을 사진 폭과 같게(대표 2026-11-17 「이미지가 오른쪽으로 쏠려 보여」) */
.d-grid .text, .d-grid .lede { max-width: none; }
/* 노트북 폭(1181–1366px)·작은 화면(861–1180px)에서 상단 메뉴가 두 줄로 꺾이지 않게 글씨를 한 단계 줄임 */
@media (max-width: 1366px) and (min-width: 1181px) { :root { --a3-big: 18px; } .site-head .a3-nav { gap: 0 1.1em; } }
@media (max-width: 1180px) and (min-width: 861px) { :root { --a3-big: 16px; } .site-head .a3-nav { gap: 0 1em; } }

/* =========================================================
   0.5.8 3차(D-146): 상세 화면 버튼 → 밑줄 글씨, 작가 문의는 한 번
   ========================================================= */
.actions .um-btn, .actions .um-btn.ghost, .um-inquiry > summary.um-btn, .d-grid > div > p > .um-btn {
  display: inline; border: 0; background: none !important; padding: 0; min-height: 0; font-size: 16px; font-weight: 400; color: var(--ink);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; box-shadow: none; cursor: pointer;
}
.actions { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.um-inquiry > summary.um-btn { list-style: none; }
.um-inquiry > summary.um-btn::-webkit-details-marker { display: none; }
.um-inquiry > summary.um-btn::after { content: " →"; }
/* 작가 소개: 문의는 이름 아래 「Inquire →」 한 곳. 사진 아래 같은 버튼은 숨기고, 누르면 양식만 열린다 */
.artist-view .um-inquiry > summary { display: none; }
.artist-view .um-inquiry[open] { margin-top: 20px; }
.ar-acts { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* =========================================================
   0.5.9 4차(D-147): 작품 상세 큰 사진, 전경 사진 크게
   ========================================================= */
@media (min-width: 861px) {
  .aw-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 4vw, 64px); }
  .aw-gallery .um-fig { background: none; }
  .aw-gallery .um-fig img { width: auto; max-width: 100%; max-height: 82vh; height: auto; }
}
.aw-info .facts { margin-top: 0; }
/* 전경: 화면 폭에 맞춰 크게(세로 사진은 화면 높이 안에서), 사진 사이 넉넉히 */
.ev-gallery { max-width: none; gap: clamp(40px, 5vw, 72px); }
.ev-gallery .um-fig { background: none !important; margin: 0; display: block !important; text-align: left; }
.ev-gallery .um-fig img { width: auto; max-width: 100%; max-height: 88vh; height: auto; }
/* 영문 정보 칸 이름(Dimensions·With UM Gallery)이 두 줄로 꺾이지 않게 이름 칸을 넓힘 */
dl.facts { grid-template-columns: minmax(96px, max-content) minmax(0, 1fr); }
dl.facts dt { white-space: nowrap; }

/* 0.5.11(D-149) 특별 아카이브 「주요 장면」: 사진 없는 기록은 회색 빈 상자 대신 글만, 글줄은 아래로 맞춤 */
.ax-moments .ax-noimg { display: none; }
.ax-moments li > a { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.ax-moments li:has(.ax-noimg) > a { border-top: 1px solid var(--a3-hair); } /* 0.5.12: 글줄 높이를 사진 칸과 맞춤 */

/* =========================================================
   0.5.14 8차(D-152): 읽기 쉬운 회색, 휴대폰 바닥글 줄이기
   ========================================================= */
/* 회색 글씨 대비: #777(흰 바탕 4.48:1, 작은 글씨 기준 미달) → #6b6b6b(5.3:1) */
:root { --mute: #6b6b6b; }
/* 휴대폰 바닥글: 주차·국문 운영 시간·언론 메일은 Visit 화면에 있으므로 바닥글에서는 줄임 */
@media (max-width: 860px) {
  .a3-places.in-foot { gap: 28px; padding-bottom: 28px; margin-bottom: 24px; }
  .in-foot .a3-pk, .in-foot .a3-hr .is-ko, .in-foot .a3-hr br, .in-foot .a3-ct .m-copy-k, .in-foot .a3-ct .m-copy-k ~ * { display: none; }
  .in-foot .a3-loc { gap: 6px; }
  .m-foot-cols { gap: 20px; }
  .m-rights { margin-top: 20px; }
}
/* 0.5.17(D-155) 전시 소개 화면의 전경 몇 장: 같은 비율 칸, 누르면 전경 탭 */
.ev-inst > a { display: block; }
.ev-inst .um-fig img { aspect-ratio: 4 / 3; object-fit: cover !important; background: var(--panel); }
@media (hover: hover) { .ev-inst > a:hover img { opacity: .9; } }

/* =========================================================
   0.5.18 12차(D-156): 전시·프로젝트 목록 카드 = 홈 「Recent exhibitions」와 같은 모양
   3칸 · 3:2 사진(전경은 칸 가득, 포스터·세로 사진은 통째로) · 보통 굵기 글씨
   ========================================================= */
.ev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 28px; }
body .ev-pic { height: auto !important; aspect-ratio: 3 / 2; display: block !important; background: var(--panel); overflow: hidden; margin-bottom: 14px; }
body .ev-pic .um-fig { height: 100% !important; width: 100%; display: block !important; background: none !important; margin: 0; }
body .ev-pic .um-fig img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover !important; object-position: 50% 50% !important; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
body .ev-pic .um-fig:is(.is-tall, .is-poster) img { object-fit: contain !important; padding: 7%; box-sizing: border-box; }
@media (hover: hover) { .ev-card:hover .ev-pic .um-fig:not(.is-tall):not(.is-poster) img { transform: scale(1.035); } }
.ev-title { font-size: 16px; font-weight: 400; line-height: 1.45; margin: 0 0 2px; }
.ev-who { font-size: 15px; font-weight: 400; color: var(--ink); margin: 0 0 2px; }
.ev-date, .ev-open { font-size: var(--a3-sm); color: var(--mute); }
.ev-card:hover .ev-who { text-decoration: none; }
.ev-blank { aspect-ratio: 3 / 2; height: auto; }
@media (max-width: 1099px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 20px; } }
@media (max-width: 599px) { .ev-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (prefers-reduced-motion: reduce) { body .ev-pic .um-fig img { transition: none; } }

/* 0.5.20: archive grid never wider than the screen (1fr = minmax(auto,1fr) let the decade row push 4px past the edge on phones) */
@media (max-width: 799px) { .ax-grid { grid-template-columns: minmax(0, 1fr); } }

/* 0.5.23 전수조사(D-158): 표 머리·유형 칩 글자 12px 이상(가독성 하한) */
table.um-records th { font-size: 12px; }
.um-chip { font-size: 12px; }

/* 0.5.25(대표 2026-11-19): 로고 = 「UM」 마크. 마크의 아랫선(M·오른쪽 가는 선)이 메뉴 글자 기준선에 놓이고, 위로는 메뉴 글줄보다 조금 높게.
   상단 바 높이는 전과 같게(위 여백을 마크가 더 차지한 만큼 줄임) */
.a3-logo { line-height: 0; align-self: baseline; }
.a3-mark { display: block; height: 30px; width: auto; }
.site-head .wrap { padding-top: 14px; }
@media (max-width: 1366px) { .a3-mark { height: 27px; } }
@media (max-width: 860px) { .a3-mark { height: 26px; } .a3-logo { align-self: center; } }

/* =========================================================
   0.5.26 모바일 점검(2026-11-23, 대표 휴대폰 캡처 지적 + 360·390·412 전수조사)
   ========================================================= */
/* ① 작품 상세 이전/다음: 한 줄에 제목·쪽수가 겹치던 것 → 이름표(← Previous / Next →) 한 줄 + 제목(회색, 두 줄까지) */
.aw-pn { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 8px 20px; padding-block: 14px; }
.aw-pn a { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 3px; min-width: 0; min-height: 44px; }
.aw-pn a[rel="next"] { align-items: flex-end; }
.aw-pn a span { white-space: normal; text-overflow: ellipsis; }
.aw-pn .pn-k { font-size: 15px; line-height: 1.4; }
.aw-pn .pn-t { font-size: 14px; line-height: 1.4; color: var(--mute); overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.aw-pn a:is(:hover, :focus-visible) .pn-k { text-decoration: underline; text-underline-offset: 4px; }
.aw-pn .pos { line-height: 1.4; font-size: 14px; padding-top: 1px; white-space: nowrap; }
/* ② 작품 상세 정보 순서: 그림 → 정보표 → Inquire → View artist → 글(컴퓨터와 같은 순서, 모두 왼쪽 정렬). 가운데 떠 있던 문의 버튼 정리 */
@media (max-width: 860px) {
  .aw-grid > .aw-info { display: block; order: 2; margin-top: 28px; }
  .aw-grid > .aw-info > .um-inquiry > summary { display: inline; width: auto; }
}
.aw-info > .um-inquiry { margin-top: 24px; }
.aw-info > .um-inquiry + .actions { margin-top: 14px; }
.aw-info > .text { margin-top: 28px; }
.um-inquiry > summary.um-btn::after { content: "\00a0→"; }
/* ③ 하위 탭줄(Overview / Works / Biography …): 스크롤 막대를 숨겨 선택 밑줄과 겹치지 않게, 오른쪽 끝을 흐리게 해 「더 있음」을 알림 */
.subnav { scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.subnav::-webkit-scrollbar { display: none; }
.subnav ul::after { content: ""; position: sticky; right: 0; flex: 0 0 28px; margin-left: -28px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 80%); pointer-events: none; }
@media (max-width: 600px) { .subnav ul { gap: 4px 22px; } }
/* ④ 작가 목록: 긴 영문 이름이 화면 밖으로 나가던 것 → 줄바꿈 */
.index-group { grid-template-columns: 56px minmax(0, 1fr); }
@media (max-width: 860px) { .index-group { grid-template-columns: 40px minmax(0, 1fr); } }
.index-group li { overflow-wrap: anywhere; }
.index-group small { white-space: normal; display: inline-block; }
/* ⑤ 긴 제목·줄바꿈 없는 단어가 화면을 밀지 않게(상세 머리 제목·작품 정보·목록 제목) */
.d-head h1, .facts dd, .aw-info .text, .um-fig figcaption { overflow-wrap: anywhere; }
/* ⑥ 「Copy」 단추: 주소 끝 글자 바로 뒤에 붙여(줄 바뀜 때 단추만 혼자 다음 줄에 남지 않게) — 바닥글·Visit 공통 */
.a3-loc .m-copy-line, .m-place .m-copy-line { display: block; }
.a3-loc .m-copy-line > span, .m-place .m-copy-line > span { display: inline; }
.a3-loc .m-copy, .m-place .m-copy { display: inline-block; margin-left: 8px; vertical-align: 1px; white-space: nowrap; line-height: 1.4; }
/* ⑦ 휴대폰 메뉴: 항목마다 누르기 쉬운 높이(44px)·조금 큰 글씨, KOR·ENG 는 한 줄 */
@media (max-width: 860px) {
  .site-head.is-open .a3-nav .ng { gap: 0; padding: 4px 0 10px; }
  .site-head.is-open .a3-nav .ng + .ng { padding-top: 10px; }
  .site-head.is-open .a3-nav .ng a { display: flex; align-items: center; min-height: 44px; font-size: 18px; }
  .site-head.is-open .util { display: flex; flex-direction: row; gap: 0 24px; }
  .site-head.is-open .util a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* ⑧ 휴대폰 메뉴 「Subscribe」: 다른 메뉴 항목과 같은 크기·색·높이(0.5.28) */
@media (max-width: 860px) {
  .site-head.is-open .a3-nav .nav-sub { display: flex; align-items: center; min-height: 44px; font-size: 18px; color: #555; border-top: 1px solid var(--a3-hair); padding-top: 10px; margin-top: 0; }
  .site-head.is-open .a3-nav .nav-sub:hover { color: var(--ink); }
}

/* =========================================================
   0.5.30(D-186): 작품 상세 「Share ↗」 — Inquire·View artist 와 같은 밑줄 글씨, PC 는 작은 펼침 목록
   ========================================================= */
.um-share { position: relative; display: inline-block; }
.um-share [hidden] { display: none !important; }
.um-share-menu { position: absolute; left: 0; top: calc(100% + 10px); z-index: 20; display: flex; flex-direction: column; min-width: 168px;
  padding: 6px 0; background: var(--bg, #fff); border: 1px solid var(--rule); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.um-share-i { display: block; padding: 8px 16px; font: inherit; font-size: 15px; line-height: 1.4; color: var(--ink); text-align: left;
  background: none; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; }
.um-share-i:hover, .um-share-i:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.um-share-i:focus-visible, .um-share-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.um-share-i.is-done { color: var(--mute, #6b6b6b); }
.um-share-msg { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (pointer: coarse) { .um-share-i { min-height: 44px; display: flex; align-items: center; } }
