/* 2025 moveseoul.kr 화면 구성을 그대로 따른 스타일 */
:root {
  --navy: #23253b;
  --blue: #0067a3;
  --soft: #f9fafd;
  --g100: #f3f4f6;
  --g200: #e5e7eb;
  --g300: #d1d5db;
  --g500: #6b7280;
  --g600: #4b5563;
  --g700: #374151;
  --g800: #1f2937;
  --g900: #111827;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Pretendard', -apple-system, 'Malgun Gothic', sans-serif; color: #000; background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.pre { white-space: pre-line; }

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--g100); }
.header-in { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; flex-direction: column; padding: 16px 20px; line-height: 1.1; }
.logo-slogan { font-weight: 900; font-size: 17px; letter-spacing: -.01em; }
.logo-title { font-weight: 900; font-size: 30px; letter-spacing: -.03em; }
.logo img { width: 20rem; }
.insta { margin-right: 16px; }
.insta img { width: 40px; }
.menu-btn { display: none; width: 40px; padding: 16px 0; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
.gnb { display: flex; border-top: 1px solid var(--g200); padding: 12px 0; }
.gnb > div { flex: 1; position: relative; text-align: center; }
.gnb > div + div { border-left: 1px solid var(--g200); }
.gnb > div > a { display: block; font-size: 18px; font-weight: 600; }
.gnb .sub { position: absolute; left: 0; right: 0; top: 100%; padding-top: 8px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .2s; }
.gnb > div:hover .sub, .gnb > div:focus-within .sub { opacity: 1; transform: none; pointer-events: auto; }
.gnb .sub div { background: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); padding: 8px 0; display: flex; flex-direction: column; }
.gnb .sub a { padding: 8px 16px; font-size: 16px; }
.gnb .sub a:hover { background: #f9fafb; }

/* 모바일 메뉴 (왼쪽 서랍) */
.drawer { position: fixed; top: 0; left: 0; height: 100vh; width: 15rem; background: #fff; border-right: 1px solid var(--g100); z-index: 60; padding: 0 16px; transform: translateX(-100%); transition: transform .3s; overflow-y: auto; }
.drawer-dim { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 55; }
.nav-open .drawer { transform: none; }
.nav-open .drawer-dim { display: block; }
.drawer .close { position: absolute; top: 0; right: 0; width: 36px; height: 36px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.drawer .cat { font-size: 11px; color: var(--g800); border-bottom: 1px solid var(--g200); margin-top: 48px; padding-bottom: 8px; }
.drawer details { border-bottom: 1px solid var(--g300); }
.drawer summary { list-style: none; padding: 24px 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: '⌄'; }
.drawer details[open] summary::after { content: '⌃'; }
.drawer details a { display: block; padding: 12px 16px 12px 24px; font-size: 14px; }
.drawer .insta { display: flex; justify-content: flex-end; margin: 8px 16px 0 0; }

/* ---------- 메인 ---------- */
.center { width: 100%; display: flex; justify-content: center; }
/* 메인 히어로: 큰 글씨 + 흐르는 사진 띠 + 프로그램 이름 띠 */
.hero { background: #fff; padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero .eyebrow { font-weight: 700; color: var(--g500); letter-spacing: .3em; font-size: 13px; padding: 0 16px; }
.hero h1 { font-size: clamp(56px, 11vw, 150px); line-height: .95; margin: 18px 0 10px; font-weight: 900; letter-spacing: -.06em; color: var(--g900); }
.hero h1 i { font-style: normal; -webkit-text-stroke: 2px var(--g900); color: transparent; }
.hero .sub { font-size: clamp(17px, 2vw, 22px); font-weight: 700; margin: 0; color: var(--navy); }
.hero .chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; padding: 0 16px; }
.hero .chips span { border: 1px solid var(--g200); padding: 8px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; }
.hero .chips .dday { background: var(--navy); color: #fff; border-color: var(--navy); }
.hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero .cta a { padding: 13px 24px; border-radius: 99px; font-weight: 700; font-size: 15px; transition: transform .2s, opacity .2s; }
.hero .cta a:hover { transform: translateY(-2px); opacity: .9; }
.hero .cta .p { background: var(--navy); color: #fff; }
.hero .cta .s { background: var(--g100); color: var(--g900); }
.hero .belt { margin-top: 56px; overflow: hidden; }
.hero .track { display: flex; width: max-content; animation: slide 45s linear infinite; }
.hero .belt .track { gap: 16px; padding: 10px 0 26px; }
.hero .belt img { height: 300px; width: auto; border-radius: 22px; }
.hero .belt img:nth-child(odd) { transform: rotate(-2deg); }
.hero .belt img:nth-child(even) { transform: rotate(2deg) translateY(12px); }
.hero .words { background: var(--navy); color: #fff; }
.hero .words .track { animation-duration: 30s; animation-direction: reverse; }
.hero .words span { font-size: 22px; font-weight: 800; padding: 16px 28px; white-space: nowrap; }
.hero .words span:nth-child(4n+1) { color: #d9b26a; }
.rise > * { animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
.rise > :nth-child(2) { animation-delay: .12s; } .rise > :nth-child(3) { animation-delay: .24s; } .rise > :nth-child(4) { animation-delay: .36s; } .rise > :nth-child(5) { animation-delay: .48s; }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { .hero *, .rise > * { animation: none !important; } }
.video { width: 100%; max-width: 1080px; aspect-ratio: 3 / 1; max-height: 320px; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.quick { display: flex; width: 100%; max-width: 1080px; }
.quick a { flex: 1; display: flex; gap: 16px; padding: 16px; }
.quick .q1 { background: var(--blue); }
.quick .q2 { background: var(--navy); }
.quick .txt { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0; }
.quick small { font-size: 11px; color: var(--g300); }
.quick strong { color: #fff; font-size: 18px; white-space: nowrap; }
.quick .go { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.quick .go span { color: #fff; padding: 8px 12px; border-radius: 99px; font-size: 12px; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.quick .go img { width: 1rem; }
.quick .q1 .go span { background: var(--navy); }
.quick .q2 .go span { background: var(--blue); }
.board { width: 100%; max-width: 1080px; background: var(--soft); padding: 32px; display: flex; gap: 32px; }
.board > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; border-left: 2px solid #000; padding: 12px 0 12px 16px; }
.sec-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.sec-head a { font-size: 12px; font-weight: 600; padding-right: 8px; }
.sec-head a:hover { text-decoration: underline; }
.mini { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.mini a { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.mini a:hover { background: #f9fafb; }
.mini span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 16px; font-size: 14px; }
.mini time { font-size: 12px; color: var(--g500); white-space: nowrap; }
.mini .none { background: #fff; padding: 24px; text-align: center; font-size: 14px; color: var(--g500); border-radius: 8px; }

/* 메인: 공지 위, 아카이브 갤러리 아래 */
.board.stack { flex-direction: column; }

/* 자료 아카이브 갤러리 카드 */
.gallery-box { max-width: 1080px; margin: 16px auto; padding: 0 16px; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-grid.g4 { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.g-card { display: block; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); transition: transform .2s, box-shadow .2s; }
.g-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.g-ph { position: relative; aspect-ratio: 4 / 3; background: var(--g100); overflow: hidden; }
.g-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-card:hover .g-ph img { transform: scale(1.04); }
.g-none { height: 100%; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; color: var(--g500); font-weight: 600; }
.g-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-style: normal; font-size: 20px; display: flex; align-items: center; justify-content: center; padding-left: 4px; }
.g-badges { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 4px; }
.g-badges span { background: rgba(0, 0, 0, .65); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; }
.g-bd { padding: 12px 14px 14px; }
.g-bd b { display: block; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-bd time { display: block; margin-top: 4px; font-size: 12px; color: var(--g500); }
.g4 .g-bd { padding: 10px 12px 12px; }
.g4 .g-bd b { font-size: 14px; }

/* ---------- 하위 페이지 공통 ---------- */
.sub-hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 220px; overflow: hidden; }
.sub-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.sub-hero h1 { position: relative; z-index: 1; margin: 0; color: #fff; font-size: 45px; font-weight: 800; }
.sub-hero p { position: relative; z-index: 1; margin: 0; color: #fff; font-weight: 600; letter-spacing: .025em; padding: 0 16px; text-align: center; }
.tabs { border-bottom: 1px solid var(--g200); padding-top: 4px; display: flex; justify-content: center; gap: 8px; }
.tabs a { position: relative; padding: 12px 16px; font-size: 18px; font-weight: 500; color: var(--g700); }
.tabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--g900); transform: scaleX(0); transition: transform .2s; }
.tabs a:hover { color: var(--g900); }
.tabs a:hover::after, .tabs a.on::after { transform: scaleX(1); }
.page-title { text-align: center; padding: 80px 16px 44px; }
.page-title span { font-size: 30px; background: linear-gradient(var(--g200), var(--g200)) no-repeat 0 80% / 100% 20%; }
.page-title p { margin: 8px 0 4px; }
.box { width: 100%; max-width: 46rem; margin: 16px auto; padding: 24px; background: var(--soft); }
.empty { text-align: center; color: var(--g500); padding: 24px 0; }

/* 축제 소개 */
.desc { padding: 40px 0 0; display: flex; flex-direction: column; gap: 8px; }
.desc h2 { margin: 0; font-size: 18px; font-weight: 600; }
.desc .txt { padding: 24px; background: #fff; border-radius: 8px; box-shadow: inset 0 2px 4px rgba(0,0,0,.05); line-height: 2rem; }
.overview { display: grid; grid-template-columns: 90px 1fr; gap: 4px 12px; margin: 0; }
.overview dt { font-weight: 700; }
.overview dd { margin: 0; }

/* 일정표 */
.days { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.days button { border: 1px solid var(--g300); background: #fff; padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; }
.days button.on { background: #000; color: #fff; border-color: #000; }
.sched-wrap { max-width: 1200px; margin: 0 auto 8px; padding: 0 16px; overflow-x: auto; }
.sched { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--g200); border-radius: 10px; overflow: hidden; font-size: 13px; }
.sched th { background: var(--soft); padding: 12px 8px; font-weight: 700; border-bottom: 1px solid var(--g200); border-left: 1px solid var(--g200); }
.sched th:first-child { border-left: 0; width: 100px; }
.sched td { padding: 8px; height: 40px; border-bottom: 1px solid #fff; border-left: 1px solid var(--g200); text-align: center; vertical-align: middle; }
.sched td.time { border-left: 0; font-weight: 700; color: #1e3a5f; font-size: 12px; white-space: nowrap; }
.sched tr:nth-child(even) td.time, .sched tr:nth-child(even) td.e { background: #f8f9fb; }
.sched td.ev { font-weight: 500; }
.sched .c0 { background: #faf5ff; } .sched .c1 { background: #fef2f2; } .sched .c2 { background: #ecfdf5; } .sched .c3 { background: #fefce8; } .sched .c4 { background: #eff6ff; } .sched .c5 { background: #fff7ed; }
.sched-day[hidden] { display: none; }
.sched .ev-link { display: block; color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 3px; }
.sched .ev-link:hover { text-decoration-color: currentColor; font-weight: 700; }
.sched .ev-link::after { content: ' ›'; opacity: .5; }
.sched-note { max-width: 1200px; margin: 0 auto; padding: 0 16px; text-align: right; font-size: 12px; color: var(--g600); }

/* 장소 안내 */
.site-map { max-width: 1080px; margin: 0 auto 40px; padding: 0 16px; }
.venue + .venue { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--g300); }
.venue h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.venue p { margin: 0 0 4px; font-size: 14px; color: var(--g600); }
.venue iframe { width: 100%; height: 280px; border: 0; border-radius: 8px; margin: 12px 0 8px; display: block; }
.venue .links a { display: inline-block; font-size: 13px; border: 1px solid var(--g300); background: #fff; padding: 6px 12px; margin: 6px 6px 0 0; border-radius: 6px; }

/* 필터 버튼 (프로그램·장소별) */
.filters { display: flex; justify-content: center; gap: 16px; padding: 16px 16px 32px; flex-wrap: wrap; }
.filters a { padding: 12px 20px; border-radius: 8px; border: 1px solid var(--g200); background: var(--g100); color: var(--g800); font-size: 18px; font-weight: 500; }
.filters a.on { background: #fee2e2; border-color: transparent; color: #ef4444; font-weight: 600; }
.filters a:hover { opacity: .8; }

/* 프로그램 안내 — 갈래 소개 */
.cat-desc { background: #fff; border-left: 3px solid #ef4444; border-radius: 0 8px 8px 0; padding: 20px 24px; margin-bottom: 28px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.cat-desc h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.cat-desc p { margin: 0; line-height: 1.8; color: var(--g700); font-size: 15px; }

/* 프로그램 목록 */
.rows { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; gap: 16px; border-bottom: 1px solid var(--g300); padding-bottom: 16px; align-items: center; }
.row .in { flex: 1; display: flex; }
.row .ph { margin-right: 16px; flex: none; }
.row .ph img, .row .ph .noimg { width: 196px; height: 130px; object-fit: cover; border-radius: 4px; }
.noimg { background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.row h3 { margin: 0; font-size: 18px; font-weight: 600; white-space: pre-line; }
.row .meta { color: var(--g600); font-size: 14px; margin-top: 8px; }
.row .meta div { margin: 0; }
.btn-dark { background: var(--navy); color: #fff; border: 0; padding: 8px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.pager a { padding: 4px 12px; border-radius: 4px; font-size: 14px; background: var(--g100); }
.pager a.on { background: var(--navy); color: #fff; }

/* 프로그램 상세 팝업 */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); }
.modal[hidden] { display: none; }
.modal .card { background: #fff; width: 100%; max-width: 36rem; padding: 24px; margin: 0 16px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.2); position: relative; max-height: 85%; overflow-y: auto; }
.modal .x { position: absolute; top: 4px; right: 12px; border: 0; background: none; color: var(--g500); font-size: 28px; cursor: pointer; }
.modal .card img { width: 100%; max-height: 35rem; object-fit: contain; border-radius: 4px; padding: 8px; margin: 8px 0 16px; }
.modal h2 { font-size: 20px; font-weight: 700; margin: 0 0 8px; text-align: center; white-space: pre-line; }
.modal .r { text-align: right; font-size: 14px; color: var(--g600); margin: 0 0 4px; }
.modal .r:last-of-type { margin-bottom: 16px; }
.modal .d { white-space: pre-line; color: var(--g800); background: var(--soft); padding: 16px; border-radius: 8px; }

/* 출연진 */
.person { display: flex; gap: 16px; border-bottom: 1px solid var(--g300); padding-bottom: 16px; align-items: center; }
.person .ph { max-height: 240px; overflow: hidden; border-radius: 4px; flex: none; margin-right: 16px; }
.person .ph img { width: 240px; object-fit: cover; }
.person .ph .noimg { width: 240px; height: 160px; font-size: 40px; background: #e9e6df; color: #b8935a; }
.person .bd { flex: 1; font-size: 14px; }
.person h3 { margin: 0; font-size: 18px; font-weight: 600; }
.person .role { color: var(--g500); font-size: 13px; }
.person .bio { white-space: pre-line; color: var(--g600); line-height: 1.5rem; margin-top: 4px; }

/* 장소별 소개 */
.place img { border-radius: 8px; width: 100%; }
.place .cap { color: var(--g600); font-size: 14px; text-align: right; margin-top: 8px; }
.place .txt { white-space: pre-line; line-height: 1.75rem; margin-top: 12px; }
.place .ttl { font-weight: 600; }

/* 게시판 */
.table-box { max-width: 50rem; margin: 16px auto; }
.tbl-wrap { margin: 16px; background: #fff; border: 1px solid var(--g300); border-radius: 8px; overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl thead { background: var(--navy); color: #fff; }
.tbl th { padding: 12px; text-align: left; }
.tbl th.r, .tbl td.r { text-align: right; width: 8rem; white-space: nowrap; }
.tbl td { padding: 12px; border-top: 1px solid var(--g300); }
.tbl td a:hover { text-decoration: underline; }
.post { border: 1px solid var(--g200); border-radius: 8px; margin: 16px; padding: 24px; background: var(--soft); }
.post .t { font-size: 24px; font-weight: 600; }
.post .m { margin-top: 8px; font-size: 14px; color: var(--g500); }
.post article { margin-top: 24px; }
.post article img { margin-bottom: 16px; border-radius: 4px; }
.post .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.post .yt { position: relative; aspect-ratio: 16 / 9; margin-bottom: 16px; border-radius: 8px; overflow: hidden; background: #000; }
.post .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post .attach { margin-top: 20px; font-size: 14px; background: #fff; border: 1px solid var(--g200); border-radius: 8px; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.post .attach b { font-size: 13px; color: var(--g600); }
.post .attach a { text-decoration: underline; word-break: break-all; }
.post .foot { margin-top: 24px; display: flex; justify-content: flex-end; }
.post .foot a { border: 1px solid var(--g300); padding: 8px 12px; font-size: 14px; background: #fff; }
.post-wrap { max-width: 1280px; margin: 16px auto; }

/* 클래스 신청 */
.apply-form { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.apply-form label { display: block; font-weight: 600; font-size: 15px; }
.apply-form label > input:not([type=checkbox]), .apply-form label > select, .apply-form label > textarea { display: block; width: 100%; margin-top: 6px; }
.apply-form b { color: #ef4444; }
.apply-form input:not([type=checkbox]), .apply-form select, .apply-form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--g300); border-radius: 6px; background: #fff; }
.apply-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apply-form .privacy { font-size: 13px; color: var(--g600); background: #fff; border: 1px solid var(--g200); border-radius: 6px; padding: 14px; line-height: 1.7; }
.apply-form .agree { font-weight: 500; }
.apply-form .hp { position: absolute; left: -9999px; }
.btn-dark.big { padding: 14px; font-size: 16px; border-radius: 6px; }
.apply-msg { margin-top: 24px; padding: 14px 16px; border-radius: 6px; font-weight: 600; }
.apply-msg.ok { background: #ecfdf5; color: #065f46; }
.apply-msg.err { background: #fef2f2; color: #b91c1c; }
.apply-link { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.apply-link .btn-dark.big { display: block; width: 100%; text-align: center; }
.apply-link .qr { background: #fff; padding: 18px; border-radius: 8px; text-align: center; }
.apply-link .qr #apply-qr { display: inline-block; }
.apply-link .qr p { margin: 10px 0 0; font-size: 13px; color: var(--g600); }
.apply-closed { margin: 28px 0 0; padding: 20px; text-align: center; background: #fff; border-radius: 6px; color: var(--g600); }

/* 영문 페이지 · 언어 링크 */
.lang { margin-left: auto; margin-right: 16px; font-size: 13px; font-weight: 700; border: 1px solid var(--g300); padding: 4px 10px; border-radius: 99px; }
.lang:hover { background: var(--g100); }
.lang-m { display: block; padding: 20px 16px; font-weight: 600; border-bottom: 1px solid var(--g300); }
.en h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 700; border-left: 2px solid #000; padding-left: 12px; }
.en h3:first-child { margin-top: 0; }
.en p { margin: 0; line-height: 1.8; }
.en p.gap { height: 12px; }

/* 메인 팝업 공지 */
.popup { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .55); }
.popup[hidden] { display: none; }
.popup-card { background: #fff; width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto; border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.popup-card img { width: 100%; display: block; }
.popup-card h2 { font-size: 20px; font-weight: 700; margin: 18px 20px 8px; }
.popup-body { padding: 0 20px 16px; font-size: 15px; color: var(--g700); line-height: 1.7; }
.popup-btn { display: block; margin: 0 20px 16px; text-align: center; background: var(--navy); color: #fff; padding: 12px; border-radius: 8px; font-weight: 700; }
.popup-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: var(--g100); font-size: 14px; }
.popup-foot label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.popup-foot button { border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; color: var(--g900); }

/* 404 */
.notfound { text-align: center; padding: 110px 16px 120px; }
.notfound p { color: var(--g600); margin: 8px 0 28px; }
.notfound a { display: inline-block; background: var(--navy); color: #fff; padding: 12px 26px; border-radius: 99px; font-weight: 700; }

/* ---------- 푸터 ---------- */
.site-footer { width: 100%; display: flex; flex-direction: column; align-items: center; background: #fff; margin-top: 16px; }
.site-footer .logo-s { padding: 16px 0; width: 10rem; }
.site-footer .info { font-size: 12px; padding: 0 16px; color: var(--navy); text-align: center; }
.site-footer .copy { width: 100%; padding: 16px 0; margin-top: 16px; text-align: center; font-size: 12px; color: #fff; background: var(--navy); }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ---------- 반응형 (작년 사이트 기준점: 804px · 768px · 560px · 440px) ---------- */
@media (max-width: 803px) {
  .quick { flex-direction: column; }
}
@media (max-width: 767px) {
  .menu-btn { display: flex; }
  .header-in { justify-content: flex-start; }
  .logo { flex: 1; align-items: center; padding: 12px 60px 12px 0; }
  .logo-slogan { font-size: 12px; }
  .logo-title { font-size: 21px; }
  .header-in > .insta, .header-in > .lang { display: none; }
  .gnb { display: none; }
  .hero { padding-top: 48px; }
  .hero .belt img { height: 200px; }
  .hero .words span { font-size: 17px; padding: 12px 18px; }
  .board { flex-direction: column; }
  .g-grid, .g-grid.g4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sub-hero h1 { font-size: 24px; }
  .tabs a { font-size: 14px; }
  .filters a { padding: 8px 12px; font-size: 12px; }
  .box { border-radius: 0; }
}
@media (min-width: 736px) { .box { border-radius: 8px; } }
@media (max-width: 559px) {
  .person { flex-direction: column; align-items: center; }
  .person .ph { margin-right: 0; }
}
@media (max-width: 439px) {
  .quick .go { display: none; }
  .row .in { display: block; }
  .row .ph { margin: 0 0 8px; }
  .tabs a { padding: 12px 8px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .board { padding: 24px 16px; }
}
