/* Guide pages (trip costs, visa-free list). Built by seo/build.mjs. Uses the tokens in style.css. */
.guide a.btn, .guide .wordmark { text-decoration: none; }
.guide a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide a:hover { color: var(--orange-dark); }
.guide a.btn, .guide a.btn:hover { color: var(--card); }
.article { max-width: calc(760px + 2 * var(--gutter)); padding-block: 40px 96px; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); overflow-wrap: break-word; min-width: 0; }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }
.article h3 { font-size: 1.2rem; margin-top: 24px; }
.article section { margin-top: 56px; }
.article p { margin-top: 12px; max-width: 64ch; }
.article p.note { margin-top: 16px; }
.crumb { margin: 0 0 16px; font-size: 0.875rem; color: var(--muted); }
.answer { margin-top: 20px; padding: 20px 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font-size: 1.2rem; line-height: 1.5; max-width: none; }
.answer b { white-space: nowrap; }

.scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.article table { width: 100%; border-collapse: collapse; font-size: 0.975rem; font-variant-numeric: tabular-nums; }
.article th, .article td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.article th:first-child { text-align: left; white-space: normal; min-width: 11rem; }
.article thead th { font-weight: 700; color: var(--ink-2); background: var(--bg); }
.article tbody th { font-weight: 600; }
.article tbody tr:last-child > * { border-bottom: 0; }
.article th small, .article td small { display: block; margin-top: 2px; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.article tr.sum > * { font-weight: 700; background: var(--peach); }
.visa td { white-space: normal; }
.visa td:last-child { white-space: nowrap; font-weight: 700; }

.months { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.months li { display: grid; grid-template-columns: 6rem minmax(0, 1fr) 5.5rem 5.5rem; align-items: center; gap: 12px; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.months i { display: block; height: 16px; border-radius: var(--pill); background: var(--brown); transform: scaleX(var(--w)); transform-origin: left; }
.months b { text-align: right; }
.months em { font-style: normal; font-size: 0.85rem; color: var(--muted); }
.months .is-off i { opacity: 0.4; }
.months .is-low i { background: var(--lime); opacity: 1; }
.months .is-low b, .months .is-low em { color: var(--orange-dark); }
.months .is-high i { background: var(--ink); }

.facts { margin: 0; display: grid; gap: 12px; }
.facts div { padding: 16px 20px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 4px 0 0; color: var(--ink-2); }
.tips { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; max-width: 64ch; }
.article blockquote { margin: 24px 0 0; padding: 18px 22px; border-radius: var(--r); background: var(--peach); font: 600 1.15rem/1.4 var(--display); }
.links { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 10px 24px; }
.article p + .links { margin-top: 16px; }

.cta { margin-top: 56px; padding: 28px; border-radius: var(--r-lg); background: var(--night); color: var(--on-night); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.cta p { margin-top: 8px; color: var(--on-night-2); }
.foot .wordmark { color: var(--on-night); }
.foot a { color: var(--on-night); }

@media (max-width: 560px) {
  .months li { grid-template-columns: 4.5rem minmax(0, 1fr) 5rem; }
  .months em { grid-column: 2 / -1; margin-top: -6px; }
  .months em:empty { display: none; }
  .article th, .article td { padding: 10px 12px; }
  .article th:first-child { min-width: 8rem; }
  .visa { table-layout: fixed; }
  .visa th:first-child { min-width: 0; width: 44%; }
  .visa thead th { white-space: normal; }
  .visa thead th:nth-child(2) { width: 24%; }
  .visa th, .visa td { padding: 10px 8px; }
  .visa th:first-child { padding-left: 12px; }
  .visa td:last-child, .visa thead th:last-child { padding-right: 12px; }
}
