/* 가볼만한곳 — 사진이 주인공인 지면.
   UI 는 조용하게 두고 색은 사진이 담당한다. 함대의 다른 지면(표·차트 중심)과 톤을 일부러 다르게 잡았다.
   ★ 색은 전부 명시한다 — 다크모드를 따로 두지 않는다(호스트 배경이 비쳐 들면 사진 톤이 깨진다). */
:root{
  color-scheme: light;
  --ground:#FAF9F7; --surface:#FFFFFF; --surface-2:#F3F0EB;
  --ink:#14161A; --ink-2:#3A3833; --muted:#6B655E;   /* 흰 바탕 5.76:1 */
  --line:#E9E5DF; --line-2:#D8D2C9;
  --brand:#C7431C;        /* 흰 글자 4.94:1 — 버튼·강조 양방향 통과 */
  --brand-2:#A83A17; --brand-soft:#FCEDE7;
  --accent:#0F6E68; --accent-soft:#E6F2F1;
  --r:14px; --r-s:10px;
  --shadow-s:0 1px 2px rgba(20,22,26,.05);
  --shadow:0 2px 6px rgba(20,22,26,.06), 0 12px 28px -18px rgba(20,22,26,.30);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);
  font-family:'Pretendard Variable','Pretendard',-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;
  font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%}
:focus-visible{outline:2.5px solid var(--brand);outline-offset:2px;border-radius:4px}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
h1,h2,h3{letter-spacing:-.03em;margin:0}

/* ── 상단바 ─────────────────────────────────────────── */
.tb{position:sticky;top:0;z-index:40;background:rgba(250,249,247,.92);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line)}
.tb-in{max-width:1200px;margin:0 auto;padding:0 20px;height:62px;display:flex;align-items:center;gap:18px}
.logo{display:flex;align-items:center;gap:8px;font-weight:900;font-size:19px;letter-spacing:-.04em;flex:none}
.logo:hover{text-decoration:none}
/* 이름이 길어져(2026-09-06) 좁은 화면에선 '대한민국'을 접는다 — 내비가 밀린다 */
.lg-pre{font-weight:800}
@media (max-width:520px){ .lg-pre{display:none} }
.logo i{width:26px;height:26px;border-radius:8px;background:var(--brand);display:inline-flex;
  align-items:center;justify-content:center;color:#fff;font-style:normal;font-size:14px;font-weight:800}
.tb-nav{display:flex;gap:2px;margin-left:auto;overflow-x:auto;scrollbar-width:none}
.tb-nav::-webkit-scrollbar{display:none}
.tb-nav a{padding:8px 11px;border-radius:9px;font-size:15px;font-weight:700;color:var(--ink-2);white-space:nowrap}
.tb-nav a:hover{background:var(--surface-2);text-decoration:none}
.tb-nav a.on{color:var(--brand-2);background:var(--brand-soft)}

/* ── 검색 ───────────────────────────────────────────── */
.sform{display:flex;gap:8px}
.sform input{flex:1;min-width:0;height:54px;padding:0 18px;border:1.5px solid var(--line-2);
  border-radius:var(--r-s);font-size:16px;font-family:inherit;background:var(--surface);color:var(--ink)}
.sform input::placeholder{color:var(--muted)}
.sform input:focus{outline:none;border-color:var(--brand)}
.sform button{height:54px;padding:0 26px;border:0;border-radius:var(--r-s);background:var(--brand);
  color:#fff;font-size:16px;font-weight:800;font-family:inherit;cursor:pointer}
.sform button:hover{background:var(--brand-2)}

/* ── 히어로 모자이크 — 이 지면의 시그니처 ───────────── */
.hero{padding:26px 0 10px}
.hero-in{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1.25fr);gap:34px;align-items:center}
.hero h1{font-size:clamp(2rem,3.6vw,3.15rem);line-height:1.2;margin:0 0 14px}
.hero h1 em{font-style:normal;color:var(--brand-2)}
.hero .sub{font-size:1.05rem;color:var(--ink-2);margin:0 0 22px;max-width:27em}
.hero .chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.chip{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;
  border:1px solid var(--line-2);background:var(--surface);font-size:14.5px;font-weight:700;color:var(--ink-2)}
.chip:hover{border-color:var(--brand);color:var(--brand-2);text-decoration:none}
.hero-stat{margin-top:20px;display:flex;gap:20px;font-size:14.5px;color:var(--muted);flex-wrap:wrap}
.hero-stat b{color:var(--ink);font-weight:800;font-variant-numeric:tabular-nums}

.mosaic{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:104px;gap:10px}
.mosaic a{position:relative;overflow:hidden;border-radius:var(--r);display:block;background:var(--surface-2)}
.mosaic a:nth-child(1){grid-column:span 2;grid-row:span 2}
.mosaic a:nth-child(4){grid-column:span 2}
.mosaic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.mosaic a:hover img{transform:scale(1.05)}
.mosaic .cap{position:absolute;left:0;right:0;bottom:0;padding:22px 12px 9px;color:#fff;font-size:13.5px;
  font-weight:700;line-height:1.35;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.72) 100%)}
.mosaic a:nth-child(1) .cap{font-size:17px;padding:30px 16px 14px}

/* ── 섹션 ───────────────────────────────────────────── */
/* 섹션 구분 (2026-09-06) — 여백만으로는 경계가 안 보인다는 지적.
   ① 섹션이 이어지면 실선으로 끊고 ② 제목마다 액센트 표식을 둔다. 전 지면 공통이다. */
.sec{padding:38px 0 6px}
.sec + .sec{border-top:1px solid var(--line);padding-top:34px}
.sec-h{display:flex;align-items:baseline;gap:12px;margin-bottom:6px}
.sec-h h2{font-size:1.55rem;display:flex;align-items:center;gap:10px}
.sec-h h2::before{content:"";width:10px;height:10px;border-radius:3px;background:var(--brand);
  flex:none;position:relative;top:-1px}
.sec-h .more{margin-left:auto;font-size:14.5px;font-weight:700;color:var(--brand-2)}
.sec-lede{color:var(--ink-2);margin:0 0 18px;font-size:15.5px}

/* ── 카드 격자 ──────────────────────────────────────── */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:16px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  box-shadow:var(--shadow-s);display:flex;flex-direction:column;transition:transform .16s,box-shadow .16s}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);text-decoration:none}
.card .ph{aspect-ratio:4/3;background:var(--surface-2);position:relative;overflow:hidden}
.card .ph img{width:100%;height:100%;object-fit:cover;display:block}
.card .noimg{width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--surface-2),#EAE5DC);color:var(--muted);font-size:13px;font-weight:700}
.card .body{padding:13px 14px 15px}
.card .t{font-size:16px;font-weight:800;line-height:1.4;letter-spacing:-.02em}
.card .d{font-size:14px;color:var(--muted);margin-top:4px}
.card .o{font-size:15px;color:var(--ink-2);margin-top:7px;line-height:1.6}
.badge{position:absolute;left:10px;top:10px;height:26px;padding:0 10px;border-radius:999px;
  display:inline-flex;align-items:center;font-size:12.5px;font-weight:800;background:rgba(20,22,26,.72);color:#fff}
.badge.live{background:var(--brand)}
.badge.soon{background:var(--accent)}

/* ── 가로 스크롤 줄 ─────────────────────────────────── */
.rail{display:flex;gap:14px;overflow-x:auto;padding:2px 0 10px;scroll-snap-type:x mandatory;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.rail > *{flex:0 0 248px;scroll-snap-align:start}

/* ── 지역 타일 ──────────────────────────────────────── */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:12px}
.tile{position:relative;aspect-ratio:5/4;border-radius:var(--r);overflow:hidden;background:var(--surface-2);display:block}
.tile img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.tile:hover{text-decoration:none}
.tile:hover img{transform:scale(1.06)}
.tile .tx{position:absolute;inset:auto 0 0 0;padding:26px 14px 12px;color:#fff;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.74))}
.tile .tx b{display:block;font-size:17px;font-weight:800;letter-spacing:-.02em}
.tile .tx span{font-size:13.5px;opacity:.92;font-variant-numeric:tabular-nums}

/* ── 유형 카드 ──────────────────────────────────────── */
.types{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.type{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:17px 17px 15px;
  display:flex;flex-direction:column;gap:3px}
.type:hover{border-color:var(--brand);text-decoration:none}
.type b{font-size:16.5px}
.type span{font-size:14px;color:var(--muted)}
.type i{font-style:normal;font-size:15px;font-weight:800;color:var(--brand-2);
  margin-top:6px;font-variant-numeric:tabular-nums}

/* ── 상세 ─────────────────────────────────────────────
   섹션이 구분되지 않는다는 지적(2026-09-06) → 각 덩어리를 흰 패널로 떼어 놓고
   제목마다 액센트 표식을 붙인다. 배경(웜 아이보리)과 패널(흰색)의 대비가 경계다. */
.crumb{display:flex;align-items:center;gap:7px;padding:16px 0 2px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.crumb a{display:inline-block;padding:4px 6px;margin:0 -4px;border-radius:6px;font-weight:700;color:var(--ink-2)}
.crumb a:hover{background:var(--surface-2);text-decoration:none}
.crumb span{color:var(--line-2)}

.ph-head{padding:8px 0 18px;border-bottom:1px solid var(--line);margin-bottom:18px}
.ph-kinds{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.pl-kind{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;
  background:var(--brand-soft);color:var(--brand-2);font-size:13.5px;font-weight:800}
.cat{display:inline-flex;align-items:center;height:28px;padding:0 11px;border-radius:999px;
  background:var(--surface);border:1px solid var(--line-2);color:var(--ink-2);font-size:13.5px;font-weight:700}
.cat.live{background:var(--brand);border-color:var(--brand);color:#fff}
.ph-head h1{font-size:clamp(1.7rem,3vw,2.5rem);margin:0 0 8px;line-height:1.25}
.ph-addr{margin:0;color:var(--muted);font-size:15.5px}
.ph-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.act{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:10px;
  border:1.5px solid var(--line-2);background:var(--surface);font-size:15px;font-weight:800;color:var(--ink)}
.act:hover{border-color:var(--brand);color:var(--brand-2);text-decoration:none}
.act.wide{width:100%;justify-content:center;margin-top:12px;background:var(--brand);color:#fff;border-color:var(--brand)}
.act.wide:hover{background:var(--brand-2);color:#fff}

.gal{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:124px;gap:10px;margin:0 0 6px}
.gal a{border-radius:var(--r);overflow:hidden;background:var(--surface-2);display:block}
.gal a:first-child{grid-column:span 2;grid-row:span 2}
.gal img{width:100%;height:100%;object-fit:cover;display:block}
.gal-more{margin:8px 0 0;font-size:14px;color:var(--muted)}
/* 사진이 한두 장뿐인 곳이 많다 — 2x2 격자를 그대로 쓰면 오른쪽이 빈다 */
.gal.one{grid-template-columns:1fr;grid-auto-rows:auto}
.gal.one a{grid-column:auto;grid-row:auto;aspect-ratio:16/9;max-height:420px}
.gal.two{grid-template-columns:repeat(2,1fr);grid-auto-rows:auto}
.gal.two a{grid-column:auto;grid-row:auto;aspect-ratio:4/3}

.ph-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px;
  padding:20px 0 4px;align-items:start}
.ph-main{display:flex;flex-direction:column;gap:16px}
.ph-side{position:sticky;top:78px}

/* 패널 — 섹션 하나 = 흰 상자 하나. 이게 구분의 기본 단위다. */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:22px 22px 18px;box-shadow:var(--shadow-s)}
.panel h2{font-size:1.2rem;margin:0 0 14px;padding-bottom:11px;border-bottom:1px solid var(--line);
  display:flex;align-items:center;gap:9px}
.panel h2::before{content:"";width:9px;height:9px;border-radius:3px;background:var(--brand);flex:none}
.panel-note{margin:14px 0 0;font-size:15px;color:var(--muted);line-height:1.65}
.ov{font-size:16.5px;line-height:1.9;color:var(--ink-2);white-space:pre-line}

/* 이용 안내 — 라벨/값 2열. 값이 길어도 라벨 열은 흔들리지 않는다. */
.facts{margin:0;display:grid;gap:0}
.facts > div{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;
  padding:11px 0;border-bottom:1px dashed var(--line)}
.facts > div:last-child{border-bottom:0;padding-bottom:0}
.facts dt{margin:0;color:var(--muted);font-size:14.5px;font-weight:700}
.facts dd{margin:0;font-size:15.5px;line-height:1.65;word-break:break-word}
.facts.tight > div{grid-template-columns:70px minmax(0,1fr);padding:9px 0}
#map{width:100%;height:230px;border-radius:var(--r-s);background:var(--surface-2);margin-bottom:14px}

.src{margin:26px 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:15px;color:var(--muted)}

/* ── 목록 헤더·페이저 ───────────────────────────────── */
.lh{padding:24px 0 12px}
.lh h1{font-size:clamp(1.6rem,2.6vw,2.2rem);margin-bottom:8px}
.lh p{color:var(--ink-2);margin:0;font-size:15.5px}
.filters{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0 4px}
.pager{display:flex;gap:6px;justify-content:center;padding:26px 0 6px;flex-wrap:wrap}
.pager a,.pager span{min-width:42px;height:42px;padding:0 12px;border-radius:var(--r-s);
  display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;
  border:1px solid var(--line-2);background:var(--surface)}
.pager .on{background:var(--brand);color:#fff;border-color:var(--brand)}
.pager a:hover{border-color:var(--brand);text-decoration:none}

/* ── 푸터 ───────────────────────────────────────────── */
.ft{margin-top:46px;border-top:1px solid var(--line);background:var(--surface-2);padding:30px 0 40px}
.ft-in{display:flex;flex-wrap:wrap;gap:26px;justify-content:space-between}
.ft b{font-size:16px}
.ft p{margin:8px 0 0;color:var(--muted);font-size:15px;max-width:52ch;line-height:1.7}
.ft nav{display:flex;gap:16px;flex-wrap:wrap;font-size:15px;font-weight:700;color:var(--ink-2)}

@media (max-width:900px){
  .ph-body{grid-template-columns:1fr;gap:16px}
  .ph-side{position:static}
  .gal{grid-template-columns:repeat(2,1fr);grid-auto-rows:108px}
  .gal a:first-child{grid-column:span 2;grid-row:span 1}
  .facts > div{grid-template-columns:96px minmax(0,1fr);gap:10px}
  .panel{padding:18px 16px 15px}
  .hero-in{grid-template-columns:1fr;gap:22px}
  .hero{padding:16px 0 4px}
  .mosaic{grid-auto-rows:84px;gap:8px}
  .pl-body{grid-template-columns:1fr;gap:22px}
  .gal{grid-template-columns:repeat(2,1fr);grid-auto-rows:104px}
  .gal a:first-child{grid-column:span 2;grid-row:span 1}
  .tiles{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}
  .grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
  .types{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
  .type{padding:14px}
  .sec{padding:28px 0 4px}
}

/* ── 축제 CTA 배너 ──────────────────────────────────
   그림의 왼쪽 40% 를 비운 채로 생성했다. 글자는 그 위에 HTML 로 얹는다. */
.cta{position:relative;display:block;margin:34px 0 6px;border-radius:var(--r);overflow:hidden;
  background:#101A2C;aspect-ratio:1600/560}
.cta img{width:100%;height:100%;object-fit:cover;object-position:right center;display:block}
.cta::after{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(10,16,28,.88) 0%,rgba(10,16,28,.72) 34%,rgba(10,16,28,.15) 58%,rgba(10,16,28,0) 74%)}
.cta-tx{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:2;padding:0 34px;max-width:56%}
.cta-tx b{display:block;color:#fff;font-size:clamp(1.2rem,2.2vw,1.9rem);font-weight:900;letter-spacing:-.03em;line-height:1.3}
.cta-tx > span{display:block;color:#EDE7DF;font-size:15.5px;margin-top:8px;line-height:1.6}
.cta-tx em{display:inline-flex;align-items:center;height:44px;padding:0 20px;margin-top:16px;border-radius:10px;
  background:var(--brand);color:#fff;font-style:normal;font-size:15.5px;font-weight:800}
.cta:hover{text-decoration:none}
.cta:hover .cta-tx em{background:#E05226}
@media(max-width:760px){
  .cta{aspect-ratio:16/11}
  .cta::after{background:linear-gradient(180deg,rgba(10,16,28,.55) 0%,rgba(10,16,28,.86) 62%,rgba(10,16,28,.94) 100%)}
  .cta-tx{max-width:none;top:auto;bottom:0;transform:none;padding:0 18px 18px}
}
