/* ===========================================================
   Public app: THE WEATHER BAND UNDER THE HEADER, on every page (round frontend/1b, 2026-11-13;
   frontend-rules.md 1.11; the owner: the band is part of the header, and the header is the same on every
   page). The markup is frontend/views/layouts/_band.php and _strip.php.

   Lifted BYTE FOR BYTE from the weather page's own stylesheet (web/static/weather/idojaras-page.css, rounds
   weather/8 to weather/15), the blocks the band needs, so it looks on every page exactly as it did on the
   weather page:
     A. the weather icon set's tokens (light, dark, on-blue) and the shared level bar;
     B. the strip in the bar (.wxStrip, .wxChip, .chip-0 to .chip-4);
     C. the mobile strip (.mobStrip), directly under the header below 1101 px;
     D. the strip's wrapper (.fpwx);
     E. what the band needs on a page that has no weather stylesheet: the hidden label (.srOnly) and no
        native hint on an icon.
   Then F, the band inside the shared header (.fpx, fp-header.css): the bar keeps the weather page's 36 px
   and hides below 1101 px, where the mobile strip takes its place (the weather page's own rule, which the
   design's .fpx .breadcrumbs would otherwise override).
   The colour of a chip is never its only signal: the icon set's level bar counts the level (the owner is
   colour-blind; the bar's segments are countable without colour).
   =========================================================== */

/* ---------- A. the weather icon set's tokens (idojaras-page.css section 2) ---------- */
:root{
  /* ---- weather icon set v4 (idojaras-ikonkeszlet.js) ---- */
  --fp-wx-ink:#4a5a78;
  --fp-wx-cloud:#a9b8d4;
  --fp-wx-cloud-hi:#d3dcee;
  --fp-wx-cloud-dark:#7a8db4;
  --fp-wx-cloud-dark-hi:#9aabca;
  --fp-wx-sun:#f5b400;
  --fp-wx-sun-hi:#ffd75e;
  --fp-wx-moon:#93a6c8;
  --fp-wx-moon-hi:#bdcce6;
  --fp-wx-moon-shade:#6d82ab;
  --fp-wx-moon-dark:#4a577a;
  --fp-wx-rain:#3f6cba;
  --fp-wx-rain-hi:#7d9dd8;
  --fp-wx-ice:#6d8bc4;
  --fp-wx-alert:#e6050d;
  --fp-wx-dust:#a0703a;
  --fp-wx-leaf:#2e7d32;
  --fp-wx-petal:#7bc24a;
  --fp-wx-front-cold:#2f5aa8;
  --fp-wx-front-warm:#df4a32;
  --fp-wx-front-none:#7c879b;
  --fp-wx-lvl-off:#cfd9ec;
  --fp-wx-lvl-0:#7c879b;
  --fp-wx-lvl-1:#1f8a3a;
  --fp-wx-lvl-2:#c98209;
  --fp-wx-lvl-3:#df4a32;
  --fp-wx-lvl-4:#9d1d1d;
}
[data-theme="dark"]{
  /* ---- weather icon set v4, dark ---- */
  --fp-wx-ink:#c3cee6;
  --fp-wx-cloud:#8194bb;
  --fp-wx-cloud-hi:#aab8d6;
  --fp-wx-cloud-dark:#5c6d94;
  --fp-wx-cloud-dark-hi:#7a8bb0;
  --fp-wx-sun:#ffc61a;
  --fp-wx-sun-hi:#ffe28a;
  --fp-wx-moon:#e9eefb;
  --fp-wx-moon-hi:#ffffff;
  --fp-wx-moon-shade:#bcc8e2;
  --fp-wx-moon-dark:#2c3450;
  --fp-wx-rain:#7ea6ea;
  --fp-wx-rain-hi:#a9c4f2;
  --fp-wx-ice:#a9bde3;
  --fp-wx-alert:#ff5257;
  --fp-wx-dust:#d09a5c;
  --fp-wx-leaf:#6dbf73;
  --fp-wx-petal:#4f9e33;
  --fp-wx-front-cold:#8fb0e8;
  --fp-wx-front-warm:#ff8b76;
  --fp-wx-front-none:#97a2b8;
  --fp-wx-lvl-off:#3a4560;
  --fp-wx-lvl-0:#97a2b8;
  --fp-wx-lvl-1:#45c46a;
  --fp-wx-lvl-2:#f0b429;
  --fp-wx-lvl-3:#ff8b76;
  --fp-wx-lvl-4:#ff5a5a;
}
/* icons placed on the brand blue header / hero strip */
.wx-on-blue{
  --fp-wx-ink:#dbe4f5;
  --fp-wx-cloud:#ffffff;
  --fp-wx-cloud-hi:#ffffff;
  --fp-wx-cloud-dark:#b9c9e6;
  --fp-wx-cloud-dark-hi:#d6e0f2;
  --fp-wx-sun:#ffd23b;
  --fp-wx-sun-hi:#fff0a8;
  --fp-wx-moon:#ffffff;
  --fp-wx-moon-hi:#ffffff;
  --fp-wx-moon-shade:#ccd8ef;
  --fp-wx-moon-dark:#1b2b4d;
  --fp-wx-rain:#a8c4f0;
  --fp-wx-rain-hi:#cfdef8;
  --fp-wx-ice:#cfdcf5;
  --fp-wx-alert:#ff8d8d;
  --fp-wx-dust:#e3b784;
  --fp-wx-leaf:#8fd694;
  --fp-wx-petal:#b3e58a;
  --fp-wx-front-cold:#b9cdf2;
  --fp-wx-front-warm:#ff9d88;
  --fp-wx-front-none:#b3bccd;
  --fp-wx-lvl-off:#2b4478;
}
/* shared level bar: countable without colour */
svg.lv rect.lv-on{fill:currentColor}
svg.lv rect.lv-off{fill:currentColor;opacity:.22}


/* ---------- B. the strip in the bar (idojaras-page.css section 3) ---------- */
.breadcrumbs .container{flex-wrap:nowrap;gap:14px}
/* a .right ket gyereke (idojaras-sav es nevnap) sor-elrendezest kap:
   nelkule inline folyoban allnak, ket sorra esnek, es a p sajat
   margoja tolja szet oket a 36 px-es savban */
.breadcrumbs .right{display:flex;align-items:center;gap:14px;min-width:0;flex:0 1 auto}
.breadcrumbs .right .date{margin:0;white-space:nowrap;flex:none}
.wxStrip{display:inline-flex;align-items:center;gap:10px;border-right:1px solid var(--fp-divider);padding-right:12px;height:35px;min-width:0;text-decoration:none}
:is(.wxStrip,.mobStrip) .nowIcon{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--fp-fg);text-transform:none;letter-spacing:0;font-weight:600}
:is(.wxStrip,.mobStrip) .nowIcon svg{width:20px;height:20px;flex:none}
:is(.wxStrip,.mobStrip) .nowIcon b{font-size:15px;font-weight:700}
:is(.wxStrip,.mobStrip) .nowIcon .loc{opacity:.7;font-weight:500;white-space:nowrap}
:is(.wxStrip,.mobStrip) .seg{display:inline-flex;align-items:center;gap:5px;font-size:14px;color:var(--fp-fg-muted);text-transform:uppercase;letter-spacing:.5px;font-weight:600}
:is(.wxStrip,.mobStrip) .seg svg{width:15px;height:15px;flex:none}
:is(.wxStrip,.mobStrip) .seg .hi{color:var(--fp-orange);font-weight:700}
:is(.wxStrip,.mobStrip) .seg .lo{color:var(--fp-light-blue);font-weight:700}
[data-theme="dark"] :is(.wxStrip,.mobStrip) .seg .lo{color:var(--fp-link)}
.wxChip{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 7px;border-radius:4px;line-height:1;flex:none}
.wxChip svg{width:20px;height:20px;flex:none}
.wxChip svg.lv{width:15px;height:15px}
.chip-0{background:rgba(124,135,155,.14);color:#5d6779}
.chip-1{background:rgba(31,138,58,.12);color:#1a7332}
.chip-2{background:rgba(201,130,9,.18);color:#8a6011}
.chip-3{background:rgba(223,74,50,.13);color:#c33e28}
.chip-4{background:rgba(157,29,29,.14);color:#9d1d1d}
[data-theme="dark"] .chip-0{color:#a8b2c4}[data-theme="dark"] .chip-1{color:#74d18d}
[data-theme="dark"] .chip-2{color:#e6bd5c}[data-theme="dark"] .chip-3{color:#f0937c}
[data-theme="dark"] .chip-4{color:#e88787}
@media (max-width:1290px){.wxStrip .nowIcon .loc{display:none}}

/* ---------- C. the mobile strip (idojaras-page.css section 3) ---------- */
/* the mobile strip: the design's sticky strip below 1100 px (fp-header.css 284-293), one row of 38 px
   that scrolls sideways under a fading edge, the place name and (below 700 px) the high and low hidden */
.mobStrip{display:none;align-items:center;gap:8px;height:38px;padding:0 12px;background:var(--fp-bg-surface);border-bottom:1px solid var(--fp-divider);box-shadow:0 2px 6px rgba(0,0,0,.06);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;mask-image:linear-gradient(to right,#000 94%,transparent);-webkit-mask-image:linear-gradient(to right,#000 94%,transparent)}
.mobStrip::-webkit-scrollbar{display:none}
.mobStrip>*{flex:none}
.mobStrip .nowIcon .loc{display:none}
.mobStrip .wxChip{padding:0 6px}
@media (max-width:1100px){.mobStrip{display:flex}}
@media (max-width:700px){.mobStrip .seg{display:none}}

/* ---------- D. the strip's wrapper (idojaras-page.css section 4) ---------- */
.fpwx.fpwx-nav{position:relative;display:flex;align-items:center;min-width:0}
.fpwx svg{pointer-events:none}
.fpwx .wxStrip:hover .nowIcon b{color:var(--fp-link)}


/* ---------- E. a page without the weather stylesheet ---------- */
.srOnly{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
svg.wx-svg,svg.lv{pointer-events:none}

/* ---------- F. the band inside the shared header (.fpx, fp-header.css) ---------- */
.fpx .breadcrumbs.fpBand .container{height:36px}
.fpx .breadcrumbs.fpBand .right{gap:14px}
/* #296: the strip stands on the left, the date with the name day on the right (the design's
   .weather has no divider there) */
.fpx .breadcrumbs.fpBand .wxStrip{border-right:0;padding-right:0}
@media (max-width:1100px){.fpx .breadcrumbs.fpBand{display:none}}
