/* The weather page (template 30.11.2026) — on top of home.css, list.css and place.css: the mountain read by height. */
.wx-head .kicker { margin-top: 6px; }
.wx-head h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; max-width: 16ch; }
.wx-head .lead { max-width: 70ch; }
.wx-head .lnums { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .wx-head .lnums { grid-template-columns: 1fr 1fr; } }

.wxp .src { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* now at every height: one row per point, summit first, the freezing level in its place */
.wx-now-all { background: var(--paper2); }
.hrows { list-style: none; margin: 0; padding: 0; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.hrows li { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) 90px repeat(4, minmax(0, 1fr)); align-items: center; gap: 12px 18px;
  padding: 14px 24px; border-top: 1px solid var(--line); }
.hrows li:first-child { border-top: 0; }
.hrows .pn b { display: block; font: var(--head-wt) 19px/1.15 var(--f-head); font-stretch: calc(var(--head-w) * 1%); }
.hrows .pn a { text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.hrows .pn a:hover { color: var(--accent); }
.hrows .pn span { font-size: 13.5px; color: var(--muted); }
.hrows .pc { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.hrows .ic.wi { width: 30px; height: 30px; color: var(--warm); stroke-width: 1.5; }
.hrows .tnow { font: var(--head-wt) 38px/1 var(--f-head); font-stretch: calc(var(--head-w) * 1%); letter-spacing: -.02em; }
.hrows .tnow.neg { color: var(--cold); }
.hrows .pd span { display: block; font-size: 12.5px; color: var(--muted); }
.hrows .pd b { font-weight: 650; font-size: 15.5px; }
.hrows li.fzrow { display: block; padding: 0; border-top: 0; position: relative; height: 0; }
.hrows li.fzrow span { position: absolute; left: 24px; top: -11px; z-index: 2; background: var(--paper); padding: 2px 8px; font-size: 13.5px; font-weight: 700; color: var(--cold); }
.hrows li.fzrow::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 2px dashed var(--cold); }
.hrows li.fzrow:not([hidden]) + li { border-top: 0; padding-top: 22px; }

/* hour by hour */
.wx-hours { background: var(--paper); }
.hgrid { background: var(--paper2); border-radius: var(--r); padding: 10px 18px 14px; overflow-x: auto; }
.hh, .hr { display: grid; grid-template-columns: 170px repeat(8, minmax(74px, 1fr)); gap: 6px; align-items: center; min-width: 760px; }
.hh span { font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; padding: 8px 0; }
.hr { border-top: 1px solid var(--line); padding: 10px 0; }
.hn b { display: block; font-weight: 700; font-size: 15px; }
.hn span { font-size: 12.5px; color: var(--muted); }
.hc { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hc .ic.wi { width: 26px; height: 26px; color: var(--warm); stroke-width: 1.5; }
.hc b { font: var(--head-wt) 20px/1 var(--f-head); font-stretch: calc(var(--head-w) * 1%); }
.hc .pp { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); }
.hc .pp .ic { color: var(--cold); width: 12px; height: 12px; }
.hc .pp.wet { color: var(--cold); font-weight: 700; }

/* snow */
.wx-snow { background: var(--paper2); }
.snow-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.sn-facts { background: var(--paper); border-radius: var(--r); padding: 4px 22px; grid-template-columns: 1fr; border-top: 0; }
.sn-facts li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.sn-facts li:last-child { border-bottom: 0; }
.bars-h { font-size: 17px; margin: 6px 0 16px; }
.snowbars { list-style: none; margin: 0; padding: 0; }
.snowbars li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 44px; gap: 12px; align-items: center; padding: 7px 0; }
.snowbars .sn { font-size: 14.5px; font-weight: 600; }
.snowbars .track { height: 12px; background: var(--paper); border-radius: 6px; overflow: hidden; }
.snowbars .track i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #9CC7E8, var(--cold)); border-radius: 6px; }
.snowbars b { font: var(--head-wt) 18px/1 var(--f-head); text-align: right; }

/* by month and height */
.wx-months { background: var(--paper); }
.mt-wrap { overflow-x: auto; border-radius: var(--r); }
.mt { width: 100%; border-collapse: separate; border-spacing: 3px; min-width: 900px; }
.mt th { font-size: 13px; color: var(--muted); font-weight: 700; padding: 6px 4px; }
.mt th[scope=row] { text-align: left; padding-right: 14px; white-space: nowrap; }
.mt th[scope=row] b { display: block; color: var(--ink); font-size: 14.5px; }
.mt th[scope=row] span { font-weight: 500; font-size: 12px; }
.mt td { text-align: center; padding: 8px 2px; border-radius: 5px; }
.mt td b { display: block; font-weight: 700; font-size: 14.5px; }
.mt td span { font-size: 11.5px; color: color-mix(in srgb, var(--ink) 70%, transparent); }

@media (max-width: 1080px) {
  .hrows li { grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) 76px repeat(2, minmax(0, 1fr)); }
  .hrows .pd:nth-of-type(n+3) { display: none; }
  .snow-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .hrows li { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; gap: 4px 12px; }
  .hrows .pc { grid-column: 1; grid-row: 2; font-size: 13.5px; }
  .hrows .tnow { grid-column: 2; grid-row: 1 / span 2; font-size: 32px; }
  .hrows .pd { display: none; }
  .hrows li.fzrow span { left: 16px; }
  .snowbars li { grid-template-columns: 110px minmax(0, 1fr) 36px; }
}
.mt thead th:first-child { text-align: left; }
