/* one travel — 도시 가이드 페이지 (앱과 같은 색·글꼴, 큰 글씨) */
:root {
  --ink: #111827; --ink-2: #374151; --muted: #5F6B7A;
  --ground: #F4F5F7; --card: #FFFFFF; --line: #E6E8EC; --fill: #F1F3F6;
  --accent: #1B64F2; --accent-strong: #1350C9; --accent-soft: #EAF1FF;
  --sos: #E0383E; --sos-soft: #FDECEC;
  --radius: 20px; --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(17,24,39,.04), 0 2px 10px rgba(17,24,39,.04);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.7; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid rgba(27,100,242,.45); outline-offset: 2px; }
.g-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* 상단 */
.g-top { position: sticky; top: 0; z-index: 5; background: rgba(244,245,247,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.g-top-in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.g-logo { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); text-decoration: none; }
.g-logo span { color: var(--accent); }
.g-lang { font-size: 16px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 10px 16px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow-sm); }

/* 제목 */
.g-crumb { font-size: 15px; color: var(--muted); margin: 20px 0 8px; }
.g-crumb a { color: var(--muted); }
h1 { font-size: 34px; line-height: 1.25; letter-spacing: -0.03em; margin: 4px 0 12px; font-weight: 800; }
.g-lead { font-size: 19px; color: var(--ink-2); margin: 0 0 24px; }
h2 { font-size: 25px; line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 800; }
h3 { font-size: 19px; line-height: 1.4; margin: 0 0 4px; font-weight: 700; }
p { margin: 0 0 10px; }
.g-muted { color: var(--muted); font-size: 16px; }

/* 카드·섹션 */
.g-card { background: var(--card); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); margin: 0 0 20px; }
.g-sec { margin: 36px 0; }
.g-list { display: grid; gap: 12px; }
.g-item { background: var(--card); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.g-item p:last-child { margin-bottom: 0; }
.g-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.g-meta span, .g-tag { display: inline-block; font-size: 15px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); border-radius: 999px; padding: 3px 12px; }
.g-tag { margin: 2px 0 8px; }

/* 바로가기 버튼 */
.g-cta { background: linear-gradient(135deg, #1B64F2, #3E82F7); color: #fff; }
.g-cta .g-muted { color: rgba(255,255,255,.88); }
.g-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.g-btn { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.16); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; line-height: 1.3; }
.g-btn-primary { background: #fff; color: var(--accent); }
.g-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.g-link { font-weight: 700; text-decoration: none; }

/* 한눈에 보기 */
.g-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 0; }
.g-facts dt { font-size: 15px; color: var(--muted); }
.g-facts dd { margin: 0; font-weight: 700; }
.g-sos-h { margin-top: 20px; color: var(--sos); }
.g-sos { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-sos li { display: flex; flex-direction: column; align-items: flex-start; gap: 0; background: var(--sos-soft); border-radius: 12px; padding: 10px 14px; font-size: 16px; }
.g-sos a { color: var(--sos); font-weight: 800; font-size: 20px; text-decoration: none; white-space: nowrap; }

/* 목록 */
.g-num, .g-days { padding: 0; margin: 0; list-style: none; counter-reset: n; display: grid; gap: 12px; }
.g-num li, .g-days li { counter-increment: n; position: relative; background: var(--card); border-radius: var(--radius-sm); padding: 16px 18px 16px 62px; box-shadow: var(--shadow-sm); }
.g-num li::before { content: counter(n); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.g-days li { padding-left: 18px; }
.g-days strong { color: var(--accent); }
.g-num p:last-child, .g-days p:last-child { margin-bottom: 0; }
.g-tips { padding-left: 22px; margin: 0; }
.g-tips li { margin-bottom: 10px; }

.g-budget { display: grid; grid-template-columns: 1fr; gap: 10px; }
.g-budget div { background: var(--card); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.g-budget span { font-size: 15px; color: var(--muted); font-weight: 600; }
.g-note { font-size: 15px; color: var(--muted); background: var(--fill); border-radius: var(--radius-sm); padding: 14px 16px; margin: 32px 0; }

/* 목록 페이지 */
.g-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
.g-city { display: flex; flex-direction: column; gap: 2px; background: var(--card); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.g-city:hover { transform: translateY(-2px); }
.g-city-cc { font-size: 15px; color: var(--accent); font-weight: 700; }
.g-city strong { font-size: 22px; }
.g-city-sub { font-size: 16px; color: var(--muted); }

.g-others { margin: 8px auto 28px; }
.g-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.g-chips a { display: inline-block; padding: 9px 16px; background: var(--card); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 16px; box-shadow: var(--shadow-sm); }
.g-foot { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 15px; color: var(--muted); }
.g-foot a { color: var(--muted); }

/* 상단 메뉴 */
.g-nav { display: flex; align-items: center; gap: 4px; }
.g-nav > a:not(.g-lang) { font-size: 16px; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 10px 10px; }

/* 블로그 */
.g-posts { display: grid; grid-template-columns: 1fr; gap: 12px; }
.g-post { display: flex; flex-direction: column; gap: 4px; background: var(--card); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.g-post:hover { transform: translateY(-2px); }
.g-post strong { font-size: 20px; line-height: 1.4; }
.g-post-cat { font-size: 15px; font-weight: 700; color: var(--accent); margin: 0; }
.g-post-sub { font-size: 16px; color: var(--muted); }
.g-date { font-size: 15px; color: var(--muted); margin: -12px 0 8px; }
.g-article .g-sec { margin: 28px 0; }
.g-article .g-sec p { font-size: 18px; }
.g-partners { margin-top: 32px; }
.g-pbtns { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 6px 0 12px; }
.g-pbtn { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 12px 18px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-strong); text-decoration: none; }
.g-pbtn strong { font-size: 18px; }
.g-pbtn span { font-size: 15px; font-weight: 600; }
.g-btn-line { display: inline-flex; align-items: center; min-height: 52px; padding: 10px 20px; border: 2px solid var(--accent); border-radius: 999px; font-weight: 700; text-decoration: none; }
.g-faq { background: var(--card); border-radius: var(--radius-sm); padding: 4px 18px; box-shadow: var(--shadow-sm); margin-bottom: 10px; }
.g-faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 48px; }
.g-faq p { margin: 0 0 14px; color: var(--ink-2); }

@media (max-width: 420px) {
  .g-nav > a:not(.g-lang) { padding: 10px 6px; font-size: 15px; }
  .g-lang { padding: 8px 12px; font-size: 15px; }
  .g-logo { font-size: 21px; }
}

@media (min-width: 600px) {
  .g-posts { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 42px; }
  .g-btns { grid-template-columns: repeat(4, 1fr); }
  .g-btn:last-child:nth-child(odd) { grid-column: auto; }
  .g-facts { grid-template-columns: repeat(3, 1fr); }
  .g-sos { grid-template-columns: repeat(4, 1fr); }
  .g-budget, .g-grid { grid-template-columns: repeat(3, 1fr); }
  .g-grid { grid-template-columns: 1fr 1fr; }
}
