@import url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/css/SpoqaHanSansNeo.css');

:root {
  --accent: #ffd100;
  --accent-deep: #b08900;
  --dark: #191919;
  --ink: #333;
  --ink-soft: #555;
  --line: #e5e5e5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Spoqa Han Sans Neo', 'Malgun Gothic', Dotum, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ---- 상단바 ---- */
.gnb { background: var(--dark); }
.gnb-in {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.gnb img { height: 32px; display: block; }
.gnb nav { display: flex; gap: 22px; font-size: 15px; }
.gnb nav a { color: rgba(255,255,255,.9); text-decoration: none; }
.gnb nav a:hover { color: var(--accent); }
.gnb .cta {
  background: var(--accent); color: #111; font-weight: 700; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap;
}

/* ---- 공통 레이아웃 ---- */
.wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent-deep); margin: 0 0 12px;
}
h1 { font-size: 32px; line-height: 1.4; letter-spacing: -.02em; color: #111; margin: 0 0 16px; }
h2 { font-size: 22px; line-height: 1.5; letter-spacing: -.02em; color: #111; margin: 44px 0 12px; }
h3 { font-size: 18px; line-height: 1.5; color: #111; margin: 28px 0 8px; }
p { margin: 0 0 1em; }
a { color: var(--accent-deep); }

.lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 32px; }
.meta { font-size: 14px; color: #888; margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }

/* ---- 목록 ---- */
.list { list-style: none; margin: 32px 0 0; padding: 0; }
.list li { border-bottom: 1px solid var(--line); }
.list a { display: block; padding: 24px 0; text-decoration: none; color: inherit; }
.list a:hover h2 { color: var(--accent-deep); }
.list h2 { font-size: 20px; margin: 0 0 6px; }
.list p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.list .date { font-size: 13px; color: #999; }

/* ---- 글 안 요소 ---- */
.callout {
  background: #fffbe6; border-left: 4px solid var(--accent);
  padding: 20px 24px; margin: 32px 0; font-size: 16px;
}
.callout p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
th { background: #fafafa; font-weight: 700; }

/* ---- 글 첫머리 요약 ---- */
.summary {
  margin: 32px 0 40px; padding: 24px 26px;
  background: #fafafa; border: 1px solid var(--line); border-radius: 12px;
}
.summary h2 {
  margin: 0 0 14px; font-size: 15px; letter-spacing: .04em;
  color: var(--accent-deep); font-weight: 700;
}
.summary table { margin: 0; font-size: 15px; }
.summary th, .summary td { border: none; border-bottom: 1px solid var(--line); padding: 11px 0; vertical-align: top; }
.summary tr:last-child th, .summary tr:last-child td { border-bottom: none; }
.summary th { background: none; width: 34%; color: #666; font-weight: 500; padding-right: 14px; }
.summary td { color: #222; font-weight: 500; }

/* ---- 글 중간 CTA ---- */
.midcta {
  margin: 40px 0; padding: 22px 26px; border-radius: 12px;
  background: #fffbe6; border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.midcta p { margin: 0; font-size: 15.5px; color: #333; flex: 1 1 260px; line-height: 1.7; }
.midcta a {
  flex: 0 0 auto; background: var(--dark); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14.5px; padding: 12px 22px; border-radius: 999px; white-space: nowrap;
}
.midcta a:hover { background: #000; }

/* ---- 함께 읽으면 좋은 글 ---- */
.related { margin: 48px 0 0; padding-top: 36px; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 4px; font-size: 20px; }
.related ul { list-style: none; margin: 18px 0 0; padding: 0; }
.related li + li { margin-top: 10px; }
.related a {
  display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: inherit; background: #fff; transition: border-color .15s, background .15s;
}
.related a:hover { border-color: var(--accent); background: #fffdf2; }
.related .t { display: block; font-size: 16.5px; font-weight: 700; color: #111; letter-spacing: -.02em; }
.related .d { display: block; margin-top: 5px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ---- 오시는 길 ---- */
.mapbox { margin: 48px 0 0; padding-top: 40px; border-top: 1px solid var(--line); }
.mapbox h2 { margin-top: 0; }
.mapbox .frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #f2f2f2;
}
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbox dl { margin: 22px 0 0; font-size: 15.5px; }
.mapbox dt { font-weight: 700; color: #111; margin-top: 14px; }
.mapbox dd { margin: 3px 0 0; color: var(--ink-soft); }
.mapbox .btns { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.mapbox .btns a {
  text-decoration: none; font-weight: 700; font-size: 14.5px;
  padding: 13px 24px; border-radius: 999px;
}
.mapbox .btns .primary { background: var(--accent); color: #111; }
.mapbox .btns .ghost { background: #fff; color: #333; border: 1px solid #ccc; }

/* ---- 사진 ---- */
figure.photo { margin: 36px 0; padding: 0; }
figure.photo img { width: 100%; height: auto; display: block; border-radius: 10px; }
figure.photo figcaption {
  margin-top: 12px; font-size: 14px; color: #777; text-align: center; line-height: 1.6;
}

/* ---- 그림(인라인 SVG) ---- */
figure.fig { margin: 36px 0; padding: 0; }
figure.fig svg { width: 100%; height: auto; display: block; }
figure.fig figcaption {
  margin-top: 12px; font-size: 14px; color: #777; text-align: center; line-height: 1.6;
}
.fig-txt { font-family: 'Spoqa Han Sans Neo', sans-serif; }

.faq { margin: 32px 0; }
.faq dt { font-weight: 700; color: #111; margin: 24px 0 6px; }
.faq dd { margin: 0; color: var(--ink-soft); }

/* ---- 글 끝 안내 ---- */
.endbox {
  margin: 56px 0 0; padding: 28px; background: var(--dark);
  color: rgba(255,255,255,.85); border-radius: 12px;
}
.endbox h2 { color: #fff; font-size: 20px; margin: 0 0 10px; }
.endbox p { font-size: 15px; }
.endbox .cta {
  display: inline-block; margin-top: 8px; background: var(--accent); color: #111;
  font-weight: 700; padding: 12px 24px; border-radius: 999px; text-decoration: none;
}

footer.site {
  border-top: 1px solid var(--line); padding: 32px 24px; text-align: center;
  font-size: 14px; color: #888;
}
footer.site a { color: #888; }

@media (max-width: 720px) {
  .gnb nav { display: none; }
  .wrap { padding: 40px 20px 64px; }
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
}
