/* TripMori — mobile-first, system fonts, no external requests */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f7;
  --text: #1c2526;
  --muted: #5f6b6c;
  --line: #e2e8e8;
  --brand: #0f766e;
  --brand-dark: #0b5953;
  --accent: #e8590c;
  --accent-dark: #c2410c;
  --ok: #15803d;
  --warn: #b45309;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.05);
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -0.01em; }
h1 { font-size: 1.6rem; margin: .4rem 0 .8rem; }
h2 { font-size: 1.25rem; margin: 0 0 .8rem; }
h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
p { margin: 0 0 .9rem; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.article { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* header / footer */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 12px; height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; flex-shrink: 0; }
.header-search { display: flex; flex: 1; max-width: 360px; margin-left: auto; }
.header-search input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line); border-right: 0; border-radius: 19px 0 0 19px; padding: 0 12px; font: inherit; font-size: .9rem; background: var(--bg-soft); }
.header-search button { height: 38px; border: 1px solid var(--line); border-radius: 0 19px 19px 0; background: var(--bg-soft); padding: 0 12px; font: inherit; font-size: .85rem; color: var(--muted); cursor: pointer; }
.site-footer { margin-top: 48px; padding: 28px 0 40px; background: var(--bg-soft); border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }
.footer-nav a { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 700; text-decoration: none; cursor: pointer; font: inherit; font-weight: 700; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-cta { width: 100%; background: var(--accent); border-color: var(--accent); color: #fff; margin-top: auto; }
.btn-cta:hover { background: var(--accent-dark); }

/* hero */
.hero { background: linear-gradient(180deg, #e6f4f2 0%, #ffffff 100%); padding: 28px 0 20px; }
.hero h1 { font-size: 1.7rem; margin: 0 0 .4rem; }
.hero-sub { color: var(--muted); margin-bottom: 16px; }
.hero-search { display: flex; gap: 8px; margin: 12px 0; }
.hero-search input { flex: 1; min-width: 0; height: 48px; border: 2px solid var(--brand); border-radius: 12px; padding: 0 14px; font: inherit; }
.hero-label { margin: 14px 0 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.hero-chips, .link-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips a, .link-chips a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); text-decoration: none; font-size: .92rem; }
.hero-chips a:hover, .link-chips a:hover { border-color: var(--brand); color: var(--brand); }

/* sections */
.section { padding: 22px 0; border-top: 1px solid var(--line); }
.page-head { padding: 8px 0 18px; }
.breadcrumb ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin: 0 6px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.answer { background: var(--bg-soft); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 16px; margin-bottom: 14px; }
.answer p { margin: 0; font-size: 1.02rem; }
.updated { margin-top: 10px; }
.facts { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0 0 14px; }
.facts div { background: var(--bg-soft); border-radius: 10px; padding: 10px 14px; }
.facts dt { font-size: .82rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* comparison table → cards on mobile */
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: .93rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-soft); font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare tr { display: block; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 6px 4px; }
  .compare th, .compare td { display: block; border: 0; padding: 4px 10px; }
  .compare th[scope=row] { font-size: 1.05rem; }
  .compare td::before { content: attr(data-label) " · "; color: var(--muted); font-size: .82rem; }
}

/* hotels */
.price-notice { font-size: .88rem; background: #fff8eb; border: 1px solid #f5deb3; border-radius: 10px; padding: 10px 12px; color: #5c4a1f; }
.hotel-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.hotel-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.hotel-img { aspect-ratio: 3 / 2; background: var(--bg-soft); }
.hotel-img img { width: 100%; height: 100%; object-fit: cover; }
.img-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); font-size: .85rem; }
.hotel-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.hotel-name { font-size: 1.02rem; margin: 0; }
.hotel-meta { margin: 0; font-size: .85rem; color: var(--muted); display: flex; gap: 8px; }
.stars { color: #d97706; letter-spacing: 1px; }
.hotel-rating { margin: 0; font-size: .9rem; }
.hotel-rating strong { color: var(--brand); }
.hotel-price { margin: 4px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.hotel-price strong { font-size: 1.2rem; }
.hotel-price del { color: var(--muted); font-size: .85rem; }
.hotel-price .off { color: var(--accent); font-weight: 700; font-size: .88rem; }
.price-cond { width: 100%; font-size: .78rem; color: var(--muted); }
.hotel-features { list-style: none; padding: 0; margin: 2px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.hotel-features li { font-size: .76rem; background: #e6f4f2; color: var(--brand-dark); padding: 2px 8px; border-radius: 6px; }
.hotel-for { font-size: .85rem; margin: 0 0 8px; }
.hotel-for span { color: var(--muted); margin-right: 4px; }
.empty-box { border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; background: var(--bg-soft); }
.empty-box .btn-cta { width: auto; }

/* ads: space reserved to limit layout shift; clearly labelled and kept away from hotel buttons */
.ad-slot { margin: 18px 0; min-height: 100px; }
.hero + .wrap .ad-slot.ad-top { margin-top: 10px; }

/* lists */
.pros-cons { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pros, .cons { border-radius: var(--radius); padding: 12px 14px; }
.pros { background: #effaf2; } .cons { background: #fff4ed; }
.pros ul, .cons ul, .checks, .crosses, .bullets, .tips, .attractions, .airport-list { margin: 0; padding-left: 1.2em; }
.pros li, .cons li, .checks li, .crosses li, .bullets li, .tips li, .attractions li, .airport-list li { margin-bottom: 6px; }
.checks { list-style: none; padding: 0; } .checks li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.crosses { list-style: none; padding: 0; } .crosses li::before { content: "– "; color: var(--warn); font-weight: 700; }
.attractions { list-style: none; padding: 0; } .attractions li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.h3-sub { margin-top: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style-position: outside; }
.faq details p { margin-top: 0; }

/* cards */
.city-cards, .guide-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.city-card, .guide-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; box-shadow: var(--shadow); }
.city-card span, .guide-card span { font-size: .85rem; color: var(--muted); }
.city-card.is-soon { opacity: .55; box-shadow: none; background: var(--bg-soft); }
.guide-cards { grid-template-columns: 1fr; }
.tour-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tour-list a { display: flex; gap: 12px; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.tour-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.tour-text { display: flex; flex-direction: column; font-size: .9rem; }
.tour-name { font-weight: 700; }
.tour-meta { color: var(--muted); font-size: .82rem; }
.recent-list, .search-results { list-style: none; padding: 0; margin: 0; }
.recent-list li, .search-results li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.debug { white-space: pre-wrap; background: var(--bg-soft); padding: 10px; font-size: .8rem; }
.prose h2 { margin-top: 1.4rem; }

@media (min-width: 641px) {
  h1 { font-size: 2rem; }
  .hero { padding: 44px 0 28px; }
  .hero h1 { font-size: 2.2rem; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .hotel-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-cons { grid-template-columns: 1fr 1fr; }
  .city-cards { grid-template-columns: repeat(3, 1fr); }
  .guide-cards { grid-template-columns: repeat(2, 1fr); }
  .tour-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hotel-grid { grid-template-columns: repeat(3, 1fr); }
  .article .hotel-grid { grid-template-columns: repeat(2, 1fr); }
  .city-cards { grid-template-columns: repeat(4, 1fr); }
  .guide-cards { grid-template-columns: repeat(3, 1fr); }
}
.toc{margin:16px 0;padding:12px 16px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}
.toc-title{margin:0 0 6px;font-weight:700;font-size:.95rem}
.toc ol{margin:0;padding-left:1.2em;columns:2;column-gap:24px;font-size:.92rem;line-height:1.7}
.toc a{color:inherit;text-decoration:none}.toc a:hover{text-decoration:underline}
@media (max-width:600px){.toc ol{columns:1}}
