/* eOstrowMaz.pl – arkusz stylów serwisu. Motyw jasny/ciemny: domyślnie wg ustawień urządzenia, wybór czytelnika w [data-theme]. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../fonts/inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../fonts/inter-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; }

/* ------------------------------------------------------------------ zmienne */
:root {
	--bg: #f3f5f4; --surface: #ffffff; --surface-2: #eef2f0; --surface-3: #e4eae7;
	--ink: #131a17; --ink-2: #47524d; --ink-3: #76827c; --line: #e1e7e4; --line-2: #cfd8d4;
	--brand: #07863e; --brand-ink: #056b31; --brand-soft: #e3f4ea; --on-brand: #ffffff;
	--accent: #f9be12; --accent-ink: #2a2000; --accent-soft: #fff5d1;
	--hot: #d62839; --hot-soft: #fde8ea;
	--obit: #23262d; --obit-2: #2e323b; --obit-ink: #f1ede4; --obit-gold: #d8b56a;
	--shadow-1: 0 1px 2px rgba(16, 32, 24, .05), 0 2px 8px rgba(16, 32, 24, .05);
	--shadow-2: 0 6px 24px rgba(16, 32, 24, .10), 0 2px 6px rgba(16, 32, 24, .06);
	--shadow-3: 0 18px 50px rgba(8, 20, 14, .22);
	--r: 14px; --r-sm: 10px; --r-lg: 20px;
	--wrap: 1280px; --gut: 20px; --side: 340px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--hdr-h: 64px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0c1110; --surface: #141b19; --surface-2: #1b2422; --surface-3: #24302d;
		--ink: #eef3f0; --ink-2: #b4c0bb; --ink-3: #84928c; --line: #24302d; --line-2: #33423e;
		--brand: #2fcf66; --brand-ink: #5be08a; --brand-soft: #12301f; --on-brand: #04170b;
		--accent: #ffc914; --accent-ink: #221a00; --accent-soft: #33290a;
		--hot: #ff5a6a; --hot-soft: #3a1519;
		--obit: #0f1216; --obit-2: #191d23;
		--shadow-1: 0 1px 2px rgba(0, 0, 0, .4); --shadow-2: 0 8px 28px rgba(0, 0, 0, .5); --shadow-3: 0 20px 60px rgba(0, 0, 0, .7);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #0c1110; --surface: #141b19; --surface-2: #1b2422; --surface-3: #24302d;
	--ink: #eef3f0; --ink-2: #b4c0bb; --ink-3: #84928c; --line: #24302d; --line-2: #33423e;
	--brand: #2fcf66; --brand-ink: #5be08a; --brand-soft: #12301f; --on-brand: #04170b;
	--accent: #ffc914; --accent-ink: #221a00; --accent-soft: #33290a;
	--hot: #ff5a6a; --hot-soft: #3a1519;
	--obit: #0f1216; --obit-2: #191d23;
	--shadow-1: 0 1px 2px rgba(0, 0, 0, .4); --shadow-2: 0 8px 28px rgba(0, 0, 0, .5); --shadow-3: 0 20px 60px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

/* ------------------------------------------------------------------ podstawy */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 60px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: #1a1400; }
.ico { flex: none; vertical-align: middle; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .15s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); z-index: 120; pointer-events: none; }

/* ------------------------------------------------------------------ przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; transition: background .15s, color .15s, transform .12s, box-shadow .15s, border-color .15s; }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btn--wide { width: 100%; max-width: 420px; }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { background: var(--brand-ink); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.btn--accent:hover { filter: brightness(1.06); box-shadow: 0 4px 14px rgba(249, 190, 18, .4); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn[disabled] { opacity: .5; cursor: default; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--surface-2); color: var(--brand-ink); }
.icon-btn--sm { width: 34px; height: 34px; }
.t-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t-sun { display: inline-flex; } :root:not([data-theme="light"]) .t-moon { display: none; } }
:root[data-theme="dark"] .t-sun { display: inline-flex; } :root[data-theme="dark"] .t-moon { display: none; }
.logo__d { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo__d { display: block; } :root:not([data-theme="light"]) .logo__l { display: none; } }
:root[data-theme="dark"] .logo__d { display: block; } :root[data-theme="dark"] .logo__l { display: none; }

/* ------------------------------------------------------------------ nagłówek */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--surface); box-shadow: 0 1px 0 var(--line); transition: transform .25s ease, box-shadow .2s; }
.hdr__top { background: var(--surface-2); font-size: 13px; color: var(--ink-2); overflow: hidden; max-height: 40px; transition: max-height .2s ease; }
.hdr__top-in { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.hdr__date { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hdr__date::first-letter { text-transform: uppercase; }
.wx { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--surface); color: var(--ink); white-space: nowrap; }
.wx .ico { color: var(--accent); }
.wx__city { color: var(--ink-2); }
.wx__txt { color: var(--ink-3); }
.wx__txt::before { content: "·"; margin-right: 6px; }
.hdr__links { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hdr__links a:hover { color: var(--brand-ink); }
.hdr__soc { display: inline-grid; place-items: center; }
.hdr__main-in { display: flex; align-items: center; gap: 20px; min-height: 76px; transition: min-height .2s ease; }
.logo { display: block; flex: none; }
.logo img { height: 50px; width: auto; transition: height .2s ease; }
.search { position: relative; display: flex; align-items: center; flex: 1; max-width: 460px; margin-inline: auto; }
.search > .ico { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; height: 44px; padding: 0 44px 0 42px; border-radius: 999px; border: 1.5px solid transparent; background: var(--surface-2); outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.search__kbd { position: absolute; right: 12px; font: 600 12px/1 var(--font); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 7px; background: var(--surface); pointer-events: none; }
.search input:focus ~ .search__kbd { display: none; }
.hdr__acts { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr__tip { margin-right: 8px; }
.hdr__search-btn, .menu-btn { display: none; }

.nav { border-top: 1px solid var(--line); }
.nav__in { display: flex; align-items: stretch; gap: 8px; }
.nav__list { display: flex; align-items: stretch; gap: 2px; flex: 1; min-width: 0; margin-left: -12px; }
.nav__svc { display: flex; align-items: center; gap: 4px; flex: none; }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 12px; font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--ink); transition: color .15s; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c, var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__link:hover::after, .nav__link.is-active::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); }
.nav__link:hover, .nav__link.is-active { color: var(--c, var(--brand-ink)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav__link:hover, :root:not([data-theme="light"]) .nav__link.is-active { color: var(--ink); } }
:root[data-theme="dark"] .nav__link:hover, :root[data-theme="dark"] .nav__link.is-active { color: var(--ink); }
.nav__home { color: var(--ink-2); }
.nav__link .ico-down { opacity: .5; transition: transform .2s; }
.nav__item:hover .ico-down, .nav__item:focus-within .ico-down { transform: rotate(180deg); }
.nav__link--svc { height: 34px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); font-size: 14px; color: var(--ink); }
.nav__link--svc::after { display: none; }
.nav__link--svc:hover, .nav__link--svc.is-active { background: var(--brand); color: var(--on-brand) !important; }
.nav__sub { position: absolute; left: 0; top: 100%; z-index: 20; min-width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; }
.nav__sub a:hover { background: var(--surface-2); color: var(--brand-ink); }

body.is-scrolled .hdr { box-shadow: var(--shadow-2); }
body.is-scrolled .hdr__top { max-height: 0; }
body.is-scrolled .hdr__main-in { min-height: 60px; }
body.is-scrolled .logo img { height: 40px; }

/* ------------------------------------------------------------------ pasek pilnych */
.ticker { background: var(--ink); color: #fff; font-size: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ticker { background: #050807; border-bottom: 1px solid var(--line); } }
:root[data-theme="dark"] .ticker { background: #050807; border-bottom: 1px solid var(--line); }
.ticker__in { display: flex; align-items: center; gap: 14px; height: 40px; }
.ticker__label { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #1c1500; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ticker--hot .ticker__label { background: #e02b3c; color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.ticker__view { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.ticker__track { display: flex; gap: 44px; width: max-content; padding-left: 24px; animation: ticker var(--dur, 60s) linear infinite; }
.ticker__view:hover .ticker__track, .ticker__view:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__track li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ticker__track time { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.ticker__track a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ticker__all { display: inline-flex; align-items: center; gap: 6px; flex: none; color: #cfd8d4; font-weight: 600; }
.ticker__all:hover { color: #fff; }

/* ------------------------------------------------------------------ układ */
.main { padding-block: 22px 56px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--side); gap: 36px; align-items: start; }
.layout--full { grid-template-columns: minmax(0, 1fr); }
.layout__main { min-width: 0; }
.layout__side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.layout__side > :last-child { position: sticky; top: calc(var(--hdr-h) + 62px); }

/* ------------------------------------------------------------------ elementy wspólne list */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.meta--foot { margin-top: auto; padding-top: 10px; }
.meta time { white-space: nowrap; }
.kicker { font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--c, var(--brand)); }
a.kicker:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker { color: color-mix(in srgb, var(--c, var(--brand)) 62%, #fff); } }
:root[data-theme="dark"] .kicker { color: color-mix(in srgb, var(--c, var(--brand)) 62%, #fff); }
.flag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.5; }
.flag--hot { background: var(--hot); color: #fff; }
.flag--new { background: var(--accent); color: #1c1500; }
.flag--label { background: var(--surface-3); color: var(--ink-2); }
.views { display: inline-flex; align-items: center; gap: 4px; }

.cover { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--surface-3); aspect-ratio: 16 / 9; isolation: isolate; }
.cover--4x3 { aspect-ratio: 4 / 3; }
.cover--1x1 { aspect-ratio: 1; border-radius: var(--r-sm); }
.cover--3x2 { aspect-ratio: 3 / 2; }
.cover--lead { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
a:hover > .cover img, .lead:hover .cover img { transform: scale(1.045); }
.cover--empty { background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--c) 78%, #fff) 0%, var(--c) 42%, color-mix(in srgb, var(--c) 55%, #06100b) 100%); }
.cover--empty::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 100%, rgba(255, 255, 255, .16), transparent 70%); z-index: -1; }
.cover__mark { position: absolute; right: -8%; bottom: -22%; width: 62%; height: auto; opacity: .2; filter: brightness(0) invert(1); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
a:hover > .cover--empty .cover__mark, .lead:hover .cover__mark { transform: scale(1.06) rotate(-2deg); }
.cover__name { position: absolute; left: 9%; top: 12%; max-width: 80%; color: #fff; font-weight: 700; font-size: clamp(11px, 9cqw, 26px); letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; opacity: .95; text-shadow: 0 1px 12px rgba(0, 0, 0, .18); }
.cover { container-type: inline-size; }
.cover--1x1 .cover__name { display: none; }
.cover--1x1 .cover__mark { width: 86%; right: -12%; bottom: -16%; opacity: .3; }
.cover__play { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .62); color: #fff; backdrop-filter: blur(4px); }

.sec { margin-top: 40px; }
.sec:first-child { margin-top: 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--c, var(--brand)); }
.sec-title { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.sec-title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--c, var(--brand)); flex: none; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.more .ico { transition: transform .15s; }
.more:hover { color: var(--brand-ink); }
.more:hover .ico { transform: translateX(3px); }
.sec__foot { margin-top: 22px; text-align: center; }

/* ------------------------------------------------------------------ strona główna: temat dnia */
.hero { margin-bottom: 36px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.lead { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); background: #0b120f; min-height: 100%; display: flex; }
.lead__media { display: block; width: 100%; }
.lead__media .cover { height: 100%; min-height: 420px; aspect-ratio: auto; border-radius: 0; }
.lead__media .cover--empty .cover__name { display: none; }
.lead__media .cover__mark { width: 58%; right: -4%; bottom: auto; top: -10%; opacity: .16; }
.lead__body { position: absolute; inset: auto 0 0 0; padding: 120px 30px 28px; color: #fff; background: linear-gradient(180deg, transparent 0%, rgba(4, 10, 7, .62) 38%, rgba(4, 10, 7, .93) 100%); display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.lead__body > * { pointer-events: auto; }
.lead__body .meta { color: rgba(255, 255, 255, .82); }
.lead__body .kicker { color: #fff; background: var(--c); padding: 3px 10px; border-radius: 6px; }
.lead__badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 6px; background: var(--accent); color: #1c1500; font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.lead__title { font-size: clamp(26px, 2.9vw, 40px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.lead__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.lead__title a::after { content: ""; position: absolute; inset: 0; }
.lead:hover .lead__title a { background-size: 100% 2px; }
.lead__text { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .88); max-width: 62ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead__body .meta--foot { padding-top: 2px; }
.hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.hero__side .card__title { font-size: 16.5px; }

/* ------------------------------------------------------------------ karty i wiersze */
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { display: block; }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 7px; padding-top: 12px; }
.card__title { font-size: 18px; font-weight: 700; line-height: 1.28; letter-spacing: -.012em; text-wrap: pretty; }
.card__title a, .row__title a, .mini__title a, .ev__title a { background: linear-gradient(var(--c, var(--brand)), var(--c, var(--brand))) 0 100% / 0 2px no-repeat; transition: background-size .25s, color .15s; padding-bottom: 1px; }
.card:hover .card__title a, .row:hover .row__title a, .mini:hover .mini__title a, .ev:hover .ev__title a { background-size: 100% 2px; }
.card__lead { color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--big .card__title { font-size: clamp(21px, 2vw, 26px); line-height: 1.2; letter-spacing: -.02em; }
.cards { display: grid; gap: 26px 22px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.rows > .row:first-child { padding-top: 0; }
.rows > .row:last-child { border-bottom: 0; }
.row__body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.row__title { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; text-wrap: pretty; }
.row__lead { color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rows > .ad { margin-block: 18px; }

.minis { display: flex; flex-direction: column; }
.mini { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
.mini:first-child { padding-top: 0; }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini__title { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.mini .meta { font-size: 12px; }
.mini--num { grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
.mini__num { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); font-variant-numeric: tabular-nums; transition: color .2s, -webkit-text-stroke-color .2s; }
.mini--num:first-child .mini__num, .mini--num:hover .mini__num { color: var(--brand); -webkit-text-stroke-color: var(--brand); }

.catgrid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.catgrid__list { display: flex; flex-direction: column; }
.catgrid__list .mini { grid-template-columns: 92px minmax(0, 1fr); }
.cat-top { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.cat-top .card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.cat-top .card__body { padding-top: 0; }

/* ------------------------------------------------------------------ prawa kolumna */
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-1); }
.box__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.box__title { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.box__title .ico { color: var(--brand); }
.box__title a:hover { color: var(--brand-ink); }
.box__count { font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.box__more { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; padding: 10px; border-radius: 999px; background: var(--surface-2); font-weight: 600; font-size: 14px; transition: background .15s, color .15s; }
.box__more:hover { background: var(--brand); color: var(--on-brand); }
.box__empty { color: var(--ink-3); font-size: 14px; padding: 8px 0; }

/* nekrologi */
.box--obits { background: linear-gradient(180deg, var(--obit-2), var(--obit)); border-color: transparent; color: var(--obit-ink); }
.box--obits .box__title .ico { color: var(--obit-gold); }
.box--obits .box__title a:hover { color: var(--obit-gold); }
.box--obits .box__more { background: rgba(255, 255, 255, .08); color: var(--obit-ink); }
.box--obits .box__more:hover { background: var(--obit-gold); color: #1d1608; }
.obits { display: flex; flex-direction: column; gap: 8px; }
.obit { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); color: var(--obit-ink); transition: background .15s, border-color .15s, transform .15s; }
.obit:hover { background: rgba(255, 255, 255, .1); border-color: color-mix(in srgb, var(--obit-gold) 55%, transparent); transform: translateY(-1px); }
.obit__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--obit-gold); overflow: hidden; }
.obit__ico img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.obit__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.obit__sp { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--obit-gold); }
.obit__name { font-size: 15.5px; font-weight: 600; }
.obit__meta { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12.5px; color: rgba(241, 237, 228, .66); margin-top: 2px; }
.obit__meta .is-up { color: var(--obit-gold); }
.obit__place { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(241, 237, 228, .6); margin-top: 6px; }
.obit__candles { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 600; color: var(--obit-gold); font-variant-numeric: tabular-nums; }
.obits--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.obits--grid .obit { background: linear-gradient(180deg, var(--obit-2), var(--obit)); padding: 16px; align-items: start; box-shadow: var(--shadow-1); }
.obits--grid .obit:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.obits--grid .obit__name { font-size: 17px; }

/* rolki */
.reel__stage { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #000; }
.reel__stage iframe, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel__poster, .yt__poster { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.reel__poster img, .yt__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.reel__poster:hover img, .yt__poster:hover img { transform: scale(1.05); }
.reel__poster::after, .yt__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .45)); }
.reel__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; padding-left: 4px; border-radius: 50%; background: var(--accent); color: #1c1500; box-shadow: 0 8px 30px rgba(0, 0, 0, .45); transition: transform .2s; }
.reel__poster:hover .reel__play, .yt__poster:hover .reel__play { transform: scale(1.1); }
.reel__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.reel__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: #cfd8d4; font-size: 13.5px; background: radial-gradient(120% 90% at 50% 0%, #1d2a25, #080c0a); }
.reel__ph .ico { color: var(--accent); }
.reel__ph strong { color: #fff; font-size: 16px; }
.reel__ph code { background: rgba(255, 255, 255, .1); padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }
.reel__ph em { font-size: 12px; opacity: .6; }
.reelgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.yt--short { aspect-ratio: 9 / 16; }
.yt--short .reel__play { width: 54px; height: 54px; margin: -27px 0 0 -27px; }

/* kalendarz */
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__label { font-size: 15px; text-transform: capitalize; }
.cal__grid { width: 100%; table-layout: fixed; text-align: center; }
.cal__grid th { font-size: 11.5px; font-weight: 600; color: var(--ink-3); padding: 6px 0; text-transform: uppercase; letter-spacing: .04em; }
.cal__grid th.is-we { color: var(--hot); }
.cal__grid td { padding: 2px; }
.cal__d { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 42px; margin-inline: auto; border-radius: 50%; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; transition: background .15s, color .15s; }
.cal__d.is-past { color: var(--ink-3); }
.cal__d.has-ev { background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
.cal__d.has-ev i { position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cal__d.has-ev:hover, .cal__d.is-sel { background: var(--brand); color: var(--on-brand); }
.cal__d.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.cal[aria-busy="true"] { opacity: .5; pointer-events: none; }
.evs { display: flex; flex-direction: column; margin-top: 14px; border-top: 1px solid var(--line); }
.ev { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.evs > .ev:last-child { border-bottom: 0; padding-bottom: 0; }
.ev__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 56px; border-radius: 12px; background: var(--surface-2); line-height: 1; transition: background .15s, color .15s; }
.ev__date b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.ev__date span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-top: 4px; }
.ev.is-today .ev__date, .ev:hover .ev__date { background: var(--brand); color: var(--on-brand); }
.ev.is-today .ev__date span, .ev:hover .ev__date span { color: inherit; opacity: .85; }
.ev__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev__cat { font-weight: 700; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-ink); }
.ev__title { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.ev__meta { display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: 13px; color: var(--ink-3); }
.ev__meta span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.ev__lead { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.evs--page { margin-top: 0; border-top: 0; }
.evs--page .ev { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding-block: 18px; }
.evs--page .ev:first-child { padding-top: 0; }
.evs--page .ev__date { width: 64px; height: 68px; border-radius: 14px; }
.evs--page .ev__date b { font-size: 26px; }
.evs--page .ev__title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.calpage { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.calpage__cal { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--hdr-h) + 62px); }
.calpage__h { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }
.calpage__h::first-letter { text-transform: uppercase; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--ink-3); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--ev { background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.dot--today { box-shadow: inset 0 0 0 2px var(--accent); }

/* reklamy */
.ad { position: relative; text-align: center; }
.ad__label { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ad__box { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ad__box img, .ad__box iframe { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.ad--top { max-width: var(--wrap); margin: 18px auto 0; padding-inline: var(--gut); }
.ad__house { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 250px; padding: 26px 22px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--brand) 5%, transparent) 14px 28px), var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ad__house:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.ad__mega { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: #1c1500; }
.ad__txt { display: flex; flex-direction: column; gap: 4px; }
.ad__txt strong { font-size: 18px; letter-spacing: -.01em; }
.ad__txt span { font-size: 14px; color: var(--ink-2); max-width: 30ch; }
.ad__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 8px 16px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 14px; }
.ad__size { position: absolute; right: 12px; top: 10px; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ad--prawa2 .ad__house { min-height: 380px; }
.ad--wide .ad__house { flex-direction: row; text-align: left; min-height: 0; padding: 18px 22px; gap: 16px; }
.ad--wide .ad__mega { width: 52px; height: 52px; flex: none; }
.ad--wide .ad__txt { flex: 1; }
.ad--wide .ad__txt span { max-width: none; }
.ad--wide .ad__cta { margin-top: 0; flex: none; }
.ad--wide .ad__size { top: auto; bottom: 6px; right: 12px; }

/* ------------------------------------------------------------------ nagłówki podstron, ścieżka, paginacja */
.crumbs { margin-bottom: 14px; font-size: 13.5px; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "/"; margin-inline: 9px; opacity: .5; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { display: inline-block; max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.page-head { margin-bottom: 26px; }
.page-title { display: flex; align-items: center; gap: 12px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.page-title .ico { color: var(--brand); }
.page-head[style] .page-title::before { content: ""; width: 8px; height: .95em; border-radius: 4px; background: var(--c); flex: none; }
.page-desc { margin-top: 10px; color: var(--ink-2); font-size: 17px; max-width: 70ch; }
.page-desc a, .page-note a, .empty a { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-note { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); }
.page-head--obits .page-title .ico { color: var(--obit-gold); }
.chips { display: flex; gap: 8px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--c, var(--brand)); }
.chip.is-on { background: var(--c, var(--brand)); border-color: var(--c, var(--brand)); color: #fff; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.pager ul { display: flex; align-items: center; gap: 6px; }
.pager__n, .pager__nav { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--surface); border: 1.5px solid var(--line-2); transition: border-color .15s, background .15s, color .15s; }
a.pager__n:hover, a.pager__nav:hover { border-color: var(--brand); color: var(--brand-ink); }
.pager__n.is-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.pager__nav.is-off { opacity: .4; }
.pager__gap { color: var(--ink-3); padding-inline: 2px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 24px; text-align: center; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty > .ico { color: var(--brand); }
.empty strong { color: var(--ink); }
.empty--page { border: 0; background: none; padding-block: 40px; gap: 16px; }
.empty--page .page-title { justify-content: center; text-align: center; }
.empty--page .search--page { margin-inline: auto; }
.e404 { font-size: clamp(90px, 18vw, 170px); font-weight: 700; line-height: .9; letter-spacing: -.06em; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search--page { max-width: 620px; margin: 18px 0 0; gap: 10px; }
.search--page input { height: 50px; padding-right: 16px; }

/* ------------------------------------------------------------------ artykuł */
.art { max-width: 800px; }
.art__head { margin-bottom: 20px; }
.art__title { margin-top: 10px; font-size: clamp(28px, 3.7vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.art__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 20px; padding-block: 14px; border-block: 1px solid var(--line); }
.art__by { display: flex; align-items: center; gap: 12px; }
.art__by > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.art__by time { font-size: 13.5px; color: var(--ink-3); }
.art__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c, var(--brand)); color: #fff; font-weight: 700; font-size: 17px; }
.art__stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-3); }
.art__stats > span { display: inline-flex; align-items: center; gap: 5px; }
.art__upd { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 10px; border-radius: 6px; background: var(--accent-soft); font-size: 13px; }
.art__lead { font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.5; letter-spacing: -.008em; margin-bottom: 22px; }
.art__hero { margin-bottom: 22px; }
.art__hero img { width: 100%; border-radius: var(--r-lg); background: var(--surface-3); }
.art__hero figcaption, .art__video figcaption { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.art__video { margin-block: 26px; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.share--center { justify-content: center; margin-top: 22px; }
.share__label { font-size: 13px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
.share__b { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line-2); color: var(--ink); transition: background .15s, color .15s, border-color .15s, transform .15s; }
.share__b:hover { transform: translateY(-2px); background: var(--ink); border-color: var(--ink); color: var(--surface); }
.share__b--fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share__b--wa:hover { background: #1fae54; border-color: #1fae54; color: #fff; }

.prose { font-size: 18px; line-height: 1.72; color: var(--ink); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 25px; line-height: 1.25; letter-spacing: -.02em; margin-top: 1.7em; }
.prose h3 { font-size: 20px; line-height: 1.3; margin-top: 1.5em; }
.prose a { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2.5px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: -1.05em; top: .68em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose blockquote { position: relative; padding: 18px 22px 18px 26px; border-radius: 0 var(--r) var(--r) 0; background: var(--surface); border-left: 5px solid var(--accent); font-size: 1.08em; font-weight: 500; font-style: italic; box-shadow: var(--shadow-1); }
.prose img { border-radius: var(--r); height: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.prose table { width: 100%; font-size: 15.5px; }
.prose th, .prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface-2); font-weight: 600; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--accent-soft); font-size: 15px; line-height: 1.5; }
.notice .ico { margin-top: 2px; color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notice .ico { color: var(--accent); } }
:root[data-theme="dark"] .notice .ico { color: var(--accent); }

.gallery { margin-top: 32px; }
.gallery__h { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 14px; }
.gallery__h span { color: var(--ink-3); font-weight: 500; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gallery__grid a { display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-3); }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__grid a:hover img { transform: scale(1.07); }
.art > .ad { margin-block: 30px; }
.art__foot { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.art__src { font-size: 14.5px; color: var(--ink-3); }
.art__src a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.tags a:hover { background: var(--brand); color: var(--on-brand); }
.tipbox { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--brand-soft), var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.tipbox__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: var(--on-brand); flex: none; }
.tipbox > div { flex: 1; min-width: 0; }
.tipbox strong { font-size: 16.5px; }
.tipbox p { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.near { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.near__i { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s, transform .15s; }
.near__i:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.near__i span { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.near__i strong { font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.near__i--r { text-align: right; align-items: flex-end; }

/* powiększanie zdjęć */
.lb { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: rgba(4, 8, 6, .94); animation: fade .2s; touch-action: pan-y; }
@keyframes fade { from { opacity: 0; } }
.lb img { max-width: min(94vw, 1500px); max-height: 82vh; border-radius: 8px; box-shadow: var(--shadow-3); }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 70px calc(16px + env(safe-area-inset-bottom)); text-align: center; color: #e3e9e6; font-size: 14.5px; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background .15s; }
.lb__btn:hover { background: rgba(255, 255, 255, .26); }
.lb__close { right: 16px; top: 16px; }
.lb__prev { left: 14px; top: 50%; margin-top: -24px; }
.lb__next { right: 14px; top: 50%; margin-top: -24px; }
.lb__n { position: absolute; left: 20px; top: 26px; color: #cfd8d4; font-size: 14px; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ nekrolog */
.necro { max-width: 720px; margin-inline: auto; }
.necro__card { position: relative; padding: 44px 36px 34px; border-radius: 24px; background: radial-gradient(120% 70% at 50% 0%, var(--obit-2), var(--obit)); color: var(--obit-ink); text-align: center; box-shadow: var(--shadow-3); overflow: hidden; }
.necro__card::before { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--obit-gold) 40%, transparent); border-radius: 16px; pointer-events: none; }
.necro__cross { display: inline-grid; place-items: center; color: var(--obit-gold); }
.necro__photo { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; margin: 14px auto 0; filter: grayscale(1); border: 3px solid var(--obit-gold); }
.necro__sp { margin-top: 12px; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--obit-gold); }
.necro__name { margin-top: 6px; font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.necro__died { margin-top: 12px; font-size: 17px; color: rgba(241, 237, 228, .78); }
.necro__died span { display: block; }
.necro__facts { display: grid; gap: 10px; margin: 26px auto 0; max-width: 520px; text-align: left; }
.necro__facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 13px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .06); }
.necro__facts dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--obit-gold); }
.necro__facts dd { font-weight: 500; }
.necro__facts dd::first-letter { text-transform: uppercase; }
.necro__text { margin-top: 24px; font-size: 17px; color: rgba(241, 237, 228, .9); }
.necro__text em { font-size: 14px; opacity: .6; }
.candle { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 30px; }
.candle__flame { position: relative; width: 34px; height: 64px; }
.candle__flame::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 30px; border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, #f4efe3, #cfc6b3); }
.candle__flame i { position: absolute; left: 50%; bottom: 32px; width: 16px; height: 28px; margin-left: -8px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(circle at 50% 75%, #fff6c9 0 18%, #ffc940 45%, #ff8a1f 80%); opacity: .25; transform-origin: 50% 100%; filter: saturate(.2); transition: opacity .6s, filter .6s; }
.candle.is-lit .candle__flame i { opacity: 1; filter: none; box-shadow: 0 0 30px 10px rgba(255, 180, 60, .35); animation: flame 1.8s ease-in-out infinite; }
@keyframes flame { 0%, 100% { transform: scale(1) rotate(-2deg); } 30% { transform: scale(1.06, .94) rotate(2deg); } 60% { transform: scale(.95, 1.08) rotate(-1deg); } }
.candle__count { font-size: 15px; color: rgba(241, 237, 228, .8); }
.candle__count strong { font-size: 19px; color: var(--obit-gold); font-variant-numeric: tabular-nums; }
.btn--candle { background: var(--obit-gold); color: #1d1608; }
.btn--candle:hover:not([disabled]) { filter: brightness(1.08); box-shadow: 0 6px 22px rgba(216, 181, 106, .35); }
.btn--candle[disabled] { opacity: 1; background: rgba(255, 255, 255, .1); color: var(--obit-gold); }

/* ------------------------------------------------------------------ wydarzenie, strony stałe */
.evpage { max-width: 800px; }
.evpage__head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.evpage__head .art__title { margin-top: 4px; }
.ev__date--xl { width: 84px; height: 90px; border-radius: 18px; background: var(--brand); color: var(--on-brand); flex: none; }
.ev__date--xl b { font-size: 36px; }
.ev__date--xl span { color: inherit; opacity: .85; font-size: 13px; }
.evpage__facts { max-width: none; margin: 0 0 24px; }
.evpage__facts > div { background: var(--surface); border: 1px solid var(--line); grid-template-columns: 110px minmax(0, 1fr); }
.evpage__facts dt { color: var(--brand-ink); }
.evpage__map { margin-left: 8px; font-size: 14px; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.evpage .share { margin-top: 26px; }
.page { max-width: 820px; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 30px; }
.contact__card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: border-color .15s, transform .15s, box-shadow .15s; }
.contact__card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.contact__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.contact__card > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.contact__card > span:last-child span { font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.offer__i { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.offer__i > span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #1c1500; margin-bottom: 12px; }
.offer__i strong { display: block; font-size: 17px; margin-bottom: 4px; }
.offer__i p { color: var(--ink-2); font-size: 15px; }

/* ------------------------------------------------------------------ menu boczne (telefon) */
.sheet { position: fixed; inset: 0; z-index: 150; }
.sheet__bg { position: absolute; inset: 0; background: rgba(6, 12, 9, .55); backdrop-filter: blur(3px); animation: fade .2s; }
.sheet__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(390px, 92vw); display: flex; flex-direction: column; gap: 4px; padding: 14px 18px calc(22px + env(safe-area-inset-bottom)); background: var(--surface); overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-3); animation: slide .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide { from { transform: translateX(100%); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; font-size: 20px; margin-bottom: 6px; }
.search--sheet { max-width: none; margin: 0 0 12px; flex: none; }
.sheet__svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.sheet__svc a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: var(--r); background: var(--surface-2); font-size: 13.5px; font-weight: 600; }
.sheet__svc a .ico { color: var(--brand); }
.sheet__label { margin: 14px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sheet__top { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 8px; border-radius: 10px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.sheet__top::-webkit-details-marker { display: none; }
.sheet__top:hover { background: var(--surface-2); }
.sheet__top i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); transform: rotate(45deg); flex: none; }
.sheet__top .ico-down { margin-left: auto; color: var(--ink-3); transition: transform .2s; }
details[open] > .sheet__top .ico-down { transform: rotate(180deg); }
.sheet__subs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; padding: 4px 0 10px 30px; }
.sheet__subs a { padding: 8px 6px; border-radius: 8px; font-size: 15px; color: var(--ink-2); }
.sheet__subs a:hover { background: var(--surface-2); color: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.sheet__install { margin-top: 16px; }
.sheet__foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--ink-2); }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ stopka, pasek dolny, drobiazgi */
.ftr { background: var(--surface); border-top: 1px solid var(--line); padding-block: 44px 28px; }
.ftr__cols { display: grid; grid-template-columns: 1.5fr 1.3fr 1fr 1fr; gap: 36px; }
.ftr__brand img { height: 46px; width: auto; }
.ftr__brand p { margin-top: 14px; color: var(--ink-2); font-size: 15px; max-width: 38ch; }
.ftr__brand .btn { margin-top: 16px; }
.ftr__h { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ftr__list { display: grid; gap: 9px; font-size: 15px; }
.ftr__list--2 { grid-template-columns: 1fr 1fr; }
.ftr__list a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.ftr__tip { margin-top: 18px; }
.ftr__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.tabbar { display: none; }
.totop { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--surface); box-shadow: var(--shadow-2); animation: fade .2s; transition: transform .15s, background .15s; }
.totop:hover { transform: translateY(-3px); background: var(--brand); color: var(--on-brand); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 320; transform: translateX(-50%); padding: 11px 20px; border-radius: 999px; background: var(--ink); color: var(--surface); font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-3); animation: toast .25s cubic-bezier(.2, .8, .2, 1); white-space: nowrap; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ------------------------------------------------------------------ średnie ekrany */
@media (max-width: 1180px) {
	:root { --side: 310px; }
	.layout { gap: 28px; }
	.row { grid-template-columns: 200px minmax(0, 1fr); }
	.hdr__tip span { display: none; }
	.hdr__tip { padding-inline: 12px; }
	.wx__txt { display: none; }
}
@media (max-width: 1023px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.layout__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 16px; align-items: start; }
	.layout__side > :last-child { position: static; }
	.box--reels .reel { max-width: 300px; margin-inline: auto; }
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__side { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.lead__media .cover { min-height: 0; aspect-ratio: 16 / 9; }
	.nav__svc { display: none; }
	.art, .evpage, .page { max-width: none; }
	.ftr__cols { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------------ telefon */
@media (max-width: 767px) {
	:root { --gut: 16px; --hdr-h: 56px; --r-lg: 16px; }
	html { scroll-padding-top: 120px; }
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	.hdr__top { font-size: 12.5px; }
	.hdr__top-in { min-height: 32px; gap: 10px; justify-content: space-between; }
	.hdr__links { display: none; }
	.wx__city { display: none; }
	.hdr__main-in { min-height: 56px; gap: 8px; }
	.logo img, body.is-scrolled .logo img { height: 36px; }
	body.is-scrolled .hdr__main-in { min-height: 52px; }
	.hdr .search, .hdr__tip { display: none; }
	.hdr__search-btn, .menu-btn { display: inline-grid; }
	.hdr__acts { gap: 0; margin-right: -8px; }
	.nav__in { padding-inline: 0; }
	.nav__list { margin-left: 0; padding-inline: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
	.nav__list::-webkit-scrollbar { display: none; }
	.nav__link { height: 42px; padding: 0 10px; font-size: 14.5px; scroll-snap-align: start; }
	.nav__link::after { left: 10px; right: 10px; }
	.nav__link .ico-down, .nav__sub { display: none; }
	body.hdr-hide .hdr { transform: translateY(-100%); }
	.ticker__in { height: 38px; gap: 10px; }
	.ticker__all { display: none; }
	.ticker__label { padding: 3px 9px; font-size: 11px; }
	.main { padding-block: 16px 36px; }
	.hero { margin-bottom: 26px; padding-inline: 0; }
	.hero__grid { gap: 18px; }
	.lead { border-radius: 0; box-shadow: none; }
	.lead__media .cover { aspect-ratio: 4 / 5; max-height: 76vh; width: 100%; }
	.lead__body { padding: 90px 16px 20px; gap: 9px; }
	.lead__title { font-size: 25px; }
	.lead__text { font-size: 15.5px; }
	.hero__side { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.hero__side::-webkit-scrollbar { display: none; }
	.hero__side .card { flex: 0 0 72%; max-width: 300px; scroll-snap-align: start; }
	.sec { margin-top: 32px; }
	.sec-title { font-size: 20px; }
	.row { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding-block: 14px; }
	.row__title { font-size: 16.5px; line-height: 1.28; }
	.row__lead { display: none; }
	.row .meta--foot { padding-top: 4px; }
	.row .cover { border-radius: var(--r-sm); }
	.catgrid, .cat-top .card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.cat-top .card__body { padding-top: 0; }
	.cards--2 { grid-template-columns: minmax(0, 1fr); }
	.layout__side { grid-template-columns: minmax(0, 1fr); }
	.obits--grid { grid-template-columns: minmax(0, 1fr); }
	.reelgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.calpage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.calpage__cal { position: static; }
	.ad--wide .ad__house { flex-direction: column; text-align: center; padding: 22px 18px; }
	.ad--wide .ad__txt span { max-width: 30ch; margin-inline: auto; }
	.ad--top { margin-top: 12px; }
	.prose { font-size: 17px; line-height: 1.68; }
	.prose h2 { font-size: 22px; }
	.art__meta { padding-block: 12px; }
	.gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.tipbox { flex-direction: column; text-align: center; }
	.near { grid-template-columns: minmax(0, 1fr); }
	.near__i--r { text-align: left; align-items: flex-start; }
	.necro__card { padding: 36px 20px 28px; border-radius: 20px; }
	.necro__facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.evpage__head { align-items: flex-start; gap: 14px; }
	.ev__date--xl { width: 66px; height: 72px; border-radius: 14px; }
	.ev__date--xl b { font-size: 28px; }
	.offer { grid-template-columns: minmax(0, 1fr); }
	.pager__nav span { display: none; }
	.pager__n, .pager__nav { min-width: 40px; height: 40px; padding: 0 10px; }
	.ftr { padding-block: 32px 20px; }
	.ftr__cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.lb__prev, .lb__next { top: auto; bottom: calc(64px + env(safe-area-inset-bottom)); }
	.lb img { max-height: 70vh; }

	.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-top: 1px solid var(--line); }
	.tabbar__i { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 54px; font-size: 11px; font-weight: 600; color: var(--ink-3); border-radius: 12px; transition: color .15s; }
	.tabbar__i.is-on { color: var(--brand-ink); }
	.tabbar__i--mid b { display: grid; place-items: center; width: 46px; height: 32px; padding-left: 2px; border-radius: 999px; background: var(--brand); color: var(--on-brand); margin-top: 1px; }
	.tabbar__i--mid span { margin-top: 1px; }
	.totop { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
	.toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
	.row { grid-template-columns: 96px minmax(0, 1fr); }
	.hdr__date { font-size: 12px; }
}

/* aplikacja zainstalowana (PWA): bez górnego paska z datą, więcej miejsca na treść */
@media (display-mode: standalone) {
	.hdr { padding-top: env(safe-area-inset-top); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ticker__view { overflow-x: auto; }
}
@media print {
	.hdr, .ticker, .sheet, .layout__side, .ftr, .tabbar, .totop, .share, .ad, .near, .tipbox, .progress { display: none !important; }
	body { background: #fff; color: #000; padding: 0; }
	.layout { display: block; }
}

/* etykieta rubryki na zdjęciu tematu dnia: zawsze biała */
.lead .lead__body .kicker { color: #fff; }
@media (max-width: 767px) { .lead__media .cover { aspect-ratio: 1; } }
