/* krakowskiraport. — koncepcja 2 (granat Wisły, czerwień Wawelu, Bricolage + IBM Plex).
   Ładowany po style.css: nadpisuje tokeny, więc starsze podstrony dziedziczą
   kolory i fonty, a nowe komponenty mają własne klasy. */

/* ---- fonty hostowane lokalnie (bez wysyłania IP czytelników do Google) ---- */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(fonts/bricolage-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/plex-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/plex-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- tokeny ---- */
:root {
  --ink: #101828; --paper: #FFFFFF; --ground: #F5F4F0; --muted: #5B6472; --line: #E4E3DD; --border: #C7C9CF;
  --navy: #0E2A47; --navy-2: #163A5F; --red: #C8102E; --red-text: #B30E28; --red-soft: #FDECEF;
  --good: #1E7B4D; --mod: #8A5A0F; --bad: #B30E28; --ph-ink: #4B5361; --on-navy: #C5D3E3; --on-navy-2: #9DB4D0;
  /* stare nazwy — mapowane na nowe, żeby starsze podstrony przyjęły markę */
  --ink-soft: #5B6472; --ink-faint: #667085; --paper-alt: #F5F4F0; --accent: #B30E28; --accent-dark: #8E0B20; --link: #0E2A47;
  --serif: 'Bricolage Grotesque', 'IBM Plex Sans', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --ink: #F3F4F6; --paper: #0F141B; --ground: #171D26; --muted: #A3ACB9; --line: #273140; --border: #3C4858;
  --navy: #122F50; --navy-2: #1B3E66; --red-text: #FF6B7A; --red-soft: #3A1520; --good: #6FD39A; --mod: #E8BE66; --bad: #FF8A96;
  --ph-ink: #AEB6C2;
  --ink-soft: #A3ACB9; --ink-faint: #8D97A5; --paper-alt: #171D26; --accent: #FF6B7A; --accent-dark: #FF8A96; --link: #8DB4E2;
  color-scheme: dark;
}

/* ---- podstawa ---- */
body { font-family: var(--sans); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--red-text); text-decoration: none; }
.wrap { max-width: 1240px; padding: 0 24px; }
.disp { font-family: var(--serif); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.lbl { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meta { font-size: 13px; color: var(--muted); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-text); }
.kicker a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; text-decoration: none; }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn-red { background: var(--red); }
.btn-red:hover { background: #A50D26; color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--ground); color: var(--ink); border-color: var(--ink); }
.btn-white { background: #fff; color: #0E2A47; }
.btn-white:hover { background: #E8EEF5; color: #0E2A47; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; background: var(--ground); color: var(--ink); white-space: nowrap; }
a.chip:hover { background: var(--line); color: var(--ink); }
.chip.is-on { background: var(--navy); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.lvl-0, .lvl-1 { background: #2E9A5B; } .lvl-2 { background: #E0A530; } .lvl-3 { background: #E07B30; }
.lvl-4, .lvl-5 { background: #C8102E; } .lvl-x { background: var(--border); }
.txt-lvl-0, .txt-lvl-1 { color: var(--good); } .txt-lvl-2, .txt-lvl-3 { color: var(--mod); } .txt-lvl-4, .txt-lvl-5 { color: var(--bad); }

/* ---- nagłówek ---- */
.kr-header { background: var(--paper); }
.kr-strip { background: var(--ground); border-bottom: 1px solid var(--line); font-size: 13px; }
.kr-strip-in { display: flex; align-items: center; gap: 6px 26px; min-height: 40px; }
.kr-strip a, .kr-strip span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.kr-strip a { color: var(--ink); }
.kr-strip a:hover { color: var(--red-text); }
.kr-strip svg { flex: none; }
.kr-strip .kr-strip-air { font-weight: 600; }
.kr-strip time { margin-left: auto; color: var(--muted); }
.kr-brand { display: flex; align-items: center; gap: 14px 20px; padding-top: 18px; padding-bottom: 14px; }
.kr-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.kr-logo:hover { color: var(--ink); }
.kr-wordmark { font-family: var(--serif); font-weight: 800; font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.kr-wordmark span { font-weight: 500; }
.kr-wordmark b { color: var(--red); font-weight: 800; }
.kr-brand-gap { flex: 1; }
.kr-search { display: flex; flex: 0 1 300px; min-width: 180px; }
.kr-search input { flex: 1; min-width: 0; min-height: 44px; border: 1.5px solid var(--border); border-right: 0;
  border-radius: 999px 0 0 999px; padding: 0 18px; font: inherit; font-size: 15px; background: var(--paper); color: var(--ink); }
.kr-search input::placeholder { color: var(--muted); }
.kr-search button { border-radius: 0 999px 999px 0; padding: 0 16px; }
.kr-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--paper); color: var(--ink); cursor: pointer; flex: none; }
.kr-iconbtn:hover { background: var(--ground); color: var(--ink); }
.kr-theme .ico-sun { display: none; }
:root[data-theme="dark"] .kr-theme .ico-sun { display: block; }
:root[data-theme="dark"] .kr-theme .ico-moon { display: none; }
.kr-menu, .kr-search-m { display: none; }
.kr-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kr-nav-in { display: flex; align-items: center; gap: 0 8px; }
.kr-cats, .kr-tools { display: flex; align-items: center; }
.kr-tools { margin-left: auto; }
.kr-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 11px; font-weight: 600; font-size: 15px;
  color: var(--ink); border-bottom: 3px solid transparent; box-sizing: border-box; white-space: nowrap; }
.kr-nav a:hover { border-bottom-color: var(--red); color: var(--ink); }
.kr-nav a.is-on { border-bottom-color: var(--red); color: var(--red-text); }
.kr-tools .lbl { padding: 0 6px 0 12px; border-left: 1px solid var(--line); }
.kr-tools a { font-size: 14px; color: var(--muted); padding: 0 9px; }
.kr-panel { border-bottom: 1px solid var(--line); background: var(--paper); }
.kr-panel-in { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; padding-bottom: 20px; }
.kr-panel .kr-search { flex: none; width: 100%; }
.kr-panel-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.kr-panel-links a { display: flex; align-items: center; min-height: 44px; font-weight: 600; border-bottom: 1px solid var(--line); }

/* pasek pilnych — ten sam mechanizm przewijania, nowe barwy */
.pilne-bar { background: var(--red-soft); border-bottom: 0; }
.pilne-inner { height: 46px; padding: 0 24px; }
.pilne-tag { background: transparent; color: var(--red-text); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  display: inline-flex; align-items: center; gap: 8px; padding: 0 16px 0 0; }
.pilne-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.pilne-item { color: var(--ink); font-size: 15px; font-weight: 600; }
a.pilne-item:hover { color: var(--red-text); text-decoration: none; }
.pilne-sep { color: var(--red-text); opacity: .5; }

/* pasek meczu */
.live-bar { background: var(--navy); color: #fff; }
.live-bar:hover { color: #fff; }

/* cienki pasek po przewinięciu */
@media (min-width: 1201px) {
  .sticky-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
  .sticky-logo { font-family: var(--serif); font-weight: 800; font-size: 19px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
  .sticky-logo span { font-weight: 500; }
  .sticky-logo b { color: var(--red); }
  .sticky-nav a { color: var(--ink); text-transform: none; font-size: 14px; letter-spacing: 0; }
}

/* ---- układ ---- */
.layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 32px; padding-bottom: 64px; }
.layout-wide { grid-template-columns: minmax(0, 1fr); }
.layout > .span-all { grid-column: 1 / -1; }
.sec { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec h2 { font-family: var(--serif); font-weight: 800; font-size: 30px; letter-spacing: -.02em; margin: 0; line-height: 1.1; }
.sec a, .sec .more { font-size: 14px; font-weight: 600; color: var(--red-text); white-space: nowrap; }
.breadcrumbs { font-size: 13px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red-text); }
.page-title, .article-title { font-family: var(--serif); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.page-title { font-size: 52px; }
.empty-note { background: var(--ground); border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); }

/* zdjęcia: panoramiczne kadrujemy, pionowe (mapy, plakaty) pokazujemy w całości */
.media { display: block; overflow: hidden; background: var(--ground); border-radius: 16px; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-portrait img { object-fit: contain; }

/* ---- strona główna ---- */
.g-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.hero-main { display: flex; flex-direction: column; gap: 14px; }
.hero-main .media { aspect-ratio: 16 / 9; }
.hero-main h1 { font-size: 50px; }
.hero-main h1 a { color: var(--ink); }
.hero-main h1 a:hover { color: var(--red-text); }
.hero-lead { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.hero-meta strong { color: var(--ink); font-weight: 600; }
.raport { background: var(--ground); border-radius: 16px; padding: 26px 28px; display: flex; flex-direction: column; }
.raport-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.raport-head h2 { font-size: 26px; }
.raport ol { list-style: none; margin: 0; padding: 0; }
.raport li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.raport li > .disp { font-size: 28px; color: var(--red-text); }
.raport li a { font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--ink); display: block; margin-bottom: 4px; }
.raport li a:hover { color: var(--red-text); }
.raport .btn { margin-top: 14px; align-self: flex-start; }
.g-tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tool { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px;
  min-height: 128px; color: var(--ink); background: var(--paper); }
.tool:hover { border-color: var(--navy); color: var(--ink); }
:root[data-theme="dark"] .tool:hover { border-color: var(--on-navy-2); }
.tool svg { color: var(--navy); }
:root[data-theme="dark"] .tool svg { color: var(--on-navy-2); }
.tool strong { font-size: 17px; }
.tool .meta { line-height: 1.4; }
.tool .live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.home-main { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 112px; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.row.no-thumb { grid-template-columns: 70px minmax(0, 1fr); }
.row:first-child { border-top: 0; padding-top: 0; }
.row-time { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--muted); line-height: 1.3; }
.row-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row-body h3, .row-body h2 { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: -.01em; line-height: 1.22; margin: 0; }
.row-body h3 a, .row-body h2 a { color: var(--ink); }
.row-body h3 a:hover, .row-body h2 a:hover { color: var(--red-text); }
.row-lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.row .media { aspect-ratio: 4 / 3; border-radius: 8px; }
.row-list .ad-house, .row-list > .ad { margin: 16px 0; }
.more-center { display: flex; justify-content: center; margin-top: 24px; }
.obm { background: var(--navy); color: #fff; border-radius: 20px; padding: 34px 36px; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.obm .lbl { color: var(--on-navy-2); }
.obm h2 { font-size: 34px; color: #fff; margin: 6px 0 12px; }
.obm p { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: var(--on-navy); }
.obm dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-self: center; }
.obm dl div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.obm dt { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-2); }
.obm dd { margin: 0; font-family: var(--serif); font-weight: 800; font-size: 40px; line-height: 1; color: #fff; }
.obm dd.c-good { color: #7DD3A0; } .obm dd.c-mod { color: #E8BE66; } .obm dd.c-bad { color: #FF8A96; }
.g-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.g-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ev { display: flex; flex-direction: column; gap: 10px; }
.ev-date { display: flex; align-items: baseline; gap: 10px; background: var(--ground); border-radius: 12px; padding: 18px 20px; }
.ev-date .disp { font-size: 44px; color: var(--navy); }
:root[data-theme="dark"] .ev-date .disp { color: var(--ink); }
.ev-date span { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ev h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.25; margin: 0; }
.ev h3 a { color: var(--ink); }
.card2 { display: flex; flex-direction: column; gap: 10px; }
.card2 .media { aspect-ratio: 16 / 10; border-radius: 12px; }
.card2 h3, .card2 h2 { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.22; letter-spacing: -.01em; margin: 0; }
.card2 h3 a, .card2 h2 a { color: var(--ink); }
.card2 h3 a:hover, .card2 h2 a:hover { color: var(--red-text); }
.card2 p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card2.big h2 { font-size: 28px; }

/* ---- panel boczny ---- */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sb-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.sb-card.is-ground { background: var(--ground); border: 0; }
.sb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sb-head h2 { margin: 0; }
.sb-head a { font-size: 13px; font-weight: 600; color: var(--red-text); }
.wx-now2 { display: flex; align-items: center; gap: 14px; }
.wx-now2 .disp { font-size: 54px; }
.wx-now2 p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.wx-days2 { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 13px; }
.wx-days2 strong { display: block; }
.air-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.air-big .disp { font-size: 32px; }
.air-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; font-size: 13px; }
.air-grid li { display: flex; align-items: center; gap: 8px; }
.air-grid .dot { width: 10px; height: 10px; border-radius: 3px; }
.sb-list { list-style: none; margin: 0; padding: 0; }
.sb-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.sb-list li:first-child { border-top: 0; padding-top: 2px; }
.sb-list a { font-weight: 600; line-height: 1.35; font-size: 15px; color: var(--ink); display: block; }
.sb-list a:hover { color: var(--red-text); }
.sb-list .meta { display: block; margin-top: 3px; }
.sb-list.is-num { counter-reset: n; }
.sb-list.is-num li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; counter-increment: n; }
.sb-list.is-num li::before { content: counter(n); font-family: var(--serif); font-weight: 800; font-size: 22px; color: var(--red-text); line-height: 1.1; }
.sb-mecz { border-left: 3px solid var(--klub, var(--red)); padding-left: 12px; }
.nl { background: var(--navy); color: #fff; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 80px; }
.nl h2 { font-size: 24px; color: #fff; }
.nl p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--on-navy); }
.nl form { display: flex; flex-direction: column; gap: 10px; }
.nl label.nl-l { font-size: 13px; font-weight: 600; }
.nl input[type=email] { min-height: 44px; border: 0; border-radius: 999px; padding: 0 16px; font: inherit; font-size: 15px; background: #fff; color: #101828; }
.nl .nl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--on-navy); }
.nl .nl-consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--red); }
.nl .nl-consent a { color: #fff; text-decoration: underline; }
.nl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-msg { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.12); color: #fff; }
.nl-msg.is-err { background: rgba(255, 138, 150, .18); }
.sb-promo { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.sb-promo .media { aspect-ratio: 16 / 9; border-radius: 10px; }
.sb-promo strong { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.25; }
.sb-promo:hover strong { color: var(--red-text); }
.sidebar .ad-house, .sidebar .ad { border-radius: 12px; overflow: hidden; }

/* ---- artykuł ---- */
.art-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.art-progress span { display: block; height: 100%; width: 0; background: var(--red); }
.art-head { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; text-align: center; align-items: center; }
.art-head .breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.art-head h1 { font-size: 56px; line-height: 1.06; }
.art-lead { margin: 0; font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 740px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.art-meta strong { color: var(--ink); font-weight: 600; }
.art-fig { margin: 34px auto 0; max-width: 1100px; display: flex; flex-direction: column; gap: 8px; }
.art-fig .media { max-height: 640px; border-radius: 20px; }
.art-fig .media img { max-height: 640px; }
.art-fig figcaption { text-align: center; }
.art-grid { display: grid; grid-template-columns: 200px minmax(0, 680px) 300px; justify-content: center; gap: 48px; margin-top: 40px; }
.art-left { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 72px; align-self: start; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--paper); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); background: var(--ground); }
.share-ok { font-size: 12px; color: var(--good); min-height: 16px; }
.toc { display: flex; flex-direction: column; gap: 8px; font-size: 14px; border-left: 2px solid var(--line); padding-left: 14px; }
.toc a { color: var(--ink); line-height: 1.35; }
.toc a:hover, .toc a.is-on { color: var(--red-text); }
.art-main { min-width: 0; }
.article-body { font-size: 19px; line-height: 1.7; }
.article-body p { margin: 0 0 22px; }
.article-body h2, .article-body h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin: 36px 0 14px; scroll-margin-top: 80px; }
.article-body h2 { font-size: 30px; } .article-body h3 { font-size: 24px; }
.article-body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 0 0 26px; padding: 22px 26px; background: var(--ground); border-radius: 16px; border: 0;
  font-family: var(--serif); font-weight: 700; font-size: 23px; line-height: 1.35; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 12px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 24px; }
.article-body th, .article-body td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.article-body .tram-mapa { background: var(--ground); border-radius: 16px; }
.article-update { background: var(--red-soft); border-left: 0; border-radius: 12px; padding: 14px 18px; }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.art-author { margin-top: 28px; padding: 22px; background: var(--ground); border-radius: 16px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.art-author .av { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.art-author div { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.art-author strong { font-size: 16px; }
.art-author p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.art-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.reprint-box { background: var(--ground); border: 0; border-radius: 16px; }
.art-right { display: flex; flex-direction: column; gap: 24px; }
.art-more { margin-top: 64px; }

/* ---- dział, tag, komunikaty ---- */
.page-head { display: flex; flex-direction: column; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 22px; }
.page-head h1 { font-size: 54px; }
.page-head p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 760px; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 28px; }
.pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--border); border-radius: 999px; font-weight: 600; color: var(--ink); }
.pager a:hover { border-color: var(--ink); color: var(--ink); background: var(--ground); }
.komunikaty-lista li { border-color: var(--line); }

/* ---- szukaj ---- */
.sz2 { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.sz2 h1 { font-size: 44px; }
.sz2 form { display: flex; }
.sz2 input[type=search] { flex: 1; min-width: 0; min-height: 56px; border: 1.5px solid var(--border); border-right: 0; border-radius: 999px 0 0 999px;
  padding: 0 22px; font: inherit; font-size: 18px; background: var(--paper); color: var(--ink); }
.sz2 button { border-radius: 0 999px 999px 0; min-height: 56px; padding: 0 26px; }
mark, .sz-hl { background: none; color: inherit; font-weight: 800; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }

/* ---- zgłoś temat ---- */
.tip2 { display: grid; grid-template-columns: minmax(0, 720px) 380px; justify-content: space-between; gap: 48px; }
.tip2 h1 { font-size: 52px; margin-bottom: 12px; }
.tip2-lead { margin: 0 0 24px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.tip2 form { display: flex; flex-direction: column; gap: 18px; background: var(--ground); border-radius: 20px; padding: 28px; }
.tip2 label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.tip2 input[type=text], .tip2 input[type=email], .tip2 textarea { min-height: 48px; border: 1.5px solid var(--border); border-radius: 12px;
  padding: 0 14px; font: inherit; font-size: 16px; background: var(--paper); color: var(--ink); font-weight: 400; box-sizing: border-box; width: 100%; }
.tip2 textarea { padding: 12px 14px; min-height: 170px; resize: vertical; }
.tip2 .req { color: var(--red-text); }
.tip2-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tip2 .form-note { margin: 0; font-size: 13px; color: var(--muted); }
.tip2 .btn-red { align-self: flex-start; min-height: 52px; padding: 0 28px; }
.tip2-aside { display: flex; flex-direction: column; gap: 20px; }
.tip2-steps { background: var(--navy); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.tip2-steps .lbl { color: var(--on-navy-2); }
.tip2-steps ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; color: var(--on-navy); }
.tip2-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.tip2-steps li > .disp { font-size: 24px; color: #fff; }
.tip2-steps strong { color: #fff; }
.form-ok, .form-err { border-radius: 16px; }

/* ---- stopka ---- */
.kr-footer { background: var(--navy); color: var(--on-navy); margin-top: 0; }
:root[data-theme="dark"] .kr-footer { background: #0B1F36; }
.kr-footer a { color: var(--on-navy); }
.kr-footer a:hover { color: #fff; }
.kr-footer-in { padding-top: 48px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 36px; }
.kr-footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.kr-footer-cols nav { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.kr-footer .lbl { color: var(--on-navy-2); margin-bottom: 2px; }
.kr-footer .kr-wordmark { color: #fff; font-size: 26px; }
.kr-footer .kr-wordmark b { color: #FF6B7A; }
.kr-footer p, .kr-footer address { margin: 0; font-size: 14px; line-height: 1.6; font-style: normal; max-width: 380px; }
.kr-footer address a { color: #fff; }
.kr-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
.kr-footer .social-nav a { color: var(--on-navy); }
.kr-footer .social-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* zgoda na cookies w barwach marki */
.consent { background: var(--navy); }
.consent-yes { background: var(--red); }

/* ---- motyw ciemny: łatki dla starszych komponentów z jasnymi kolorami na sztywno ---- */
:root[data-theme="dark"] .wyb-cal-item.is-today { background: #3A3112; }
:root[data-theme="dark"] .article-update { background: var(--red-soft); }
:root[data-theme="dark"] img { opacity: .95; }
:root[data-theme="dark"] input, :root[data-theme="dark"] select, :root[data-theme="dark"] textarea { color-scheme: dark; }

/* ---- responsywność ---- */
@media (max-width: 1240px) {
  .kr-tools .lbl { display: none; }
  .kr-nav a { padding: 0 9px; font-size: 14px; }
}
@media (max-width: 1100px) {
  .art-grid { grid-template-columns: minmax(0, 680px) 300px; }
  .art-left { position: static; grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 16px 40px; }
  .toc { display: none; }
}
@media (max-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .g-hero, .obm { grid-template-columns: minmax(0, 1fr); }
  .g-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kr-footer-cols { grid-template-columns: 1fr 1fr; }
  .art-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; }
  .tip2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .kr-strip-in { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; gap: 18px; }
  .kr-strip-in::-webkit-scrollbar { display: none; }
  .kr-strip time { display: none; }
  .kr-brand { padding-top: 12px; padding-bottom: 10px; gap: 8px; }
  .kr-wordmark { font-size: 22px; }
  .kr-logo svg { width: 34px; height: 34px; }
  .kr-brand > .kr-search, .kr-brand > .kr-tip { display: none; }
  .kr-menu, .kr-search-m { display: inline-flex; }
  .kr-iconbtn { border: 0; }
  .kr-nav { border-bottom: 0; }
  .kr-nav-in { overflow-x: auto; scrollbar-width: none; padding: 8px 16px; gap: 8px; }
  .kr-nav-in::-webkit-scrollbar { display: none; }
  .kr-cats { gap: 8px; }
  .kr-nav a { min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--ground); border-bottom: 0; font-size: 14px; }
  .kr-nav a.is-on { background: var(--navy); color: #fff; }
  .pilne-inner { padding: 0 16px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .layout { padding-top: 20px; gap: 32px; }
  .hero-main h1 { font-size: 32px; }
  .hero-lead { font-size: 16px; }
  .raport { padding: 20px; }
  .g-tools { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tool { min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; padding: 14px; }
  .tool .meta { flex-basis: 100%; }
  .g-3, .g-2 { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .row .media { display: none; }
  .row-body h3, .row-body h2 { font-size: 18px; }
  .sec h2 { font-size: 24px; }
  .obm { padding: 22px; } .obm h2 { font-size: 26px; } .obm dd { font-size: 30px; }
  .art-head h1 { font-size: 32px; }
  .art-lead { font-size: 18px; }
  .article-body { font-size: 18px; }
  .page-title, .page-head h1 { font-size: 36px; }
  .tip2 h1 { font-size: 36px; } .tip2-row { grid-template-columns: minmax(0, 1fr); } .tip2 form { padding: 20px; }
  .kr-footer-cols { grid-template-columns: minmax(0, 1fr); }
  .sz2 h1 { font-size: 32px; }
}
@media print {
  .kr-header, .kr-footer, .sidebar, .art-left, .art-right, .art-progress, .art-more, .pilne-bar, .consent, .nl { display: none !important; }
  .art-grid { display: block; }
}

/* widżet pogody z zakładkami (dział Pogoda) w barwach marki */
.pg-tab { color: var(--ink); border-color: var(--border); }
.pg-tab:hover { background: var(--ground); }
.pg-tab.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pg-now { border-bottom-color: var(--line); }
.pg-now-main, .pg-day-ico { color: var(--navy); }
:root[data-theme="dark"] .pg-now-main, :root[data-theme="dark"] .pg-day-ico { color: var(--on-navy-2); }
.pg-days li { border-color: var(--line); border-radius: 12px; }
.pogoda { border-radius: 16px; border-color: var(--line); }

/* wąskie telefony: logo i ikony muszą się zmieścić w 360 px */
@media (max-width: 480px) {
  .kr-brand { gap: 2px; }
  .kr-logo { gap: 8px; min-width: 0; }
  .kr-logo svg { width: 30px; height: 30px; }
  .kr-wordmark { font-size: 19px; }
  .kr-iconbtn { width: 40px; height: 40px; }
  .kr-brand-gap { min-width: 4px; }
}
@media (max-width: 640px) {
  .consent-btns { flex-wrap: wrap; }
  .consent-btns button { flex: 1 1 auto; }
}

/* ---- menu: narzędzia w jednym rzędzie tylko na szerokich ekranach ---- */
.kr-tools-dd { display: none; position: relative; margin-left: auto; }
.kr-tools-dd summary { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 11px; font-weight: 600;
  font-size: 15px; cursor: pointer; list-style: none; border-bottom: 3px solid transparent; box-sizing: border-box; white-space: nowrap; }
.kr-tools-dd summary::-webkit-details-marker { display: none; }
.kr-tools-dd summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.kr-tools-dd[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.kr-tools-dd summary:hover, .kr-tools-dd summary.is-on { border-bottom-color: var(--red); }
.kr-tools-dd summary.is-on { color: var(--red-text); }
.kr-tools-menu { position: absolute; right: 0; top: 100%; z-index: 130; min-width: 220px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(16, 24, 40, .14); padding: 6px; display: flex; flex-direction: column; }
.kr-nav .kr-tools-menu a { min-height: 44px; padding: 0 12px; border-bottom: 0; border-radius: 8px; font-size: 15px; }
.kr-nav .kr-tools-menu a:hover { background: var(--ground); }
/* W kontenerze 1240 px działy i narzędzia nie mieszczą się razem w jednym rzędzie (pomiar: 1319 px),
   więc na komputerze narzędzia są zawsze w rozwijanej liście, a na telefonie w panelu menu. */
.kr-tools { display: none; }
.kr-tools-dd { display: block; }
@media (max-width: 900px) {
  .kr-tools-dd { display: none; }
}
/* górny pasek: przy węższych ekranach przewija się w bok zamiast rozpychać stronę */
@media (max-width: 1100px) {
  .kr-strip-in { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .kr-strip-in::-webkit-scrollbar { display: none; }
  .kr-strip time { display: none; }
}
