/* 도란도란 말놀이 센터 */
:root {
  --bg: #fcf8f0;
  --paper: #fffdf8;
  --sage: #eef1e6;
  --sand: #f5ece0;
  --ink: #353e33;
  --muted: #646b5f;
  --green: #506346;
  --green-dark: #3f5037;
  --green-soft: #dbe2ce;
  --orange: #d97851;
  --orange-text: #a9502d;
  --line: #e2dfd2;
  --line-strong: #cfd3c2;
  --shadow: 0 12px 32px rgba(53, 62, 51, .09);
  --header-h: 84px;
  --font-body: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
  --font-head: 'Gowun Dodum', var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 72px); -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html.modal-open { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.75 var(--font-body); word-break: keep-all; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 400; line-height: 1.35; letter-spacing: -.02em; }
p { margin: 0; }
[hidden] { display: none !important; }
html.smooth { scroll-behavior: smooth; }
:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 3px; }
.cta :focus-visible, .photo-modal :focus-visible { outline-color: #fff; }
dialog:not([open]) { display: none; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--green); color: #fff; }
.skip-link:focus { top: 12px; }

/* 버튼·링크 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 1px solid var(--green); border-radius: 999px; background: transparent; color: var(--green); font: 500 15px/1.2 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--green-soft); }
.btn-solid { background: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-dark); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn-light { border-color: #fff; background: #fff; color: var(--green); }
.btn-light:hover { background: var(--bg); }
.btn-ghost { border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.more { color: var(--green); font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.more::after { content: ' →'; content: ' →' / ''; }
.ext::after { content: ' ↗'; content: ' ↗' / ''; }

/* 머리말 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 248, 240, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 96px; }
.brand-name { font: 20px/1.2 var(--font-head); white-space: nowrap; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 9px 15px; border-radius: 999px; font-weight: 500; text-decoration: none; }
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--green-soft); color: var(--green); }
.sub { position: absolute; left: 0; top: 100%; min-width: 172px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 15px; text-decoration: none; white-space: nowrap; }
.sub a:hover { background: var(--sage); }
.header-cta { flex: none; }
.menu-toggle { display: none; }
.mobile-bar { display: none; }

/* 첫 화면 */
.hero { padding: 56px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--green); font-size: 14px; }
.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 { margin-bottom: 22px; font-size: clamp(36px, 5vw, 58px); line-height: 1.3; }
.hero h1 em { font-style: normal; color: #bf5f3a; }
.hero-lead { max-width: 30em; margin-bottom: 30px; color: var(--muted); font-size: 18px; }
.hero-art img { width: 100%; border-radius: 48% 48% 22px 22px; mix-blend-mode: multiply; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 48px 0 0; padding: 22px 0; border-top: 1px solid var(--line); list-style: none; }
.facts li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.facts li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* 공통 구역 */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-sage { background: var(--sage); }
.section-sand { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 10px; font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.page-hero { padding: 64px 0 28px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 50px); }
.page-hero .lead { max-width: 36em; margin-top: 14px; color: var(--muted); font-size: 18px; }
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(252, 248, 240, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 6px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-weight: 500; text-decoration: none; }
.subnav a:hover, .subnav a.is-active { border-color: var(--green); background: var(--green); color: #fff; }

/* 프로그램 카드 */
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.program-card { display: flex; flex-direction: column; padding: 30px 24px 24px; border: 1px solid var(--line); border-radius: 120px 120px 18px 18px; background: var(--paper); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.program-card:nth-child(2) { background: #f6eee4; }
.program-card:nth-child(3) { background: #eef1e6; }
.program-card:nth-child(4) { background: #f5ebdd; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card img { width: 140px; margin: 0 auto 18px; }
.program-card h3 { margin-bottom: 8px; font-size: 24px; }
.program-card p { flex: 1; color: var(--muted); font-size: 15px; }
.card-more { margin-top: 18px; color: var(--green); font-size: 15px; font-weight: 500; }
.card-more::after { content: ' →'; }

/* 사진 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; }
.photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--green-soft); }
.photo.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo:hover img { transform: scale(1.03); }

/* 선생님 */
.monogram { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green-soft); color: var(--green); font: 22px var(--font-head); }
.teacher-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.teacher-chips a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); text-decoration: none; }
.teacher-chips a:hover { border-color: var(--green); }
.chip-text strong { display: block; font-size: 17px; font-weight: 500; }
.chip-text small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.teacher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.teacher-card { padding: 28px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--paper); }
.teacher-card { display: flex; flex-direction: column; }
.teacher-card.lead { background: #e3e8d8; }
.teacher-card.lead .teacher-facts ul, .teacher-card.lead h3 small { color: var(--ink); }
.teacher-top { display: flex; align-items: center; gap: 16px; }
.teacher-card .monogram { width: 58px; height: 58px; font-size: 26px; }
.teacher-card.lead .monogram { background: #cbd5bb; }
.teacher-role { color: var(--green); font-size: 14px; font-weight: 500; }
.teacher-card h3 { font-size: 28px; }
.teacher-card h3 small { color: var(--muted); font: 15px var(--font-body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.chips li { padding: 5px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); font-size: 14px; }
.teacher-facts { display: grid; gap: 12px; margin: 0; }
.teacher-facts div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.teacher-facts dt { padding-top: 1px; color: var(--green); font-size: 14px; font-weight: 500; }
.teacher-facts dd { margin: 0; }
.teacher-facts ul, .teacher-more ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.teacher-more { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.teacher-more summary { display: flex; justify-content: space-between; color: var(--green); font-size: 15px; font-weight: 500; list-style: none; cursor: pointer; }
.teacher-more summary::-webkit-details-marker { display: none; }
.teacher-more summary::after { content: '+'; font-size: 20px; line-height: 1.2; }
.teacher-more[open] summary::after { content: '−'; }
.teacher-more { margin-top: auto; }
.teacher-facts { margin-bottom: 18px; }
.teacher-more h4 { margin: 14px 0 4px; font: 500 14px var(--font-body); }
.teacher-more > summary + ul { margin-top: 12px; }

/* 인사말 */
.greeting { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.greeting-art { display: grid; place-items: center; padding: 64px 40px; border-radius: 50% 50% 24px 24px; background: var(--sage); }
.greeting-art img { width: 100%; max-width: 300px; }
.greeting-text h2 { margin-bottom: 18px; font-size: clamp(28px, 3.4vw, 38px); }
.greeting-text p { margin-bottom: 14px; font-size: 17px; }
.greeting-text .greeting-lead { margin-bottom: 22px; color: var(--green); font: 24px/1.5 var(--font-head); }
.greeting-text .sign { margin-top: 26px; color: var(--green); font-weight: 500; }

/* 프로그램 상세 */
.program-detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.program-intro { position: sticky; top: calc(var(--header-h) + 84px); }
.program-intro img { width: 150px; margin-bottom: 18px; }
.program-intro h2 { margin-bottom: 12px; font-size: clamp(30px, 3.6vw, 42px); }
.program-intro p { color: var(--muted); font-size: 18px; }
.program-body { display: grid; gap: 20px; justify-items: start; }
.detail-block { justify-self: stretch; padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.detail-block h3 { margin-bottom: 12px; font-size: 21px; }
.detail-block p + p { margin-top: 8px; }
.check-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ''; position: absolute; left: 3px; top: .5em; width: 13px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.teacher-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.teacher-links a { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--sage); font-weight: 500; text-decoration: none; }
.teacher-links a:hover { background: var(--green-soft); }
.teacher-links span { color: var(--muted); font-size: 13px; font-weight: 400; }

/* 이용 절차·지원사업 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; }
.steps h3 { margin-bottom: 8px; font-size: 22px; }
.steps p { color: var(--muted); font-size: 15px; }
.voucher-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.voucher-strip-title { font-weight: 500; }
.tags { display: flex; flex: 1; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 5px 14px; border: 1px solid #e3d5c2; border-radius: 999px; background: var(--sand); font-size: 14px; }
.voucher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.voucher-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; border: 1px solid #e3d5c2; border-radius: 18px; background: var(--paper); }
.voucher-card .voucher-org { color: var(--orange-text); font-size: 14px; font-weight: 500; }
.voucher-card h3 { font-size: 24px; }
.voucher-card p { color: var(--muted); }
.voucher-card .voucher-apply { display: flex; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); }
.voucher-apply strong { flex: none; color: var(--green); font-weight: 500; }
.voucher-card .ext { margin-top: auto; color: var(--green); font-size: 15px; font-weight: 500; }

/* 자주 묻는 질문 */
.faq { max-width: 820px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 4px; font-size: 18px; font-weight: 500; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--green); font-size: 24px; line-height: 1.1; }
.faq details[open] summary::after { content: '−'; }
.faq-a { padding: 0 4px 22px; color: var(--muted); }
.faq-a a { color: var(--green); font-weight: 500; }

/* 이야기 */
.story-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 14px var(--font-body); cursor: pointer; }
.filter.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.search input { width: 220px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font: 15px var(--font-body); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.story-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story-cover { position: relative; display: grid; place-items: center; min-height: 160px; padding: 24px; overflow: hidden; background: #eadfc9; text-align: center; }
.story-cover::before, .story-cover::after { content: ''; position: absolute; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; }
.story-cover::before { left: -36px; top: -40px; width: 150px; height: 150px; }
.story-cover::after { right: -40px; bottom: -60px; width: 190px; height: 190px; }
.tone-sage { background: #dbe2ce; }
.tone-peach { background: #ecd6c4; }
.tone-sand { background: #eadfc9; }
.story-cover span { position: relative; font: 26px/1.4 var(--font-head); }
.story-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 26px; }
.story-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
.story-meta .cat { color: var(--orange-text); font-weight: 500; }
.story-body h3 { font-size: 21px; }
.story-body p:last-child { color: var(--muted); font-size: 15px; }
.story-empty { padding: 40px; color: var(--muted); text-align: center; }
.more-row { margin-top: 28px; text-align: center; }

/* 글 */
.post-head { padding: 56px 0 24px; }
.breadcrumb { margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--green); }
.post-head h1 { margin-bottom: 12px; font-size: clamp(30px, 4.4vw, 44px); }
.post-date { color: var(--muted); font-size: 15px; }
.post-body { padding-bottom: 40px; }
.activity { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 8px 0 28px; padding: 18px 24px; border-radius: 16px; background: var(--sage); }
.activity div { display: flex; gap: 8px; }
.activity dt { color: var(--green); font-weight: 500; }
.activity dd { margin: 0; }
.post-body h2 { margin: 36px 0 12px; font-size: 24px; }
.post-body p { margin-bottom: 10px; font-size: 17px; }
.post-body ol, .post-body ul { margin: 0 0 10px; padding-left: 22px; font-size: 17px; }
.post-body li { margin-bottom: 6px; }
.post-body .quote-list { padding: 16px 20px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--paper); list-style: none; }
.post-body .post-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; padding: 0; list-style: none; }
.post-links a { color: var(--green); font-weight: 500; }
.post-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 24px 0 8px; border-top: 1px solid var(--line); }
.post-pager a { font-size: 15px; text-decoration: none; }
.post-pager span { display: block; color: var(--muted); font-size: 13px; }
.pager-prev { grid-column: 1; }
.pager-list { grid-column: 2; padding: 8px 18px; border: 1px solid var(--line-strong); border-radius: 999px; }
.pager-next { grid-column: 3; text-align: right; }

/* 오시는 길·상담 */
.location { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: stretch; }
.location-info h2 { margin-bottom: 22px; font-size: clamp(28px, 3.4vw, 38px); }
.info-list { display: grid; gap: 14px; margin: 0 0 24px; }
.info-list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #e3d5c2; }
.info-list dt { color: var(--muted); font-size: 15px; }
.info-list dd { margin: 0; font-weight: 500; }
.info-list a { color: var(--green); }
.map { min-height: 320px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--green-soft); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.copy-status { min-height: 1.6em; margin-top: 8px; color: var(--green); font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 44px 48px; border-radius: 24px; background: var(--green); color: #fff; }
.cta h2 { margin-bottom: 8px; font-size: clamp(26px, 3vw, 34px); }
.cta p { color: #e3e8da; }

/* 꼬리말 */
.site-footer { padding: 48px 0 24px; border-top: 1px solid var(--line); background: #eef0e5; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer-brand img { width: 110px; }
.footer-name { margin-top: 8px; font: 18px var(--font-head); }
.footer-info p { color: var(--muted); font-size: 15px; }
.footer-info a { color: var(--ink); }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav a { color: var(--muted); font-size: 15px; text-decoration: none; }
.footer-nav a:hover { color: var(--green); }
.footer-copy a { color: inherit; }
.footer-copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* 대화상자 */
.modal { width: 100%; max-width: min(920px, 100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: transparent; overflow: visible; }
.modal::backdrop { background: rgba(41, 53, 39, .55); backdrop-filter: blur(4px); }
.modal-body { position: relative; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 28px; overflow: auto; border-radius: 22px; background: var(--bg); color: var(--ink); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-head h2 { font-size: 28px; }
.modal-close { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.label { color: var(--muted); font-size: 14px; }
.phone { display: block; margin: 4px 0 12px; color: var(--green); font-size: 32px; font-weight: 700; text-decoration: none; }
.contact-address { margin-bottom: 18px; }
.link-list { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.link-list a { color: var(--green); font-weight: 500; }
.link-list a::after { content: ' ↗'; }
.contact-grid .map, .contact-grid .map iframe { min-height: 340px; }
.photo-modal { max-width: min(1200px, 100% - 24px); }
.photo-modal .modal-body { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; background: #1f261d; }
.photo-modal .modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.photo-full { width: auto; max-width: 100%; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); border-radius: 10px; }
.photo-controls { display: flex; align-items: center; gap: 18px; color: #fff; }
.photo-nav { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.photo-count { min-width: 4em; font-size: 15px; text-align: center; }

/* 태블릿 */
@media (max-width: 1080px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-chips { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { width: 78px; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); cursor: pointer; }
  .menu-icon, .menu-icon::before, .menu-icon::after { content: ''; display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, top .2s, background .2s; }
  .menu-icon { position: relative; }
  .menu-icon::before { position: absolute; top: -6px; }
  .menu-icon::after { position: absolute; top: 6px; }
  .nav-open .menu-icon { background: transparent; }
  .nav-open .menu-icon::before { top: 0; transform: rotate(45deg); }
  .nav-open .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); margin: 0; padding: 8px 20px 120px; overflow-y: auto; background: var(--bg); }
  .nav-open { overflow: hidden; }
  .nav-open .main-nav { display: flex; }
  .nav-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-link { padding: 6px 2px; font-size: 19px; }
  .nav-link:hover, .nav-link[aria-current="page"] { background: none; }
  .sub { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 6px; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .sub a { padding: 6px 12px; border-radius: 999px; background: var(--sage); font-size: 14px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(252, 248, 240, .97); }
  .mobile-bar .btn { width: 100%; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { width: min(100%, 460px); margin-inline: auto; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .section-head.split { display: block; }
  .section-head.split .more { display: inline-block; margin-top: 12px; }
  .page-hero { padding: 44px 0 20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .photo.big { grid-row: span 1; aspect-ratio: 4 / 3; }
  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-card { padding: 22px; }
  .greeting { grid-template-columns: 1fr; gap: 32px; }
  .greeting-art { width: min(100%, 380px); padding: 40px 28px; }
  .program-detail { grid-template-columns: 1fr; gap: 24px; }
  .program-intro { position: static; }
  .program-intro img { width: 110px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; padding: 22px; }
  .step-num { grid-row: 1 / 3; margin: 0; }
  .voucher-grid { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid .map, .contact-grid .map iframe { min-height: 240px; }
  .modal-body { padding: 20px; }
}

/* 휴대폰 */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .facts li { font-size: 14px; }
  .section-head p, .page-hero .lead, .greeting-text p, .program-intro p { font-size: 16px; }
  .greeting-text .greeting-lead { font-size: 21px; }
  .program-grid { grid-template-columns: 1fr; gap: 12px; }
  .program-card { display: grid; grid-template-columns: 84px 1fr; column-gap: 16px; padding: 20px; border-radius: 18px; }
  .program-card img { grid-row: 1 / 4; width: 84px; margin: 0; align-self: center; }
  .program-card .card-more { margin-top: 8px; }
  .teacher-chips { grid-template-columns: 1fr; }
  .teacher-facts div { grid-template-columns: 1fr; gap: 2px; }
  .story-tools { align-items: stretch; }
  .search, .search input { width: 100%; }
  .story-grid { grid-template-columns: 1fr; gap: 12px; }
  .story-card a { flex-direction: row; }
  .story-cover { flex: none; width: 112px; min-height: 0; padding: 12px; }
  .story-cover span { font-size: 18px; }
  .story-body { padding: 16px 18px; }
  .story-body h3 { font-size: 19px; }
  .voucher-strip { padding: 18px; }
  .cta { padding: 32px 24px; }
  .cta .actions { width: 100%; }
  .cta .btn { flex: 1; }
  .post-body p, .post-body ol, .post-body ul { font-size: 16px; }
  .post-pager { grid-template-columns: 1fr 1fr; }
  .pager-list { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .pager-prev { grid-column: 1; }
  .pager-next { grid-column: 2; }
  .phone { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* 검토 반영 (2026-10-31) */
h1, h2, h3 { text-wrap: balance; }
.hero-lead, .page-hero .lead, .greeting-text p, .program-intro p, .detail-block p, .program-card p, .story-body p, .steps p { text-wrap: pretty; }
.card-more::after { content: ' →' / ''; }
.link-list a::after { content: ' ↗' / ''; }
.teacher-more summary::after { content: '+' / ''; }
.teacher-more[open] summary::after { content: '−' / ''; }
.faq summary::after { content: '+' / ''; }
.faq details[open] summary::after { content: '−' / ''; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input { border-color: #9aa38f; }
.chips li, .tags li { border: 0; border-radius: 6px; }
.chips li { background: var(--sage); }
.teacher-card.lead .chips li { background: var(--bg); }
.kicker { border-radius: 6px; }
.modal-close { width: 44px; height: 44px; }
.modal-head { position: sticky; top: -28px; z-index: 1; margin: -28px -28px 20px; padding: 28px 28px 12px; background: var(--bg); }
.subnav-inner { padding: 10px 6px; }
.has-sub.is-dismissed .sub { opacity: 0; visibility: hidden; }
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1080px) and (min-width: 601px) {
  .page-index .story-grid > :nth-child(3) { display: none; }
}

@media (max-width: 900px) {
  .brand img { width: 64px; }
  .brand-name { font-size: 17px; }
  .section-head h2, .location-info h2, .greeting-text h2 { font-size: 30px; }
  .teacher-card h3 { font-size: 24px; }
  .program-card h3, .voucher-card h3 { font-size: 21px; }
  .narrow { margin-inline: 20px auto; width: calc(100% - 40px); }
  .greeting-art { margin-inline: auto; }
  .sub a, .filter, .teacher-links a, .subnav a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-nav a, .more, .breadcrumb a, .post-pager a { display: inline-block; padding-block: 10px; }
  .post-pager .pager-list { padding: 10px 18px; }
  .subnav-inner { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .modal-head { top: -20px; margin: -20px -20px 16px; padding: 20px 20px 10px; }
}

@media (max-width: 900px) and (max-height: 500px) {
  .site-header, .subnav { position: static; }
  html { scroll-padding-top: 12px; }
}

@media (max-width: 600px) {
  .search input { font-size: 16px; }
  .teacher-grid, .story-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .brand-name { font-size: 15px; }
}

@media print {
  .mobile-bar, .menu-toggle, .header-cta, .subnav, .cta, .map, .story-tools { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .site-header { position: static; backdrop-filter: none; }
  .section { padding: 24px 0; }
  a { text-decoration: none; }
}


.program-body .more, .post-links .more { white-space: normal; }
@media (max-width: 900px) { .program-detail { grid-template-columns: minmax(0, 1fr); } }

/* 모바일 중심 편집: 읽기 폭, 정보의 우선순위, 누르기 영역 */
:root { --bg: #faf8f2; --paper: #fffefb; --green: #425c46; --green-dark: #304734; --sage: #edf1e8; --muted: #606b60; }
body { line-height: 1.8; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3 { letter-spacing: -.035em; }
.section { padding-block: 88px; }
.section-head { margin-bottom: 32px; }
.section-head .eyebrow, .eyebrow { margin-bottom: 12px; color: var(--green); font: 600 13px/1.5 var(--font-body); letter-spacing: .04em; }
.section-head h2 { font-size: clamp(29px, 3.3vw, 40px); }
.btn { border-radius: 14px; min-height: 48px; }
.btn-solid { box-shadow: 0 4px 12px #425c4610; }
.more { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; white-space: normal; border-bottom-color: #aab9a6; }
.brand-name { font-weight: 600; }
.hero { padding-top: 48px; background: linear-gradient(145deg, #f5eddf 0%, var(--bg) 58%); }
.hero-grid { gap: 56px; grid-template-columns: 1fr 1fr; }
.hero h1 { font-size: clamp(40px, 4.8vw, 64px); line-height: 1.25; margin-bottom: 24px; }
.hero h1 em { color: #9c5135; }
.hero-lead { max-width: 27em; line-height: 1.85; font-size: 17px; }
.kicker { padding: 0; border: 0; background: none; border-radius: 0; font-size: 13px; font-weight: 500; margin-bottom: 24px; }
.hero-art { position: relative; padding: 16px; background: #eee7d8; border-radius: 48% 48% 24px 24px; }
.hero-art img { border-radius: 48% 48% 16px 16px; }
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 40px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 30px #425c4606; }
.quick-links a { display: grid; gap: 4px; padding: 16px 22px; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); }
.quick-links a:last-child { border-right: 0; }
.quick-links a > span { color: var(--muted); font-size: 13px; }
.quick-links strong { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; }
.quick-links strong span { color: var(--green); font-weight: 400; }
.quick-links a:hover { background: var(--sage); border-radius: 12px; }
.facts { margin-top: 22px; padding: 20px 0 24px; border-top: 0; }
.facts li { font-size: 14px; color: var(--muted); justify-content: center; }
.facts li::before { width: 5px; height: 5px; background: #a57751; }
.page-hero { padding: 56px 0 36px; background: linear-gradient(120deg, #f3ecdf, var(--bg) 75%); }
.page-hero h1 { font-size: clamp(34px, 4vw, 48px); }
.page-hero .lead { line-height: 1.8; font-size: 17px; }
.subnav-inner { padding-block: 8px; gap: 12px; }
.subnav a { border: 0; border-radius: 8px; padding-inline: 14px; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
.subnav a.is-active { background: var(--green); }
.program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.program-card { display: grid; grid-template-columns: minmax(0,1fr) 110px; gap: 0 22px; padding: 30px; border-radius: 24px; border-color: #e0e3d8; }
.program-theme { grid-column: 1; font-size: 13px; color: var(--green); margin-bottom: 8px; }
.program-card img { grid-column: 2; grid-row: 1 / 4; width: 110px; align-self: center; margin: 0; }
.program-card h3 { grid-column: 1; font-size: 27px; margin-bottom: 12px; }
.program-card p { grid-column: 1; font-size: 16px; line-height: 1.8; }
.program-card .card-more { grid-column: 1 / -1; margin-top: 20px; padding-top: 14px; border-top: 1px solid #53684825; font-size: 14px; display: flex; justify-content: space-between; }
.program-card .card-more::after { content: '↗' / ''; }
.gallery-hint { display: none; }
.teacher-chips a { border-radius: 18px; padding: 18px; }
.teacher-chips li:nth-child(-n+2) a { background: var(--sage); }
.teacher-card { padding: 28px; border-color: #dce1d4; border-radius: 24px; }
.teacher-role { line-height: 1.6; }
.teacher-facts li + li { margin-top: 4px; }
.teacher-more summary { min-height: 44px; align-items: center; gap: 16px; }
.teacher-more { padding-top: 6px; }
.teacher-more li + li { margin-top: 6px; }
.teacher-more[open] summary { margin-bottom: 10px; }
.teacher-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.teacher-links a { height: 100%; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px; line-height: 1.5; }
.teacher-links li { min-width: 0; }
.detail-block { border-radius: 20px; }
.program-intro .eyebrow { margin-bottom: 18px; }
.greeting-art { padding: 48px 28px; }
.steps { gap: 16px; }
.steps li { border-radius: 20px; }
.steps p { font-size: 16px; }
.voucher-strip { gap: 18px; }
.voucher-strip-title { flex-basis: 100%; }
.voucher-card { padding: 28px; border-radius: 22px; gap: 14px; }
.voucher-card .voucher-apply { margin-top: auto; }
.voucher-card .ext { margin-top: 0; min-height: 44px; padding-top: 8px; }
.story-tools { padding: 20px; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; margin-bottom: 14px; }
.filters { gap: 6px; }
.filter { min-height: 44px; }
.search input { min-height: 46px; border-radius: 10px; font-size: 16px; }
.story-status { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.story-card a { border-radius: 20px; }
.story-cover { min-height: 128px; }
.story-cover span { font-size: 24px; }
.story-body { gap: 12px; padding: 24px; }
.story-meta { flex-wrap: wrap; gap: 2px 10px; }
.story-body h3 { font: 600 21px/1.5 var(--font-body); letter-spacing: -.04em; }
.story-body p:last-child { line-height: 1.8; }
.story-empty { border: 1px dashed var(--line-strong); border-radius: 18px; }
.story-empty p:first-child { font-size: 20px; color: var(--ink); }
.story-empty .btn { margin-top: 18px; }
.post-head { padding-top: 48px; }
.post-intro { margin: 18px 0; color: var(--muted); font-size: 18px; }
.post-body { line-height: 1.9; }
.post-body h2 { font: 600 23px/1.5 var(--font-body); margin-top: 42px; }
.post-body ol { padding-left: 26px; }
.post-body ol li { padding-left: 6px; margin-bottom: 16px; }
.post-body ol li::marker { color: var(--green); font-weight: 700; }
.post-body .quote-list { border-left-width: 3px; padding: 22px 24px; background: #f3eee4; }
.activity { padding: 22px 24px; }
.cta { border-radius: 28px; background: #3d5743; }
.cta .cta-label { margin-bottom: 10px; color: #d4dfcc; font-size: 13px; letter-spacing: .08em; }
.cta h2 { font-size: clamp(26px,3vw,36px); }
.cta .actions { flex-shrink: 0; }
.site-footer { background: #eeeee5; }
.footer-copy a { display: inline-block; padding-block: 8px; }
.contact-info .actions { display: grid; grid-template-columns: 1fr 1fr; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; }
.info-list a { overflow-wrap: anywhere; }
@media (min-width:901px) and (max-width:1150px) {
  .header-inner { gap: 12px; }
  .brand img { width: 72px; }
  .brand-name { font-size: 17px; }
  .nav-link { padding-inline: 10px; font-size: 15px; }
  .header-cta { padding-inline: 16px; }
}
@media (min-width:601px) and (max-width:1080px) {
  .page-index .story-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .page-index .story-grid > :nth-child(3) { display: block; }
  .page-index .story-body { padding: 18px; }
}
@media (max-width:900px) {
  .section { padding-block: 60px; }
  .section-tight { padding-block: 40px; }
  .header-inner { gap: 12px; }
  .menu-toggle { flex-shrink: 0; }
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 16px; margin-bottom: 22px; }
  .hero-lead br { display: none; }
  .hero-art { width: 100%; padding: 10px; }
  .quick-links a { padding: 14px; }
  .quick-links strong { font-size: 16px; }
  .quick-links a > span { font-size: 12px; }
  .facts { grid-template-columns: repeat(4,1fr); gap: 8px; }
  .facts li { font-size: 12px; gap: 6px; }
  .page-hero { padding: 36px 0 26px; }
  .page-hero .lead { font-size: 16px; }
  .subnav-inner { mask-image: none; -webkit-mask-image: none; padding-inline: 4px; }
  .subnav { border-top: 1px solid var(--line); }
  .program-card { padding: 24px; grid-template-columns: minmax(0,1fr) 70px; gap: 0 12px; }
  .program-card img { width: 70px; grid-row: 1 / 3; }
  .program-card p { grid-column: 1 / -1; }
  .program-card h3 { font-size: 24px; }
  .teacher-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .teacher-card { padding: 22px; }
  .teacher-top { gap: 12px; }
  .teacher-card .monogram { width: 46px; height: 46px; font-size: 22px; }
  .teacher-facts div { grid-template-columns: 1fr; gap: 4px; }
  .greeting { grid-template-columns: 180px 1fr; gap: 32px; }
  .greeting-art { padding: 30px 18px; }
  .program-intro { display: grid; grid-template-columns: 1fr 100px; column-gap: 20px; }
  .program-intro img { grid-column: 2; grid-row: 1 / 3; width: 100px; }
  .program-intro h2 { grid-column: 1; }
  .program-intro > p:last-child { grid-column: 1 / -1; }
  .program-intro .eyebrow { margin-bottom: 8px; }
  .mobile-bar { grid-template-columns: 1.35fr 1fr; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px #353e3306; }
  .mobile-bar .btn { min-height: 48px; }
  .narrow { margin-inline: auto; max-width: 720px; }
  .story-tools { padding: 16px; }
}
@media (max-width:720px) {
  .quick-links { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 24px; padding: 4px 10px; border-radius: 18px; }
  .quick-links a { padding: 14px 10px; border-right: 0; }
  .quick-links a:nth-child(odd) { border-right: 1px solid var(--line); }
  .quick-links a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .quick-links strong { font-size: 16px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 12px; padding-block: 12px 24px; }
  .facts li { justify-content: flex-start; font-size: 12px; }
}
@media (min-width:601px) and (max-width:720px) {
  .hero-copy .actions { display: grid; grid-template-columns: 1fr; }
}
@media (max-width:600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .brand { gap: 8px; }
  .brand img { width: 58px; }
  .brand-name { font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(34px,10vw,40px); line-height: 1.28; margin-bottom: 16px; }
  .kicker { font-size: 12px; margin-bottom: 16px; }
  .hero-copy .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-copy .btn { padding-inline: 8px; font-size: 14px; min-height: 48px; white-space: normal; }
  .hero-art { padding: 0; border-radius: 24px; overflow: hidden; }
  .hero-art img { width: 100%; height: 220px; object-fit: cover; object-position: 50% 56%; border-radius: 24px; }
  .section { padding-block: 48px; }
  .section-tight { padding-block: 32px; }
  .section-head { margin-bottom: 24px; }
  .section-head h2, .location-info h2 { font-size: 29px; }
  .section-head.split .more { margin-top: 8px; }
  .program-grid { grid-template-columns: 1fr; gap: 14px; }
  .program-card { padding: 22px; grid-template-columns: minmax(0,1fr) 60px; }
  .program-card img { width: 60px; }
  .program-card h3 { font-size: 24px; margin-bottom: 16px; }
  .program-theme { font-size: 12px; margin-bottom: 6px; }
  .program-card p { font-size: 15px; }
  .program-card .card-more { margin-top: 16px; }
  .gallery.preview { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 85%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
  .gallery.preview .photo, .gallery.preview .photo.big { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; scroll-snap-align: start; }
  .gallery-hint { display: block; color: var(--muted); font-size: 13px; margin-top: 10px; }
  .teacher-chips { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .teacher-chips a { display: block; padding: 16px; }
  .teacher-chips .monogram { width: 34px; height: 34px; font-size: 17px; margin-bottom: 10px; }
  .chip-text strong { font-size: 17px; margin-bottom: 3px; }
  .chip-text small { font-size: 12px; }
  .teacher-grid { grid-template-columns: 1fr; gap: 16px; }
  .teacher-card { padding: 24px; }
  .teacher-top { gap: 14px; }
  .teacher-facts div { grid-template-columns: 42px 1fr; gap: 8px; }
  .teacher-role { font-size: 13px; }
  .chips { margin-block: 18px; gap: 6px; }
  .chips li { padding: 5px 10px; font-size: 13px; }
  .greeting { display: flex; flex-direction: column-reverse; gap: 24px; }
  .greeting-art { width: 160px; padding: 22px 16px; }
  .greeting-text .greeting-lead { font-size: 23px; }
  .subnav-inner { width: 100%; padding-inline: 20px; gap: 6px; scrollbar-width: thin; }
  .subnav a { padding-inline: 12px; font-size: 14px; }
  .program-detail { gap: 24px; }
  .program-intro h2 { font-size: 29px; }
  .detail-block { padding: 22px; }
  .detail-block h3 { font-size: 21px; }
  .teacher-links { grid-template-columns: 1fr 1fr; }
  .teacher-links a { font-size: 15px; padding: 10px; }
  .teacher-links span { font-size: 12px; }
  .voucher-card { padding: 24px; }
  .voucher-card h3 { font-size: 23px; }
  .tags { flex-basis: 100%; gap: 6px; }
  .tags li { padding-inline: 10px; font-size: 13px; }
  .faq summary { font-size: 17px; padding-block: 18px; }
  .story-tools { padding: 0; border: 0; background: none; gap: 14px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-block: 4px 10px; scrollbar-width: thin; }
  .filter { flex-shrink: 0; padding-inline: 14px; font-size: 13px; }
  .search { width: 100%; }
  .search input { width: 100%; min-height: 48px; border-color: #bbc5b4; }
  .story-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .story-card a { display: grid; grid-template-columns: minmax(0,1fr) 90px; padding: 20px; gap: 16px; align-items: start; }
  .story-cover { grid-column: 2; grid-row: 1; width: 90px; min-height: 108px; border-radius: 12px; padding: 10px; }
  .story-cover span { font-size: 16px; }
  .story-cover::before { width: 80px; height: 80px; }
  .story-cover::after { width: 100px; height: 100px; }
  .story-body { grid-column: 1; grid-row: 1; padding: 0; gap: 10px; }
  .story-body h3 { font-size: 18px; }
  .story-meta { font-size: 12px; }
  .story-meta time { display: none; }
  .story-body p:last-child { font-size: 14px; }
  .story-empty { padding: 28px 20px; }
  .post-head { padding-block: 32px 20px; }
  .post-head h1 { font-size: 32px; }
  .post-intro { font-size: 16px; }
  .post-body h2 { font-size: 22px; margin-top: 32px; }
  .activity { display: grid; gap: 10px; padding: 18px; }
  .activity div { display: grid; grid-template-columns: 52px 1fr; }
  .post-body .quote-list { padding: 18px; }
  .location { gap: 18px; }
  .info-list div { grid-template-columns: 65px 1fr; gap: 12px; }
  .map, .map iframe { min-height: 260px; }
  .cta { padding: 28px 24px; gap: 24px; border-radius: 22px; }
  .cta h2 { font-size: 27px; }
  .cta .actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .cta .btn { width: 100%; }
  .footer-grid { gap: 24px; }
  .footer-brand { display: flex; align-items: center; gap: 14px; }
  .footer-brand img { width: 70px; }
  .footer-name { margin: 0; font-size: 17px; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .footer-nav a { min-height: 44px; }
  .modal { max-width: calc(100% - 16px); }
  .modal-body { border-radius: 20px; }
}
@media (max-width:360px) {
  .brand-name { font-size: 14px; }
  .brand img { width: 50px; }
  .story-card a { grid-template-columns: minmax(0,1fr) 72px; gap: 12px; padding: 18px; }
  .story-cover { width: 72px; min-height: 96px; }
  .story-cover span { font-size: 14px; }
  .teacher-facts div { grid-template-columns: 1fr; }
  .quick-links strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html.smooth { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media print {
  .quick-links, .gallery-hint { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .teacher-card, .program-card { break-inside: avoid; }
}

@media (max-width:600px) {
  .story-card a { gap: 8px 16px; }
  .story-cover { grid-row: 1 / 3; }
  .story-body { display: contents; }
  .story-meta { grid-column: 1; grid-row: 1; align-self: end; }
  .story-body h3 { grid-column: 1; grid-row: 2; align-self: start; }
  .story-body > p:last-child { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
}

@media (max-width:600px) {
  .filters, .subnav-inner { scrollbar-width: none; }
  .filters::-webkit-scrollbar, .subnav-inner::-webkit-scrollbar { display: none; }
}

/* 도란도란 브랜드와 콘텐츠의 최종 편집 */
.hero-art.brand-scene { min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 36px 32px 32px; border: 1px solid #e9dfcd; border-radius: 46% 46% 28px 28px; background: #f1eadb; isolation: isolate; }
.brand-scene::before { content: ''; position: absolute; inset: 34px 30px 132px; border-radius: 50%; background: #fbf8f1; z-index: -1; }
.hero-art.brand-scene img { width: 100%; height: auto; max-width: 430px; border-radius: 0; object-fit: contain; mix-blend-mode: normal; }
.scene-caption { margin: 8px 0 0; text-align: center; font: 21px/1.6 var(--font-head); color: #5b674f; }
.hero-lead { font-size: 16px; }
.hero-copy .hero-lead br { display: initial; }
.photo { position: relative; }
.photo-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 16px 14px; background: linear-gradient(transparent, #20291ed9); color: #fff; font-size: 13px; line-height: 1.6; }
.gallery .photo img { transition: transform .3s; }
.story-cover img { width: min(100%, 280px); height: 150px; object-fit: contain; position: relative; z-index: 1; }
.story-cover:has(img)::before, .story-cover:has(img)::after { display: none; }
.story-cover:has(img) { padding: 14px 22px; }
.teacher-chips a { border: 0; border-bottom: 1px solid #d8dfd1; background: transparent; border-radius: 0; padding: 20px 12px; }
.teacher-chips li:nth-child(-n+2) a { background: transparent; }
.teacher-chips a:hover { background: #edf1e8; border-bottom-color: var(--green); }
.page-index #home-teachers { padding-top: 32px; }
.page-index .steps { gap: 24px; }
.page-index .steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-content: start; gap: 10px 14px; background: transparent; border: 0; border-left: 2px solid #c9bba5; border-radius: 0; padding: 4px 18px; }
.page-index .steps .step-num { grid-column: 1; grid-row: 1; display: block; width: 36px; height: 36px; margin: 0; background: transparent; color: #9b6445; font: 28px/36px var(--font-head); }
.page-index .steps h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
.page-index .steps p { grid-column: 2; grid-row: 2; }
.home-first-visit .cta { margin-top: 36px; }
.page-index .voucher-strip { box-shadow: none; border-radius: 16px; }
.page-index .story-grid { grid-template-columns: 1.12fr 1fr; align-items: stretch; }
.page-index .story-card:first-child { grid-row: span 2; }
.page-index .story-card:first-child .story-cover { flex: 1; min-height: 190px; }
.page-index .story-card:first-child .story-cover img { height: 200px; width: 290px; }
.page-index .story-card:not(:first-child) a { display: grid; grid-template-columns: 130px minmax(0,1fr); }
.page-index .story-card:not(:first-child) .story-cover { min-height: 0; padding: 10px; }
.page-index .story-card:not(:first-child) .story-cover img { width: 100%; height: 110px; }
.page-index .story-card:not(:first-child) .story-body { padding: 22px; }
.page-index .story-meta time { display: none; }
@media (min-width:601px) and (max-width:900px) {
  .hero-art.brand-scene { min-height: 370px; padding: 28px 20px; gap: 20px; }
  .scene-caption { font-size: 18px; }
  .page-index .story-card:not(:first-child) a { grid-template-columns: 90px minmax(0,1fr); }
  .page-index .story-card:not(:first-child) .story-body { padding: 16px; }
  .page-index .story-body h3 { font-size: 18px; }
}
@media (max-width:600px) {
  .hero-art.brand-scene { min-height: 255px; padding: 24px 20px; border-radius: 22px; gap: 16px; }
  .brand-scene::before { inset: 12px; border-radius: 18px; }
  .hero-art.brand-scene img { max-width: 260px; height: auto; margin: 0; }
  .scene-caption { display: none; }
  .hero-copy .hero-lead br { display: none; }
  .teacher-chips a { padding: 16px 10px; display: flex; flex-direction: row; align-items: flex-start; gap: 10px; }
  .teacher-chips .monogram { width: 30px; height: 30px; font-size: 16px; margin-bottom: 0; }
  .teacher-chips small { line-height: 1.6; }
  .photo-caption { padding: 30px 12px 10px; font-size: 12px; }
  .gallery:not(.preview) .photo:not(.big) .photo-caption { display: none; }
  .page-index .steps { gap: 24px; }
  .page-index .steps li { padding: 4px 14px; column-gap: 10px; }
  .page-index .steps .step-num { font-size: 26px; }
  .home-first-visit .cta { margin-top: 28px; }
  .story-cover:has(img) { padding: 4px; }
  .story-cover img { height: 100px; width: 100%; }
  .page-index .story-grid { grid-template-columns: minmax(0,1fr); }
  .page-index .story-card:first-child { grid-row: auto; }
  .page-index .story-card:first-child a, .page-index .story-card:not(:first-child) a { display: grid; grid-template-columns: minmax(0,1fr) 90px; gap: 8px 16px; padding: 20px; }
  .page-index .story-card:first-child .story-cover, .page-index .story-card:not(:first-child) .story-cover { grid-column: 2; grid-row: 1 / 3; min-height: 100px; padding: 4px; width: 90px; }
  .page-index .story-card:first-child .story-cover img, .page-index .story-card:not(:first-child) .story-cover img { width: 100%; height: 100px; }
  .page-index .story-card .story-body { display: contents; }
}
@media (max-width:360px) {
  .hero-art.brand-scene { min-height: 220px; }
  .page-index .story-card:first-child a, .page-index .story-card:not(:first-child) a { grid-template-columns: minmax(0,1fr) 72px; padding: 18px; gap: 8px 12px; }
  .page-index .story-card:first-child .story-cover, .page-index .story-card:not(:first-child) .story-cover { width: 72px; }
  .teacher-chips a { display: block; }
  .teacher-chips .monogram { margin-bottom: 8px; }
}
