/*
Theme Name: DucisEdge
Układ: gęsty portal informacyjny. Roboto Condensed w nagłówkach, Arial w tekście, czerwień jako jedyny akcent.
*/
:root {
  --bg: #ffffff;
  --bg2: #f1f2f4;
  --card: #ffffff;
  --ink: #16181d;
  --mut: #5b616b;
  --line: #e1e3e8;
  --red: #d8232a;
  --red-text: #c41d24;
  --on-red: #ffffff;
  --top: #16181d;
  --top-ink: #d9dce1;
  --shadow: 0 1px 3px rgba(22, 24, 29, .16);
  --r: 8px;
  --head: "Roboto Condensed", Arial, Helvetica, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121418;
    --bg2: #1a1d22;
    --card: #1c1f25;
    --ink: #eef0f3;
    --mut: #a6adb8;
    --line: #2d3139;
    --red-text: #ff7a7f;
    --top: #0c0d10;
    --shadow: 0 1px 3px rgba(0, 0, 0, .5);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-text); }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.16; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; color: var(--bg); }

/* Pasek górny */
.utility { background: var(--top); color: var(--top-ink); font-size: 13px; }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; padding-block: 6px; }
.utility nav { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.utility a:hover { color: #fff; text-decoration: underline; }

/* Logo i szukajka */
.brand { border-bottom: 1px solid var(--line); }
.brand .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 28px/1 var(--head); color: var(--ink); white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo__box { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r); background: var(--red); color: var(--on-red); font-size: 18px; }
.topsearch { display: flex; margin-left: auto; width: min(360px, 100%); }
.topsearch input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-right: 0; border-radius: var(--r) 0 0 var(--r); background: var(--bg2); color: var(--ink); font: 400 14px var(--body); }
.topsearch button { height: 38px; padding: 0 14px; border: 0; border-radius: 0 var(--r) var(--r) 0; background: var(--red); color: var(--on-red); font: 700 14px var(--head); cursor: pointer; }
.menu-btn { display: none; height: 38px; padding: 0 14px; border: 1px solid var(--ink); border-radius: var(--r); background: transparent; color: var(--ink); font: 700 15px var(--head); cursor: pointer; }

/* Menu dwupoziomowe */
.mainnav { background: var(--bg); border-bottom: 3px solid var(--red); position: relative; z-index: 20; }
.mainnav > .wrap > ul { display: flex; flex-wrap: wrap; list-style: none; }
.mainnav li { position: relative; }
.mainnav .top-link { display: block; padding: 11px 14px; font: 700 16px/1.2 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.mainnav li:first-child .top-link { padding-left: 0; }
.mainnav .is-active > .top-link { color: var(--red-text); }
.sub { display: none; position: absolute; top: 100%; left: 0; width: 320px; padding: 8px 0; background: var(--card); box-shadow: 0 8px 24px rgba(22, 24, 29, .2); border-top: 3px solid var(--red); border-radius: 0 0 var(--r) var(--r); list-style: none; }
.mainnav li:hover > .sub, .mainnav li:focus-within > .sub { display: block; }
.sub a { display: block; padding: 7px 14px; font-size: 14px; line-height: 1.3; }
.sub a:hover { background: var(--bg2); }
.subnav { background: var(--bg2); font-size: 13px; }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 2px 14px; padding-block: 7px; color: var(--mut); }
.subnav b { color: var(--ink); }
.subnav a:hover { text-decoration: underline; }

/* Etykiety */
.cat { display: inline-block; font: 700 12px/1.2 var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--red-text); }
.flag { display: inline-block; padding: 3px 7px; border-radius: 3px; background: var(--ink); color: var(--bg); font: 700 11px/1.2 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.flag--red { background: #fff; color: var(--red); }
.stamp { font-size: 12px; color: var(--mut); white-space: nowrap; }

/* Główna: blok otwierający */
.opening { position: relative; margin-top: 14px; padding: 12px 12px 12px 0; }
.opening::before { content: ""; position: absolute; top: 0; right: 0; width: 34%; height: 62%; background: var(--red); border-radius: var(--r); }
.opening__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.bigstory { position: relative; display: block; min-height: 400px; }
.bigstory img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plaque { position: absolute; left: 0; bottom: 18px; max-width: 86%; padding: 12px 18px 14px; background: var(--red); color: var(--on-red); border-radius: 0 var(--r) var(--r) 0; }
.plaque h2 { font-size: clamp(22px, 2.5vw, 31px); margin-top: 6px; }
.bigstory:hover { color: inherit; }
.bigstory:hover .plaque { color: var(--on-red); }
.sidefour { list-style: none; padding: 6px 14px; }
.sidefour li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 11px; border-bottom: 1px solid var(--line); }
.sidefour li:last-child { border-bottom: 0; }
.sidefour img { width: 96px; height: 70px; object-fit: cover; border-radius: 6px; }
.sidefour h3 { font-size: 16px; }
.sidefour .stamp { display: block; margin-top: 3px; }

/* Układ z kolumną boczną */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; margin-top: 22px; }
.blockhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.blockhead h2, .blockhead h1 { font-size: 22px; text-transform: uppercase; }
.blockhead a { font-size: 13px; white-space: nowrap; }

/* Karty */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__in { padding: 10px 12px 13px; }
.card h3 { font-size: 18px; margin-top: 3px; }
.card p { font-size: 14px; color: var(--mut); margin: 6px 0 0; }
.card .stamp { display: block; margin-top: 6px; }
.card--wide { grid-column: span 2; }
.card--wide img { aspect-ratio: 16 / 8; }
.card--wide h3 { font-size: 23px; }
.stack { display: grid; gap: 16px; align-content: stretch; }
.card--text { justify-content: flex-start; border-left: 4px solid var(--red); }
.card--text h3 { font-size: 19px; }

/* Rail */
.rail { display: grid; gap: 20px; align-content: start; }
.railbox h2 { font-size: 20px; text-transform: uppercase; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 2px solid var(--red); }
.wiedza { list-style: none; }
.wiedza li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; align-items: start; padding-block: 8px; }
.wiedza li + li { border-top: 1px solid var(--line); }
.wiedza img { width: 78px; height: 58px; object-fit: cover; border-radius: 6px; }
.wiedza a { font: 700 15px/1.2 var(--head); }
.plain { list-style: none; font-size: 14px; }
.plain li { padding-block: 7px; line-height: 1.3; }
.plain li + li { border-top: 1px solid var(--line); }
.promo { display: block; position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); color: #fff; }
.promo img { width: 100%; height: 230px; object-fit: cover; opacity: .62; }
.promo__in { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; }
.promo__tag { font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .05em; }
.promo h3 { font-size: 22px; margin: 2px 0 8px; color: #fff; }
.promo:hover { color: #fff; }
.promo .go { display: inline-block; padding: 7px 12px; border-radius: var(--r); background: var(--red); color: #fff; font: 700 14px var(--head); white-space: nowrap; }

/* Najnowsze */
.latest { margin-top: 24px; background: var(--bg2); border-radius: var(--r); padding: 12px 14px 8px; }
.latest__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; list-style: none; }
.latest__list li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; padding-block: 7px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.3; }
.latest__list time { font-size: 12px; color: var(--mut); padding-top: 2px; white-space: nowrap; }

/* Pełna szerokość */
.band { margin-top: 26px; padding-block: 18px 22px; background: var(--red); color: var(--on-red); }
.band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 12px; }
.band h2 { font-size: 26px; text-transform: uppercase; }
.band__head a { font: 700 14px var(--head); text-decoration: underline; }
.band__head a:hover { color: #fff; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.band .card { color: var(--ink); box-shadow: none; }

/* Sekcje działów na głównej */
.sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 24px; margin-top: 26px; }
.section-col__lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin-bottom: 8px; }
.section-col__lead h3 { font-size: 19px; margin-bottom: 6px; }

.textcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; margin-top: 26px; }
.textcols .blockhead h2 { font-size: 18px; }

/* Działy, tagi, archiwum */
.pagehead { margin-top: 18px; }
.pagehead h1 { font-size: 34px; margin-bottom: 6px; }
.pagehead p { max-width: 72ch; color: var(--mut); margin: 0; }
.catlead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.catlead img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.catlead h2 { font-size: 28px; margin: 4px 0 8px; }
.catlead p { color: var(--mut); }
.rows { list-style: none; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.rows img { width: 150px; height: 96px; object-fit: cover; border-radius: 6px; order: 2; }
.rows h3 { font-size: 19px; margin: 2px 0 4px; }
.rows p { font-size: 14px; color: var(--mut); margin: 0 0 4px; }
.rows li.noimg { grid-template-columns: minmax(0, 1fr); }
.dense { list-style: none; font-size: 15px; }
.dense li { display: grid; grid-template-columns: 124px 110px minmax(0, 1fr); gap: 10px; padding-block: 8px; border-bottom: 1px solid var(--line); align-items: baseline; }
.dense .cat { font-size: 11px; }
.dense time { font-size: 13px; color: var(--mut); white-space: nowrap; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); font: 700 15px var(--head); }
.pager .on { background: var(--red); border-color: var(--red); color: #fff; }
.taglist { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.taglist a { display: inline-block; padding: 4px 9px; border-radius: var(--r); background: var(--bg2); font-size: 13px; }

/* Materiał */
.crumbs { margin-top: 14px; font-size: 13px; color: var(--mut); }
.crumbs a { text-decoration: underline; }
.post__title { font-size: clamp(28px, 3.3vw, 40px); margin: 6px 0 10px; }
.post__lead { font-size: 19px; line-height: 1.45; font-weight: 700; margin-bottom: 12px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 9px; border-block: 1px solid var(--line); font-size: 14px; color: var(--mut); }
.byline .who { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.mono { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 700 13px var(--head); flex: none; }
.mono--big { width: 76px; height: 76px; font-size: 28px; }
.tools { display: inline-flex; gap: 6px; margin-left: auto; }
.tools button { height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: transparent; color: var(--ink); font: 400 13px var(--body); cursor: pointer; white-space: nowrap; }
.tools button:hover { border-color: var(--ink); }
.update { margin: 10px 0 0; padding: 8px 12px; border-left: 4px solid var(--red); background: var(--bg2); font-size: 14px; }
.post__img { margin: 14px 0; }
.post__img img { width: 100%; max-height: 430px; object-fit: cover; border-radius: var(--r); }
figcaption { font-size: 13px; color: var(--mut); padding-top: 5px; }
.prose { font-size: 17px; line-height: 1.62; }
.prose h2 { font-size: 25px; margin: 26px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--red-text); text-decoration: underline; }
.prose figure { margin: 18px 0; }
.prose figure img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--r); }
.tbl { overflow-x: auto; margin: 12px 0 18px; -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.35; }
.tbl th { background: var(--ink); color: var(--bg); text-align: left; padding: 8px 10px; font-family: var(--head); }
.tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr:nth-child(even) td { background: var(--bg2); }
.tbl--narrow { max-width: 520px; }
.c-red { color: var(--red-text); }
.alsoread { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: center; margin: 18px 0; padding: 10px; background: var(--bg2); border-radius: var(--r); font-size: 15px; }
.alsoread img { width: 110px; height: 74px; object-fit: cover; border-radius: 6px; }
.alsoread span { display: block; font: 700 12px var(--head); text-transform: uppercase; color: var(--red-text); }
.alsoread a { font: 700 17px/1.2 var(--head); color: var(--ink); text-decoration: none; }
.prose .alsoread a:hover { color: var(--red-text); }
.toc { padding: 12px 14px; background: var(--bg2); border-radius: var(--r); font-size: 14px; }
.toc h2 { font-size: 16px; text-transform: uppercase; margin-bottom: 6px; }
.toc ol { padding-left: 18px; }
.toc li { padding-block: 3px; line-height: 1.3; }
.toc a:hover { text-decoration: underline; }
.toc--stick { position: sticky; top: 12px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { padding: 12px 26px 12px 0; font: 700 19px/1.2 var(--head); cursor: pointer; list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 2px; top: 9px; font-size: 24px; color: var(--red-text); }
.qa[open] summary::after { content: "\2212"; }
.qa p { margin-bottom: 14px; }
.steps { list-style: none; counter-reset: k; padding-left: 0 !important; }
.steps li { counter-increment: k; position: relative; padding-left: 44px; margin-bottom: 14px; min-height: 32px; }
.steps li::before { content: counter(k); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: var(--on-red); font: 700 16px var(--head); }
.note-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
.note-grid figure { margin: 0; }
.note-grid figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.opinion-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 14px; padding-block: 16px; border-block: 3px solid var(--ink); }
.opinion-head .post__title { margin: 2px 0 4px; }
.opinion-head p { margin: 0; color: var(--mut); }
.opinion-drop::first-letter { float: left; font: 700 62px/.86 var(--head); padding: 4px 8px 0 0; color: var(--red-text); }
.posttags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; }
.aboutauthor { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 18px; padding: 14px; background: var(--bg2); border-radius: var(--r); }
.aboutauthor h2 { font-size: 19px; margin-bottom: 4px; }
.aboutauthor p { font-size: 14px; color: var(--mut); margin: 0; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.prevnext a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); font: 700 16px/1.2 var(--head); }
.prevnext a:last-child { text-align: right; }
.prevnext span { display: block; font: 400 12px var(--body); color: var(--mut); margin-bottom: 3px; }
.related { margin-top: 22px; }

/* Narzędzia i formularze */
.toolbox { padding: 16px; background: var(--bg2); border-radius: var(--r); }
.toolgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 4px; align-content: start; }
.field label, .field .lbl { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #858c97; border-radius: var(--r); background: var(--card); color: var(--ink); font: 400 16px var(--body); }
.field textarea { resize: vertical; }
.field small { color: var(--mut); font-size: 13px; }
.field .err { color: var(--red-text); font-size: 13px; font-weight: 700; }
.tabs2 { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tabs2 button { height: 38px; padding: 0 14px; border: 1px solid var(--ink); border-radius: var(--r); background: transparent; color: var(--ink); font: 700 15px var(--head); cursor: pointer; white-space: nowrap; }
.tabs2 button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.result div { padding: 10px 12px; background: var(--card); border-radius: var(--r); border-top: 3px solid var(--red); }
.result span { display: block; font-size: 13px; color: var(--mut); }
.result b { font: 700 25px/1.2 var(--head); }
.btn { display: inline-block; height: 42px; padding: 0 18px; border: 0; border-radius: var(--r); background: var(--red); color: var(--on-red); font: 700 16px/42px var(--head); cursor: pointer; white-space: nowrap; }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); line-height: 40px; }
.check { list-style: none; }
.check li { border-bottom: 1px solid var(--line); }
.check label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 10px 0; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.check b { display: block; font: 700 17px/1.2 var(--head); }
.check input:checked + span { color: var(--mut); text-decoration: line-through; }
.checkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 10px; }
.contactform { display: grid; gap: 12px; max-width: 640px; }
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 14px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.consent a { text-decoration: underline; }
.formmsg { font-weight: 700; margin: 0; }
.searchbox { display: flex; gap: 8px; margin-top: 12px; max-width: 640px; }
.searchbox input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #858c97; border-radius: var(--r); background: var(--card); color: var(--ink); font: 400 16px var(--body); }
.sitemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; }
.sitemap h2 { font-size: 19px; margin-bottom: 6px; }
.sitemap ul { list-style: none; font-size: 14px; }
.sitemap li { padding-block: 3px; }
.sitemap a:hover { text-decoration: underline; }
.err404 { display: block; font: 700 clamp(60px, 12vw, 110px)/1 var(--head); color: var(--red-text); }

/* Stopka */
.foot { margin-top: 34px; padding-block: 22px 18px; background: var(--top); color: var(--top-ink); font-size: 14px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.3fr; gap: 18px 22px; }
.foot h2 { font-size: 16px; color: #fff; text-transform: uppercase; margin-bottom: 7px; }
.foot ul { list-style: none; }
.foot li { padding-block: 2px; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__bar { margin-top: 18px; padding-top: 12px; border-top: 1px solid #343842; font-size: 13px; }
.foot__bar p { margin: 0; }

/* Cookie */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; gap: 12px; max-width: 560px; padding: 10px 12px; background: var(--ink); color: var(--bg); border-radius: var(--r); font-size: 14px; }
.cookie p { margin: 0; }
.cookie a { text-decoration: underline; }
.cookie button { flex: none; height: 34px; padding: 0 12px; border: 0; border-radius: var(--r); background: var(--red); color: #fff; font: 700 14px var(--head); cursor: pointer; }

/* Strona prawna */
.legal { padding-block: 16px 10px; }
.legal__in { max-width: 780px; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal h2 { font-size: 21px; margin: 22px 0 6px; }
.legal ul { padding-left: 22px; margin-bottom: 1em; }
.legal__date { color: var(--mut); font-size: 14px; }
.legal a { text-decoration: underline; }

/* Tablet */
@media (max-width: 1040px) {
  .mainnav .top-link { padding-inline: 10px; font-size: 15px; }
  .utility nav:last-child { display: none; }
  .opening__grid { grid-template-columns: minmax(0, 1fr); }
  .opening { padding: 0; }
  .opening::before { display: none; }
  .bigstory { min-height: 330px; }
  .sidefour { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .sidefour li:nth-last-child(2) { border-bottom: 0; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .textcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toc--stick { position: static; }
}

/* Telefon */
@media (max-width: 760px) {
  .brand .wrap { flex-wrap: wrap; gap: 8px; padding-block: 8px; }
  .logo { font-size: 25px; }
  .logo__box { width: 34px; height: 34px; font-size: 16px; }
  .menu-btn { display: block; margin-left: auto; }
  .topsearch { order: 3; width: 100%; margin: 0; }
  .utility { display: none; }
  .subnav { display: none; }
  .mainnav { border-bottom-width: 2px; }
  .mainnav > .wrap > ul { display: none; flex-direction: column; padding-block: 4px; }
  .mainnav.is-open > .wrap > ul { display: flex; }
  .mainnav .top-link, .mainnav li:first-child .top-link { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .sub, .mainnav li:hover > .sub, .mainnav li:focus-within > .sub { display: none; }
  .bigstory { min-height: 250px; }
  .plaque { position: static; max-width: none; border-radius: 0; }
  .bigstory { display: flex; flex-direction: column; justify-content: flex-end; padding-top: 190px; min-height: 0; }
  .bigstory img { height: 190px; bottom: auto; }
  .sidefour { grid-template-columns: minmax(0, 1fr); }
  .sidefour li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .grid3, .sections, .rail, .latest__list, .textcols { grid-template-columns: minmax(0, 1fr); }
  .card--wide { grid-column: auto; }
  .card--wide h3 { font-size: 20px; }
  .latest__list li { grid-template-columns: minmax(0, 1fr); gap: 1px; }
  .grid4 { grid-template-columns: minmax(0, 1fr); }
  .band .card { flex-direction: row; }
  .band .card img { width: 110px; aspect-ratio: auto; flex: none; }
  .band .card h3 { font-size: 16px; }
  .catlead { grid-template-columns: minmax(0, 1fr); }
  .rows li { grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; }
  .rows img { width: 96px; height: 76px; }
  .rows h3 { font-size: 17px; }
  .rows p { display: none; }
  .dense li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pagehead h1 { font-size: 28px; }
  .toolgrid, .result, .twocol, .sitemap, .note-grid, .prevnext { grid-template-columns: minmax(0, 1fr); }
  .prevnext a:last-child { text-align: left; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post__lead { font-size: 17px; }
  .prose { font-size: 16px; }
  .tools { margin-left: 0; }
  .alsoread { grid-template-columns: 80px minmax(0, 1fr); }
  .alsoread img { width: 80px; height: 60px; }
  .searchbox .btn { padding: 0 12px; }
}
@media (max-width: 400px) {
  .legal h1 { font-size: 7vw; }
  .foot__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
@media print {
  .utility, .brand, .mainnav, .subnav, .rail, .foot, .tools, .cookie, .prevnext, .related, .alsoread, .toc, .crumbs { display: none !important; }
  .layout { display: block; }
  body { background: #fff; color: #000; font-size: 12pt; }
}
