/* PrincepsHub. Biała kartka 1220 px na chłodnym tle, jak w serwisach technologicznych.
   Granat #0e1b3d, azur #008fc7. Tekstowy azur jest ciemniejszy, żeby trzymać kontrast AA. */
:root {
  --paper: #e6ebf2;
  --sheet: #ffffff;
  --ink: #0e1b3d;
  --text: #1f2a44;
  --muted: #566179;
  --line: #dde3ec;
  --sec: #eef4f9;
  --accent: #008fc7;
  --link: #00719e;
  --band: #00779f;
  --on-accent: #ffffff;
  --r: 10px;
  --font: "DM Sans", Arial, Helvetica, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #060b19;
    --sheet: #0d1630;
    --ink: #ecf1fb;
    --text: #d5ddec;
    --muted: #9ba8c2;
    --line: #243151;
    --sec: #14203f;
    --accent: #1fa9e2;
    --link: #62c7f2;
    --band: #0a5f85;
  }
}
:root[data-theme="dark"] {
  --paper: #060b19;
  --sheet: #0d1630;
  --ink: #ecf1fb;
  --text: #d5ddec;
  --muted: #9ba8c2;
  --line: #243151;
  --sec: #14203f;
  --accent: #1fa9e2;
  --link: #62c7f2;
  --band: #0a5f85;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 a, h2 a, h3 a { text-decoration: none; }
h2 a:hover, h3 a:hover, h1 a:hover { color: var(--link); }
p { margin: 0 0 .9em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 8px; z-index: 50; background: var(--sheet); padding: 8px 12px; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 6px; background: var(--band); color: #fff; font: 700 14px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s; }
.btn:hover { background: #005f80; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn--ghost { background: var(--sec); color: var(--ink); }
.btn--ghost:hover { background: var(--line); }
.btn--full { width: 100%; }
.linkbtn { border: 0; padding: 0; background: none; color: var(--link); font: 500 14px/1.4 var(--font); text-decoration: underline; cursor: pointer; }

/* Nagłówek */
.hd { position: sticky; top: 0; z-index: 30; background: var(--sheet); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 14px; max-width: 1220px; min-height: 60px; margin-inline: auto; padding-inline: 20px; }
.logo { color: var(--ink); font-size: 18px; font-weight: 400; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.logo b { font-weight: 700; }
.tgl { position: relative; flex: none; width: 40px; height: 22px; padding: 0; border: 0; border-radius: 11px; background: var(--line); cursor: pointer; }
.tgl span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: transform .15s; }
.tgl[aria-checked="true"] { background: var(--accent); }
.tgl[aria-checked="true"] span { transform: translateX(18px); background: #fff; }
.burger { display: none; margin-left: auto; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: none; color: var(--ink); font: 700 14px/1 var(--font); cursor: pointer; }
.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__a { display: block; padding-block: 19px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .01em; }
.nav__a:hover, .nav__a[aria-current] { color: var(--link); }
.nav__a--more::after { content: "\25BE"; margin-left: 6px; font-size: 11px; }
.nav__g { position: relative; }
.nav__d { display: none; position: absolute; top: 100%; left: -14px; z-index: 40; min-width: 230px; padding: 8px; background: var(--sheet); border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); }
.nav__g:hover .nav__d, .nav__g:focus-within .nav__d { display: block; }
.nav__d a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--ink); font-size: 14px; text-decoration: none; }
.nav__d a:hover { background: var(--sec); }

.sheet { max-width: 1220px; min-height: 60vh; margin-inline: auto; background: var(--sheet); }
main { display: block; }

/* Etykiety */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 6px; color: var(--muted); font-size: 12px; }
.rub { color: var(--link); font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.rub:hover { text-decoration: underline; }
.by { margin: 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.by a { color: inherit; text-decoration: none; }
.by a:hover { color: var(--link); }
.kind { padding: 2px 6px; border-radius: 4px; background: var(--sec); color: var(--ink); font-size: 12px; font-weight: 700; }
.mono { display: inline-grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--ink); color: var(--sheet); font-size: 14px; font-weight: 700; text-decoration: none; }
.mono--s { width: 24px; height: 24px; border-radius: 5px; font-size: 10px; margin-right: 6px; vertical-align: middle; }
.mono--l { width: 56px; height: 56px; font-size: 18px; }
.mono--xl { width: 88px; height: 88px; font-size: 28px; }

.tabs { margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tabs h2 { display: inline-block; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: 14px; text-transform: uppercase; margin-bottom: -1px; }
.sech { margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.sech h2 { font-size: 22px; }
.sech--p { margin-bottom: 12px; border: 0; padding: 0; }
.sech--p h2 { color: var(--muted); font-size: 14px; text-transform: uppercase; }

/* Góra strony głównej */
.top { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; padding: 20px 20px 24px; }
.hero { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink); }
.hero img { width: 100%; aspect-ratio: 16 / 9.6; object-fit: cover; }
.hero__t { position: absolute; inset: auto 0 0 0; padding: 72px 28px 22px; background: linear-gradient(to top, rgba(8, 15, 36, .94) 42%, rgba(8, 15, 36, 0)); color: #dce4f3; }
.hero h1 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 8px; }
.hero h1 a:hover { color: #bfe7f8; }
.hero p { margin-bottom: 6px; font-size: 15px; }
.meta--inv { color: #cdd7ea; }
.meta--inv .rub { color: #fff; }
.hero .by { color: #cdd7ea; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 18px; }
.duo__i img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin-bottom: 10px; }
.duo h3 { font-size: 18px; }

.day { padding: 22px; border-radius: 14px; background: linear-gradient(170deg, #006a94, #0e1b3d 78%); color: #e8eff9; }
.day h2 { color: #fff; }
.day a { color: inherit; }
.day__h { display: flex; justify-content: space-between; gap: 14px; }
.day__t { font-size: 21px; margin-bottom: 4px; }
.day__t a:hover { color: #bfe7f8; }
.day__by { margin: 0; font-size: 12px; }
.day .mono { background: #fff; color: #0e1b3d; }
.day__lead { margin: 14px 0 20px; font-size: 15px; }
.day__s { font-size: 15px; margin-bottom: 10px; }
.day__l { list-style: none; display: grid; gap: 8px; }
.day__l a { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px; border-radius: 8px; background: var(--sheet); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.day__l a:hover { color: var(--link); }
.day__th { flex: none; width: 48px; height: 48px; border-radius: 6px; overflow: hidden; }
.day__th img { width: 100%; height: 100%; object-fit: cover; }
.day__th--t { display: grid; place-items: center; background: var(--sec); color: var(--link); font-size: 13px; }

.rubs { padding: 0 20px 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--w { gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 17px; background: var(--sec); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.chip:hover { background: var(--line); }
.chip--on { background: var(--ink); color: var(--sheet); }

/* Lista najnowszych */
.feed { padding: 0 20px 24px; }
.feed__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
.feed__c { padding-inline: 20px; border-left: 1px solid var(--line); }
.feed__c:first-child { padding-left: 0; border-left: 0; }
.feed__c:last-child { padding-right: 0; }
.fi { padding-block: 10px 14px; }
.fi time { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.fi__b { display: flex; justify-content: space-between; gap: 12px; }
.fi h3 { font-size: 15px; line-height: 1.3; }
.fi__th { flex: none; width: 60px; height: 60px; border-radius: 6px; overflow: hidden; }
.fi__th img { width: 100%; height: 100%; object-fit: cover; }

/* Kolorowa sekcja */
.band { padding: 28px 20px 30px; background: var(--band); color: #eaf5fb; }
.band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 4px; }
.band__l { margin-bottom: 18px; }
.band__g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bc { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--sheet); color: var(--text); }
.bc__i img { width: 100%; aspect-ratio: 1 / .92; object-fit: cover; }
.bc__t { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.bc .rub::before { content: ""; display: inline-block; width: 12px; height: 3px; margin-right: 6px; vertical-align: middle; background: var(--accent); }
.bc h3 { flex: 1; font-size: 16px; line-height: 1.3; }

/* Mieszany blok */
.mix { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; padding: 28px 20px 8px; }
.big { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; padding-bottom: 12px; }
.big img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.big h3 { font-size: 21px; margin-bottom: 8px; }
.mix__r { display: grid; gap: 16px; align-content: start; }
.promo-t { padding: 16px 18px; border-radius: var(--r); background: var(--sec); }
.promo-t__l { margin: 0 0 4px; color: var(--link); font-size: 12px; font-weight: 700; }
.promo-t h2 { font-size: 17px; margin-bottom: 6px; }
.promo-t p:last-child { margin: 0; font-size: 14px; color: var(--muted); }
.term { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); }
.term h2 { font-size: 17px; margin-bottom: 8px; }
.term dl { margin: 0 0 8px; font-size: 14px; }
.term dt { color: var(--ink); font-weight: 700; }
.term dd { margin: 0 0 8px; color: var(--muted); }
.more { color: var(--link); font-size: 14px; font-weight: 700; }

.wide { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; margin: 24px 20px 28px; border-radius: var(--r); overflow: hidden; background: var(--sec); }
.wide__i { position: relative; min-height: 300px; }
.wide__i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wide__t { padding: 22px 24px; }
.wide h3 { font-size: 24px; margin-bottom: 8px; }
.plain { list-style: none; }
.plain li { padding-block: 7px; font-size: 15px; font-weight: 500; }
.plain a { color: var(--ink); text-decoration: none; }
.plain a:hover { color: var(--link); text-decoration: underline; }
.wide .plain { margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--line); }

/* Lista wierszy */
.rows { display: grid; }
.row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.row--noimg { grid-template-columns: minmax(0, 1fr); }
.row__th img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.row h3 { font-size: 18px; margin-bottom: 6px; line-height: 1.25; }
.row p:not(.meta):not(.by) { margin-bottom: 6px; font-size: 14px; color: var(--muted); }

/* Strony rubryk i podstrony */
.pg { padding: 16px 20px 40px; }
.pg--n { max-width: 840px; margin-inline: auto; }
.pg__h { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.pg__l { max-width: 66ch; color: var(--muted); }
.pg__l a { color: var(--link); }
.crumbs { margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 2px 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: inherit; }
.lay { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; margin-top: 20px; }
.rail { display: grid; gap: 16px; align-content: start; }
.rail__box { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.rail__box h2 { font-size: 14px; text-transform: uppercase; margin-bottom: 10px; }
.rl { list-style: none; margin-bottom: 12px; }
.rl li { padding-block: 8px; border-bottom: 1px solid var(--line); }
.rl li:last-child { border: 0; }
.rl time { display: block; font-size: 12px; color: var(--muted); }
.rl a { color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.rl a:hover { color: var(--link); }
.gl { margin: 0; font-size: 14px; }
.gl dt a { color: var(--ink); font-weight: 700; }
.gl dd { margin: 0 0 10px; color: var(--muted); }
.start { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; padding: 14px; border-radius: var(--r); background: var(--sec); }
.start__i img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: 8px; }
.start__t { padding: 6px 4px; }
.start__k { margin-bottom: 6px; color: var(--link); font-size: 13px; font-weight: 700; }
.start h2 { font-size: 22px; margin-bottom: 8px; }
.rc__g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 36px; margin-top: 16px; }
.rc { padding-top: 12px; border-top: 2px solid var(--ink); }
.rc__i img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.rc h2 { font-size: 21px; margin-bottom: 4px; }
.rc > p { color: var(--muted); font-size: 14px; }
.auh { display: flex; gap: 20px; padding-block: 8px 18px; border-bottom: 1px solid var(--line); }
.auh__r { color: var(--link); font-weight: 700; }
.auh p:last-child { margin: 0; }
.arch__m { margin-block: 18px 2px; font-size: 16px; color: var(--muted); }
.pag { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.pag a, .pag span { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding-inline: 10px; border-radius: 6px; background: var(--sec); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.pag span { background: var(--ink); color: var(--sheet); }

/* Materiał */
.cover { margin: 0 0 20px; }
.cover img { width: 100%; aspect-ratio: 16 / 8.6; object-fit: cover; border-radius: var(--r); }
.cover--full { margin: 0; }
.cover--full img { aspect-ratio: 16 / 6.6; border-radius: 0; object-position: var(--pos, 50% 50%); }
.art { padding: 16px 20px 8px; }
.art--rail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.art--note { max-width: 680px; margin-inline: auto; padding-top: 28px; }
.art--wide { max-width: 1000px; margin-inline: auto; }
.art--steps .cover img { aspect-ratio: 16 / 5.6; }
.art--wide .cover img { aspect-ratio: 16 / 6; }
.art__c { min-width: 0; }
.art--rail > .rail { position: sticky; top: 76px; align-self: start; }
.inl { margin: 22px 0; }
.inl img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.inl figcaption { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.top__r { display: grid; gap: 16px; align-content: start; }
.art__h { margin-bottom: 18px; }
.art__h h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 10px; line-height: 1.15; }
.art--note .art__h h1 { font-size: clamp(24px, 3vw, 30px); }
.art__lead { font-size: 18px; color: var(--muted); }
.art__m { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding-block: 10px; border-block: 1px solid var(--line); }
.art__by { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: var(--muted); }
.art__by a:not(.mono) { color: var(--ink); font-weight: 700; text-decoration: none; }
.acts { display: flex; gap: 14px; }
.upd { margin: 12px 0 0; padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--sec); font-size: 14px; }
.toc { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--r); background: var(--sec); }
.toc h2 { font-size: 15px; margin-bottom: 6px; }
.toc ol { padding-left: 20px; font-size: 15px; }
.toc a { color: var(--link); }
.sos { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--r); background: var(--ink); color: var(--sheet); }
.sos h2 { color: var(--sheet); font-size: 16px; margin-bottom: 6px; }
.sos p { margin: 0 0 4px; font-size: 15px; }
.prose { font-size: 17px; line-height: 1.65; }
.prose h2 { margin-block: 28px 8px; font-size: 22px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--link); }
.prose code { padding: 1px 4px; border-radius: 4px; background: var(--sec); font-size: .92em; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 22px 0; padding: 16px 20px; border-radius: var(--r); background: var(--band); color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3; }
.prose--s { margin-top: 18px; font-size: 16px; }
.also { display: grid; gap: 2px; margin: 22px 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--sec); }
.also span { color: var(--muted); font-size: 12px; font-weight: 700; }
.also a { color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.also a:hover { color: var(--link); }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.prose th { padding: 10px 12px; background: var(--ink); color: var(--sheet); text-align: left; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) { background: var(--sec); }
.steps { list-style: none; counter-reset: s; padding: 0 !important; }
.steps > li { position: relative; counter-increment: s; margin-bottom: 8px; padding: 2px 0 8px 52px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--band); color: #fff; font-size: 18px; font-weight: 700; }
.steps h2 { margin-block: 6px 6px; font-size: 20px; }
.art--qa .prose h2 { position: relative; padding-left: 26px; font-size: 19px; }
.art--qa .prose h2::before { content: "?"; position: absolute; left: 0; color: var(--link); }
.art--qa .prose h2 + p { padding-left: 26px; }
.check { list-style: none; padding: 0 !important; }
.check li { margin: 0; border-bottom: 1px solid var(--line); }
.check label { display: flex; gap: 12px; padding: 12px 4px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 4px; accent-color: var(--band); }
.check input:checked + * , .check label:has(input:checked) { color: var(--muted); }
.check__sum { font-weight: 700; color: var(--ink); }
.url { display: grid; gap: 10px; margin-bottom: 1em; }
.url__row { display: grid; gap: 4px; margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--sec); }
.url__row code { background: none; padding: 0; font-size: 15px; overflow-wrap: anywhere; }
.url__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.url mark { padding: 1px 3px; border-radius: 3px; background: #ffe58a; color: #0e1b3d; font-weight: 700; }
.url__row--bad mark { background: #ffc4c0; }
.art__f { margin-top: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.tags span { color: var(--muted); }
.tags a { padding: 3px 10px; border-radius: 13px; background: var(--sec); color: var(--ink); text-decoration: none; }
.tags a:hover { background: var(--line); }
.abox { display: flex; gap: 14px; margin-block: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--sec); }
.abox h2 { font-size: 16px; margin-bottom: 2px; }
.abox p { margin: 0; font-size: 14px; color: var(--muted); }
.pn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.pn a { display: block; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.pn a:hover { color: var(--link); }
.pn span { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.pn__n { text-align: right; }
.pod { padding: 18px 20px 30px; }
.pod h2 { font-size: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.pod__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.pod__g .row { grid-template-columns: 96px minmax(0, 1fr); border: 0; }
.pod__g .row--noimg { grid-template-columns: minmax(0, 1fr); }
.pod__g h3 { font-size: 15px; }

/* Szukaj, słownik */
.sf { margin-block: 12px; }
.sf label, .field label, .sl__bar label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.sf__r { display: flex; gap: 8px; }
.sf__c { color: var(--muted); font-size: 14px; }
input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #8b96aa; border-radius: 6px; background: var(--sheet); color: var(--ink); font: 400 16px/1.4 var(--font); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.sr { padding-block: 12px; border-bottom: 1px solid var(--line); }
.sr h2 { font-size: 18px; margin-bottom: 2px; }
.sr p { margin: 0; font-size: 14px; color: var(--muted); }
.sl__bar { max-width: 380px; margin-block: 12px; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.az a { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 6px; background: var(--sec); color: var(--ink); font-weight: 700; text-decoration: none; }
.az a:hover { background: var(--line); }
.sl { padding-top: 12px; border-top: 2px solid var(--ink); margin-top: 12px; }
.sl h2 { font-size: 22px; }
.sl dl { margin: 6px 0 0; }
.sl__t { padding-block: 8px; }
.sl__t:target { background: var(--sec); }
.sl dt { color: var(--ink); font-size: 17px; font-weight: 700; }
.sl dd { margin: 0; }
.sl dd a { color: var(--link); font-size: 14px; }
.empty { color: var(--muted); }

/* Narzędzia */
.tl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.tl__c { display: block; overflow: hidden; border-radius: var(--r); background: var(--sec); color: var(--text); text-decoration: none; }
.tl__c img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tl__c span { display: block; padding: 14px 16px 16px; font-size: 15px; }
.tl__c b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 19px; }
.pt { margin-block: 16px; }
.pt__m { padding: 16px 18px; border-radius: var(--r); background: var(--sec); }
.pt__n { color: var(--muted); font-size: 13px; }
.pt__h { margin-bottom: 8px; font-size: 14px; }
.pt__h b { color: var(--ink); }
.pt__b { padding: 12px 14px; border-radius: 8px; background: var(--sheet); overflow-wrap: anywhere; }
.pt__a { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 14px 0; }
.pt__r { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--sheet); }
.pt__r ul { padding-left: 18px; }
.pt__more a { color: var(--link); }
.pw { padding: 16px 18px; border-radius: var(--r); background: var(--sec); }
.pw__r { display: flex; gap: 8px; }
.pw__o { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 14px 0 0; }
.pw__o dt { font-size: 13px; color: var(--muted); }
.pw__o dd { margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; }
.pw__w { margin: 12px 0 0; padding: 8px 12px; border-left: 3px solid #d64545; background: var(--sheet); font-size: 14px; }

/* Formularz */
.ct { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; margin-top: 14px; }
.fm { display: grid; gap: 14px; max-width: 640px; }
.field small { display: block; margin-top: 4px; color: #b3261e; font-size: 13px; }
:root[data-theme="dark"] .field small { color: #ff9f96; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field small { color: #ff9f96; } }
.cons { display: flex !important; gap: 10px; font-weight: 400 !important; }
.cons input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--band); }
.cons a { color: var(--link); }
.fm .btn { justify-self: start; }
.fm__ok { margin: 0; padding: 10px 12px; border-radius: 6px; background: var(--sec); color: var(--ink); font-weight: 700; }
.ct__i h2 { font-size: 16px; margin-block: 0 6px; }
.ct__i p { font-size: 15px; }
.ct__i a { color: var(--link); }
.team { display: grid; gap: 12px; margin-block: 18px; }
.tm { display: flex; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--sec); }
.tm h2 { font-size: 17px; }
.tm__r { margin: 0 0 4px; color: var(--link); font-size: 13px; font-weight: 700; }
.tm p:last-child { margin: 0; font-size: 14px; }
.map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 36px; margin-top: 14px; }
.map h2 { font-size: 16px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.nf { padding-block: 60px; }

/* Polityka */
.legal { padding: 24px 20px 40px; }
.legal__in { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 6px; }
.legal h2 { margin-block: 24px 6px; font-size: 20px; }
.legal__date { color: var(--muted); font-size: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 1em; }
.legal a { color: var(--link); }
.legal-t h2 { font-size: 20px; }

/* Stopka */
.ft { background: #0e1b3d; color: #c6d0e3; font-size: 14px; }
.ft__in { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1220px; margin-inline: auto; padding: 30px 20px; }
.ft h2 { margin-bottom: 8px; color: #fff; font-size: 14px; }
.ft ul { list-style: none; display: grid; gap: 5px; }
.ft a { color: inherit; text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.logo--ft { color: #fff; display: inline-block; margin-bottom: 8px; }
.ft__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; max-width: 1220px; margin-inline: auto; padding: 12px 20px 16px; border-top: 1px solid #2b3a63; font-size: 13px; }
.ft__bar p { margin: 0; }
.ft .linkbtn { color: #c6d0e3; font-size: 13px; }
.ck { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 620px; margin-inline: auto; padding: 10px 12px 10px 16px; border-radius: var(--r); background: var(--ink); color: var(--sheet); font-size: 14px; }
.ck p { margin: 0; }
.ck a { color: inherit; }

/* Układ mobilny */
@media (max-width: 1040px) {
  .top, .mix, .lay, .art--rail, .ct { grid-template-columns: minmax(0, 1fr); }
  .art--rail > .rail { position: static; }
  .band__g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__brand { grid-column: 1 / -1; }
  .burger { display: block; }
  .tgl { margin-right: 0; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 20px 16px; background: var(--sheet); border-bottom: 1px solid var(--line); max-height: calc(100dvh - 60px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .nav__a--more::after { content: ""; }
  .nav__d { display: block; position: static; border: 0; padding: 4px 0 8px 10px; }
}
@media (max-width: 760px) {
  .feed__g, .pod__g, .tl, .rc__g, .map, .big, .wide, .start { grid-template-columns: minmax(0, 1fr); }
  .feed__c { padding-inline: 0; border-left: 0; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .hero { display: grid; background: none; border-radius: var(--r); overflow: hidden; }
  .hero img { aspect-ratio: 16 / 10; }
  .hero__t { position: static; padding: 14px 16px 16px; background: var(--ink); }
  .row { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
  .row p:not(.meta):not(.by) { display: none; }
  .row h3 { font-size: 16px; }
  .wide__i { min-height: 0; }
  .wide__i img { position: static; height: auto; aspect-ratio: 16 / 10; }
  .cover--full img { aspect-ratio: 16 / 9; }
  .pw__o { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 16px; }
  .pn { grid-template-columns: minmax(0, 1fr); }
  .pn__n { text-align: left; }
  .sf__r .btn { padding-inline: 12px; }
  .ck { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .band__g { grid-template-columns: minmax(0, 1fr); }
  .bc { flex-direction: row; }
  .bc__i { flex: 0 0 110px; }
  .bc__i img { height: 100%; aspect-ratio: auto; }
  .logo { font-size: 16px; }
  .art__m { align-items: flex-start; }
  .legal h1 { font-size: 7vw; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .chips--w { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .ft__in { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .hd, .ft, .rail, .pod, .ck, .acts, .pn, .tgl, .skip { display: none !important; }
  body, .sheet { background: #fff; color: #000; }
  .art--rail { display: block; }
  .prose { font-size: 12pt; }
}
