/* =========================================================
   EXCALCULATOR — 환율 계산기 & 여행 정보 포털
   디자인 시스템 (화이트 베이스 · 모던 · 미니멀)
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-softer: #f0f2f5;
  --border: #e6e8ec;
  --text: #15181e;
  --text-sub: #5b616e;
  --text-muted: #9aa0ab;
  --brand: #2563eb;        /* 메인 블루 */
  --brand-dark: #1d4ed8;
  --brand-soft: #eef4ff;
  --accent: #0ea5a4;       /* 포인트 틸 */
  --accent-soft: #e6faf8;
  --warn: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
  --shadow: 0 6px 24px rgba(16,24,40,.08);
  --shadow-lg: 0 16px 48px rgba(16,24,40,.12);
  --max: 1080px;
  --header-h: 60px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex; align-items: center;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 16px;
}
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  color: var(--text-sub); transition: .15s;
}
.nav a:hover { background: var(--bg-soft); color: var(--text); }
.nav a.active:not(.cta) { color: var(--brand); background: rgba(37,99,235,.08); }
.nav a.cta { background: var(--brand); color: #fff; }
.nav a.cta:hover { background: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text); padding: 4px; }

/* ---------- 환율 바 (상단 고정) ---------- */
.fx-bar {
  position: sticky; top: var(--header-h); z-index: 90;
  background: linear-gradient(180deg, var(--brand-soft), #fff);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.fx-inner { padding: 14px 20px; max-width: var(--max); margin: 0 auto; }
.fx-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.fx-field { display: flex; flex-direction: column; gap: 4px; }
.fx-field label { font-size: 12px; font-weight: 700; color: var(--text-sub); }
.fx-field.amount { flex: 1 1 180px; min-width: 140px; }
.fx-input, .fx-select {
  height: 46px; border: 1.5px solid var(--border); border-radius: 12px;
  padding: 0 14px; font-size: 16px; font-weight: 600; background: #fff; color: var(--text);
  outline: none; transition: .15s; width: 100%;
}
.fx-input:focus, .fx-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.fx-swap {
  height: 46px; width: 46px; border: 1.5px solid var(--border); background: #fff;
  border-radius: 12px; font-size: 18px; color: var(--brand); flex: 0 0 auto;
}
.fx-swap:hover { background: var(--brand-soft); }
.fx-result {
  flex: 1 1 220px; min-width: 180px; background: #fff; border: 1.5px solid var(--brand);
  border-radius: 12px; padding: 7px 16px; display: flex; flex-direction: column; justify-content: center;
}
.fx-result .big { font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: var(--brand-dark); }
.fx-result .sub { font-size: 12px; color: var(--text-muted); }
.fx-meta { margin-top: 8px; font-size: 12px; color: var(--text-muted); display: flex; gap: 10px; flex-wrap: wrap; }
.fx-chip { display: inline-flex; gap: 6px; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fx-chips button {
  border: 1px solid var(--border); background: #fff; border-radius: 999px;
  padding: 5px 11px; font-size: 12.5px; font-weight: 600; color: var(--text-sub);
}
.fx-chips button:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 섹션 공통 ---------- */
section { padding: 56px 0; }
.section-head { margin-bottom: 26px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .4px; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.6px; margin: 0 0 8px; }
.section-head p { font-size: 16px; color: var(--text-sub); margin: 0; max-width: 640px; }

/* ---------- 히어로 ---------- */
.hero { padding: 54px 0 20px; text-align: center; }
.hero h1 { font-size: clamp(30px, 6vw, 50px); font-weight: 900; letter-spacing: -1.2px; margin: 0 0 16px; line-height: 1.15; }
.hero h1 .grad { background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: var(--text-sub); max-width: 620px; margin: 0 auto 26px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px;
  border-radius: 999px; font-weight: 700; font-size: 16px; border: 1.5px solid transparent; transition: .15s;
}
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.ghost { background: #fff; border-color: var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 카드 그리드 ---------- */
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); transition: .18s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #dce0e6; }

/* 여행지 카드 */
.dest-card { cursor: pointer; overflow: hidden; padding: 0; }
.dest-card .thumb {
  height: 128px; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end; padding: 12px;
}
.dest-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.5)); }
.dest-card .thumb .flag { position: relative; z-index: 1; color: #fff; font-weight: 800; font-size: 18px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.dest-card .body { padding: 14px 16px 16px; }
.dest-card .body .cur { font-size: 13px; color: var(--text-muted); }
.dest-card .body .rate { font-weight: 700; font-size: 14.5px; margin-top: 2px; }

/* ---------- 패널 (툴) ---------- */
.panel { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--text-sub); }
.form-field select, .form-field input {
  height: 48px; border: 1.5px solid var(--border); border-radius: 12px; padding: 0 14px;
  font-size: 15px; font-weight: 600; background: #fff; color: var(--text); outline: none;
}
.form-field select:focus, .form-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.seg { display: inline-flex; background: var(--bg-softer); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: none; background: none; padding: 9px 16px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--text-sub); }
.seg button.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group button {
  border: 1.5px solid var(--border); background: #fff; border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--text-sub);
}
.chip-group button.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.chip-group button:hover { border-color: var(--brand); }

.result-links { display: grid; gap: 10px; margin-top: 18px; }
.result-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border);
  border-radius: 12px; background: #fff; transition: .15s;
}
.result-link:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateX(2px); }
.result-link .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; background: var(--brand-soft); }
.result-link .tx { flex: 1; }
.result-link .tx b { font-size: 15px; }
.result-link .tx span { display: block; font-size: 12.5px; color: var(--text-muted); }
.result-link .arrow { color: var(--text-muted); font-size: 18px; }

/* 항공권 4열 카드 그리드 */
.flight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.flight-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px 18px; border: 1.5px solid var(--border); border-radius: 16px;
  background: #fff; text-align: center; transition: .15s; position: relative;
}
.flight-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.flight-card:active { transform: scale(.97); }
.fc-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 18px; font-weight: 900; color: #fff;
}
.fc-ic.naver { background: #03c75a; }
.fc-ic.sky { background: #0770e3; }
.fc-ic.trip { background: #ff6600; }
.fc-ic.google { background: #ea4335; }
.flight-card b { font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.3; }
.fc-desc { font-size: 11.5px; color: var(--text-muted); line-height: 1.35; }
.fc-badge {
  position: absolute; top: 8px; right: 8px; background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px;
}
@media (max-width: 720px) {
  .flight-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 380px) {
  .flight-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .flight-card { padding: 16px 8px 14px; }
  .flight-card b { font-size: 13px; }
}

/* 구글 장소 카드 (숙소·맛집) */
.gplace-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gplace-card {
  padding: 16px; border: 1.5px solid var(--border); border-radius: 14px;
  background: #fff; transition: .12s;
}
.gplace-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.gp-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.gp-name { font-size: 16px; font-weight: 800; color: var(--text); }
.gp-price { font-size: 13px; font-weight: 700; color: var(--accent); }
.gp-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.gp-stars { color: #f59e0b; font-size: 15px; letter-spacing: 1px; }
.gp-score { font-size: 14px; font-weight: 800; color: var(--text); }
.gp-reviews { font-size: 12.5px; color: var(--text-muted); }
.gp-addr { font-size: 13px; color: var(--text-sub); margin-bottom: 8px; line-height: 1.45; }
.gp-links { display: flex; gap: 16px; }
.gp-links a { font-size: 13px; font-weight: 700; color: var(--brand); }

/* 지도 */
.map-frame { width: 100%; height: 380px; border: 1px solid var(--border); border-radius: var(--radius); margin-top: 16px; }

/* 항공권 특가 위젯 */
.tp-slot { min-height: 120px; }
.tp-placeholder { text-align: center; padding: 8px 4px; }
.tp-placeholder .badge { display: inline-block; background: var(--warn); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .4px; }
.fare-demo { display: grid; gap: 8px; margin: 16px auto; max-width: 620px; opacity: .85; }
.fare-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.fare-row .air { width: 38px; height: 38px; border-radius: 9px; background: var(--brand-soft); display: grid; place-items: center; font-size: 17px; flex: 0 0 auto; }
.fare-row .info { flex: 1; text-align: left; }
.fare-row .info b { font-size: 14.5px; }
.fare-row .info span { display: block; font-size: 12.5px; color: var(--text-muted); }
.fare-row .price { font-size: 17px; font-weight: 800; color: var(--brand-dark); }
.fare-row .price small { display: block; font-size: 11px; font-weight: 600; color: var(--text-muted); text-align: right; }
.setup-steps { counter-reset: s; display: grid; gap: 10px; text-align: left; max-width: 620px; margin: 18px auto 0; }
.setup-steps li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-sub); }
.setup-steps li::before { counter-increment: s; content: counter(s); flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.setup-steps a { color: var(--brand); font-weight: 700; }

/* 블로그 결과 */
.blog-embed { width: 100%; height: 520px; border: 1px solid var(--border); border-radius: var(--radius); margin-top: 16px; background: #fff; }

/* ---------- 기능 소개 ---------- */
.feature { text-align: left; }
.feature .fic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin: 0 0 6px; font-weight: 800; }
.feature p { font-size: 14.5px; color: var(--text-sub); margin: 0; }

/* ---------- 광고 슬롯 ---------- */
.ad-slot {
  margin: 28px auto; max-width: var(--max); padding: 0 20px;
  display: flex; justify-content: center;
}
.ad-slot .ad-inner { width: 100%; max-width: 970px; min-height: 90px; display: grid; place-items: center;
  border: 1px dashed var(--border); border-radius: 12px; color: var(--text-muted); font-size: 13px; background: var(--bg-soft); }

/* ---------- 콘텐츠(가이드/FAQ) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin: 36px 0 14px; letter-spacing: -.4px; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.prose p { color: var(--text-sub); margin: 0 0 14px; }
.prose ul { color: var(--text-sub); padding-left: 20px; }
.prose li { margin: 6px 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary { font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--brand); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: var(--text-sub); }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 44px 0 30px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-brand { max-width: 280px; }
.footer-brand .logo { margin-bottom: 10px; }
.footer-brand p { font-size: 13.5px; color: var(--text-muted); margin: 0; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin: 0 0 12px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-sub); padding: 4px 0; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; font-size: 12.5px; color: var(--text-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- 유틸 ---------- */
.hidden { display: none !important; }
.center { text-align: center; }
.mt-s { margin-top: 10px; } .mt-m { margin-top: 20px; } .mt-l { margin-top: 36px; }
.note { font-size: 13px; color: var(--text-muted); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }

/* ---------- 반응형 ---------- */
@media (max-width: 860px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { position: fixed; top: var(--header-h); right: 0; left: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--border); padding: 10px 16px; gap: 2px;
    box-shadow: var(--shadow); transform: translateY(-120%); transition: .22s; z-index: 95; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 10px; border-radius: 10px; }
  .nav-toggle { display: block; }
  .fx-result { flex-basis: 100%; }
}
@media (max-width: 520px) {
  .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
  .fx-field.amount { flex-basis: 100%; }
}

/* 홈 검색 히어로 */
.search-hero { padding: 56px 0 24px; text-align: center; }
.search-hero h1 { font-size: clamp(30px,6vw,48px); font-weight:900; letter-spacing:-1.1px; margin:0 0 12px; line-height:1.12; }
.search-hero h1 .grad { background:linear-gradient(120deg,var(--brand),var(--accent)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.search-hero > .wrap > p { font-size:17px; color:var(--text-sub); margin:0 auto 26px; max-width:520px; }
.dest-search { display:flex; gap:14px; max-width:560px; margin:0 auto; }
.dest-search input { flex:1; height:62px; border:2.5px solid var(--border); border-radius:16px; padding:0 22px; font-size:18px; font-weight:600; background:#fff; color:var(--text); outline:none; transition:.15s; }
.dest-search input:focus { border-color:var(--brand); box-shadow:0 0 0 4px var(--brand-soft); }
.dest-search button { height:62px; padding:0 32px; border:none; border-radius:16px; background:var(--brand); color:#fff; font-size:18px; font-weight:700; flex:0 0 auto; }
.dest-search button:hover { background:var(--brand-dark); }
.season-reco { margin-top:30px; }
.season-reco .label { display:block; font-size:14px; font-weight:700; color:var(--text-sub); margin-bottom:14px; }
.season-chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.season-chips a { display:inline-flex; align-items:center; gap:7px; padding:10px 18px; border:1.5px solid var(--border); border-radius:999px; background:#fff; font-size:15px; font-weight:700; color:var(--text); transition:.15s; }
.season-chips a:hover { border-color:var(--brand); background:var(--brand-soft); color:var(--brand-dark); transform:translateY(-1px); }
.season-chips a .c { font-size:12px; font-weight:600; color:var(--text-muted); }
@media (max-width:520px){ .dest-search{ flex-direction:column !important; gap:14px !important; } .dest-search input{ height:62px !important; font-size:19px !important; text-align:center !important; border-width:2.5px !important; min-height:62px !important; } .dest-search button{ height:62px !important; font-size:19px !important; min-height:62px !important; } }
/* ===== Toss 스타일 터치·모바일 개선 ===== */
* { -webkit-tap-highlight-color: transparent; }
.btn, .dest-search button { transition: transform .08s ease, background .15s ease; }
.btn:active, .dest-search button:active, .result-link:active, .card:active,
.season-chips a:active, .chip-group button:active, .fx-swap:active, .seg button:active { transform: scale(.97); }

/* 하단 탭바 (모바일 전용, 엄지 도달 영역) */
.tabbar { display: none; }
@media (max-width: 720px) {
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--border); justify-content: space-around;
    padding: 6px 2px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 18px rgba(16,24,40,.07);
  }
  .tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 7px 0; font-size: 11px; font-weight: 700; color: var(--text-muted); border-radius: 14px;
  }
  .tabbar a .ic { font-size: 22px; line-height: 1; }
  .tabbar a.active { color: var(--brand); }
  .tabbar a:active { transform: scale(.9); }
  body { padding-bottom: 72px; }

  /* 터치 타겟 키우기 */
  .nav a { min-height: 50px; display: flex; align-items: center; font-size: 16px; }
  .nav-toggle { min-width: 46px; min-height: 46px; }
  .chip-group button { min-height: 46px; }
  .season-chips a { min-height: 48px; }
  .result-link { min-height: 62px; }
  .seg button { min-height: 46px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  /* 여백 살짝 넉넉하게 (토스 느낌) */
  section { padding: 36px 0; }
}
/* 모바일: 환율 계산기 접기(드롭다운) */
.fx-toggle { display: none; }
@media (max-width: 720px) {
  .fx-toggle {
    display: flex; width: 100%; align-items: center; gap: 10px;
    background: none; border: none; padding: 13px 20px; font-family: inherit; cursor: pointer;
  }
  .fx-toggle .fx-toggle-label { font-weight: 800; font-size: 15px; color: var(--text); white-space: nowrap; }
  .fx-toggle .fx-toggle-val { flex: 1; text-align: right; font-weight: 700; font-size: 13.5px; color: var(--brand-dark);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fx-toggle .fx-toggle-caret { color: var(--text-muted); font-size: 13px; transition: transform .2s; flex: 0 0 auto; }
  .fx-bar.open .fx-toggle .fx-toggle-caret { transform: rotate(180deg); }
  .fx-bar .fx-inner { display: none; }
  .fx-bar.open .fx-inner { display: block; padding-top: 2px; }
}
/* ===== 여행지 상세 + 아코디언(블로그/식당 드롭다운) ===== */
.dest-hero { margin-bottom: 18px; }
.dest-back { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.dest-hero h2 { font-size: clamp(22px, 5vw, 30px); font-weight: 800; letter-spacing: -.5px; margin: 0 0 6px; }
.dest-hero p { font-size: 14px; color: var(--text-sub); margin: 0; }
.dest-sec { margin-bottom: 22px; }
.dest-sec > h3 { font-size: 17px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.3px; }

/* info tabs (horizontal tab bar replacing vertical accordion) */
.info-tabs { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
.info-tabs::-webkit-scrollbar { display: none; }
.info-tab { flex: 1 1 0; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer; white-space: nowrap; transition: .15s; text-align: center; }
@media (max-width: 520px) { .info-tab { flex: 0 0 auto; padding: 9px 14px; font-size: 13px; } }
.info-tab:hover { border-color: var(--brand); color: var(--brand); }
.info-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.info-tab-content { margin-top: 14px; }
.info-panel { display: none; border: 1px solid var(--border); border-radius: 14px; background: #fff; padding: 16px; min-height: 120px; }
.info-panel.active { display: block; }

.acc { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 16px; background: none; border: none; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--text); cursor: pointer; text-align: left; }
.acc-head:active { background: var(--bg-soft); }
.acc-caret { color: var(--text-muted); font-size: 13px; transition: transform .2s; flex: 0 0 auto; }
.acc.open .acc-caret { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 14px 16px; }
.acc.open .acc-body { display: block; }
.acc-loading { color: var(--text-muted); font-size: 14px; padding: 12px 2px; }
.acc-more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--brand); }

.post-list, .place-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.post-list li a { display: block; padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px; transition: .12s; }
.post-list li a:hover { border-color: var(--brand); }
.post-list li a:active { transform: scale(.985); }
.post-list b { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.4; }
.post-list span { display: block; font-size: 12.5px; color: var(--text-sub); line-height: 1.45; }
.post-list em { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 5px; font-style: normal; }

.place-list li { padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
.place-list .place-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.place-list .place-top b { font-size: 15.5px; font-weight: 800; }
.place-list .cat { font-size: 12px; color: var(--text-muted); }
.place-list .addr, .place-list .tel { font-size: 13px; color: var(--text-sub); margin-top: 5px; }
.place-list .tel a { color: var(--brand); font-weight: 600; }
.place-list .place-links { margin-top: 10px; display: flex; gap: 14px; }
.place-list .place-links a { font-size: 13px; font-weight: 700; color: var(--brand); }
.food-chips { margin-bottom: 14px; }
/* 모바일: 검색창·버튼 동일 비중 */
@media (max-width: 720px) {
  .dest-search { flex-direction: column !important; gap: 14px !important; max-width: 480px; }
  .dest-search input {
    width: 100% !important; height: 62px !important; font-size: 19px !important;
    font-weight: 600 !important; border-radius: 16px !important; text-align: center !important;
    border: 2.5px solid var(--border) !important; padding: 0 20px !important;
    box-sizing: border-box !important; min-height: 62px !important;
  }
  .dest-search input::placeholder { font-size: 17px !important; font-weight: 500; color: var(--text-muted); }
  .dest-search button {
    width: 100% !important; height: 62px !important; font-size: 19px !important;
    font-weight: 800 !important; min-height: 62px !important;
  }
}