/* /ski: the directory of ski areas as OpenStreetMap maps them (25 Oct 2026). The hub is short (the countries as chips); a country's page is a find box and a list;
   an area's page is its figures, a line drawing of its lifts, pistes and trails (replaced by a map on request) and a pointer to its own website. Uses the site's own colours
   (--paper, --ink, --pine, --ochre, --line) and the walks' page head; every line differs by PATTERN as well as colour, and everything that points one way uses logical
   properties so Hebrew and Arabic mirror by themselves (the page's wrapper carries dir="rtl"). */

.ski-page {
  --sk-novice: #1E7F4F;
  --sk-easy: #2563C9;
  --sk-intermediate: #C23B2A;
  --sk-advanced: #1C201D;
  --sk-expert: #1C201D;
  --sk-other: #7A7B70;
  --sk-lift: #3B2F1C;
  --sk-nordic: #7A3E9D;
  --sk-touring: #C26A00;
}
html[lang=ko] .ski-page { word-break: keep-all; }

.sk-head .sk-place { margin: 0; font-size: 1rem; color: var(--muted); }
.sk-coverage { margin: 8px 0 0; font-size: .95rem; color: var(--ink-soft); }
.sk-sec { margin-top: 36px; }
.sk-sec h2 { font-size: clamp(20px, 2.4vw, 25px); line-height: 1.2; margin: 0 0 14px; text-wrap: balance; }
.sk-small { margin: 10px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }

/* ---- the countries as chips (the hub) */
.sk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.sk-chips a { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 22px; border-radius: 999px; background: #E4EBDF; border: 1px solid transparent; color: var(--ink); text-decoration: none; font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.sk-chips b { font-weight: 600; font-size: .84em; color: var(--muted); font-variant-numeric: tabular-nums; }
.sk-chips a:hover, .sk-chips a:focus-visible { background: #D8E3D2; border-color: var(--pine); }
.sk-chips a:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

/* ---- a country's list */
.sk-find { margin: 18px 0 8px; display: grid; gap: 10px; }
.sk-find label { font-weight: 600; font-size: .95rem; }
.sk-find input { width: 100%; max-width: 30rem; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); }
.sk-find input:focus-visible { outline: 2px solid var(--pine); outline-offset: 1px; border-color: var(--pine); }
.sk-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-kind { min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .93rem; cursor: pointer; }
.sk-kind b { margin-inline-start: .35em; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sk-kind[aria-pressed=true] { background: var(--pine); border-color: var(--pine); color: #fff; }
.sk-kind[aria-pressed=true] b { color: rgba(255, 255, 255, .85); }
.sk-kind:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
.sk-status { margin: 0; min-height: 1.3em; font-size: .9rem; color: var(--muted); }
.sk-region-sec { margin-top: 28px; }
.sk-region-sec h2 { font-size: 1.2rem; margin: 0 0 6px; padding-block-end: 6px; border-block-end: 1px solid var(--line); }
.sk-region-sec h2 span { font-size: .8em; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; margin-inline-start: .4em; }
.sk-rowlist { list-style: none; padding: 0; margin: 0; }
.sk-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr); gap: 2px 18px; align-items: baseline; padding: 11px 2px; border-block-end: 1px solid var(--line-soft); content-visibility: auto; contain-intrinsic-size: auto 52px; }
.sk-row[hidden] { display: none; }
.sk-name { font-weight: 600; color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.sk-name:hover, .sk-name:focus-visible { color: var(--pine); text-decoration-color: var(--pine); }
.sk-region { grid-column: 1; font-size: .86rem; color: var(--muted); }
.sk-figs { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .92rem; color: var(--ink-soft); }
.sk-fig b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .sk-row { grid-template-columns: 1fr; }
  .sk-figs { grid-column: 1; grid-row: auto; }
}

/* ---- an area's page */
.sk-notice { margin: 16px 0 0; padding: 14px 16px; border-inline-start: 4px solid var(--ochre); background: var(--paper-2); border-radius: 0 10px 10px 0; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
[dir=rtl] .sk-notice { border-radius: 10px 0 0 10px; }
.sk-site { display: inline-block; margin-top: 6px; color: var(--pine); font-weight: 600; word-break: break-all; }
.sk-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 22px; }
.sk-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 18px; min-width: 0; }
.sk-card h2 { font-size: .95rem; margin: 0 0 6px; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
.sk-big { margin: 0 0 8px; font-size: 2.1rem; line-height: 1.1; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.sk-big small { font-size: .5em; font-weight: 600; color: var(--muted); }
.sk-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sk-rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .94rem; color: var(--ink-soft); }
.sk-rows b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sk-rows-big li { font-size: 1.02rem; }
.sk-also { margin: 14px 0 0; font-size: .95rem; color: var(--ink-soft); }
/* the dot beside a difficulty: colour and shape together */
.sk-dot { display: inline-block; width: .8em; height: .8em; margin-inline-end: .55em; background: var(--sk-other); border-radius: 50%; }
.sk-dh-novice { background: var(--sk-novice); }
.sk-dh-easy { background: var(--sk-easy); border-radius: 2px; }
.sk-dh-intermediate { background: var(--sk-intermediate); border-radius: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.sk-dh-advanced { background: var(--sk-advanced); border-radius: 0; clip-path: polygon(50% 6%, 100% 94%, 0 94%); }
.sk-dh-expert { background: var(--sk-expert); border-radius: 0; clip-path: polygon(0 6%, 50% 94%, 100% 6%, 50% 40%); }
.sk-dh-other { background: transparent; border: 2px solid var(--sk-other); }

/* ---- the map: a line drawing, with the interactive map on request */
.sk-map { position: relative; width: 100%; min-height: 260px; border: 1px solid var(--line); border-radius: 14px; background: #EEF1E9; overflow: hidden; }
.sk-map.sk-live { height: clamp(320px, 62vh, 540px); }
.sk-svg { display: block; width: 100%; height: auto; }
.sk-l { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sk-d_novice { stroke: var(--sk-novice); stroke-width: 2; }
.sk-d_easy { stroke: var(--sk-easy); stroke-width: 2; }
.sk-d_intermediate { stroke: var(--sk-intermediate); stroke-width: 2.2; }
.sk-d_advanced { stroke: var(--sk-advanced); stroke-width: 2.4; }
.sk-d_expert { stroke: var(--sk-expert); stroke-width: 2.6; stroke-dasharray: 7 3; }
.sk-d_other { stroke: var(--sk-other); stroke-width: 1.8; stroke-dasharray: 1.5 4; }
.sk-lift { stroke: var(--sk-lift); stroke-width: 3; stroke-dasharray: 9 4; stroke-linecap: butt; }
.sk-nordic { stroke: var(--sk-nordic); stroke-width: 1.8; }
.sk-skitour { stroke: var(--sk-touring); stroke-width: 1.8; stroke-dasharray: 2 4; }
.sk-area { stroke: #9A9B90; stroke-width: 1.4; }
.sk-sled, .sk-connection, .sk-park { stroke: #A8A99D; stroke-width: 1.2; }
.sk-mapshow { position: absolute; inset-block-end: 12px; inset-inline-end: 12px; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--pine); border-radius: 999px; background: #fff; color: var(--pine); font: inherit; font-weight: 700; cursor: pointer; }
.sk-mapshow:hover { background: #F4F7F1; }
.sk-mapshow:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
.sk-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 12px 0 0; font-size: .88rem; color: var(--ink-soft); }
.sk-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sk-sw { display: block; }
.sk-mapcredit { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.sk-mapfail { padding: 20px; color: var(--muted); }

.sk-app p { margin: 0 0 14px; }
.sk-edit p { margin: 0; color: var(--ink-soft); }
.sk-back { margin: 30px 0 0; }
.sk-credit { margin: 14px 0 28px; font-size: .84rem; color: var(--muted); }
