/* Harz.pl — podróbka X5 (header + hero bez tafli) */
@import url("https://fonts.googleapis.com/css2?family=Rowdies:wght@400;700&display=swap");

:root {
  --harz-granat: #112135;
  --harz-biel: #ffffff;
  --harz-granat-blady: rgba(17, 33, 53, 0.60);
  /* Sygnał „czynne / OK / zaznaczone” — jak dioda HOME (biuro czynne) */
  --harz-ziel: rgb(0, 255, 0);
  /* Sygnał „nieczynne / alarm” — dioda HOME zamknięta */
  --harz-czerwony: rgb(255, 0, 0);
  --text-scale: 1;
  /* Ikony nagłówka — od szerokości okna, nie od skryptu.
     Powyżej 600px: ikona 60px, suwadło 50×25, jeden rząd.
     Do 600px: ikona 40px, suwadło 40×20, dwa rzędy (reguła niżej). */
  --header-h: 200px;
  --icon-size: 60px;
  /* NLU: te same bokki co header — tafla = od logo do ikon */
  --harz-gutter: 20px; /* standard: zawsze 20 L = 20 P */
  --harz-page-max: 1200px; /* nagłówek i treść — wspólny max */
  /* Suwadło: 50×25 powyżej 600px; 40×20 do 600px */
  --glos-w: 50px;
  --glos-h: 25px;
  --harz-w1-top: 30px; /* tylko 2 wiersze (≤600); 1 rząd bez tej stałej */
  --harz-w2-top: 100px;
  --harz-mark: 88px;
  --harz-mark-h: 110px;
  --harz-nap-w: 131.33px;
  --harz-nap-h: 60.96px;
  --harz-brand-gap: 14.81px; /* PDF: między tarczą a napisem */
  --harz-nap-top: 18.69px; /* PDF: Kancelaria niżej; tuck → 0 (góra K = góra tarczy) */
  /* Ustawienia: koło — 1 rząd większe, przy łamaniu mniejsze */
  --ustawienia-icon: 28px;
}

/* REGZ 5: +1/+2 pt ≈ 106%/112,5% (16px). Logo SVG = px. */
/* REGZ 5: 112,5% / 125% (16px). Logo SVG = px. */
html[data-font-scale="large"] {
  --text-scale: 1.125;
}

html[data-font-scale="larger"] {
  --text-scale: 1.25;
}

html {
  font-size: calc(16px * var(--text-scale));
  /* zawsze miejsce na suwadło — bez skoku przy overflow:hidden (warstwa) */
  scrollbar-gutter: stable;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

/* —— Przejście stron (SM): sekwencja 0,5 s — zjazd → tło/zasłona → wjazd —— */
/* Nie View Transitions root (tam strony nachodzą równolegle) */
@view-transition {
  navigation: none;
}

#harz-przejscie-zaslona {
  position: fixed;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transform: translateX(100%);
}

#harz-page-shell {
  position: relative;
  z-index: 1;
  min-height: 100%;
}

#harzDoGory {
  z-index: 50;
}

html.harz-przejscie-enter body {
  overflow: hidden;
  opacity: 0;
}

html.harz-przejscie-enter.is-przejscie-ready body {
  opacity: 1;
}

html.harz-przejscie-anim body {
  overflow: hidden;
}

/* Treść między headerem a stopką — wszystkie strony */
main {
  display: block;
  min-height: 300px;
}

/* Podstrony: tafla — tytuł bliżej krawędzi (home bez zmian: 80/48) */
.harz-strona .hero__tafla {
  padding: 30px 20px; /* góra 30, L/P 20 (dół jak boki) */
}

/* Tytuł na tafli — Georgia 24 normal, biały; pod nim treść + 20 px */
.harz-strona__tytul {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(36px * var(--text-scale));
  font-weight: 700;
  color: var(--harz-biel);
  line-height: 1.3;
}

.harz-strona__budowa {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 400;
  color: var(--harz-biel);
  line-height: 1.5;
}

/*
  Blog — dwie niezależne kolumny (gazeta / X5), styl liter jak Regulamin.
  Szeroki: lewa (T1+T2) | sep | prawa (foto → T3 od razu pod spodem).
  Wąska: contents → T1 → foto → T2 → T3.
*/
.harz-blog .harz-strona__tytul {
  margin: 0 0 30px;
}

/* Drugi H3 na tej samej tafli (np. komentarz radcy) — też 36 bold */
.harz-blog .harz-strona__tytul--drugi {
  margin: 40px 0 30px;
}

.harz-blog__komentarz {
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 400;
  color: var(--harz-biel);
  line-height: 1.5;
}

.harz-blog__komentarz p {
  margin: 0 0 14px;
}

.harz-blog__komentarz p:last-child {
  margin-bottom: 0;
}

.harz-strona__podpis-foto {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.harz-blog .harz-tasma h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(18px * var(--text-scale));
  font-weight: 700;
  line-height: 1.35;
  color: var(--harz-biel);
}

/* Wyjątek: „Komentarz radcy prawnego” — Georgia 36 bold (nadpisuje H2 18 w taśmie) */
.harz-blog .harz-tasma h2.harz-blog__srodtytul {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(36px * var(--text-scale));
  font-weight: 700;
  line-height: 1.3;
  color: var(--harz-biel);
}

/* Jeden odstęp międzyakapitowy (12) przed podpisem — bez pustego akapitu + 30 */
.harz-blog .harz-tasma .harz-strona__podpis {
  margin: 12px 0 0;
}

/* Seria Anny: klawisze pod prawą kolumną (PD) — nie na całą taśmę */
.harz-blog__seria {
  order: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* Jak chrome nagłówka: granat-blady / sania głosu = var(--harz-granat-blady).
   Na ciemnej tafli bloga: ta sama alfa 0.5, tylko biel (czytelność). */
.harz-blog__seria-klawisz {
  flex: 1 1 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--harz-granat);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.harz-tasma a.harz-blog__seria-klawisz {
  color: var(--harz-granat);
  text-decoration: none;
}

.harz-blog__seria-klawisz:hover,
.harz-blog__seria-klawisz:focus-visible {
  background: rgba(255, 255, 255, 1);
  color: var(--harz-granat);
  outline: none;
}

@media (min-width: 701px) {
  .harz-blog__seria {
    order: unset;
  }
}

/* Separatory sekcji: .harz-strona__hr jak w Regulaminie (margin 20) */

.harz-tasma {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px; /* wąski: po foto bez hr — czyste 20 */
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 400;
  line-height: 1.5;
  color: var(--harz-biel);
}

/* Wąska: kolumny znikają — dzieci w kolejności z order */
.harz-tasma__lewa,
.harz-tasma__prawa {
  display: contents;
}

.harz-tasma__lg { order: 1; }
.harz-tasma__foto { order: 2; }
/* Pod zdjęciem ZAWSZE ten sam obiekt — szeroki = wąski (gap 20 + kreska) */
.harz-tasma__hr-foto {
  order: 2;
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  height: 0;
}
.harz-tasma__ld { order: 3; }
.harz-tasma__pd { order: 4; }

/* Wąski: ld zaraz po hr-foto — ukryj hr sekcji na starcie ld (bez podwójnej kreski) */
.harz-tasma__ld > .harz-strona__hr:first-child {
  display: none;
}

.harz-tasma p {
  margin: 0 0 12px;
}

.harz-tasma p:last-child {
  margin-bottom: 0;
}

/* Pusty akapit z DOCX = odstęp (jedna linia + margin jak po akapicie) */
.harz-tasma p.harz-blog__pusty {
  margin: 0 0 12px;
  min-height: 1.5em;
  line-height: 1.5;
  visibility: hidden;
  pointer-events: none;
}


.harz-tasma a {
  color: var(--harz-biel);
  text-decoration: underline;
}

.harz-tasma strong {
  font-weight: 700;
}

.harz-tasma__sep {
  display: none;
  order: 0;
}

.harz-tasma__lg,
.harz-tasma__ld,
.harz-tasma__foto,
.harz-tasma__pd {
  min-width: 0;
}

.harz-strona__foto {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  margin: 0;
  border: none;
  border-radius: 20px;
  /* Foto na ciemnej tafli: jasny ring (odcięcie) + ciemny drop (głębia) */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.50),
    0 22px 48px rgba(0, 0, 0, 0.70);
}

/* 16:9 pion = 9/16 — sylwetka / pełna postać */
.harz-strona__foto--pion {
  aspect-ratio: 9 / 16;
  object-position: center center;
}

.harz-strona__podpis {
  margin: 20px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 400;
  line-height: 1.5;
  color: var(--harz-biel);
  text-align: left;
}

@media (min-width: 701px) {
  .harz-tasma {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    column-gap: 28px;
    align-items: start;
  }

  .harz-tasma__lewa,
  .harz-tasma__prawa {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .harz-tasma__lewa {
    grid-column: 1;
    gap: 0; /* lewa: ciągły tekst + hr sekcji */
  }

  /* Opowiadanie bez hr między lg|ld: odstęp jak po akapicie (12), nie 0 */
  .harz-tasma__lg + .harz-tasma__ld:not(:has(> .harz-strona__hr:first-child)) {
    margin-top: 12px;
  }

  .harz-tasma__prawa {
    grid-column: 3;
    gap: 20px; /* jak wąski: foto / kreska / tekst */
  }

  .harz-tasma__foto,
  .harz-tasma__pd,
  .harz-tasma__lg,
  .harz-tasma__ld,
  .harz-tasma__hr-foto {
    order: unset;
  }

  .harz-tasma__foto {
    margin: 0;
  }

  .harz-tasma__pd {
    margin-top: 0;
  }

  /* Szeroki: hr między sekcjami lewej znowu widoczny */
  .harz-tasma__ld > .harz-strona__hr:first-child {
    display: block;
  }

  .harz-tasma__sep {
    display: block;
    grid-column: 2;
    width: 1px;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    align-self: stretch;
    min-height: 100%;
  }
}

/* Treść w apli (tafli) — 2 kolumny, separator jak linia 7 dni */
.harz-strona .hero__tafla .harz-strona__tresc {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.harz-strona__tresc {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 400;
  line-height: 1.5;
  color: var(--harz-biel);
}

.harz-strona__kol {
  min-width: 0;
}

.harz-strona__kol h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  line-height: 1.35;
  color: var(--harz-biel);
}

.harz-strona__kol p {
  margin: 0 0 12px;
}

.harz-strona__kol p:last-child {
  margin-bottom: 0;
}

.harz-strona__kol a {
  color: var(--harz-biel);
  text-decoration: underline;
}

.harz-strona__kol strong {
  font-weight: 700;
}

/* Separator poziomy — jak linia pod prognozą 7 dni */
.harz-strona__hr {
  display: block;
  margin: 20px 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  height: 0;
}

/* Separator pionowy — tylko szeroki ekran */
.harz-strona__sep-v {
  display: none;
}

@media (min-width: 701px) {
  .harz-strona__tresc {
    grid-template-columns: 1fr 1px 1fr;
    column-gap: 28px;
    row-gap: 0;
    align-items: stretch;
  }

  .harz-strona__sep-v {
    display: block;
    width: 1px;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    justify-self: center;
  }
}

body {
  font-family: Tahoma, Geneva, sans-serif;
  color: var(--harz-granat);
  /* Nieruchome tło jak na www: treść scrolluje po Temidzie */
  background-color: var(--harz-granat);
  background-image: url("../tlo.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* REGZ-009: mobile/touch — skała.
   document NIE scrolluje (html/body overflow:hidden); scroll tylko #harz-page-shell.
   Tło na body (cover) — bez attachment:fixed i bez 100dvh (dvh = zoom przy pasku).
   Klasa html.harz-tlo-skala ustawiana po ensureShell (JS). */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  html.harz-tlo-skala,
  html.harz-tlo-skala body {
    height: 100%;
    height: 100lvh;
    max-height: 100lvh;
    overflow: hidden;
  }

  html.harz-tlo-skala body {
    background-color: var(--harz-granat);
    background-image: url("../tlo.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  html.harz-tlo-skala body::before {
    content: none;
    display: none;
  }

  html.harz-tlo-skala #harz-page-shell {
    height: 100%;
    height: 100lvh;
    max-height: 100lvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
  }
}

/* —— Header: tło full bleed; treść max 1200 wyśrodkowana —— */
.site-header {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--harz-biel);
  border-bottom: 1px solid rgba(17, 33, 53, 0.08);
}

.site-header__inner {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--harz-page-max); /* 1200 — nie 1920; 20 L/P liczy sie w tym boxie */
  margin-left: auto;
  margin-right: auto;
  height: var(--header-h);
  display: flex;
  /* 1 rząd: brand od góry z paddingiem jak przy center; tools ↓ do „Kancelaria” */
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: calc((200px - 108px) / 2) var(--harz-gutter) 0;
}

/* INFO | Zaloguj | Ustawienia — 20×20, przerwa 15, wszystkie ekrany */
.harz-header-akcje {
  position: absolute;
  top: 20px;
  right: var(--harz-gutter);
  z-index: 6;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.harz-header-akcja {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: var(--harz-granat-blady);
  cursor: pointer;
  line-height: 0;
}

.harz-header-akcja:hover,
.harz-header-akcja:focus-visible,
.harz-header-akcja.is-active,
.harz-header-akcja[aria-expanded="true"] {
  color: var(--harz-granat);
  border: none;
  outline: none;
  box-shadow: none;
}

.harz-header-akcja__svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
  overflow: visible;
}

/* Środek głowy ludzika — ta sama zieleń i mruganie co dioda HOME */
.harz-zaloguj-dioda {
  fill: var(--harz-ziel);
  opacity: 0;
  pointer-events: none;
}

.harz-header-akcja.is-zalogowany .harz-zaloguj-dioda {
  filter: drop-shadow(0 0 3px var(--harz-ziel));
  animation: harz-kom-dioda-mrug 0.9s step-end infinite;
}

.site-header__brand {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--harz-brand-gap);
  text-decoration: none;
  color: var(--harz-granat);
  min-width: 0;
}

/* HOME: brand bez linku (span) — nie wygląda jak klikalny */
span.site-header__brand {
  cursor: default;
}

/* Tarcza + napisy SVG: zawsze px (REGZ 5 — marka poza skalą czcionki) */
.site-header__mark {
  display: block;
  width: var(--harz-mark);
  height: var(--harz-mark-h);
  flex-shrink: 0;
}

.site-header__napisy {
  display: block;
  width: var(--harz-nap-w);
  height: var(--harz-nap-h);
  margin-top: var(--harz-nap-top);
  flex-shrink: 0;
}

.site-header__tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 6px;
  flex-shrink: 0;
  /* tarcza 108, napis ~69, brand align center → napis start ≈ 20 px pod górą tarczy */
  margin-top: 20px;
}

.site-header__icons-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-header__icons-row .harz-icon {
  margin-top: 0; /* środek z suwadłem */
}

.site-header__icons {
  display: flex;
  align-items: center;
  gap: 1px; /* biała przerwa 1px między kwadratami — styl docelowy */
}

/*
  Suwadło głosowe — kształt jak Robocze (Pasieka).
  OFF: rgba tafli; ON: granat. Logika audio — później (nowy kod).
*/
.harz-glos {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  height: var(--icon-size);
}

.harz-glos-sania {
  display: block;
  position: relative;
  width: var(--glos-w);
  height: var(--glos-h);
  border-radius: calc(var(--glos-h) / 2);
  background: var(--harz-granat-blady);
  box-sizing: border-box;
}

.harz-glos-galka {
  position: absolute;
  top: 1px;
  left: 1px;
  width: calc(var(--glos-h) - 2px);
  height: calc(var(--glos-h) - 2px);
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* głośniki w gałce — osobne obiekty; obie 90% gałki (mieszczą się) */
.harz-glos-ico {
  position: absolute;
  display: block;
  pointer-events: none;
  box-sizing: border-box;
  width: 90%;
  height: 90%;
}

.harz-glos-ico path {
  fill: rgb(17, 33, 53);
}

/* OFF — zgaszony, przekreślony */
.harz-glos-ico--off {
  opacity: 0.38;
}

/* ON — wyraźny (widoczność przy aria-pressed) */
.harz-glos-ico--on {
  opacity: 0;
}

.harz-glos[aria-pressed="true"] .harz-glos-ico--on {
  opacity: 1;
}

.harz-glos[aria-pressed="true"] .harz-glos-ico--off {
  opacity: 0;
}

.harz-glos[aria-pressed="true"] .harz-glos-sania,
.harz-suwadlo[aria-pressed="true"] .harz-glos-sania {
  background: var(--harz-granat);
}

.harz-glos[aria-pressed="true"] .harz-glos-galka,
.harz-suwadlo[aria-pressed="true"] .harz-glos-galka {
  left: calc(var(--glos-w) - (var(--glos-h) - 2px) - 1px);
  background: #fff;
}

/* Suwadło poza głosem (np. pogoda w tafli) — ten sam kształt, bez mieszania stanu .harz-glos */
.harz-suwadlo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  height: var(--glos-h);
}

/* Ikony nagłówka — wielkość od szerokości okna.
   Powyżej 600px (:root): ikona 60px, suwadło 50×25, jeden rząd.
   Do 600px: ikona 40px, suwadło 40×20, dwa rzędy.
   Poniżej 40px tylko skrypt, gdy rząd zderza się z literą H.
   Działa od razu na nowym HTML, także w trakcie przewijania stron. */
@media (max-width: 600px) {
  :root {
    --icon-size: 40px;
    --glos-w: 40px;
    --glos-h: 20px;
    --header-h: auto;
  }

  .site-header {
    --ustawienia-icon: 22px;
    --harz-mark: calc(88px * 200 / 249);
    --harz-mark-h: calc(110px * 200 / 249);
    --harz-nap-w: calc(131.33px * 200 / 249);
    --harz-nap-h: calc(60.96px * 200 / 249);
    --harz-brand-gap: calc(14.81px * 200 / 249);
    --harz-nap-top: 0px;
  }

  .site-header .site-header__inner {
    height: auto;
    min-height: 180px;
    display: block;
    position: relative;
    padding: var(--harz-w1-top) var(--harz-gutter) 10px;
  }

  /* akcje: 1 rząd = 20/20; 2 wiersze = 30 od góry, prawa = gutter */
  .site-header .harz-header-akcje {
    top: 30px;
  }

  .site-header .site-header__tools {
    position: absolute !important;
    top: var(--harz-w2-top) !important;
    right: var(--harz-gutter);
    left: auto;
    margin: 0 !important; /* kasuje margin-top: 20 z 1 rzędu */
    align-items: flex-end;
  }
}

/* Język: własna lista — podświetlenie granatem (#112135), nie błękitem Chrome */
.site-header__lang {
  position: relative;
  display: block;
  width: 100%;
  max-width: calc(var(--glos-w) + 8px + 4 * var(--icon-size) + 3px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  z-index: 5;
}

.site-header__lang-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 2px 4px;
  border: none;
  border-bottom: 1px solid var(--harz-granat);
  background: transparent;
  color: var(--harz-granat);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.site-header__lang-btn:focus {
  outline: none;
  border-bottom-color: var(--harz-granat);
}

.site-header__lang-caret {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--harz-granat);
  opacity: 1;
}

.site-header__lang-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9000;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow:
    0 4px 6px rgba(17, 33, 53, 0.10),
    0 14px 36px rgba(17, 33, 53, 0.28);
}

.site-header__lang-list[hidden] {
  display: none;
}

.site-header__lang-list.is-animating[hidden] {
  display: block;
}

/* Stany: nieaktywna = granat tekst; hover = blady; aktywna = granat pełny */
.site-header__lang-list li {
  margin: 0;
  padding: 6px 8px;
  background: transparent;
  color: var(--harz-granat);
  cursor: pointer;
}

.site-header__lang-list li:hover {
  background: var(--harz-granat-blady);
  color: #fff;
}

.site-header__lang-list li[aria-selected="true"],
.site-header__lang-list li[aria-selected="true"]:hover {
  background: var(--harz-granat);
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Phosphor — kwadrat, granat, biała ikona; bez perspective/Z (dawało białą obwódkę) */
.harz-icon {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  box-sizing: border-box;
  width: var(--icon-size);
  height: var(--icon-size);
  margin: 5px 0 0 0;
  padding: 0;
  border: none;
  outline: none;
  background-color: rgba(17, 33, 53, 1);
  overflow: hidden;
  text-decoration: none;
  transition-duration: 0.3s;
  transition-property: transform;
}

.harz-icon:focus,
.harz-icon:focus-visible {
  outline: none;
}

.harz-icon:hover {
  overflow: visible;
  transform: translateY(-5px);
}

.harz-icon i {
  font-size: calc(36pt * var(--icon-size) / 60px);
  color: rgba(255, 255, 255, 1);
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.harz-icon i::before {
  font-family: "Phosphor" !important;
}

/* Menu — hamburger→X, panel szer. jak „Polski”, rozsuw 1000 px/s (JS) */
.harz-menu {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

button.harz-icon.harz-menu__btn {
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

/* bez podnoszenia przy najazdzie */
.harz-menu__btn.harz-icon:hover,
.site-header__icons-row .harz-menu__btn.harz-icon:hover {
  transform: none;
  overflow: hidden;
}

/* Hamburger → X — grubość jak Phosphor: 3px przy ikonie 60, skaluje z --icon-size */
.harz-burger {
  --burger-line: calc(var(--icon-size) * 3 / 60);
  position: relative;
  display: block;
  width: 60%;
  height: 60%;
  margin: auto;
}

.harz-burger__line {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--burger-line);
  border-radius: calc(var(--burger-line) / 3);
  background: #fff;
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}

.harz-burger__line:nth-child(1) {
  top: 14%;
}

.harz-burger__line:nth-child(2) {
  top: 50%;
  margin-top: calc(var(--burger-line) / -2);
}

.harz-burger__line:nth-child(3) {
  bottom: 14%;
}

.harz-menu__btn[aria-expanded="true"] .harz-burger__line:nth-child(1) {
  top: 50%;
  bottom: auto;
  margin-top: calc(var(--burger-line) / -2);
  transform: rotate(45deg);
}

.harz-menu__btn[aria-expanded="true"] .harz-burger__line:nth-child(2) {
  opacity: 0;
}

.harz-menu__btn[aria-expanded="true"] .harz-burger__line:nth-child(3) {
  top: 50%;
  bottom: auto;
  margin-top: calc(var(--burger-line) / -2);
  transform: rotate(-45deg);
}

.harz-menu__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 9000;
  /* ta sama szerokość co pasek języka „Polski” */
  width: calc(var(--glos-w) + 8px + 4 * var(--icon-size) + 3px);
  max-width: calc(100vw - 2 * var(--harz-gutter));
  box-sizing: border-box;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow:
    0 4px 6px rgba(17, 33, 53, 0.10),
    0 14px 36px rgba(17, 33, 53, 0.28);
  text-align: left;
  overflow: hidden;
}

.harz-menu__list[hidden] {
  display: none;
}

.harz-menu__list.is-animating[hidden] {
  display: block;
}

/* Stany jak język: nieaktywna / hover blady / aktywna (aria-current) pełny granat */
.harz-menu__list > li > a,
.harz-menu__pod a {
  display: block;
  padding: 8px 16px;
  background: transparent;
  color: var(--harz-granat);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12pt;
  text-decoration: none;
  white-space: normal;
  line-height: 1.35;
}

.harz-menu__list > li > a:hover,
.harz-menu__pod a:hover {
  background: var(--harz-granat-blady);
  color: #fff;
}

.harz-menu__list > li > a[aria-current="page"],
.harz-menu__pod a[aria-current="page"],
.harz-menu__list > li > a[aria-current="page"]:hover,
.harz-menu__pod a[aria-current="page"]:hover {
  background: var(--harz-granat);
  color: #fff;
}

.harz-menu__blok {
  padding: 0;
  margin: 0;
  border: none;
}

/* Jedna kreska między blokami — ::before, nie border (bez dublowania) */
.harz-menu__blok + .harz-menu__blok::before {
  content: "";
  display: block;
  height: 1px;
  margin: 6px 0;
  background: rgba(17, 33, 53, 0.14);
}

.harz-menu__nag {
  display: block;
  padding: 8px 16px 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12pt;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 33, 53, 0.55);
}

.harz-menu__pod {
  list-style: none;
  margin: 0;
  padding: 0;
}

.harz-menu__pod a {
  padding-left: 24px;
}

.harz-menu--stopka .harz-menu__list {
  top: auto;
  bottom: calc(100% + 8px);
  /* right:0 jak header — nad [suwadło|4 ikony] gdy suwadło z lewej (≥600) */
}

/* —— Hero + tafla (jak X5: #112135 @ 50%) —— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  color: var(--harz-biel);
  /* oddech header ↔ tafla = pod taflą = 40; linijka 1 w pasie górnym (absolute) */
  padding: 40px 0 40px;
}

/* Wiersz 1 / linijka 1 — App + licznik (MD: L/P 20, G 5, Tahoma 8 pt) */
.hero__pasek {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--harz-page-max);
  margin: 0 auto;
  padding: 5px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px; /* łamanie tekstu 1: przy ≤50 px między napisami — zawijanie */
  flex-wrap: wrap;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 8pt;
  line-height: 1.25;
  color: #ffffff; /* MD: TBD → biały na tlo.jpg */
}

.hero__app,
.hero__licznik {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere; /* litery/cyfry gdy brak miejsca */
  word-break: break-word; /* wyrazy → dalej mniejsze kawałki */
}

.hero__app {
  text-align: left;
  flex: 1 1 auto;
}

.hero__licznik {
  text-align: right;
  flex: 0 1 auto;
  margin-left: auto;
}

/* WT linijka 1 — ikony 20×20 jak .harz-header-akcja (NLU: jedna kolumna z nagłówkiem) */
.hero__pasek-ikony {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px; /* jak .harz-header-akcje */
  margin-left: auto;
  flex: 0 0 auto;
}

.hero__wt-ik {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: #fff; /* nieaktywna / wyłączona */
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
}

.hero__wt-ik__svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
}

.hero__wt-ik:hover,
.hero__wt-ik:focus-visible,
.hero__wt-ik--czat[aria-pressed="true"],
.hero__wt-ik--ekran[aria-pressed="true"],
.hero__wt-ik--zaaw[aria-pressed="true"],
.hero__wt-ik--zaaw.is-active {
  color: var(--harz-ziel); /* rgb(0, 255, 0) */
}

/* 26.2.587: standard — wąski=OUT (szeroki), szeroki=IN (waski)+zielony */
.hero__wt-ik--ekran[aria-pressed="true"] .hero__wt-ik__svg--szeroki,
.hero__wt-ik--ekran:not([aria-pressed="true"]) .hero__wt-ik__svg--waski {
  display: none;
}

.hero__wt-ik--ekran[aria-pressed="true"] .hero__wt-ik__svg--waski,
.hero__wt-ik--ekran:not([aria-pressed="true"]) .hero__wt-ik__svg--szeroki {
  display: block;
}

/*
  Tafla = oś NLU: lewa = lewa logo, prawa = prawa ikon.
  Header inner 1200 + padding 20 → treść 1160. Tafla max 1200−40, nie cały 1200.
*/
.hero__tafla {
  box-sizing: border-box;
  width: calc(100% - 2 * var(--harz-gutter));
  max-width: calc(var(--harz-page-max) - 2 * var(--harz-gutter));
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  background: var(--harz-granat-blady);
  text-align: left;
  padding: 80px 48px;
}

.hero__role {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(18px * var(--text-scale)); /* INDEX Tekst 1 */
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: var(--harz-biel);
}

.hero__name {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(48px * var(--text-scale)); /* INDEX Tekst 2 */
  font-weight: 700;
  line-height: 1.15;
  color: var(--harz-biel);
}

.hero__powitanie {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(28px * var(--text-scale)); /* INDEX Tekst 3 */
  font-weight: 700;
  line-height: 1.2;
  color: var(--harz-biel);
}

/* Komunikat HOME — tymczasowy CSS (potem WT). INDEX Tekst 4 */
.hero__kom-home {
  margin: 20px 0 0; /* oddech od Powitania / Dzień dobry */
  padding: 0 20px; /* oddech od L/P krawędzi tafli */
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}

.harz-kom-linie {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 27px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.harz-kom-linie a,
.harz-kom-linie .harz-kom-txt {
  color: #ffffff;
  text-decoration: none;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  text-align: left;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.harz-kom-linie a:hover,
.harz-kom-linie a:hover i {
  color: rgb(255, 98, 3);
}

.harz-kom-linie i {
  display: inline; /* nie inline-block — łamanie całymi wyrazami */
  font-style: normal;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  color: inherit;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.harz-kom-linie i.in {
  opacity: 1;
  transform: translateY(0);
}

.harz-kom-linie i.out {
  opacity: 0;
  transform: translateY(0);
}

.harz-kom-dioda {
  display: inline-grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #ffffff; /* numer zawsze biały */
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
  animation: harz-kom-dioda-mrug 0.9s step-end infinite;
}

/* biuro czynne: Pn–Pt 8–16 (Warszawa), nie święto */
.harz-kom-dioda--otwarte {
  background: var(--harz-ziel);
  box-shadow: 0 0 7px var(--harz-ziel);
}

/* biuro nieczynne: po godzinach / weekend / święta */
.harz-kom-dioda--zamkniete {
  background: var(--harz-czerwony);
  box-shadow: 0 0 7px var(--harz-czerwony);
}

.harz-kom-dioda .harz-kom-nr {
  display: block;
  line-height: 1;
  transform: translateY(-0.08em);
}

@keyframes harz-kom-dioda-mrug {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.15;
  }
}

/* —— SBE: Show Blog Elements ——
   Foto kwadrat baza 243 (= 4 ikony); REGZ: lewy > 243 → kwadrat = wys. lewego
   Wąski: shrink L/P 20; foto L/góra; mb 48 */
.harz-sbe {
  --sbe-slide: 500ms; /* REGZ posuw stron */
  --sbe-sep: 1px solid rgba(255, 255, 255, 0.25);
  --sbe-foto: 243px;
  background: var(--harz-granat);
  color: var(--harz-biel);
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.harz-sbe__tafla {
  max-width: var(--harz-page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sbe-foto);
  gap: 20px 28px;
  align-items: start; /* ten sam top — oddech góra/dół = 48 */
  overflow: hidden;
  min-height: calc(var(--sbe-foto) + 96px); /* 48 + foto + 48 */
  box-sizing: border-box;
  padding-right: var(--harz-gutter);
}

.harz-sbe__lewy {
  box-sizing: border-box;
  min-width: 0;
  height: var(--sbe-foto);
  margin: 48px 0 48px 20px; /* 48 do TM (pas-info) */
  padding: 0 16px 0 48px;
  border-left: var(--sbe-sep);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  opacity: 0;
  transform: translateX(-112%);
  transition: transform var(--sbe-slide) ease, opacity var(--sbe-slide) ease;
  will-change: transform, opacity;
}

.harz-sbe__lewy.is-in {
  opacity: 1;
  transform: translateX(0);
}

.harz-sbe__lewy.is-out {
  opacity: 0;
  transform: translateX(-112%);
}

.harz-sbe__gora {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* lewa */
  justify-content: flex-start; /* góra */
  gap: 0;
}

.harz-sbe__nag {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem; /* 24 px — jak tytuł */
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--harz-biel);
  flex-shrink: 0;
}

.harz-sbe__sep {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 14px 0 16px;
  padding: 0;
  border: none;
  border-top: var(--sbe-sep);
  height: 0;
  flex-shrink: 0;
}

.harz-sbe__tytul,
.harz-sbe__lead {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--harz-biel);
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.35;
}

.harz-sbe__tytul {
  font-size: 1.5rem; /* 24 px */
  font-weight: 700;
  margin-bottom: 10px;
}

.harz-sbe__lead {
  font-size: 1rem; /* 16 px */
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 16px;
  min-height: 0;
}

.harz-sbe__tytul i,
.harz-sbe__lead i {
  display: inline;
  font-style: normal;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.harz-sbe__tytul i.in,
.harz-sbe__lead i.in {
  opacity: 1;
  transform: translateX(0);
}

.harz-sbe__tytul i.out,
.harz-sbe__lead i.out {
  opacity: 0;
  transform: translateX(0);
}


.harz-sbe__akcje {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
}

.harz-sbe__pauza {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--harz-granat);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.harz-sbe__pauza:hover,
.harz-sbe__pauza:focus-visible {
  background: #fff;
  color: var(--harz-granat);
  outline: none;
}

.harz-sbe__pauza[aria-pressed="true"] .harz-sbe__pauza-ikona--stop {
  display: none;
}

.harz-sbe__pauza[aria-pressed="true"] .harz-sbe__pauza-ikona--play {
  display: block;
}

.harz-sbe__pauza[aria-pressed="false"] .harz-sbe__pauza-ikona--play {
  display: none;
}

.harz-sbe__pauza[aria-pressed="false"] .harz-sbe__pauza-ikona--stop {
  display: block;
}

.harz-sbe__naprzod {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--harz-granat);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.harz-sbe__naprzod:hover,
.harz-sbe__naprzod:focus-visible {
  background: #fff;
  color: var(--harz-granat);
  outline: none;
}

.harz-sbe__naprzod-ikona {
  display: block;
}

.harz-sbe__pauza-ikona {
  display: block;
  flex-shrink: 0;
}
.harz-sbe__czytaj {
  align-self: flex-start;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 10px 18px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--harz-granat);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.harz-sbe__lewy:not(.is-in) .harz-sbe__czytaj {
  pointer-events: none;
}

.harz-sbe__czytaj:hover,
.harz-sbe__czytaj:focus-visible {
  background: #fff;
  color: var(--harz-granat);
  outline: none;
}

.harz-sbe__foto-wrap {
  justify-self: end; /* prawa */
  align-self: start;
  box-sizing: border-box;
  width: var(--sbe-foto);
  height: var(--sbe-foto);
  max-width: none; /* szeroki: JS może > 243 */
  margin: 48px 0 48px 0; /* góra = dół = 48 — jak lewy */
  border-radius: 12px;
  overflow: hidden;
  border: var(--sbe-sep);
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(112%);
  transition: transform var(--sbe-slide) ease, opacity var(--sbe-slide) ease;
  will-change: transform, opacity;
}

.harz-sbe__foto-wrap.is-in {
  opacity: 1;
  transform: translateX(0);
}

.harz-sbe__foto-wrap.is-out {
  opacity: 0;
  transform: translateX(112%);
}

.harz-sbe__foto-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.harz-sbe__foto-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.harz-sbe__foto {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s ease;
}

.harz-sbe__foto.is-pulse {
  transform: scale(1.05);
}

/* jak .pas-info__sstg (Time Banner) — zawsze dół lewa w bloku lewym */
/* flow + margin-top:auto = zawsze lewa/dół, ta sama krawędź co klawisz (bez absolute) */
.harz-sbe__sstg {
  position: static;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: auto 0 0; /* pcha na dół gdy jest luz */
  padding: 10px 0 0; /* min 10 px od klawisza */
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 8pt;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.45);
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
  pointer-events: auto;
}

.harz-sbe__sstg-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.harz-sbe__sstg-link:hover,
.harz-sbe__sstg-link:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  outline: none;
}

/* —— 3. wiersz: czas / data / pogoda — tafla jak Marek Harz —— */
.pas-info {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--harz-biel);
  padding: 40px 0;
}

.pas-info__tafla {
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 2 * var(--harz-gutter));
  max-width: calc(var(--harz-page-max) - 2 * var(--harz-gutter));
  margin-left: auto;
  margin-right: auto;
  background: var(--harz-granat-blady);
  text-align: center;
  padding: 48px 48px;
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
}

/* Pasek CDP: lok LEWA + 7 dni/suwadło PRAWA; pod paskiem 20 do CZAS */
.pas-info__pasek {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* padding tafli 48 → wysunięcie do oddechu 20 od krawędzi */
  margin: -28px -28px 20px;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
}

.pas-info__pasek > * {
  pointer-events: auto;
}

.pas-info__lok {
  position: relative;
  flex: 0 1 auto;
  min-width: max-content; /* cała nazwa — lokalna strona / Kędzierzyn-Koźle */
  max-width: none;
  text-align: left;
  margin-left: 20px;
}

.pas-info__lok-wiersz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: none;
}

/* display:inline-flex przebija UA [hidden] — jak przy .pas-info__rzad */
.pas-info__lok-wiersz[hidden] {
  display: none !important;
}

.pas-info__lok-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: none;
  margin: 0;
  padding: 4px 2px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(10px * var(--text-scale));
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: left;
}

.pas-info__lok-nazwa {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.pas-info__lok-caret {
  flex: 0 0 auto;
  opacity: 0.85;
  font-size: calc(16px * var(--text-scale)); /* trójkąt ▾ */
  line-height: 1;
  transition: transform 0.2s;
}

.pas-info__lok-btn[aria-expanded="true"] .pas-info__lok-caret {
  transform: rotate(180deg);
}

/* (i) jak Pasieka — biała krawędź + i, bez tła środka */
.pas-info__lok-info {
  flex: 0 0 20px;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff; /* TB: biel w spoczynku */
  line-height: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pas-info__lok-info-svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
  overflow: visible;
}

.pas-info__lok-info-disk {
  fill: transparent; /* alfa 100 — puste */
}

.pas-info__lok-info-ring,
.pas-info__lok-info-glyph {
  fill: currentColor;
}

/* hover TB: biały dysk, ring zostaje biel, tylko „i” → granat */
.pas-info__lok-info:hover .pas-info__lok-info-disk,
.pas-info__lok-info:focus-visible .pas-info__lok-info-disk {
  fill: #fff;
}

.pas-info__lok-info:hover .pas-info__lok-info-glyph,
.pas-info__lok-info:focus-visible .pas-info__lok-info-glyph {
  fill: var(--harz-granat);
}

/* bez białego kwadratu; color zostaje #fff → ring biały; „i” granat tylko przez .pas-info__lok-info-glyph */
.pas-info__lok-info:hover,
.pas-info__lok-info:focus-visible {
  background: transparent;
  color: #fff;
}

.pas-info__lok-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 4;
  box-sizing: border-box;
  width: min(300px, 85vw);
  margin: 0;
  padding: 12px;
  background: rgba(17, 33, 53, 0.98);
  border: none; /* HARZ — bez krawędzi */
  text-align: left;
  overflow: hidden;
}

.pas-info__lok-panel[hidden] {
  display: none;
}

.pas-info__lok-pole {
  display: block;
  margin: 0 0 10px;
}

.pas-info__lok-pole-etykieta {
  display: block;
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(10px * var(--text-scale));
  font-weight: 700;
  color: #fff;
}

.pas-info__lok-input {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 6px 8px;
  border: none; /* HARZ — bez krawędzi */
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(12px * var(--text-scale));
  font-weight: 400;
}

.pas-info__lok-input:disabled {
  opacity: 0.45;
  cursor: default;
}

.pas-info__lok-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.pas-info__lok-sug {
  list-style: none;
  margin: -6px 0 10px;
  padding: 0;
  max-height: 140px;
  overflow: auto;
}

.pas-info__lok-sug[hidden] {
  display: none;
}

.pas-info__lok-opcja {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 8px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(11px * var(--text-scale));
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.pas-info__lok-opcja:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Komunikat — zasłona jak Ustawienia; bez overflow:hidden na body (bez skoku); 1000 px/s */
.harz-cdp-kom {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: flex-start; /* od góry — jak Menu */
  justify-content: center;
  padding: 40px 20px 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5); /* jak .harz-ustawienia */
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.harz-cdp-kom[hidden] {
  display: none;
}

.harz-cdp-kom.is-animating[hidden] {
  display: flex;
}

.harz-cdp-kom__karta {
  box-sizing: border-box;
  max-width: 420px;
  width: 100%;
  margin: 0 0 20px;
  padding: 24px;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow:
    0 4px 6px rgba(17, 33, 53, 0.10),
    0 14px 36px rgba(17, 33, 53, 0.28);
  text-align: center;
  flex: 0 0 auto;
  /* overflow:hidden tylko podczas posuwu 1000 (JS) */
}

.harz-cdp-kom__txt {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(12px * var(--text-scale));
  font-weight: 400;
  color: #000;
  line-height: 1.4;
}

.harz-cdp-kom__ok {
  display: inline-block;
  margin: 0;
  padding: 10px 20px; /* oddech góra/dół */
  border: none;
  background: var(--harz-granat);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(12px * var(--text-scale));
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.harz-cdp-kom__ok:hover {
  background: rgb(10, 20, 32);
}

.harz-cdp-kom__stopka {
  position: relative;
}

.harz-lang-okno {
  position: absolute;
  left: 0;
  top: -16px;
  width: 78px;
  height: 78px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  pointer-events: none;
}

.harz-lang-okno:has(.harz-lang-awatar[hidden]) {
  display: none;
}

.harz-lang-awatar {
  position: absolute;
  left: -8.007%;
  top: -12.745%;
  width: 117.647%;
  height: 117.647%;
  margin: 0;
  border: 0;
  background: transparent;
  object-fit: fill;
  pointer-events: none;
}

.harz-lang-awatar[hidden] {
  display: none;
}

/* Suwadło 7 dni PRAWA — styl jak w nagłówku (screen: granatowa sania, biała gałka) */
.pas-info__suwadlo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-right: 20px;
  z-index: 1;
}

.pas-info__suwadlo-etykieta {
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(10px * var(--text-scale));
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

.pas-info__suwadlo {
  position: relative;
  top: auto;
  right: auto;
  flex: 0 0 auto;
  margin-right: 0;
  --glos-w: 50px;
  --glos-h: 25px;
}

/*
  CDP na ciemnej tafli: bez rgba — przezroczystość zmienia optykę.
  OFF = solid jak var(--harz-granat-blady) na białym → rgb(136,144,154)
  ON  = solidny granat (jak header pressed)
*/
.pas-info__suwadlo .harz-glos-sania {
  background: rgb(136, 144, 154);
}

.pas-info__suwadlo .harz-glos-galka {
  background: #fff;
  border: none;
}

.pas-info__suwadlo[aria-pressed="true"] .harz-glos-sania {
  background: rgb(17, 33, 53);
}

.pas-info__suwadlo[aria-pressed="true"] .harz-glos-galka {
  background: #fff;
}

.pas-info__rzad {
  display: grid;
  /* Czas = auto (tarcza 160), nie 1fr — inaczej wąski tor zjada zegar zanim braknie miejsca */
  grid-template-columns: auto 1.4fr 1.6fr;
  gap: 28px 24px;
  align-items: start;
  justify-items: center;
  margin-top: 40px; /* oddech góra — linijki się nie zlewają */
  margin-bottom: 40px; /* oddech dół — bez boków */
}

/* display:grid przebija UA [hidden] — bez tego stara linijka zostaje w dual */
.pas-info__rzad[hidden] {
  display: none;
}

.pas-info__blok {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
}

.pas-info__pogoda {
  cursor: pointer;
  width: 100%;
}


.pas-info__etykieta {
  display: block;
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
}

.pas-info__wartosc {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

.pas-info__czas .pas-info__wartosc {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* Czas cyfrowy 24h (26.2.536); tarcza → KMK_26.2.536 */
.pas-info__czas {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pas-info__czas .pas-info__wartosc {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.pas-info__pogoda-teraz {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pas-info__ikona {
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
}

.pas-info__ikona::before {
  font-family: "Phosphor" !important;
  color: #fff;
}

.pas-info__pogoda--locked {
  cursor: default;
}

.pas-info__dni {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px 12px;
  justify-items: center;
  justify-content: center;
  text-align: center;
}

.pas-info__dni[hidden] {
  display: none;
}

.pas-info__dni.is-animating[hidden] {
  display: grid; /* posuw max-height — jak Język */
}

.pas-info__dzien {
  text-align: center;
  color: #fff;
}

.pas-info__dzien-nazwa {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: capitalize;
}

.pas-info__dzien .pas-info__ikona {
  display: block;
  margin: 0 auto 6px;
  font-size: 1.5rem;
}

.pas-info__dzien-temp {
  font-size: 0.95rem;
}

/* —— 2 lokalizacje: pion, stałe porównanie (bez zawijania kolumn) —— */
.pas-info__pasek-lok {
  flex: 0 1 auto;
  min-width: max-content;
  max-width: none;
}

.pas-info__tafla.is-dual .pas-info__pasek {
  justify-content: flex-end; /* tylko suwadło 7 dni u góry */
}

.pas-info__tafla.is-dual .pas-info__pasek-lok {
  display: none;
}

/* Obok siebie zawsze; przy wąskim — scroll + suwadło na dole (jak 7 dni) */
.pas-info__dual {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  gap: 0 0;
  align-items: stretch;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* steruje suwadło na dole */
}

.pas-info__dual::-webkit-scrollbar {
  display: none;
}

.pas-info__dual .pas-info__kol {
  scroll-snap-align: start;
}

/* Suwadło dual — 50×25 jak 7 dni; napisy L/P; sania biała, gałka granat, trójkąt biały */
.pas-info__dual-suw {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 10px; /* luz vs absolutne .pas-info__sstg */
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.pas-info__dual-suw[hidden] {
  display: none;
}

.pas-info__dual-suw-etykieta {
  flex: 1 1 0;
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(10px * var(--text-scale));
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  white-space: normal; /* cała nazwa — bez ucięcia */
  overflow: visible;
}

.pas-info__dual-suw-etykieta--l {
  text-align: right;
}

.pas-info__dual-suw-etykieta--p {
  text-align: left;
}

.pas-info__dual-suw-btn {
  position: relative;
  top: auto;
  right: auto;
  flex: 0 0 auto;
  margin: 0;
  --glos-w: 50px; /* identycznie jak 7 dni */
  --glos-h: 25px;
}

/* stałe kolory — nie przełączają się z aria-pressed (w odróżnieniu od 7 dni) */
.pas-info__dual-suw-btn.pas-info__suwadlo .harz-glos-sania,
.pas-info__dual-suw-btn.pas-info__suwadlo[aria-pressed="true"] .harz-glos-sania {
  background: #fff;
}

.pas-info__dual-suw-btn.pas-info__suwadlo .harz-glos-galka,
.pas-info__dual-suw-btn.pas-info__suwadlo[aria-pressed="true"] .harz-glos-galka {
  background: rgb(17, 33, 53);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* widok lewa → trójkąt w prawo; widok prawa → w lewo */
.pas-info__dual-suw-troj {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #fff;
}

.pas-info__dual-suw-btn[aria-pressed="true"] .pas-info__dual-suw-troj {
  border-width: 4px 6px 4px 0;
  border-color: transparent #fff transparent transparent;
}

.pas-info__dual[hidden] {
  display: none;
}

/* separator = ten sam rysunek co pozioma linia pod 7 dni */
.pas-info__sep {
  width: 0;
  margin: 0 20px; /* 20 jak Pasieka / gutter */
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  align-self: stretch;
}

.pas-info__kol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* jak WT klucz */
  min-width: 0;
  padding: 0 8px; /* luz kolumny; oddech 20 tarczy = max-width po bokach */
}

/* 2. linijka dualu — lokalizacje na górze kolumn, justowanie środek */
.pas-info__kol-lok {
  margin: 0 0 4px;
  padding: 0;
  width: 100%;
  max-width: 100%;
  text-align: center;
  flex: 0 0 auto;
}

.pas-info__kol-lok .pas-info__lok {
  margin-left: 0;
  max-width: 100%;
  text-align: center;
}

.pas-info__kol-lok .pas-info__lok-wiersz {
  justify-content: center;
}

.pas-info__lok--kol {
  margin-left: 0;
  max-width: 100%;
  text-align: center;
}

.pas-info__lok--kol .pas-info__lok-wiersz {
  justify-content: center;
}

.pas-info__lok--kol .pas-info__lok-panel,
.pas-info__kol-lok .pas-info__lok-panel {
  left: 50%;
  transform: translateX(-50%);
  /* dual: kolumna wąska — 85vw wystaje i clipuje z lewej (overflow-x dualu); trzymaj w kolumnie */
  width: min(300px, 100%);
}

.pas-info__pogoda--stat {
  cursor: default;
  width: 100%;
}

.pas-info__dni--kol {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pas-info__dni--kol[hidden] {
  display: none;
}

.pas-info__dni--kol.is-animating[hidden] {
  display: flex;
}

/* Zegar B (tarcza) — WYCOFANE z DOM 26.2.536; CSS zostaje pod odzysk z KMK_26.2.536 */
.pas-info__zegar {
  box-sizing: border-box;
  width: 160px;
  max-width: calc(100% - 40px); /* tylko boki: 20 + 20 */
  aspect-ratio: 1 / 1;
  height: auto;
  flex: 0 0 auto; /* shrink 0: wysokość z tarczy rozpycha — nie ściskać w pionie */
  align-self: center;
}

.pas-info__zegar-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.pas-info__zegar-tarcza {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
}

.pas-info__zegar-kreski line {
  stroke: #fff;
  stroke-linecap: round;
}

.pas-info__zegar-kreski line[y1="8"] {
  stroke-width: 2;
}

.pas-info__zegar-kreski line[y1="10"] {
  stroke-width: 1;
  opacity: 0.45;
}

.pas-info__zegar-marka {
  fill: #fff;
  opacity: 0.38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(6.5px * var(--text-scale));
  font-weight: 700;
  letter-spacing: 1.2px;
  pointer-events: none;
}

.pas-info__zegar-h line,
.pas-info__zegar-m line {
  stroke: #fff;
  stroke-linecap: round;
}

.pas-info__zegar-h line {
  stroke-width: 3;
}

.pas-info__zegar-m line {
  stroke-width: 2;
}

.pas-info__zegar-srodek {
  fill: #fff;
}

/* SSTG Time banner — skromny podpis, lewy dół, bliżej krawędzi niż Dodaj (20) */
.pas-info__sstg {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  margin: 0;
  max-width: calc(100% - 24px);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 8pt;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.45);
  text-align: left;
  pointer-events: auto;
}

.pas-info__sstg-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pas-info__sstg-link:hover,
.pas-info__sstg-link:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  outline: none;
}

/* stopka: Dodaj dół–prawa; bez ujemnego bottom — nie nachodzi na .pas-info__sstg */
.pas-info__stopka-lok {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  margin: 20px -28px 0;
  padding-bottom: 10px; /* luz 10 vs absolutne Powered by */
  min-height: 24px;
  align-items: end;
}

.pas-info__tafla.is-dual .pas-info__stopka-lok {
  display: none; /* Usuń jest w prawej kolumnie */
}

.pas-info__link-lok {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(12px * var(--text-scale));
  font-weight: 400;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.pas-info__link-lok:hover {
  opacity: 0.85;
}

.pas-info__link-lok[hidden] {
  display: none;
}

/* Usuń drugą — dół prawej kolumny, środek */
.pas-info__kol .pas-info__link-lok--usun {
  margin-top: auto;
  padding-top: 16px;
  align-self: center;
  text-align: center;
}

/* (i) + napis + ▾ — bez podkreślenia; od prawej jak suwadło */
.pas-info__dodaj {
  grid-column: 2;
  justify-self: end;
  position: relative;
  margin-right: 20px; /* jak .pas-info__suwadlo-wrap */
  text-align: left;
}

.pas-info__dodaj[hidden] {
  display: none;
}

.pas-info__dodaj-wiersz {
  max-width: none;
}

.pas-info__dodaj-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 2px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(10px * var(--text-scale));
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.pas-info__dodaj-btn:hover {
  opacity: 0.85;
}

.pas-info__dodaj-napis {
  white-space: nowrap;
  text-decoration: none;
}

.pas-info__dodaj-btn[aria-expanded="true"] .pas-info__lok-caret {
  transform: rotate(180deg);
}

.pas-info__lok--dodaj {
  margin: 8px 0 0;
  max-width: min(300px, 100%);
  text-align: left;
}

.pas-info__lok--dodaj .pas-info__lok-panel {
  left: auto;
  right: 0;
  transform: none;
}

.pas-info__lok--dodaj[hidden] {
  display: none;
}

.pas-info__tafla.is-dual .pas-info__dodaj {
  display: none;
}

/* —— 4. wiersz: Sekretariat (Ajtina + tekst) —— */
.sekretariat {
  background: var(--harz-granat);
  color: #fff;
  padding: 50px 0; /* gutter w siatce — jak tafla Time Banner / bramka */
  scroll-margin-top: 12px; /* kotwica #sekretariat spod ikony headset */
}

/*
  Film (kwadrat):
  ≥600: 420
  600→400: płynnie 420→360
  ≤400: szer. = kontener (gutter 20 L/P); przy 400 = 360
  Sekcja: 50 góra/dół zostaje.
  Lewa krawędź filmu = lewa krawędź tafli (ta sama szer. / max).
*/
.sekretariat__siatka {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* prawo = wys. filmu → tekst góra, klawisze dół */
  gap: 28px 36px;
  box-sizing: border-box;
  width: calc(100% - 2 * var(--harz-gutter));
  max-width: calc(var(--harz-page-max) - 2 * var(--harz-gutter));
  margin-left: auto;
  margin-right: auto;
}

.sekretariat__film {
  flex: 0 0 auto;
  position: relative;
  box-sizing: border-box;
  width: 420px;
  height: 420px;
  max-width: 100%;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  /* jak .harz-strona__foto — jeden styl: ring 1px + drop */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.50),
    0 22px 48px rgba(0, 0, 0, 0.70);
}

.sekretariat__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 20px;
}

/* Panel na filmie: suwadło zawsze; szyba+tekst — posuw Y (REGZ 500ms) */
.sekretariat__glos-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  box-sizing: border-box;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 0;
  pointer-events: none; /* klika tylko suwadło */
}

.sekretariat__glos-szyba {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  box-sizing: border-box;
  padding: 18px 18px 80px; /* luz pod suwadło */
  background: var(--harz-granat-blady);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform var(--sbe-slide, 500ms) ease,
    opacity var(--sbe-slide, 500ms) ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.sekretariat__glos-panel.is-off .sekretariat__glos-szyba {
  transform: translateY(0);
  opacity: 1;
}

.sekretariat__glos-txt {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(15px * var(--text-scale, 1));
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  text-align: left;
}

.sekretariat__glos-suw {
  position: relative;
  z-index: 3;
  align-self: flex-end;
  height: auto;
  pointer-events: auto;
  /* ~2× nagłówek (50×25) */
  --glos-w: 100px;
  --glos-h: 50px;
}

/* krawędź jak okno zdjęcia (SBE / foto): ring 1px + drop */
.sekretariat__glos-suw .harz-glos-sania {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.5),
    0 14px 28px rgba(0, 0, 0, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .sekretariat__glos-szyba {
    transition: none;
  }
}

/* 600 → 400: 420 → 360 liniowo: 360 + 0.3*(vw−400) */
@media (max-width: 600px) {
  .sekretariat__film {
    width: clamp(360px, calc(360px + 0.3 * (100vw - 400px)), 420px);
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ≤400: pełna szer. w gutterze 20 (rodzic ma padding) */
@media (max-width: 400px) {
  .sekretariat__film {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}


.sekretariat__prawo {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* lewa góra / lewa dół */
  gap: 0;
}

.sekretariat__tekst {
  font-family: Georgia, "Times New Roman", serif;
  min-width: 0;
}

.sekretariat__tytul {
  margin: 0 0 1rem;
  font-size: 1.5rem; /* 24 px — jak .harz-sbe__tytul */
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.35;
  color: #fff;
}

/* Akapit: 16 / 400 / lh 1.5 / bez alfy (26.2.545) */
.sekretariat__akapit {
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(16px * var(--text-scale));
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  opacity: 1;
}

.sekretariat__firma {
  margin: 0.15rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-style: italic;
  font-weight: 700;
  color: #fff;
}

/* Zadzwoń / Napisz — szeroki: obok siebie; wąski: jeden pod drugim */
.sekretariat__akcje {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 640px;
  margin-top: auto; /* lewa dół przy filmie */
}

/* po bazie 1fr 1fr — inaczej cascade nadpisuje stack (26.2.549) */
@media (max-width: 600px) {
  .sekretariat__akcje {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.sekretariat__klawisz {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 12px 14px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.55);
  color: var(--harz-granat);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.sekretariat__klawisz:hover,
.sekretariat__klawisz:focus-visible {
  background: #fff;
  color: var(--harz-granat);
  outline: none;
}

.sekretariat__klawisz-etykieta {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.sekretariat__klawisz-wartosc {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

/* Sekretariat: tekst + klawisze pod zdjęciem */
@media (max-width: 800px) {
  .sekretariat__siatka {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 48px; /* jedna luka: pod zdjęciem / nad tekstem */
  }

  .sekretariat__prawo {
    width: 100%;
    gap: 1.25rem;
  }

  .sekretariat__akcje {
    margin-top: 0; /* już nie przyklejone do dołu filmu */
  }
}

/* —— 5. wiersz: mapa (jak Pasieka Kontakt) —— */
.harz-mapa {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--harz-granat);
  scroll-margin-top: 12px;
}

.harz-mapa__dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px; /* separator: pion przy 2 kol., poziom po złamaniu */
  width: 100%;
  background: var(--harz-granat); /* kolor szczeliny 1 px */
}

.harz-mapa__ramka {
  width: 100%;
  max-width: none;
  height: 500px;
  margin: 0;
  overflow: hidden;
}

.harz-mapa__iframe {
  border: 0;
  width: 100%;
  height: 500px;
  display: block;
}

/* —— 6. wiersz: Szybka bramka e-mail (Temida + tafla granat 50%) —— */
.bramka-email {
  background: transparent; /* widać body tlo.jpg (Temida) */
  color: #fff;
  padding: 56px 0 64px;
  text-align: center;
  scroll-margin-top: 12px;
}

.bramka-email__inner {
  box-sizing: border-box;
  width: calc(100% - 2 * var(--harz-gutter));
  max-width: calc(var(--harz-page-max) - 2 * var(--harz-gutter));
  margin-left: auto;
  margin-right: auto;
  padding: 70px 20px 70px; /* L/P = gutter 20; góra/dół do krawędzi tafli */
  text-align: center;
  background: var(--harz-granat-blady); /* krawędzie = logo L / ikony P */
}

.bramka-email__tytul {
  margin: 0 auto 1rem;
  max-width: 640px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
}

.bramka-email__lead {
  margin: 0 auto 1.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.45;
  font-weight: 400;
  color: #fff;
  text-align: center;
  max-width: 640px;
}

.bramka-email__mail {
  color: #fff;
  text-decoration: none;
}

.bramka-email__mail:hover {
  text-decoration: underline;
}

.bramka-email__form {
  display: flex;
  flex-direction: column;
  gap: 10px; /* jak WT klucz */
  text-align: left;
  /* tafla full; pola czytelne — nie na całą 1920 */
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.bramka-email__pole {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0;
}

.bramka-email__label {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: calc(12px * var(--text-scale));
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* pola jak .harz-auth__input — półprzezroczyste na tle Temidy */
.bramka-email__form input,
.bramka-email__form textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--harz-granat);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: calc(14px * var(--text-scale));
  line-height: 1.3;
}

.bramka-email__form input::placeholder,
.bramka-email__form textarea::placeholder {
  color: rgba(17, 33, 53, 0.45);
}

.bramka-email__form textarea {
  min-height: 160px;
  resize: vertical;
}

.bramka-email__form input:focus,
.bramka-email__form textarea:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.85);
}

/* honeypot — poza ekranem, bez focusu */
.bramka-email__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bramka-email__rodo {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(13px * var(--text-scale));
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-align: left;
}

.bramka-email__rodo input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--harz-ziel);
  width: auto;
  background: transparent;
}

.bramka-email__rodo a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bramka-email__rodo a:hover {
  opacity: 0.85;
}

.bramka-email__captcha {
  margin: 10px 0 4px;
  min-height: 78px;
}

.bramka-email__wyslij {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  margin: 8px 0 0;
  padding: 10px 16px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--harz-granat);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}

.bramka-email__wyslij:hover,
.bramka-email__wyslij:focus-visible {
  background: #fff;
  outline: none;
}

.bramka-email__wyslij:disabled {
  opacity: 0.45;
  cursor: default;
}

.bramka-email__wyslij:disabled:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* —— Stopka (szkic — biała, granat, jak stary Harz) —— */
.site-footer {
  background: #fff;
  color: var(--harz-granat);
  /* NLU: gutter w __main jak header (nie podwójnie + nie 1100) */
  padding: 40px 0 20px;
  font-family: Tahoma, Geneva, sans-serif;
}

.site-footer__main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--harz-page-max); /* 1200 — ta sama oś co header / WT */
  margin: 0 auto;
  padding: 0 var(--harz-gutter);
}

.site-footer__lewo {
  min-width: 0;
  flex: 1 1 280px;
}

.site-footer__brand {
  display: inline-flex;
  align-items: flex-start;
  gap: calc(14.81px * 56 / 88);
  margin: 0 0 18px;
  text-decoration: none;
  color: var(--harz-granat);
}

.site-footer__mark {
  display: block;
  width: 56px;
  height: auto;
  flex-shrink: 0;
}

.site-footer__napisy {
  display: block;
  width: calc(131.33px * 56 / 88);
  height: auto;
  margin-top: calc(18.69px * 56 / 88);
  flex-shrink: 0;
}

.site-footer__etykieta {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 400;
}

.site-footer__adres {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.site-footer__adres strong {
  font-weight: 700;
}

.site-footer__kreska {
  width: 100%;
  max-width: 280px;
  margin: 14px 0 10px;
  border: 0;
  border-top: 1px solid rgba(17, 33, 53, 0.25);
}

.site-footer__nip {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.site-footer__prawo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.site-footer__ikony {
  display: flex;
  align-items: center;
  gap: 8px; /* suwadło ↔ kwadraty — jak header */
}

.site-footer__ikony-rzad {
  display: flex;
  align-items: center;
  gap: 1px;
}

.site-footer__ikony .harz-glos {
  order: 0; /* ≥600: lewa */
  height: var(--icon-size);
}

/* ≤600: suwadło z prawej — menu nad całym blokiem [4 ikony|suwadło] (te same wymiary) */
@media (max-width: 600px) {
  .site-footer__ikony .harz-glos {
    order: 2;
  }

  .site-footer__ikony-rzad {
    order: 1;
  }

  .harz-menu--stopka .harz-menu__list {
    right: calc(-1 * (var(--glos-w) + 8px));
    left: auto;
  }
}

/* Te same .harz-icon co header — rozmiar z --icon-size (header-res, próg 600) */
.site-footer .harz-icon {
  margin-top: 0;
}

.site-footer__copy {
  box-sizing: border-box;
  max-width: var(--harz-page-max);
  margin: 36px auto 0;
  padding: 8px var(--harz-gutter) 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--harz-granat);
}

.site-footer__sstg {
  color: var(--harz-granat);
  text-decoration: none;
}

.site-footer__sstg:hover {
  text-decoration: underline;
}

/* Strzałka TOP — fixed; widoczna po scrollu ≥200 px (.is-visible) */
/* TOP — całe koło z PDF (biały pierścień + strzałka HARZ); ruch: SM Efekt ruchu ikony 1 */
.harz-do-gory {
  --harz-do-gory-size: 50px;
  position: fixed;
  right: max(12px, var(--harz-gutter));
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--harz-do-gory-size);
  height: var(--harz-do-gory-size);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 0;
  box-shadow: 0 2px 6px rgba(17, 33, 53, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition-duration: 0.3s, 0.25s, 0.25s;
  transition-property: transform, opacity, visibility;
}

.harz-do-gory.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* translateY tylko przy prawdziwym hoverze (mysz) — na telefonie bez klejenia +5 px */
@media (hover: hover) and (pointer: fine) {
  .harz-do-gory.is-visible:hover,
  .harz-do-gory.is-visible:focus-visible {
    transform: translateY(-5px); /* SM Efekt ruchu ikony 1 */
    outline: none;
  }
}

.harz-do-gory.is-visible:focus-visible {
  outline: none;
}

.harz-do-gory__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Logo top right (HOME) — całe koło z PDF (pół białe / counterchange); ruch: SM Efekt ruchu ikony 1 */
.harz-home-ikona {
  --harz-home-ikona-size: 50px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--harz-home-ikona-size);
  height: var(--harz-home-ikona-size);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  text-decoration: none;
  line-height: 0;
  box-shadow: 0 2px 6px rgba(17, 33, 53, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition-duration: 0.3s, 0.25s, 0.25s;
  transition-property: transform, opacity, visibility;
}

.harz-home-ikona.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.harz-home-ikona.is-visible:hover,
.harz-home-ikona.is-visible:focus-visible {
  transform: translateY(-5px); /* SM Efekt ruchu ikony 1 */
  outline: none;
}

.harz-home-ikona__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 720px) {
  .pas-info__tafla {
    padding: 36px 24px;
  }

  .pas-info__rzad {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .harz-mapa__dual {
    grid-template-columns: 1fr;
  }

  .harz-mapa__ramka,
  .harz-mapa__iframe {
    height: 360px;
  }

  .site-footer__main {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__prawo {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .harz-sbe__tafla {
    gap: 16px 20px;
  }

  .harz-sbe__lewy {
    padding-left: 28px;
  }
}

@media (max-width: 720px) {
  /* gutter: zawsze 20 (:root) — bez zwężania przy ≤720 */

  /* gutter: .site-header__inner + header-res.js */

  /* ikony / logo / dwa rzędy: @media (max-width: 600px) */

  .hero {
    padding: 40px 0 40px;
  }

  .hero__tafla {
    margin-top: 0;
    padding: 80px 24px;
  }

  .harz-strona .hero__tafla {
    padding: 30px 20px; /* jak desktop — nie 80/24 z home */
  }

  body.harz-wt-strona.harz-strona .hero__tafla {
    padding: 0; /* WT: oddech tylko w .harz-wt (50/20) */
  }

  .harz-sbe {
    padding: 0;
  }

  /* jeden blok (tekst+foto+Powered): zewn. jak lewy przed break = 48/20/48/20 */
  .harz-sbe__tafla {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 48px 20px;
    padding-left: 28px;
    padding-right: 0;
    border-left: var(--sbe-sep);
    min-height: 0;
    align-items: start;
    max-width: none;
  }

  .harz-sbe__lewy {
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-left: none; /* linia na tafli — cała wysokość */
  }

  /* lewa krawędź foto = wnętrze bloku */
  .harz-sbe__foto-wrap {
    justify-self: start;
    align-self: start;
    width: 100%;
    max-width: 243px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 24px 0 0 0;
  }

  /* Czytaj + Naprzod + Stop = szerokosc okna zdjecia (243) */
  .harz-sbe__akcje {
    width: 100%;
    max-width: 243px;
  }

  .harz-sbe__czytaj {
    flex: 1 1 auto;
    width: auto;
    align-self: stretch;
  }

  /* Powered na dół połączonego bloku (JS przenosi węzeł); lewa jak klawisz */
  .harz-sbe__sstg {
    grid-column: 1;
    margin: 0;
    padding: 10px 0 0;
    opacity: 0;
    transition: opacity var(--sbe-slide) ease;
  }

  .harz-sbe__lewy.is-in ~ .harz-sbe__sstg {
    opacity: 1;
  }

  .harz-sbe__lewy.is-out ~ .harz-sbe__sstg {
    opacity: 0;
  }

  .harz-sbe__foto {
    object-position: center top;
  }

  .harz-sbe__nag,
  .harz-sbe__tytul {
    font-size: 1.5rem; /* 24 px — bez zwężania */
  }
}

/* —— Ustawienia = Styl showbox + naroża 20 (jedyne odstępstwo) ——
   Zasłona jak showbox; bez overflow:hidden na body. Scroll zasłony gdy karta > ekran. */
.harz-ustawienia {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 20px 20px; /* SM komunikat: 50 px od góry */
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5); /* Styl showbox */
  color: var(--harz-granat);
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.harz-ustawienia[hidden] {
  display: none;
}

.harz-ustawienia.is-animating[hidden] {
  display: flex;
}

.harz-ustawienia__karta {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 0 0 20px; /* oddech u dołu przy scrollu */
  padding: 24px;
  border: none;
  border-radius: 20px; /* showbox ma 0 — tu jedyna różnica */
  background: #fff;
  box-shadow:
    0 4px 6px rgba(17, 33, 53, 0.10),
    0 14px 36px rgba(17, 33, 53, 0.28); /* jak showbox */
  flex: 0 0 auto;
  text-align: left;
  /* overflow:hidden tylko w trakcie posuwu (JS); potem widoczna całość + scroll zasłony */
}

.harz-ustawienia__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.harz-ustawienia__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(12px * var(--text-scale));
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
}

.harz-ustawienia__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--harz-granat);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.harz-ustawienia__close:hover,
.harz-ustawienia__close:focus-visible {
  opacity: 0.75;
  outline: none;
}

.harz-ustawienia__lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.harz-ustawienia__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid #ececee;
}

.harz-ustawienia__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.harz-ustawienia__item--stack {
  flex-wrap: wrap;
  align-items: flex-start;
}

.harz-ustawienia__item--font {
  flex-wrap: wrap;
}

.harz-ustawienia__main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

.harz-ustawienia__label {
  font-size: 0.92rem;
  font-weight: 700;
}

.harz-ustawienia__hint {
  font-size: 0.78rem;
  color: rgba(17, 33, 53, 0.65);
}

.harz-ustawienia__status {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--harz-granat);
}

.harz-ustawienia__switch {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.harz-ustawienia__switch-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.harz-ustawienia__switch-track {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #d8d8de;
  cursor: pointer;
}

.harz-ustawienia__switch-track::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.harz-ustawienia__switch-input:checked + .harz-ustawienia__switch-track {
  background: var(--harz-granat);
}

.harz-ustawienia__switch-input:checked + .harz-ustawienia__switch-track::after {
  transform: translateX(1.15rem);
}

.harz-ustawienia__font {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.harz-ustawienia__font-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  margin: 0;
  padding: 0 0.35rem;
  border: 1px solid rgba(17, 33, 53, 0.2);
  border-radius: 6px;
  background: #fff;
  color: var(--harz-granat);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.harz-ustawienia__font-btn--lg {
  font-size: 1rem;
  min-width: 2.3rem;
  height: 2.3rem;
}

.harz-ustawienia__font-btn--xl {
  font-size: 1.2rem;
  min-width: 2.5rem;
  height: 2.5rem;
}

.harz-ustawienia__font-btn.is-active,
.harz-ustawienia__font-btn[aria-pressed="true"] {
  border-color: var(--harz-granat);
  background: rgba(17, 33, 53, 0.08);
}

.harz-ustawienia__btn {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--harz-granat);
  border-radius: 999px;
  background: rgba(17, 33, 53, 0.08);
  color: var(--harz-granat);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.harz-ustawienia__btn:hover,
.harz-ustawienia__btn:focus-visible {
  background: rgba(17, 33, 53, 0.14);
  outline: none;
}

/* już zainstalowana — klawisz zgaszony optycznie, nadal klikalny → komunikat */
.harz-ustawienia__btn.is-installed {
  opacity: 0.45;
  cursor: pointer;
}

.harz-ustawienia__item--stack .harz-ustawienia__btn {
  align-self: center;
}

.harz-install-guide {
  flex: 1 1 100%;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid #ececee;
  box-sizing: border-box;
}

.harz-install-guide[hidden] {
  display: none;
}

/* posuw 1000 px/s — widoczny w trakcie [hidden] */
.harz-install-guide.is-animating[hidden] {
  display: block;
}

.harz-install-guide__title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.harz-install-guide__lead {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: rgba(17, 33, 53, 0.7);
}

.harz-install-guide__block {
  margin-bottom: 0.75rem;
}

.harz-install-guide__block h4 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.harz-install-guide__block ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(17, 33, 53, 0.85);
}

.harz-install-guide__block li + li {
  margin-top: 0.25rem;
}

/* —— Cookies: SM warstwa + HM wygląd jak Ustawienia —— */
.harz-cookies {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 20px 20px; /* SM: 50 px od góry, środek */
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  color: var(--harz-granat);
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.harz-cookies[hidden] {
  display: none;
}

.harz-cookies.is-animating[hidden] {
  display: flex;
}

.harz-cookies__karta {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 0 0 20px;
  padding: 24px;
  border: none;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 4px 6px rgba(17, 33, 53, 0.10),
    0 14px 36px rgba(17, 33, 53, 0.28);
  text-align: left;
  flex: 0 0 auto;
}

.harz-cookies__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.harz-cookies__tytul {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(12px * var(--text-scale));
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  line-height: 1.3;
}

.harz-cookies__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--harz-granat);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.harz-cookies__close:hover,
.harz-cookies__close:focus-visible {
  opacity: 0.75;
  outline: none;
}

.harz-cookies__txt {
  margin: 0 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(17, 33, 53, 0.65);
  line-height: 1.45;
}

.harz-cookies__txt a {
  color: var(--harz-granat);
  text-decoration: underline;
}

.harz-cookies__txt strong {
  color: var(--harz-granat);
  font-weight: 700;
}

.harz-cookies__lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.harz-cookies__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0.65rem 0;
  border-top: 1px solid #ececee;
}

.harz-cookies__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.harz-cookies__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.harz-cookies__suw {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 1.35rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.harz-cookies__suw-track {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #d8d8de;
  position: relative;
}

.harz-cookies__suw-track::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.harz-cookies__suw[aria-pressed="true"] .harz-cookies__suw-track {
  background: var(--harz-granat);
}

.harz-cookies__suw[aria-pressed="true"] .harz-cookies__suw-track::after {
  transform: translateX(1.15rem);
}

.harz-cookies__suw:disabled {
  cursor: default;
  opacity: 1;
}

.harz-cookies__suw:disabled[aria-pressed="true"] .harz-cookies__suw-track {
  background: color-mix(in srgb, var(--harz-granat) 42%, #c8ced6);
}


.harz-cookies__label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--harz-granat);
}

.harz-cookies__hint {
  font-size: 0.78rem;
  color: rgba(17, 33, 53, 0.65);
}



.harz-cookies__akcje {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.harz-cookies__odrzuc,
.harz-cookies__akceptuj,
.harz-cookies__zapisz {
  flex: 1 1 auto;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--harz-granat);
  border-radius: 999px;
  background: rgba(17, 33, 53, 0.08);
  color: var(--harz-granat);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}

.harz-cookies__odrzuc:hover,
.harz-cookies__odrzuc:focus-visible,
.harz-cookies__akceptuj:hover,
.harz-cookies__akceptuj:focus-visible,
.harz-cookies__zapisz:hover,
.harz-cookies__zapisz:focus-visible {
  background: rgba(17, 33, 53, 0.14);
  outline: none;
}
.harz-cookies__odrzuc.is-wybrane,
.harz-cookies__odrzuc.is-wybrane:hover,
.harz-cookies__odrzuc.is-wybrane:focus-visible,
.harz-cookies__akceptuj.is-wybrane,
.harz-cookies__akceptuj.is-wybrane:hover,
.harz-cookies__akceptuj.is-wybrane:focus-visible {
  background: var(--harz-granat);
  border-color: var(--harz-granat);
  color: #fff;
}

.harz-cookies__podpis {
  margin: 0.85rem 0 0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--harz-granat);
  text-align: left;
}

.harz-cookies__sstg {
  margin: 0.85rem 0 0;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 8pt;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(17, 33, 53, 0.55);
  text-align: left;
}

.harz-cookies__sstg-link {
  color: rgba(17, 33, 53, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.harz-cookies__sstg-link:hover,
.harz-cookies__sstg-link:focus-visible {
  color: var(--harz-granat);
  outline: none;
}

/* Ikona cookies — wygląd koła osobno; ruch: SM „Efekt ruchu ikony 1” */
.harz-cookies-ikona {
  --harz-cookies-ikona-size: 50px;
  position: fixed;
  left: max(12px, var(--harz-gutter));
  bottom: 20px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--harz-cookies-ikona-size);
  height: var(--harz-cookies-ikona-size);
  margin: 0;
  padding: 0;
  border: calc(var(--harz-cookies-ikona-size) * 0.05) solid #fff; /* 5% */
  border-radius: 50%;
  background: var(--harz-granat);
  color: #fff;
  cursor: pointer;
  line-height: 0;
  box-shadow: 0 2px 6px rgba(17, 33, 53, 0.35);
  transition-duration: 0.3s;
  transition-property: transform, background-color;
}

.harz-cookies-ikona[hidden] {
  display: none;
}

.harz-cookies-ikona:hover,
.harz-cookies-ikona:focus-visible {
  background: rgb(10, 20, 32);
  transform: translateY(-5px); /* SM Efekt ruchu ikony 1 */
  outline: none;
}

.harz-cookies-ikona__svg {
  display: block;
  width: calc(var(--harz-cookies-ikona-size) * 0.8); /* 80% */
  height: calc(var(--harz-cookies-ikona-size) * 0.8);
  pointer-events: none;
}
/* —— Auth / Zaloguj (demo) —— */
.harz-auth__lead {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.harz-auth__h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(22px * var(--text-scale));
  font-weight: 700;
  line-height: 1.3;
  color: var(--harz-biel);
}

.harz-auth__form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.harz-auth__label {
  display: block;
  margin: 0 0 6px;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: calc(12px * var(--text-scale));
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.harz-auth__input {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--harz-granat);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: calc(14px * var(--text-scale));
  line-height: 1.3;
}

.harz-auth__input::placeholder {
  color: rgba(17, 33, 53, 0.45);
}

.harz-auth__input:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.85);
}

.harz-auth__textarea {
  min-height: 64px;
  resize: vertical;
}

.harz-auth__check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(13px * var(--text-scale));
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.harz-auth__check input {
  margin-top: 3px;
  accent-color: var(--harz-ziel); /* rgb(0,255,0) — jak dioda HOME */
  flex-shrink: 0;
}

.harz-auth__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  margin: 4px 0 10px;
  padding: 10px 16px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  color: var(--harz-granat);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}

.harz-auth__btn:hover,
.harz-auth__btn:focus-visible {
  background: #fff;
  outline: none;
}

.harz-auth__btn:disabled,
.harz-auth__btn--ghost:disabled {
  opacity: 0.45;
  cursor: default;
}

.harz-auth__btn:disabled:hover {
  background: rgba(255, 255, 255, 0.5);
}

.harz-auth__hint {
  margin: 0;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 8pt;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.55);
}

.harz-auth__err {
  margin: 0 0 10px;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: calc(13px * var(--text-scale));
  font-weight: 700;
  line-height: 1.3;
  color: #ffb4b4;
}

.harz-auth__err[hidden] {
  display: none;
}
/*
  WT — układ stron Webmaster tools (.harz-wt-strona).
  Tafla = nadal .hero__tafla (NIE zamieniać w inny element / inną klasę „panel”).
  Kiedyś: scalenie wszystkich tafli jedną zasadą koloru + w Ustawieniach
  suwadło przesłony 0–100%; przy 100% tło = granat systemowy (--harz-granat).
  Dziś: bez zmian koloru — var(--harz-granat-blady) jak inne tafle.
*/
body.harz-wt-strona {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.harz-wt-strona #harz-page-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100vh;
}

body.harz-wt-strona > main,
body.harz-wt-strona #harz-page-shell > main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

body.harz-wt-strona .hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  padding: 0;
  min-height: 100%;
}

body.harz-wt-strona .hero__tafla,
body.harz-wt-strona.harz-strona .hero__tafla {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0; /* oddech bloku WT: .harz-wt */
  display: flex;
  flex-direction: column;
}

/* Blok WT (ścieżka + stół): oś 1200 jak header; boki 20; tafla tła full — bez zmian */
body.harz-wt-strona .harz-wt {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--harz-page-max); /* 1200 — tryb wąski */
  margin-left: auto;
  margin-right: auto;
  padding: 50px 20px; /* G/D 50, L/P 20 */
  box-sizing: border-box;
}

/* Ekran szeroki (ikona): 100% szer. ekranu, pad 20 L/P — cały WT */
body.harz-wt-strona.is-wt-szeroki .harz-wt {
  max-width: none;
  width: 100%;
}

/* —— Webmaster tools (roboczo) — siatka Pasieki; kolory Harz (MENU) —— */
.harz-wt {
  --pf-pad: 10px;
  --pf-klawisz-h: 24px;
  --pf-wiersz-h: 44px;
  --pf-navi-gap: 10px;
  --pf-nag-h: 37px;
  --pf-navi-w: 180px;
  box-sizing: border-box;
  width: 100%;
  font-family: Tahoma, sans-serif;
  font-size: calc(14px * var(--text-scale));
  line-height: normal;
  color: rgb(64, 64, 64);
}
.harz-wt *,
.harz-wt *::before,
.harz-wt *::after { box-sizing: border-box; }

.harz-wt__sciezka {
  margin: 0 0 12px 0;
  padding: 0;
  font-family: Tahoma, sans-serif;
  font-size: calc(15px * var(--text-scale));
  font-weight: bold;
  color: var(--harz-biel); /* Tu jesteś — biały */
  line-height: 1.35;
  text-align: left;
}

.harz-wt__sciezka-link {
  color: var(--harz-biel);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.harz-wt__sciezka-link:hover,
.harz-wt__sciezka-link:focus-visible {
  color: var(--harz-ziel);
  outline: none;
}

.harz-wt__scroll {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
}
.harz-wt__scroll::-webkit-scrollbar { display: none; height: 0; }

.harz-wt__stol {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.harz-wt__lista {
  flex: 1 1 auto;
  min-width: 0;
}

.harz-wt__lista .harz-wt__tab {
  display: table !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  font-family: Tahoma, sans-serif;
  font-size: calc(14px * var(--text-scale));
  background: #fff;
}

.harz-wt__tab {
  display: table !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  font-family: Tahoma, sans-serif;
  font-size: calc(14px * var(--text-scale));
  background: #fff;
}

#harz-wt-col-k {
  width: 180px;
}

.harz-wt__tab th,
.harz-wt__tab td {
  display: table-cell !important;
  padding: 0 12px;
  line-height: 1.2;
  white-space: nowrap !important;
  overflow: hidden !important;
  vertical-align: middle;
  text-align: left;
}

.harz-wt__tab th {
  background: var(--harz-granat);
  color: #fff;
  font-weight: bold;
  border: 1px solid var(--harz-granat);
  height: var(--pf-nag-h) !important;
  max-height: var(--pf-nag-h) !important;
}

.harz-wt__tab td {
  border: 1px solid #e0e0e0;
  color: rgb(64, 64, 64);
  background: #fff;
  height: var(--pf-wiersz-h) !important;
  min-height: var(--pf-wiersz-h) !important;
}

.harz-wt__tab tbody td:not(.harz-wt__navi-komorka) {
  box-sizing: content-box !important;
}

.harz-wt__tab tbody tr:nth-child(even) td {
  background: #f2f2f2;
}

.harz-wt__tab th:nth-child(2),
.harz-wt__tab td:nth-child(2) {
  text-align: center !important;
  padding-left: 10px;
  padding-right: 10px;
  width: var(--pf-navi-w);
}

.harz-wt__akcje { width: 100%; }

.harz-wt__akcje button,
.harz-wt__klawisz {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: var(--pf-klawisz-h);
  min-height: var(--pf-klawisz-h);
  max-height: var(--pf-klawisz-h);
  background: var(--harz-granat) !important;
  color: #fff !important;
  border: 0 !important;
  font-family: Tahoma, sans-serif;
  font-size: calc(11px * var(--text-scale));
  font-weight: normal;
  padding: 5px;
  text-decoration: none !important;
  box-sizing: border-box;
  cursor: pointer;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  line-height: 13px;
}
/* Hover podgląd: zieleń 255 + napis granat systemowy (kandydat na SM tabeli WT) */
.harz-wt__akcje button:hover,
.harz-wt__klawisz:hover,
.harz-wt__klawisz:focus-visible {
  background: var(--harz-ziel) !important; /* rgb(0, 255, 0) */
  color: var(--harz-granat) !important; /* #112135 */
  outline: none;
}
.harz-wt__akcje button:disabled {
  opacity: 0.45; /* zgaszony granat */
  cursor: default;
}
.harz-wt__akcje button:disabled:hover {
  background: var(--harz-granat) !important;
  color: #fff !important;
}

/* Nawigacja — 1:1 Pasieka */
.harz-wt__navi {
  flex: 0 0 var(--pf-navi-w);
  width: var(--pf-navi-w) !important;
  min-width: var(--pf-navi-w) !important;
  max-width: var(--pf-navi-w) !important;
  display: block;
  padding: 0;
  margin: 0;
  margin-right: 1px;
}

.harz-wt__tab--navi {
  display: table !important;
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  font-family: Tahoma, sans-serif !important;
  font-size: calc(14px * var(--text-scale)) !important;
  margin: 0 !important;
}

.harz-wt__tab--navi th {
  background: var(--harz-granat) !important;
  color: #fff !important;
  font-weight: bold !important;
  text-align: center !important;
  padding: 0 12px !important;
  line-height: 1.2 !important;
  border: 1px solid var(--harz-granat) !important;
  white-space: nowrap !important;
  height: var(--pf-nag-h) !important;
  max-height: var(--pf-nag-h) !important;
  vertical-align: middle !important;
}

.harz-wt__navi-komorka {
  display: table-cell !important;
  border: 1px solid #e0e0e0 !important;
  background: #fff !important;
  color: rgb(64, 64, 64) !important;
  padding: var(--pf-pad) var(--pf-pad) 0 var(--pf-pad) !important;
  vertical-align: top !important;
  text-align: center !important;
  width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

.harz-wt__navi-cialo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--pf-navi-gap);
  padding: 0;
  margin: 0;
}

.harz-wt__navi-stopka {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--pf-navi-gap);
  padding: 0 0 var(--pf-pad) 0;
  margin: 0;
}
.harz-wt__navi-cialo:not(:empty) + .harz-wt__navi-stopka { margin-top: var(--pf-navi-gap); }
.harz-wt__navi-cialo:empty + .harz-wt__navi-stopka { margin-top: 0; }

.harz-wt__navi-sep {
  height: 1px;
  width: 100px;
  max-width: calc(100% - 20px);
  background: var(--harz-granat);
  margin: 0 auto;
  flex: 0 0 auto;
  pointer-events: none;
  border: none;
}

.harz-wt__navi-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: var(--pf-klawisz-h);
  min-height: var(--pf-klawisz-h);
  max-height: var(--pf-klawisz-h);
  background: var(--harz-granat) !important;
  color: #fff !important;
  border: 0 !important;
  font-family: Tahoma, sans-serif;
  font-size: calc(11px * var(--text-scale));
  font-weight: normal;
  padding: 5px;
  text-decoration: none !important;
  box-sizing: border-box;
  cursor: pointer;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  line-height: 13px;
}
.harz-wt__navi-btn:hover,
a.harz-wt__navi-btn:hover,
a.harz-wt__navi-btn:focus-visible {
  background: var(--harz-ziel) !important; /* rgb(0, 255, 0) */
  color: var(--harz-granat) !important; /* #112135 */
  outline: none;
}

.harz-wt__navi-pomoc {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100px;
  max-width: calc(100% - 20px);
  margin: 0 auto;
  flex: 0 0 auto;
}

.harz-wt__navi-kreska {
  flex: 1 1 auto;
  height: 1px;
  min-width: 0;
  background: var(--harz-granat);
}

.harz-wt__navi-info {
  flex: 0 0 16px;
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  margin: 0;
  padding: 0 !important;
  border: 1.5px solid var(--harz-granat) !important;
  border-radius: 50%;
  background: #fff !important;
  color: var(--harz-granat) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(11px * var(--text-scale));
  font-weight: bold;
  font-style: italic;
  line-height: 1 !important;
  cursor: default;
  opacity: 0.45; /* zgaszony granat */
}
.harz-wt__navi-info:not(:disabled):hover {
  background: var(--harz-granat-blady) !important;
  color: #fff !important;
  opacity: 1;
}
.harz-wt__navi-info:disabled:hover {
  background: #fff !important;
  color: var(--harz-granat) !important;
}

/* �� Bramka W��cz g�os (przed cookies) � ten sam j�zyk co Cookies �� */
.harz-wlacz-glos {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 20px 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  color: var(--harz-granat);
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.harz-wlacz-glos[hidden] {
  display: none;
}

.harz-wlacz-glos.is-animating[hidden] {
  display: flex;
}

.harz-wlacz-glos__karta {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 0 0 20px;
  padding: 24px;
  border: none;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 4px 6px rgba(17, 33, 53, 0.10),
    0 14px 36px rgba(17, 33, 53, 0.28);
  text-align: left;
  flex: 0 0 auto;
}

.harz-wlacz-glos__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.harz-wlacz-glos__tytul {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(12px * var(--text-scale));
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  line-height: 1.3;
}

.harz-wlacz-glos__txt {
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--harz-granat);
  line-height: 1.45;
}

.harz-wlacz-glos__awatar-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 10px; /* 10 px do klawiszy */
}

.harz-wlacz-glos__awatar {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 33, 53, 0.18);
  /* video: bez kontrolek, bez kliknięcia */
  pointer-events: none;
}

.harz-wlacz-glos__akcje {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.harz-wlacz-glos__btn-wlacz {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border: 0;
  border-radius: 0;
  background: var(--harz-granat);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.harz-wlacz-glos__btn-wlacz:hover,
.harz-wlacz-glos__btn-wlacz:focus-visible {
  opacity: 0.92;
  outline: none;
}

.harz-wlacz-glos__btn-label {
  flex: 1 1 auto;
}

.harz-wlacz-glos__switch {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.harz-wlacz-glos__switch-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.harz-wlacz-glos__switch-track {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  position: relative;
}

.harz-wlacz-glos__switch-track::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.harz-wlacz-glos__switch-input:checked + .harz-wlacz-glos__switch-track {
  background: var(--harz-ziel);
}

.harz-wlacz-glos__switch-input:checked + .harz-wlacz-glos__switch-track::after {
  transform: translateX(1.15rem);
}

.harz-wlacz-glos__btn-cisza {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(17, 33, 53, 0.25);
  border-radius: 0;
  background: #fff;
  color: var(--harz-granat);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.harz-wlacz-glos__btn-cisza:hover,
.harz-wlacz-glos__btn-cisza:focus-visible {
  background: #f5f5f7;
  outline: none;
}

.harz-wlacz-glos__ajtina {
  margin: 0 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--harz-granat);
}

.harz-wlacz-glos__podpis {
  margin: 0 0 0.35rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--harz-granat);
}

.harz-wlacz-glos__sstg {
  margin: 0;
  text-align: center;
  font-size: 0.65rem;
  color: rgba(17, 33, 53, 0.45);
}

.harz-wlacz-glos__sstg-link {
  color: inherit;
  text-decoration: underline;
}

/* WT — Czat z programistą (w budowie) */
.harz-cdp-kom__ikona {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--harz-granat);
}
.harz-cdp-kom__tytul {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(16px * var(--text-scale));
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

/* === T4 26.2.614 konto + oferta === */
/* 26.2.615: konto — teksty na szybie białe; Wyloguj */
/* 26.2.616: konto — H2 24 bold; wart ziel; klawisze granat; WT 50; SSTG MS */
/* 26.2.617: konto — hr pod H2 (harz-strona__hr 20/20) */
/* 26.2.618: konto — WT wersja z App; hr pod WT; bez 50 */
.harz-konto__meta {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
}
.harz-konto__wart {
  color: var(--harz-ziel);
}
.harz-konto__hint {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  line-height: 1.45;
}
.harz-konto__oferta-lead {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  line-height: 1.45;
}
.harz-konto__tresc .harz-auth__h2 {
  margin-bottom: 0;
  font-size: calc(24px * var(--text-scale));
  font-weight: 700;
  color: #fff;
}
.harz-konto__tresc .harz-strona__hr {
  margin: 20px 0;
}
/* 26.2.622: konto — listwa LED pod H2 (ziel 255, bialy bieg 1.8s) */
.harz-konto__led {
  box-sizing: border-box;
  width: 100%;
  height: 1px;
  margin: 20px 0;
  overflow: hidden;
  line-height: 0;
}
.harz-konto__led-svg {
  display: block;
  width: 100%;
  height: 1px;
}
.harz-konto__led-tor {
  fill: var(--harz-ziel);
  opacity: 0.55;
}
.harz-konto__led-spot {
  transform-box: fill-box;
  transform-origin: left center;
  animation: harz-konto-led-run 4s linear infinite;
}
@keyframes harz-konto-led-run {
  0% { transform: translateX(-100%); }
  25% { transform: translateX(725%); }
  50% { transform: translateX(-100%); }
  100% { transform: translateX(-100%); }
}
.harz-konto__led--inv .harz-konto__led-spot {
  animation-name: harz-konto-led-run-inv;
  animation-delay: 2s;
}
@keyframes harz-konto-led-run-inv {
  0% { transform: translateX(725%); }
  25% { transform: translateX(-100%); }
  50% { transform: translateX(725%); }
  100% { transform: translateX(725%); }
}
  to { transform: translateX(725%); }
}
@media (prefers-reduced-motion: reduce) {
  .harz-konto__led-spot {
    animation: none;
    opacity: 0;
  }
  .harz-konto__led-tor {
    opacity: 0.85;
  }
}
.harz-konto__wt-wersja {
  margin: 0 0 18px;
}
.harz-konto__tresc .harz-auth__btn,
a.harz-konto__linkbtn {
  color: var(--harz-granat);
}
a.harz-konto__linkbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
.harz-strona .hero__tafla:has(.harz-konto__tresc) {
  position: relative;
  padding-bottom: 36px;
}
.harz-konto__sstg {
  position: absolute;
  left: 20px;
  bottom: 10px;
  z-index: 1;
  margin: 0;
  max-width: calc(100% - 40px);
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 8pt;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.45);
  text-align: left;
  pointer-events: auto;
}
.harz-konto__sstg-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.harz-konto__sstg-link:hover,
.harz-konto__sstg-link:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  outline: none;
}
/* 26.2.644: oferta — Temida + AAA Ustawienia; ikony header = standard (bez outlinow) */
body.harz-oferta-strona {
  background-color: var(--harz-granat);
  background-image: url("../tlo.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.harz-oferta-strona .hero {
  display: block;
  padding-top: 40px; /* jak inne strony (.hero) */
}
.harz-oferta-strona .hero__pasek {
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 4;
  pointer-events: auto;
}
.harz-oferta-strona .hero__tafla {
  padding: 30px 20px 40px;
}
.harz-oferta {
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--harz-biel);
}
/* 26.2.651: AAA mniejsze w luce 40px; rowny luz gora/dol (center) */

/* 26.2.658: Oferta — Wyloguj | Powrót; ikona jak Moje konto; 10px nad separatorem */

/* 26.2.679: ikona Powrót — ten sam stroke co Wyloguj, kolor granat */
.harz-oferta__powrot-ico {
  flex-shrink: 0;
  display: block;
  color: var(--harz-granat);
  filter: none;
  animation: none !important;
  opacity: 1;
}
.harz-oferta__powrot-stroke {
  fill: none !important;
  stroke: var(--harz-granat) !important;
  stroke-width: 2;
}
.harz-oferta__navi .harz-oferta__powrot-ico {
  /* optyka jak wyloguj-ico w btn-inner */
}

.harz-oferta__navi {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 40px; /* jak kolumny tekstu oferty */
  box-sizing: border-box;
  margin: 18px 0 0;
  padding: 0 0 10px;
}
.harz-oferta__navi + .harz-strona__hr {
  margin-top: 0;
}
.harz-oferta__navi .harz-auth__btn {
  flex: 1 1 0;
  width: auto;
  min-width: 8rem;
  margin: 0;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.harz-oferta__navi a.harz-auth__btn {
  color: var(--harz-granat);
}
.harz-oferta__navi a.harz-auth__btn:hover,
.harz-oferta__navi a.harz-auth__btn:focus-visible {
  background: #fff;
  outline: none;
}
/* jak .harz-konto__tresc — ta sama pozycja czerwonej ikony względem tekstu */
.harz-oferta__navi .harz-konto__btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.harz-oferta__navi .harz-konto__wyloguj-ico {
  flex-shrink: 0;
  display: block;
  color: #ff0000;
  filter: none;
  animation: none !important;
  opacity: 1;
}
.harz-oferta__navi .harz-konto__wyloguj-stroke {
  fill: none !important;
  stroke: #ff0000 !important;
  stroke-width: 2;
}

.harz-oferta__font {
  display: inline-flex;
  gap: 0.2rem;
  align-items: flex-end;
  box-sizing: border-box;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
  z-index: 4;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.harz-oferta-strona .harz-oferta__font .harz-ustawienia__font-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  padding: 0 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  pointer-events: auto;
  touch-action: manipulation;
}
.harz-oferta-strona .harz-oferta__font .harz-ustawienia__font-btn--lg {
  font-size: 0.58rem;
  min-width: 1.25rem;
  height: 1.25rem;
}
.harz-oferta-strona .harz-oferta__font .harz-ustawienia__font-btn--xl {
  font-size: 0.68rem;
  min-width: 1.35rem;
  height: 1.35rem;
}
.harz-oferta-strona .harz-oferta__font .harz-ustawienia__font-btn.is-active,
.harz-oferta-strona .harz-oferta__font .harz-ustawienia__font-btn[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
  color: var(--harz-granat);
  box-shadow: none;
}
.harz-oferta__h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(26px * var(--text-scale)); /* jak Blog */
  font-weight: 700;
  color: var(--harz-biel);
  line-height: 1.3;
  margin: 0 0 28px;
}
.harz-oferta__toc-title,
.harz-oferta__h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(18px * var(--text-scale));
  font-weight: 700;
  color: var(--harz-biel);
  margin: 0 0 12px;
}
.harz-oferta__toc-list {
  margin: 0 0 8px 1.2em;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  line-height: 1.5;
  color: var(--harz-biel);
}
.harz-oferta__toc-list a {
  color: var(--harz-biel);
  text-decoration: none;
  text-underline-offset: 2px;
}
.harz-oferta__toc-list a:hover,
.harz-oferta__toc-list a:focus-visible {
  color: #fff;
  text-decoration: underline;
  outline: none;
}
.harz-oferta__p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(14px * var(--text-scale));
  font-weight: 400;
  line-height: 1.55;
  color: var(--harz-biel);
  margin: 0 0 8px;
}
.harz-oferta__sekcja {
  scroll-margin-top: 120px;
}
.harz-oferta__hr {
  opacity: 0.55;
  border-top-color: rgba(255, 255, 255, 0.35);
  scroll-margin-top: 120px; /* kotwica TOC → separator */
}



/* 26.2.630: WT klucz goły 255, bez poświaty; mrug jak ludzik */
/* 26.2.635: klucz — bez mrugu, świeci stale */
/* 26.2.636: fix — animation none na wt-ico (635 nie weszło) */
/* 26.2.640: Wyloguj/WT wspólny inner + #ff0000 */
/* 26.2.632: Wyloguj — bez ikony (cofka C) */
a.harz-konto__wt-btn {
  /* gap w .harz-konto__btn-inner */
}
.harz-konto__wt-ico {
  flex-shrink: 0;
  display: block;
  color: var(--harz-ziel); /* rgb(0,255,0) — świeci stale */
  filter: none;
  animation: none !important;
  opacity: 1;
}
.harz-konto__wt-body {
  fill: none;
  stroke: var(--harz-ziel); /* rgb(0,255,0) */
}
.harz-konto__wt-core {
  fill: var(--harz-ziel);
}
@media (prefers-reduced-motion: reduce) {
  .harz-konto__wt-ico {
    animation: none;
    opacity: 1;
  }
}



/* 26.2.640: klawisze z ikoną — wspólny inner (gap 10), Wyloguj #ff0000 */
.harz-konto__tresc .harz-konto__btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.harz-konto__tresc .harz-konto__wyloguj-btn,
.harz-konto__tresc a.harz-konto__wt-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.harz-konto__tresc .harz-konto__wyloguj-ico {
  flex-shrink: 0;
  display: block;
  color: #ff0000;
  filter: none;
  animation: none !important;
  opacity: 1;
}
.harz-konto__tresc .harz-konto__wyloguj-stroke {
  fill: none !important;
  stroke: #ff0000 !important;
  stroke-width: 2;
}

/* 26.2.653: oferta — Temida float P, ring jak Blog, lightbox */


.harz-oferta__foto-btn {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}
.harz-oferta__foto-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.harz-oferta__foto.harz-strona__foto {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}
.harz-oferta__wstep .harz-oferta__p {
  margin-top: 0;
  margin-bottom: 1em;
}
.harz-oferta__wstep .harz-oferta__p:last-of-type {
  margin-bottom: 0;
}


/* 26.2.670: foto od góry jak tytuł; łamanie: tytuł → tekst → foto → separator */
.harz-oferta__sekcja {
  column-count: 2;
  column-gap: 40px;
  column-rule: none;
}
.harz-oferta__sekcja .harz-oferta__h2 {
  column-span: all;
}
.harz-oferta__sekcja--z-foto {
  column-count: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 0;
  align-items: start;
  align-content: start;
}
.harz-oferta__sekcja--z-foto > .harz-oferta__h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 12px;
}
.harz-oferta__sekcja--z-foto > .harz-oferta__wstep-tekst {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}
.harz-oferta__sekcja--z-foto > .harz-oferta__foto-btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  float: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
}
.harz-oferta__wstep-tekst .harz-oferta__p {
  margin-top: 0;
  margin-bottom: 1em;
}
.harz-oferta__wstep-tekst .harz-oferta__p:last-child {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .harz-oferta__sekcja {
    column-count: 1;
  }
  /* DOM: tytuł → tekst → foto → (hr) → tytuł… */
  .harz-oferta__sekcja--z-foto {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .harz-oferta__sekcja--z-foto > .harz-oferta__h2 {
    order: 1;
    margin: 0 0 12px;
  }
  .harz-oferta__sekcja--z-foto > .harz-oferta__wstep-tekst {
    order: 2;
  }
  .harz-oferta__sekcja--z-foto > .harz-oferta__foto-btn {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 14px 0 0;
  }
  /* ten sam punkt łamania — klawisze jeden nad drugim, 10px przerwy */
  .harz-oferta__navi {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .harz-oferta__navi .harz-auth__btn {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }
}

.harz-oferta-lb {
  position: fixed;
  inset: 0;
  z-index: 10070;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
  margin: 0;
  /* granat systemowy — alfa 0.97 */
  background: rgba(17, 33, 53, 0.97);
  cursor: zoom-out;
}
.harz-oferta-lb[hidden] {
  display: none !important;
}
html.harz-oferta-lb-open,
html.harz-oferta-lb-open body {
  overflow: hidden !important;
}
#harz-page-shell.harz-oferta-lb-open {
  overflow: hidden !important;
}
html.harz-oferta-lb-open .harz-home-ikona,
html.harz-oferta-lb-open .harz-home-ikona.is-visible,
html.harz-oferta-lb-open .harz-do-gory,
html.harz-oferta-lb-open .harz-do-gory.is-visible,
html.harz-oferta-lb-open .harz-cookies-ikona,
html.harz-oferta-lb-open .harz-cookies-ikona.is-visible {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.harz-oferta-lb__close {
  z-index: 2;
}
.harz-oferta-lb__img {
  display: block;
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 12px 40px rgba(0, 0, 0, 0.55);
  cursor: default;
}
.harz-oferta-lb__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.harz-oferta-lb__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.harz-oferta-lb__close:hover .harz-oferta-lb__x-line,
.harz-oferta-lb__close:focus-visible .harz-oferta-lb__x-line {
  opacity: 0.85;
}
/* X z dwóch kresek — jak linie hamburgera */
.harz-oferta-lb__x {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
}
.harz-oferta-lb__x-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: #fff;
  opacity: 1;
}
.harz-oferta-lb__x-line:nth-child(1) {
  transform: rotate(45deg);
}
.harz-oferta-lb__x-line:nth-child(2) {
  transform: rotate(-45deg);
}

