/* Styles for the static pages in /places/. The map app has its own sheet (app.css). */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/outfit-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 97%; ascent-override: 103%; descent-override: 26.8%; line-gap-override: 0%; }
:root { --ink: #15202b; --muted: #5a6876; --line: #dbe3ea; --bg: #ffffff; --panel: #f4f7fa; --resort: #2c66d0; --good: #1a7a4a; --page: #e6ebf0; color-scheme: light; }
* { box-sizing: border-box; }
html { background: var(--page); }
/* The content sits in one white column down the middle of a tinted page. */
body { margin: 0 auto; max-width: 900px; min-height: 100vh; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 0 40px rgba(15, 30, 50, .08); color: var(--ink); font: 16px/1.55 "Outfit", "Outfit Fallback", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--resort); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 16px; align-items: center; font-size: 15px; flex-wrap: wrap; }
.top nav a { text-decoration: none; }
.top .go, .btn { background: var(--resort); color: #fff; padding: 8px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; display: inline-block; }
main { padding: 20px 20px 40px; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 8px 0 12px; text-wrap: balance; }
h2 { font-size: 22px; line-height: 1.2; margin: 32px 0 10px; }
h3 { font-size: 17px; margin: 18px 0 8px; }
.lead { font-size: 19px; line-height: 1.45; color: var(--ink); }
.lead b { color: var(--good); }
.crumbs { font-size: 14px; color: var(--muted); margin: 0; }
.crumbs a { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
td small { display: block; color: var(--muted); font-size: 13px; }
td b { color: var(--good); }
.facts th { width: 34%; color: var(--muted); font-weight: 600; font-size: 14px; }
.chips { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); text-decoration: none; color: var(--ink); font-size: 15px; }
footer { border-top: 1px solid var(--line); padding: 20px; color: var(--muted); font-size: 14px; }
footer p { margin: 4px 0; }
@media (max-width: 560px) { table.priced th:nth-child(3), table.priced td:nth-child(3) { display: none; } }

/* The country table: on a phone each row becomes its own block, with the four countries listed under the heading. */
table.compare th small { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) {
  table.compare, table.compare tbody, table.compare tr, table.compare th, table.compare td { display: block; width: auto; }
  table.compare thead { display: none; }
  table.compare tr { padding: 14px 0 8px; border-bottom: 1px solid var(--line); }
  table.compare th[scope="row"] { padding: 0 0 6px; border: 0; font-size: 16px; color: var(--ink); text-transform: none; letter-spacing: 0; }
  table.compare td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; }
  table.compare td::before { content: attr(data-label); color: var(--muted); }
  table.compare td.best { font-weight: 600; }
}
/* Tighter lines in the first column of the country table. */
table.compare th[scope="row"] { line-height: 1.25; }
table.compare th small { line-height: 1.3; margin-top: 3px; }
table.compare td { line-height: 1.3; }

/* head to head pages */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
figure.photo { margin: 0; }
figure.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: #dfe6ee; }
figure.photo figcaption, .credit { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 6px; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 14px 0 0; border-radius: 10px; overflow: hidden; background: #0e1a2b; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
details.transcript { margin: 8px 0 16px; font-size: 14px; }
details.transcript summary { cursor: pointer; color: var(--muted); }
ul.vs { list-style: none; padding: 0; margin: 8px 0 18px; }
ul.vs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line, #dfe6ee); flex-wrap: wrap; }
ul.vs li span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .photos { grid-template-columns: 1fr; } }

/* sources, citing and ski maps */
aside.cite { max-width: 100%; margin: 28px 0 0; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--panel); font-size: 13px; line-height: 1.5; color: var(--muted); }
aside.cite p { margin: 0 0 8px; }
aside.cite p:last-child { margin: 0; overflow-wrap: anywhere; }
ul.maplinks { padding-left: 20px; }
ul.maplinks li { margin: 6px 0; }
ul.maplinks span { color: var(--muted); font-size: 14px; }
code { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--panel); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }

/* The map button that stays at the bottom of the screen. */
.fab-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center; padding: 0 16px 16px; pointer-events: none; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.fab { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--resort); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 18px rgba(15, 30, 50, .35); }
.fab:hover, .fab:focus-visible { background: #2457b4; }
footer { padding-bottom: 88px; }
@media print { .fab-bar { display: none; } }

.todo { padding-left: 20px; }
.todo li { margin: 8px 0; }
.stay-links { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 8px; }
.stay-links a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-decoration: none; color: var(--ink); }
.stay-links a:hover, .stay-links a:focus-visible { border-color: var(--resort); }
.stay-links b { font-size: 16px; }
.stay-links .lvl { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
.stay-links span { grid-column: 1; font-size: 14px; color: var(--muted); }
.stay-links i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--resort); }

.chips.features li span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 15px; }
.mapbtn { display: inline-block; padding: 12px 18px; border-radius: 999px; background: var(--resort); color: #fff; font-weight: 600; text-decoration: none; }
.mapbtn:hover, .mapbtn:focus-visible { background: #2457b4; }
