/* =========================================================================
   여행위키 by 아시아엔조이 — 한국형 여행 정보 포털 스타일시트
   네이버 지식iN(민트 포인트) + 마이리얼트립·하나투어(카드형 상품 UI) 톤
   ========================================================================= */

:root {
  /* 텍스트 */
  --ink: #191F28;
  --ink-2: #333D4B;
  --ink-3: #4E5968;
  --ink-4: #8B95A1;
  --ink-5: #B0B8C1;

  /* 선·배경 */
  --line: #E5E8EB;
  --line-soft: #F2F4F6;
  --bg: #F5F7FA;
  --surface: #FFFFFF;

  /* 브랜드 */
  --brand: #0066FF;
  --brand-dark: #0050CC;
  --brand-weak: #F0F6FF;
  --brand-line: #C9E0FF;
  --mint: #03C75A;
  --mint-dark: #04763B;
  --mint-weak: #E9F9F0;
  --mint-line: #C6F0D8;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 32, 46, .04);
  --shadow: 0 1px 3px rgba(23, 32, 46, .05), 0 8px 20px -14px rgba(23, 32, 46, .18);
  --shadow-lg: 0 10px 28px rgba(23, 32, 46, .12);
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
          system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.wrap.narrow { width: min(880px, calc(100% - 40px)); }

a { color: #1B64DA; text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid rgba(0, 102, 255, .35); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------------------
   헤더 · 통합 검색
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  position: relative; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand);
  color: #fff; font-size: 18px; font-weight: 700;
}
.brand-mark.small { width: 28px; height: 28px; font-size: 13px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { font-size: 11px; color: var(--ink-4); letter-spacing: .01em; margin-top: 2px; }

.head-nav { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-link {
  font-size: 15px; font-weight: 600; color: var(--ink-3);
  padding: 9px 12px; border-radius: 9px; white-space: nowrap;
}
.nav-link:hover { background: var(--line-soft); color: var(--ink); text-decoration: none; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14.5px; font-weight: 700; color: var(--brand);
  background: #F3F8FF; border: 1.5px solid var(--brand-line);
  padding: 9px 14px; border-radius: 10px; white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nav-cta:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }
.ext-arrow { font-size: 12px; opacity: .8; }

.search-toggle {
  display: none; width: 42px; height: 42px; margin-left: auto;
  place-items: center; border: 1px solid var(--line); border-radius: 11px;
  background: #fff; color: var(--ink-3); cursor: pointer;
}

/* 검색 박스 (헤더 + 히어로 공통) */
.search-box {
  position: relative;
  display: flex; align-items: center;
  flex: 1 1 auto; max-width: 470px; height: 46px;
  margin: 0 auto;
  background: var(--line-soft);
  border: 2px solid transparent; border-radius: 12px;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.search-box:focus-within {
  background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, .08);
}
.search-icon { display: grid; place-items: center; width: 46px; flex: none; color: var(--ink-4); }
.search-box:focus-within .search-icon { color: var(--brand); }
.search-input {
  flex: 1; min-width: 0; height: 100%; padding: 0 4px;
  border: 0; background: transparent; outline: none;
  font-family: inherit; font-size: 15px; color: var(--ink);
}
.search-input::placeholder { color: var(--ink-4); }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-submit {
  flex: none; height: 34px; margin: 0 5px 0 0; padding: 0 15px;
  border: 0; border-radius: 8px; background: var(--brand); color: #fff;
  font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.search-submit:hover { background: var(--brand-dark); }

/* 검색 결과 드롭다운 */
.search-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 90;
  max-height: min(68vh, 520px); overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid #E1E6EC;
  border-radius: 12px; box-shadow: var(--shadow-lg);
  text-align: left;
}
.search-panel[hidden] { display: none; }
.sp-head { display: none; }
.search-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 11px; border-radius: 8px; color: var(--ink);
}
.search-item:hover, .search-item.is-active { background: #F5F8FB; text-decoration: none; }
.sp-code {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: #F5F7FA; border: 1px solid #EBEFF4;
  color: #6B7684; font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
}
.search-item .sp-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-item strong {
  font-size: 14.5px; font-weight: 600; line-height: 1.42; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.search-item mark { background: #FFF1B8; color: inherit; border-radius: 3px; padding: 0 1px; }
.sp-meta { font-size: 12px; color: var(--ink-4); }
.sp-empty { padding: 20px 12px; font-size: 13.5px; color: var(--ink-4); text-align: center; line-height: 1.6; }
.sp-empty strong { color: var(--ink-3); }

/* -------------------------------------------------------------------------
   본문 공통
   ------------------------------------------------------------------------- */
main { padding: 6px 0 64px; }

.breadcrumb { font-size: 12.5px; color: var(--ink-4); margin: 20px 0 10px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #C6CDD5; }
.breadcrumb a { color: var(--ink-4); }
.breadcrumb a:hover { color: var(--ink-3); }

h1 {
  font-size: clamp(27px, 3.6vw, 38px);
  line-height: 1.32; letter-spacing: -.025em; font-weight: 800;
  margin: 0 0 12px;
}
h2 {
  font-size: clamp(19px, 2.3vw, 23px); line-height: 1.4; font-weight: 700;
  letter-spacing: -.015em; margin: 38px 0 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
h3 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
p { margin: 0 0 14px; }

.page-head { margin: 6px 0 26px; max-width: 900px; }
.page-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-4); margin: 0 0 10px;
}
.pill {
  background: #F2F5F8; color: var(--ink-3);
  border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 12px;
}
.meta-dot { color: #D1D6DC; }
.section-note { font-size: 13px; color: var(--ink-4); margin: -6px 0 22px; }
.lede { font-size: 17px; color: var(--ink-3); line-height: 1.7; margin: 0 0 10px; }
.note { font-size: 13.5px; color: var(--ink-4); }
.more-link { font-size: 14.5px; margin-top: 6px; }
.more-link a { font-weight: 600; }

/* 섹션(홈 공통) */
.section { margin: 46px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.section-head h2 {
  margin: 0; padding: 0; border: 0;
  font-size: clamp(20px, 2.5vw, 24px); letter-spacing: -.025em;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.h-accent { color: var(--brand); font-size: .82em; letter-spacing: 0; }
.section-sub { margin: 0; font-size: 13.5px; color: var(--ink-4); }

/* -------------------------------------------------------------------------
   홈 — 히어로
   ------------------------------------------------------------------------- */
.hero {
  margin: 22px 0 6px;
  padding: 54px 24px 42px;
  border: 1px solid #E4EAF1; border-radius: 20px;
  background: #F4F8FC;
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 12.5px; font-weight: 600; color: #6B7684; letter-spacing: .02em;
}
.pulse { display: none; }
.hero h1 {
  font-size: clamp(31px, 4.9vw, 47px); line-height: 1.26; letter-spacing: -.035em;
  margin: 0 0 14px; font-weight: 800;
}
.hero-sub {
  max-width: 580px; margin: 0 auto 28px;
  font-size: 16.5px; line-height: 1.68; color: var(--ink-3);
}
.hero .search-box {
  max-width: 640px; height: 58px;
  background: #fff; border-color: #D5DFEA;
  border-radius: 12px; box-shadow: var(--shadow-sm);
}
.hero .search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 102, 255, .08); }
.hero .search-icon { width: 54px; color: #8B95A1; }
.hero .search-box:focus-within .search-icon { color: var(--brand); }
.hero .search-input { font-size: 16.5px; }
.hero .search-submit { height: 46px; margin: 0 6px 0 0; padding: 0 24px; border-radius: 9px; font-size: 15.5px; }

.chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; margin-top: 16px; }
.chips-label { font-size: 12.5px; font-weight: 600; color: var(--ink-4); margin-right: 10px; }
.chip {
  padding: 3px 0; border: 0; border-radius: 0;
  background: none; color: var(--ink-3);
  font-family: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
}
.chip + .chip::before { content: "·"; margin: 0 9px; color: #C6CDD5; font-weight: 400; }
.chip:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 7px;
  margin: 26px 0 0; font-size: 13.5px; color: var(--ink-4);
}
.hero-stats strong { color: var(--ink-2); font-weight: 700; }
.hero-stats span { color: #C6CDD5; }
.pc-only { display: inline; }
.qi-label { line-height: 1.3; word-break: keep-all; }

/* -------------------------------------------------------------------------
   홈 — 퀵 아이콘 메뉴
   ------------------------------------------------------------------------- */
.quick-section { margin-top: 34px; }
.quick-menu {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px 4px;
  padding: 24px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 6px 2px; border-radius: 10px;
  color: var(--ink-2); font-size: 13px; font-weight: 500; text-align: center;
}
.quick-item:hover { color: var(--brand); text-decoration: none; }
.qi-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #F5F7FA; border: 1px solid #EBEFF4;
  color: var(--ink-3); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  transition: border-color .15s ease, background .15s ease;
}
.quick-item:hover .qi-icon { border-color: #C9D6E4; background: #EFF4F9; }
.qi-1 .qi-icon, .qi-2 .qi-icon, .qi-3 .qi-icon, .qi-4 .qi-icon { background: #F5F7FA; border-color: #EBEFF4; }

/* -------------------------------------------------------------------------
   홈 — TOP 질문
   ------------------------------------------------------------------------- */
.top-list {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 14px;
  margin: 0; padding: 10px 8px; list-style: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.top-item {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 12px 14px; border-radius: 8px; color: var(--ink);
}
.top-item:hover { background: #F7F9FB; text-decoration: none; }
.rank {
  flex: none; display: grid; place-items: center;
  width: 24px; height: 24px;
  background: none; color: #AEB6C0;
  font-size: 14px; font-weight: 700;
}
.rank-top { background: none; color: var(--brand); }
.top-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.top-body strong {
  font-size: 15px; font-weight: 600; line-height: 1.42; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.top-meta { font-size: 12.5px; color: var(--ink-4); }
.top-arrow { flex: none; color: #C6CDD5; font-size: 20px; font-weight: 700; line-height: 1; }

/* -------------------------------------------------------------------------
   홈 — 상황별 탭
   ------------------------------------------------------------------------- */
.tabs {
  padding: 18px 18px 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.tab-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-bottom: 15px; margin-bottom: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.tab-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-3);
  font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tab-btn:hover { background: #F7F9FB; border-color: #D5DFEA; color: var(--ink); }
.tab-btn.is-active {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.tab-desc { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-4); }
.tab-panel[hidden] { display: none; }

/* 카드 그리드 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qa-card {
  display: flex; flex-direction: column; gap: 7px;
  padding: 18px; border: 1px solid #E8EBEE; border-radius: 12px;
  background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.qa-card:hover {
  border-color: #C9D6E4;
  box-shadow: 0 4px 12px rgba(23, 32, 46, .06); text-decoration: none;
}
.qa-cat {
  align-self: flex-start;
  color: var(--ink-4);
  font-size: 12px; font-weight: 500;
}
.qa-card strong {
  font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qa-card > span:not(.qa-cat) {
  font-size: 13.5px; color: var(--ink-4); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* -------------------------------------------------------------------------
   홈 — 여행지 가이드 카드
   ------------------------------------------------------------------------- */
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.country-card {
  display: grid; grid-template-columns: 40px 1fr;
  grid-template-areas: "flag title" "desc desc" "meta meta";
  gap: 10px 12px; padding: 18px 16px;
  background: #fff; border: 1px solid #E8EBEE; border-radius: 14px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.country-card:hover {
  border-color: #C9D6E4;
  box-shadow: 0 4px 12px rgba(23, 32, 46, .06); text-decoration: none;
}
.country-card .flag {
  grid-area: flag; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #F5F7FA; border: 1px solid #EBEFF4;
  color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.cc-title { grid-area: title; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
.cc-title strong { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.cc-title em { font-style: normal; font-size: 12px; color: var(--ink-4); }
.card-desc {
  grid-area: desc; font-size: 13.5px; color: var(--ink-3); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { grid-area: meta; font-size: 12.5px; color: var(--ink-4); }
.badge {
  padding: 3px 8px; border-radius: 6px;
  background: var(--line-soft); color: var(--ink-3);
  font-size: 11.5px; font-weight: 700;
}

/* -------------------------------------------------------------------------
   홈 — 브랜드 소개
   ------------------------------------------------------------------------- */
.about-brand {
  margin: 46px 0 8px; padding: 26px 28px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.about-inner { display: flex; align-items: flex-start; gap: 18px; }
.about-mark {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand); color: #fff;
  font-size: 22px; font-weight: 700;
}
.about-brand h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 19px; }
.about-brand p { font-size: 15px; color: var(--ink-3); line-height: 1.72; }

/* -------------------------------------------------------------------------
   Q&A 상세
   ------------------------------------------------------------------------- */
.q-head { display: flex; align-items: flex-start; gap: 16px; margin: 10px 0 24px; }
.q-badge {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; margin-top: 2px; border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 20px; font-weight: 700;
}
.q-head-body { min-width: 0; }
.q-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; color: var(--ink-4); }
.cat-pill {
  color: var(--ink-3); font-size: 12.5px; font-weight: 500;
}
.cat-pill::after { content: "·"; margin: 0 6px; color: #C6CDD5; }
.q-head h1 { font-size: clamp(24px, 3.4vw, 33px); line-height: 1.38; margin: 0 0 10px; }
.q-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--ink-4); }

.answer-box {
  position: relative;
  padding: 20px 22px;
  background: #F4F8FD;
  border: 1px solid #DCE7F3; border-radius: 14px;
  margin: 0 0 12px;
}
.answer-head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.a-badge {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--mint); color: #fff; font-size: 14px; font-weight: 700;
}
.answer-head h2 {
  margin: 0; padding: 0; border: 0;
  font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: 0;
}
.answer-tag {
  margin-left: auto; padding: 2px 8px; border-radius: 999px;
  background: #fff; border: 1px solid #DBE3EB;
  color: #6B7684; font-size: 11px; font-weight: 600;
}
.answer-box > h2 {
  margin: 0 0 8px; padding: 0; border: 0;
  font-size: 14.5px; font-weight: 700; color: var(--ink);
}
.answer-box p { margin: 0; font-size: 17px; line-height: 1.78; color: #17324D; }
.answer-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 0 0 32px; font-size: 12.5px; color: var(--ink-4); line-height: 1.6;
}
.verify-badge {
  flex: none; margin-top: 1px;
  color: #6B7684; font-size: 11.5px; font-weight: 600;
}
.verify-badge::after { content: " ·"; color: #C6CDD5; font-weight: 400; }

.article-body h2 {
  display: flex; align-items: center; gap: 9px;
  font-size: 21px; margin: 38px 0 14px; padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.article-body h2::before {
  content: ""; flex: none; width: 4px; height: 18px; border-radius: 2px; background: var(--brand);
}
.article-body h3 { font-size: 17px; margin: 26px 0 10px; color: var(--ink); }
.article-body p { font-size: 17px; line-height: 1.8; color: var(--ink-2); margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { line-height: 1.75; color: var(--ink-2); margin-bottom: 8px; }
.article-body ul li::marker { color: var(--brand); }
.article-body ol li::marker { color: var(--brand); font-weight: 700; }
.article-body blockquote {
  margin: 18px 0; padding: 14px 18px;
  background: var(--line-soft); border-left: 4px solid #B9D4FF;
  border-radius: 0 10px 10px 0; color: var(--ink-3);
}
.article-body blockquote p:last-child { margin-bottom: 0; }

/* 표 */
.table-wrap {
  overflow-x: auto; margin: 8px 0 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
table.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data-table th, table.data-table td {
  padding: 12px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
table.data-table thead th {
  background: #F8FAFC; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--ink-3); white-space: nowrap;
}
table.data-table tbody th { width: 26%; font-weight: 600; color: var(--ink); background: #FBFCFD; }
table.data-table tbody tr:last-child th, table.data-table tbody tr:last-child td { border-bottom: 0; }
.src-badge {
  display: inline-block; padding: 2px 8px;
  background: var(--mint-weak); border: 1px solid var(--mint-line);
  border-radius: 6px; color: var(--mint-dark);
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}

/* 링크 목록 */
.link-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.link-list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.55; }
.link-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: #B9D4FF;
}
.link-list a { font-weight: 500; color: #1B64DA; }
.link-list a:hover { color: var(--brand); text-decoration: underline; }

.related {
  margin-top: 40px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.related h2 { margin: 0 0 14px; padding: 0; border: 0; font-size: 18px; }
.related .link-list { margin-bottom: 0; }

/* 정보 수정 제보 (공개 댓글 없음 · 메일 단방향) */
.report-box {
  margin: 34px 0 0; padding: 16px 18px;
  background: #FAFBFC; border: 1px solid #E8EBEE; border-radius: 12px;
}
.report-title { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.report-text { margin: 0 0 10px; font-size: 12.5px; line-height: 1.65; color: var(--ink-4); }
.report-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.report-btn {
  display: inline-flex; padding: 7px 12px;
  background: #fff; border: 1px solid #DDE3EA; border-radius: 7px;
  color: var(--ink-3); font-size: 12.5px; font-weight: 600;
}
.report-btn:hover { border-color: #C4CEDA; color: var(--ink); text-decoration: none; }
.report-foot span { font-size: 12px; color: var(--ink-4); }

/* 제휴 혜택(일본면세쿠폰·어시스트카드) — 관련 문답 하단 */
.benefit-box {
  margin: 22px 0 0; padding: 18px 20px;
  background: #F7FBF8; border: 1px solid #DCEDE2; border-radius: 14px;
}
.benefit-head { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: #2F7A4E; }
.benefit-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.benefit-list a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; background: #fff;
  border: 1px solid #DCEADF; border-radius: 10px; color: var(--ink);
}
.benefit-list a:hover { border-color: #9FD2B0; text-decoration: none; }
.benefit-list strong { font-size: 14px; font-weight: 700; }
.benefit-list a span { font-size: 12.5px; color: var(--ink-4); }

/* -------------------------------------------------------------------------
   아시아엔조이 상품 카드 (마리트/하나투어 스타일)
   ------------------------------------------------------------------------- */
.product-card {
  display: grid; grid-template-columns: 190px 1fr;
  margin: 48px 0 8px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.pc-thumb {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  padding: 24px 22px;
  background: #EFF4FA;
}
.pc-thumb span { font-size: 11.5px; font-weight: 600; color: #6B7C8F; }
.pc-thumb strong { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; color: #1B3A5C; }
.pc-thumb em { font-style: normal; font-size: 12px; color: #6B7C8F; margin-top: 6px; }
.pc-body { padding: 22px 24px; }
.pc-tag { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: #6B7C8F; }
.pc-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--ink); }
.pc-text { margin: 0 0 12px; font-size: 14px; line-height: 1.62; color: var(--ink-3); }
.pc-info { margin: 0 0 16px; font-size: 12.5px; color: var(--ink-4); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pc-note { font-size: 12.5px; color: var(--ink-4); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px; border-radius: 8px;
  background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 600;
}
.cta-btn:hover { background: var(--brand-dark); text-decoration: none; }

/* -------------------------------------------------------------------------
   허브 · 기본정보 · 도시 · 시즌
   ------------------------------------------------------------------------- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 26px; }
.quick-card {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.quick-card:hover {
  border-color: #C9D6E4;
  box-shadow: 0 4px 12px rgba(23, 32, 46, .06); text-decoration: none;
}
.quick-card span { font-size: 12px; font-weight: 600; color: var(--ink-4); }
.quick-card strong { font-size: 15px; font-weight: 700; }

.shop-link { margin: 10px 0 28px; }
.shop-link a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 14px; border-radius: 8px;
  background: #F7F9FB; border: 1px solid #E1E7EE;
  color: var(--ink-3); font-weight: 600; font-size: 13.5px;
}
.shop-link a:hover { border-color: #C9D6E4; color: var(--ink); text-decoration: none; }

.featured { margin-top: 8px; }
.featured h2 { margin-top: 30px; }

.toc { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.toc h2 { margin: 0 0 16px; padding: 0; border: 0; font-size: 20px; }
.toc h3 { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 15px; color: var(--ink-3); }
.toc details.toc-group {
  margin: 0 0 10px; padding: 13px 16px;
  background: #FBFCFD; border: 1px solid var(--line); border-radius: 12px;
}
.toc details.toc-group > summary {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  list-style: none; font-size: 15px; font-weight: 600; color: var(--ink-3);
}
.toc details.toc-group > summary::-webkit-details-marker { display: none; }
.toc details.toc-group > summary::before { content: "＋"; color: var(--brand); font-size: 13px; font-weight: 700; }
.toc details.toc-group[open] > summary::before { content: "－"; }
.toc details.toc-group[open] > summary { margin-bottom: 10px; }
.toc details.toc-group .link-list { margin-bottom: 0; }

.count {
  display: inline-block; min-width: 24px; padding: 0 7px;
  background: var(--line-soft); border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--ink-4); text-align: center;
}

.longtail { margin-top: 38px; }
.longtail details {
  margin-bottom: 10px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.longtail summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.longtail details[open] summary { margin-bottom: 4px; }
.longtail ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14.5px; }
.longtail li { margin: 0; padding: 8px 0; border-top: 1px solid var(--line-soft); color: var(--ink-3); }
.longtail li a { color: #1B64DA; }

.example {
  padding: 12px 16px; background: var(--line-soft);
  border-left: 3px solid #B9D4FF; border-radius: 0 10px 10px 0;
  font-size: 15px; color: var(--ink-2);
}

/* -------------------------------------------------------------------------
   공용 요소
   ------------------------------------------------------------------------- */
blockquote {
  margin: 18px 0; padding: 14px 18px;
  background: var(--line-soft); border-left: 4px solid #CBD5E1;
  border-radius: 0 10px 10px 0; color: var(--ink-3);
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em; background: var(--line-soft);
  padding: 2px 6px; border-radius: 6px; color: #B42318;
}
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0 0 36px; }
.stat { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.stat strong { display: block; font-size: 24px; color: var(--brand); letter-spacing: -.02em; }
.stat span { font-size: 12.5px; color: var(--ink-4); }

/* -------------------------------------------------------------------------
   푸터
   ------------------------------------------------------------------------- */
.site-footer {
  margin-top: 56px; padding: 42px 0 36px;
  background: #fff; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-4);
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 32px; }
.foot-logo { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--ink); flex-wrap: wrap; }
.foot-logo strong { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.foot-logo small { font-size: 11.5px; color: var(--ink-4); }
.foot-tagline { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-3); }
.foot-note { margin: 0; font-size: 12px; color: var(--ink-5); }
.foot-col h3 { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--ink-3); font-size: 13.5px; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.foot-bottom p { margin: 0 0 6px; }
.foot-disclaimer { font-size: 12px; color: var(--ink-5); }
.foot-bottom a { color: var(--ink-3); }
.foot-copy { margin-top: 12px; font-size: 12px; color: var(--ink-5); }

/* -------------------------------------------------------------------------
   반응형
   ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { gap: 12px; }
  .search-box { max-width: 380px; }
}

@media (max-width: 900px) {
  .head-nav { display: none; }
  .site-header .search-box { display: none; }
  .search-toggle { display: grid; }
  .site-header.search-open .header-inner { flex-wrap: wrap; padding-bottom: 14px; }
  .site-header.search-open .search-box {
    display: flex; order: 5; width: 100%; max-width: none;
    margin: 2px 0 0; height: 46px;
  }
  .header-inner { min-height: 64px; }
  .quick-menu { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .wrap.narrow { width: calc(100% - 28px); }
  main { padding: 2px 0 48px; }
  .hero { margin-top: 14px; padding: 42px 16px 34px; border-radius: 20px; }
  .hero h1 { font-size: 29px; }
  .pc-only { display: none; }
  .hero-sub { font-size: 15.5px; margin-bottom: 22px; }
  .hero .search-box { height: 54px; border-radius: 14px; }
  .hero .search-submit { height: 42px; padding: 0 18px; font-size: 15px; }
  .hero .search-icon { width: 46px; }
  .hero .search-input { font-size: 15.5px; }
  .hero-stats { margin-top: 20px; font-size: 12.5px; }
  .section { margin: 36px 0; }
  .top-list { grid-template-columns: minmax(0, 1fr); }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .country-card { padding: 16px 14px; }
  .qi-icon { width: 50px; height: 50px; font-size: 24px; }
  .quick-menu { padding: 20px 10px; gap: 10px 2px; }
  .tabs { padding: 14px 12px 16px; }
  .tab-list { gap: 6px; }
  .tab-btn { padding: 8px 12px; font-size: 13.5px; }
  h1 { font-size: 25px; }
  h2 { font-size: 19px; margin-top: 32px; }
  .section-head h2 { font-size: 20px; }
  .q-head { gap: 12px; }
  .q-badge { width: 38px; height: 38px; font-size: 19px; border-radius: 10px; }
  .answer-box { padding: 18px; border-radius: 15px; }
  .answer-box p { font-size: 16px; }
  .article-body p { font-size: 16px; }
  .table-wrap { margin-left: 0; margin-right: 0; }
  table.data-table { font-size: 14px; }
  table.data-table th, table.data-table td { padding: 10px 11px; }
  table.data-table tbody th { width: 33%; }
  .product-card { grid-template-columns: 1fr; }
  .pc-thumb {
    flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 8px;
    padding: 16px 18px;
  }
  .pc-thumb span { font-size: 11px; }
  .pc-thumb strong { font-size: 19px; }
  .pc-thumb em { margin: 0 0 0 auto; font-size: 11.5px; }
  .pc-body { padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .foot-brand-col { grid-column: auto; }
  .about-inner { flex-direction: column; gap: 12px; }
  .related, .toc { padding: 18px; }
  .breadcrumb { margin-top: 14px; }
  .q-meta { font-size: 12px; }
}

@media (max-width: 420px) {
  .country-grid { grid-template-columns: 1fr; }
  .quick-menu { grid-template-columns: repeat(4, 1fr); }
  .chips { gap: 6px; }
  .chip { padding: 6px 10px; font-size: 12.5px; }
  .site-header.search-open .search-box .search-submit { padding: 0 12px; }
}

@media print {
  .site-header, .site-footer, .search-box, .product-card, .related, .skip-link,
  .search-toggle, .chips, .tabs { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  main { padding: 0; }
  a { color: #000; text-decoration: underline; }
}

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