/*
Theme Name: ster.
Theme URI: https://fundacjaster.org.pl/
Author: Fundacja Ster
Description: Portal z wiadomościami biznesowo-technologicznymi i katalogiem firm opisanych w formie artykułów. Wymaga wtyczki „Ster Core”.
Version: 2.0.0
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ster
*/

/* ==========================================================================
   Szyld – tokens
   Enamel plates (szyldy emaliowane) own the frame; the reading column stays white.
   --p / --on are the current plate colour and its lettering; templates set them
   per section from the editor's term colours.
   ========================================================================== */
:root {
	--p: #16181D;
	--on: #FFFFFF;

	--enamel-black: #16181D;
	--cobalt: #1F4FD8;
	--signal: #E3A72F;
	--signal-deep: #C98E18;
	--ok: #0C8E46;
	--err: #C8231C;

	--ink: #16181D;
	--text: #24272E;
	--muted: #5A5F69;
	--line: #DCDED8;
	--wall: #E9EAE5;
	--paper: #FFFFFF;

	--sign: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--ui: 'Barlow', system-ui, sans-serif;
	--read: 'Source Serif 4', Georgia, serif;

	--container: 1480px;
	--radius: 10px;
	--lift: 0 1px 1px rgba(22, 24, 29, .22), 0 8px 18px -10px rgba(22, 24, 29, .5);
	--lift-sm: 0 1px 1px rgba(22, 24, 29, .18), 0 3px 8px -4px rgba(22, 24, 29, .4);
	--ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
	scroll-behavior: smooth;
	scrollbar-color: var(--enamel-black) var(--wall);
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	color: var(--ink);
	font: 400 16px/1.5 var(--ui);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	caret-color: var(--cobalt);
	accent-color: var(--cobalt);
}
body > * { flex-shrink: 0; }
.site-footer { margin-top: auto; }

::selection { background: var(--signal); color: var(--ink); }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--cobalt); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
time, .num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: 12px 18px;
	top: 8px; left: 8px; z-index: 1000; background: var(--signal); color: var(--ink);
	font: 600 16px var(--ui); border-radius: 6px;
}

/* Keyboard focus: ink ring on light ground, the plate's lettering colour on enamel. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.fascia :focus-visible, .site-footer :focus-visible, .drawer :focus-visible { outline-color: var(--signal); }
.band :focus-visible, .opener :focus-visible, .f-hero :focus-visible, .side-firms :focus-visible { outline-color: var(--on); }

/* ==========================================================================
   The plate – an enamel sign: flat colour and an inset keyline.
   ========================================================================== */
.plate {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .45em;
	padding: .5em 1.15em .45em;
	border-radius: 8px;
	background: var(--p);
	color: var(--on);
	font: 600 15px/1.1 var(--sign);
	letter-spacing: .05em;
	text-transform: uppercase;
	box-shadow: inset 0 0 0 3px var(--p), inset 0 0 0 4.5px var(--on), var(--lift-sm);
}
a.plate, button.plate { cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease); }
a.plate:hover, button.plate:hover { color: var(--on); transform: translateY(1px); box-shadow: inset 0 0 0 3px var(--p), inset 0 0 0 4.5px var(--on), 0 1px 1px rgba(22, 24, 29, .2); }
a.plate:active, button.plate:active { transform: translateY(1px); box-shadow: inset 0 0 0 3px var(--p), inset 0 0 0 4.5px var(--on), 0 0 0 rgba(22, 24, 29, 0); }

.plate--xs {
	padding: 5px 9px 4px;
	border-radius: 5px;
	font-size: 12.5px;
	letter-spacing: .06em;
	box-shadow: inset 0 0 0 2px var(--p), inset 0 0 0 3px var(--on), 0 1px 2px rgba(22, 24, 29, .3);
}
.plate--head {
	margin: 0 0 14px;
	font-size: 17px;
	padding: 9px 16px 8px;
}

/* Navigation & filter plates: keyline outlines; only the current one is lit. */
.plate--nav, .plate--tab {
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	background: var(--paper);
	color: var(--p);
	font-size: 16px;
	box-shadow: inset 0 0 0 3px #FFFFFF, inset 0 0 0 5px var(--p), var(--lift-sm);
}
.plate.plate--nav:hover, .plate.plate--tab:hover { color: var(--p); background: color-mix(in srgb, var(--p) 9%, #FFFFFF); transform: translateY(1px); box-shadow: inset 0 0 0 3px #FFFFFF, inset 0 0 0 5px var(--p); }
.plate--nav.is-lit, .plate--tab.is-lit,
.plate--nav.is-lit:hover, .plate--tab.is-lit:hover {
	background: var(--p);
	color: var(--on);
	box-shadow: inset 0 0 0 3px var(--p), inset 0 0 0 4.5px var(--on), var(--lift-sm);
}
.tab__n { font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: 0; opacity: .8; font-variant-numeric: tabular-nums; }

/* A blank sign (white enamel, dashed keyline): the place for a company not yet in the catalogue. */
.plate--blank {
	background: var(--paper);
	color: var(--ink);
	box-shadow: var(--lift-sm);
	outline: 2px dashed rgba(22, 24, 29, .55);
	outline-offset: -7px;
}

.swatch { display: inline-block; flex: none; width: 10px; height: 10px; margin-right: 7px; border-radius: 2px; vertical-align: 0; }

/* Buttons – enamel too. */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 48px; padding: 0 22px;
	border: 0; border-radius: 8px;
	font: 600 17px/1 var(--sign); letter-spacing: .06em; text-transform: uppercase;
	cursor: pointer;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--signal { background: var(--signal); color: var(--ink); box-shadow: inset 0 0 0 3px var(--signal), inset 0 0 0 4.5px var(--ink), var(--lift-sm); }
.btn--signal:hover { color: var(--ink); background: #EDB447; transform: translateY(1px); box-shadow: inset 0 0 0 3px #EDB447, inset 0 0 0 4.5px var(--ink), 0 1px 1px rgba(22, 24, 29, .2); }
.btn--ink { background: var(--ink); color: #FFFFFF; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4.5px #FFFFFF, var(--lift-sm); }
.btn--ink:hover { color: #FFFFFF; background: #2A2D34; transform: translateY(1px); box-shadow: inset 0 0 0 3px #2A2D34, inset 0 0 0 4.5px #FFFFFF, 0 1px 1px rgba(22, 24, 29, .2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Media: photos keep their own colour, never tinted. Without a photo, the section's sign stands in. */
.media { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--wall); }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.media:hover img { transform: scale(1.025); }
.media--sign {
	display: flex; align-items: center; justify-content: center;
	background: var(--p); color: var(--on);
	box-shadow: inset 0 0 0 10px var(--p), inset 0 0 0 12px var(--on);
	container-type: inline-size;
}
.media--sign:hover { color: var(--on); }
.media__sign {
	padding: 0 12%;
	font: 700 clamp(18px, 11cqi, 64px)/.95 var(--sign);
	letter-spacing: .04em; text-transform: uppercase; text-align: center;
}
.r16x9 { aspect-ratio: 16 / 9; }
.r16x10 { aspect-ratio: 16 / 10; }
.r3x2 { aspect-ratio: 3 / 2; }
.r4x3 { aspect-ratio: 4 / 3; }

.pic { position: relative; }
.pic { padding-bottom: 6px; border-radius: 7px; background: var(--p); }
.pic .media { border-radius: 6px 6px 2px 2px; }

.meta { font: 500 14px/1.4 var(--ui); color: var(--muted); }

/* Logo plates (initials when there's no uploaded logo). */
.logo {
	flex: 0 0 52px; width: 52px; height: 52px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 7px; overflow: hidden;
	background: var(--p); color: var(--on);
	font: 700 18px/1 var(--sign); letter-spacing: .04em;
	box-shadow: inset 0 0 0 2.5px var(--p), inset 0 0 0 3.5px var(--on), var(--lift-sm);
}
.logo--img { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo--40 { flex-basis: 40px; width: 40px; height: 40px; font-size: 14px; border-radius: 6px; }
.logo--46 { flex-basis: 46px; width: 46px; height: 46px; font-size: 16px; }
.logo--84 { flex-basis: 84px; width: 84px; height: 84px; font-size: 28px; }
.logo--104 { flex-basis: 104px; width: 104px; height: 104px; font-size: 36px; border-radius: 10px; box-shadow: inset 0 0 0 4px var(--p), inset 0 0 0 6px var(--on); }

/* ==========================================================================
   Header – the fascia sign and the street of section plates
   ========================================================================== */
.fascia { background: var(--enamel-black); color: #FFFFFF; padding: 14px 0; }
.fascia__sign {
	position: relative;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 16px 40px;
	padding: 18px 44px 18px 44px;
	border-radius: 12px;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .92);
}
.brand { display: flex; align-items: baseline; gap: 18px; color: #FFFFFF; }
.brand:hover { color: #FFFFFF; }
.brand__name {
	position: relative;
	display: inline-block;
	padding: 10px 46px 16px;
	border-radius: 10px;
	background: #FFFFFF; color: var(--ink);
	font: 700 112px/.82 var(--sign); letter-spacing: .005em;
	box-shadow: inset 0 0 0 4px #FFFFFF, inset 0 0 0 6.5px var(--ink), 0 2px 0 rgba(0, 0, 0, .4);
}
.brand__dot { color: var(--signal); }
.brand__tag { font: 500 15px/1 var(--sign); letter-spacing: .16em; text-transform: uppercase; color: #C4C7CC; }

.fascia__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fascia__top { display: flex; flex-wrap: wrap; gap: 4px 22px; font: 500 14px/1.3 var(--ui); color: #C4C7CC; }
.fascia__date::first-letter { text-transform: uppercase; }
.fascia__links { display: flex; gap: 18px; }
.fascia__links a { color: #E6E7E9; }
.fascia__links a:hover { color: var(--signal); }
.fascia__tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.hsearch {
	display: flex; align-items: center; gap: 4px;
	margin: 0; padding-left: 14px;
	border-radius: 8px;
	background: #FFFFFF; color: var(--muted);
}
.hsearch input {
	width: 260px; min-height: 48px; padding: 0 14px 0 6px;
	border: 0; background: transparent; color: var(--ink);
	font: 500 16px var(--ui);
}
.hsearch input::placeholder { color: #6A6F78; }
.hsearch input:focus-visible { outline: none; }
.hsearch:focus-within { box-shadow: 0 0 0 3px var(--signal); }

.mh-btns { display: none; }
.mh-btn { width: 44px; height: 44px; border: 0; padding: 0; background: transparent; color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 6px; }

.signs { background: var(--paper); border-bottom: 1px solid var(--line); }
.signs__in { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; padding-bottom: 14px; }

.drawer { display: none; }

/* Ticker */
.ticker { border-bottom: 1px solid var(--line); background: var(--paper); }
.ticker__in { min-height: 54px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font: 500 15px/1.35 var(--ui); }
.ticker__label { flex: none; }
.ticker a time { font: 700 16px var(--sign); margin-right: 4px; }

/* ==========================================================================
   Front page
   ========================================================================== */
.front { width: 100%; }

.top {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 2.6fr) minmax(0, 2.6fr);
	gap: 36px;
	padding-top: 36px;
	padding-bottom: 56px;
	align-items: start;
}
.lead { display: flex; flex-direction: column; }
.lead__title { margin: 22px 0 16px; font: 600 clamp(38px, 3.9vw, 62px)/1 var(--sign); letter-spacing: -.005em; }
.lead__title a:hover, .second__title a:hover, .dept__lead h3 a:hover, .mini h4 a:hover,
.feat h2 a:hover, .row h3 a:hover, .shop__title a:hover { color: var(--cobalt); }
.lead__excerpt { margin: 0 0 14px; padding: 14px 20px 16px; max-width: 64ch; border-radius: 6px; background: var(--p); color: var(--on); font: 600 19px/1.5 var(--read); }

.second { display: flex; flex-direction: column; gap: 32px; }
.second__item { display: flex; flex-direction: column; }
.second__title { margin: 16px 0 8px; font: 600 26px/1.06 var(--sign); }

.latest__list { margin: 0; padding: 0; list-style: none; }
.latest__list li { border-bottom: 1px solid var(--line); }
.latest__item { display: flex; gap: 14px; padding: 13px 0; }
.latest__time { flex: 0 0 54px; padding-top: 1px; font: 600 17px/1.2 var(--sign); color: var(--muted); }
.latest__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.latest__title { font: 600 16px/1.32 var(--ui); color: var(--ink); }
.latest__item:hover .latest__title { color: var(--cobalt); }
.latest__sec { display: inline-flex; align-items: center; font: 500 13px/1.2 var(--ui); color: var(--muted); }

/* Section openers: full-bleed bands of the section's enamel. */
.dept { margin-top: 8px; }
.opener { background: var(--p); color: var(--on); padding: 16px 0; }
.opener__sign {
	position: relative;
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 8px 32px;
	padding: 20px 46px;
	border-radius: 10px;
	box-shadow: inset 0 0 0 2px var(--on);
}
.opener__title { margin: 0; font: 700 clamp(34px, 4vw, 58px)/.95 var(--sign); letter-spacing: .03em; text-transform: uppercase; }
.opener__title a, .opener__title a:hover { color: var(--on); }
.opener__desc { flex: 1 1 320px; margin: 0; max-width: 60ch; font: 500 17px/1.45 var(--ui); color: var(--on); }
.opener__more {
	margin-left: auto;
	display: inline-flex; align-items: center; min-height: 44px;
	font: 600 18px/1 var(--sign); letter-spacing: .06em; text-transform: uppercase;
	color: var(--on);
	text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.opener__more:hover { color: var(--on); text-decoration-thickness: 4px; }
.opener--slim { padding: 12px 0; }
.opener--slim .opener__sign { padding: 14px 46px; }
.opener--slim .opener__title { font-size: clamp(26px, 2.6vw, 38px); }

.dept__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 36px;
	padding-top: 36px;
	padding-bottom: 56px;
}
.dept__lead { display: flex; flex-direction: column; gap: 16px; }
.dept__lead-body { display: flex; flex-direction: column; gap: 10px; }
.dept__lead h3 { margin: 0; font: 600 clamp(28px, 2.5vw, 38px)/1.02 var(--sign); }
.dept__lead p { margin: 0; max-width: 62ch; font: 400 17px/1.55 var(--read); color: var(--text); }
.dept__lead:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.dept__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; align-content: start; }
.mini { display: flex; flex-direction: column; }
.mini h4, .mini h3 { margin: 14px 0 6px; font: 600 21px/1.1 var(--sign); }
.mini .pic + h3 { margin-top: 14px; }

/* The catalogue street: shop signs on a plastered wall. */
.street { background: var(--wall); padding: 64px 0 72px; margin-top: 8px; }
.street__in { display: flex; flex-direction: column; gap: 22px; }
.street__head { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-end; }
.street__intro h2, .street h2 { margin: 0 0 8px; font: 700 clamp(40px, 4.4vw, 64px)/.95 var(--sign); letter-spacing: .02em; text-transform: uppercase; }
.street__intro p { margin: 0; max-width: 58ch; font: 400 18px/1.55 var(--read); color: var(--text); }
.street__count { margin: 0; min-height: 1.4em; font: 500 14px var(--ui); color: var(--muted); }
.street--slim { padding: 48px 0 64px; }
.street--slim h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 18px; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; }

.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 40px 24px; padding-top: 14px; }
.shop {
	position: relative;
	display: flex; flex-direction: column;
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: 0 1px 2px rgba(22, 24, 29, .08), 0 14px 28px -18px rgba(22, 24, 29, .45);
}
.shop[hidden] { display: none; }
.shop__sign {
	display: flex; align-items: center; justify-content: center;
	min-height: 96px;
	margin: -14px 14px 0;
	padding: 16px 38px;
	border-radius: 9px;
	text-align: center;
	box-shadow: inset 0 0 0 4px var(--p), inset 0 0 0 6px var(--on), var(--lift);
}
.shop__name { font: 700 27px/1 var(--sign); letter-spacing: .04em; text-transform: uppercase; }
.shop__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 20px; }
.shop__where { font: 600 13px/1.3 var(--ui); letter-spacing: .02em; color: var(--muted); }
.shop__title { margin: 0; font: 600 26px/1.06 var(--sign); }
.shop__desc { margin: 0; font: 400 16px/1.55 var(--read); color: var(--text); }
.shop__foot {
	margin-top: auto; padding-top: 12px;
	display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: center;
	border-top: 1px solid var(--line);
	font: 500 13px var(--ui); color: var(--muted);
}
.shop__foot a, .shop__go {
	display: inline-flex; align-items: center; min-height: 40px;
	font: 600 16px/1 var(--sign); letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
	text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.shop__foot a:hover { color: var(--cobalt); }
.shop--blank { background: transparent; box-shadow: none; outline: 2px dashed rgba(22, 24, 29, .3); outline-offset: -1px; color: var(--ink); }
.shop--blank:hover { color: var(--ink); background: rgba(255, 255, 255, .55); }
.shop--blank .shop__sign { box-shadow: var(--lift); }
.shop__blank-title { font: 600 23px/1.1 var(--sign); }
.shop--blank:hover .shop__go { text-decoration-thickness: 4px; }

.shops--list { grid-template-columns: 1fr; gap: 24px; padding-top: 0; }
.shop--wide { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); align-items: start; }
.shop--wide .shop__sign { margin: 20px; min-height: 128px; }
.shop--wide .shop__body { padding: 22px 26px 20px 4px; }

/* Most read: house-number plates. */
.popular { padding-top: 64px; padding-bottom: 80px; }
.popular ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.popular li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.popular__n {
	flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 38px;
	border-radius: 6px;
	background: var(--cobalt); color: #FFFFFF;
	font: 700 22px/1 var(--sign);
	box-shadow: inset 0 0 0 2.5px var(--cobalt), inset 0 0 0 3.5px #FFFFFF, var(--lift-sm);
}
.popular__body { display: flex; flex-direction: column; gap: 6px; }
.popular__body > a { font: 600 18px/1.3 var(--ui); }

/* ==========================================================================
   Single article
   ========================================================================== */
.l-single { width: 100%; padding-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px 0 26px; font: 500 14px var(--ui); color: var(--muted); }
.crumbs > a:not(.plate) { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs > a:not(.plate):hover { color: var(--ink); }
.crumbs--on, .crumbs--on > a:not(.plate) { color: var(--on); }
.crumbs--on > a:not(.plate):hover { color: var(--on); text-decoration-thickness: 2px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; padding-bottom: 24px; }
.article { min-width: 0; max-width: 860px; }
.article__title { margin: 0 0 22px; font: 600 clamp(38px, 4.2vw, 66px)/.98 var(--sign); letter-spacing: -.005em; }

/* The one marked line: the standfirst sits on a strip of section enamel. */
.standfirst {
	margin: 0 0 26px; padding: 18px 24px 20px;
	max-width: 68ch;
	border-radius: 8px;
	background: var(--p); color: var(--on);
	font: 600 21px/1.5 var(--read);
}

/* Section mark at the head of a meta line (after the headline, never above it). */
.sec { display: inline-flex; align-items: center; margin-right: 10px; font-weight: 600; color: var(--ink); }

/* Icons: one authored set; arrows nudge on hover. */
.icon { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -.14em; transition: transform .2s var(--ease); }
a:hover > .icon { transform: translateX(3px); }
.readalso { position: relative; padding-right: 52px; }
.readalso::after {
	content: ""; position: absolute; right: 20px; top: 50%;
	width: 22px; height: 22px; margin-top: -11px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181D' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.entry .readalso__link { margin-top: 0; }
.entry .readalso__link::after { content: ""; position: absolute; inset: 0; }

.article__meta {
	display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
	padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	font: 500 14px/1.4 var(--ui); color: var(--muted);
}
.article__meta-l { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.article__meta-l strong { color: var(--ink); font-weight: 600; }
.share { display: flex; gap: 16px; }
.share a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.share a:hover { color: var(--cobalt); }

.article__fig, .profile__fig { margin: 28px 0 0; }
.article__fig img, .profile__fig img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 6px; }
.article__fig figcaption, .profile__fig figcaption { padding-top: 10px; font: 400 13.5px/1.45 var(--ui); color: var(--muted); }

/* Reading column: calm. */
.entry { max-width: 68ch; padding-top: 34px; font: 400 19px/1.68 var(--read); color: var(--text); }
.entry > :first-child { margin-top: 0; }
.entry p { margin: 0 0 1.25em; }
.entry a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--p); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry a:hover { color: var(--cobalt); text-decoration-color: currentColor; }
.entry h2 { margin: 2em 0 .5em; font: 600 34px/1.08 var(--sign); color: var(--ink); scroll-margin-top: 24px; }
.entry h3 { margin: 1.6em 0 .45em; font: 600 26px/1.12 var(--sign); color: var(--ink); }
.entry ul, .entry ol { margin: 0 0 1.25em; padding-left: 1.3em; }
.entry li { margin-bottom: .35em; }
.entry li::marker { color: var(--muted); }
.entry strong { font-weight: 600; color: var(--ink); }
.entry img { border-radius: 6px; }
.entry figure { margin: 34px 0; }
.entry figcaption, .entry .wp-caption-text, .entry .wp-element-caption { padding-top: 10px; font: 400 13.5px/1.45 var(--ui); color: var(--muted); }
.entry hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.entry table { width: 100%; margin: 0 0 1.5em; border-collapse: collapse; font: 400 15px/1.45 var(--ui); font-variant-numeric: tabular-nums; }
.entry th { padding: 10px 12px; text-align: left; background: var(--ink); color: #FFFFFF; font: 600 14px var(--sign); letter-spacing: .06em; text-transform: uppercase; }
.entry td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.entry blockquote, .entry .pull {
	margin: 44px 0; padding: 16px 0 0;
	border-top: 6px solid var(--p);
	font: 600 clamp(28px, 2.6vw, 36px)/1.1 var(--sign); color: var(--ink);
}
.entry blockquote p { margin: 0; }
.entry blockquote cite { display: block; margin-top: 12px; font: 500 15px var(--ui); font-style: normal; color: var(--muted); }

.readalso {
	margin: 34px 0; padding: 16px 20px 18px;
	border-radius: 9px; background: var(--paper);
	box-shadow: inset 0 0 0 2px var(--ink);
	font-family: var(--ui);
}
.readalso__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.entry .readalso__link { display: block; margin-top: 4px; font: 600 24px/1.1 var(--sign); color: var(--ink); text-decoration: none; }
.entry .readalso__link:hover { color: var(--cobalt); }

.offer { margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; font-family: var(--ui); }
.offer__item { padding: 16px 18px 18px; border-radius: 9px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); }
.offer__item strong { display: block; margin-bottom: 4px; font: 600 19px/1.1 var(--sign); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.offer__item span { font-size: 15px; line-height: 1.45; color: var(--muted); }

.ster-gallery { margin: 32px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ster-gallery__item { margin: 0; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: var(--wall); }
.entry .ster-gallery__item { margin: 0; }
.ster-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

.firm-link {
	margin-top: 20px; max-width: 68ch;
	display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center;
	padding: 18px; border-radius: var(--radius);
	background: var(--wall);
}
.firm-link__sign { min-height: 64px; padding: 0 40px; font-size: 22px; box-shadow: inset 0 0 0 3px var(--p), inset 0 0 0 5px var(--on), var(--lift); }
.firm-link__txt { display: flex; flex-direction: column; gap: 4px; }
.firm-link__label { font: 500 14px var(--ui); color: var(--muted); }
.firm-link__go { font: 600 18px/1 var(--sign); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.firm-link:hover .firm-link__go { color: var(--cobalt); }
.firm-link:hover .firm-link__sign { box-shadow: inset 0 0 0 3px var(--p), inset 0 0 0 5px var(--on), var(--lift-sm); transform: translateY(1px); }

.tags { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 14px var(--ui); }
.tags span { color: var(--muted); }
.tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line); }
.tags a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }

.side { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.side-firms {
	padding: 26px 24px 24px;
	border-radius: 12px;
	background: var(--enamel-black); color: #FFFFFF;
	--on: #FFFFFF;
	box-shadow: inset 0 0 0 3px var(--enamel-black), inset 0 0 0 4.5px #FFFFFF, var(--lift);
}
.side-firms__title { margin: 0 0 4px; font: 700 26px/1 var(--sign); letter-spacing: .04em; text-transform: uppercase; }
.side-firms p { margin: 0 0 10px; font-size: 14px; color: #C4C7CC; }
.side-firms__btn { width: 100%; margin-top: 14px; }

.frow { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.frow__txt { display: flex; flex-direction: column; min-width: 0; }
.frow__name { font: 600 16px/1.25 var(--ui); color: var(--ink); }
.frow__city { font-size: 13px; color: var(--muted); }
.frow:hover .frow__name { color: var(--cobalt); }
.frow--dark { border-top-color: rgba(255, 255, 255, .16); }
.frow--dark .frow__name { color: #FFFFFF; }
.frow--dark .frow__city { color: #C4C7CC; }
.frow--dark:hover .frow__name { color: var(--signal); }

.related { margin-top: 56px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 32px 24px; padding-top: 36px; padding-bottom: 72px; }

/* Comments */
.comments { margin-top: 48px; max-width: 68ch; font: 400 16px/1.55 var(--ui); }
.comments__title, .comments .comment-reply-title { margin: 0 0 16px; font: 700 28px/1 var(--sign); letter-spacing: .03em; text-transform: uppercase; }
.comments__list { padding-left: 20px; }
.comments label { display: block; margin-bottom: 6px; font: 600 14px var(--ui); }
.comments input[type="text"], .comments input[type="email"], .comments input[type="url"], .comments textarea,
.cform input, .cform select, .cform textarea, .k-search input, .k-search select {
	width: 100%; min-height: 50px; padding: 0 14px;
	border: 0; border-radius: 8px;
	background: var(--paper); color: var(--ink);
	font: 500 16px var(--ui);
	box-shadow: inset 0 0 0 2px #C5C8C1;
	transition: box-shadow .15s var(--ease);
}
.comments textarea, .cform textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.comments input:hover, .comments textarea:hover, .cform input:hover, .cform select:hover, .cform textarea:hover { box-shadow: inset 0 0 0 2px #8D9189; }
.comments input:focus-visible, .comments textarea:focus-visible, .cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible,
.k-search input:focus-visible, .k-search select:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; box-shadow: inset 0 0 0 2px var(--ink); }
.cform select, .k-search select {
	appearance: none; padding-right: 40px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2316181D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.comments__submit {
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 8px; cursor: pointer;
	background: var(--ink); color: #FFFFFF;
	font: 600 17px/1 var(--sign); letter-spacing: .06em; text-transform: uppercase;
	box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4.5px #FFFFFF;
}

/* ==========================================================================
   Bands: category / archive / search / catalogue heads
   ========================================================================== */
.band { background: var(--p); color: var(--on); padding: 18px 0 22px; }
.band__in { display: flex; flex-direction: column; gap: 18px; }
.band__sign {
	position: relative;
	padding: 30px 48px 32px;
	border-radius: 12px;
	box-shadow: inset 0 0 0 2px var(--on);
}
.band h1 { margin: 0; font: 700 clamp(44px, 6.2vw, 92px)/.92 var(--sign); letter-spacing: .02em; text-transform: uppercase; }
.band__sign p { margin: 12px 0 0; max-width: 62ch; font: 500 18px/1.5 var(--ui); color: var(--on); }

.subnav { display: flex; flex-wrap: wrap; gap: 10px; }
.subnav a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
	border-radius: 8px;
	color: var(--on);
	font: 600 16px/1 var(--sign); letter-spacing: .05em; text-transform: uppercase;
	box-shadow: inset 0 0 0 2px var(--on);
	transition: background-color .18s var(--ease), color .18s var(--ease);
}
.subnav a:hover { color: var(--on); background: color-mix(in srgb, var(--on) 14%, transparent); }
.subnav a.is-lit, .subnav a.is-lit:hover { background: var(--on); color: var(--p); }

.k-search { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 0; }
.k-search label { display: flex; flex-direction: column; gap: 7px; font: 600 13px var(--sign); letter-spacing: .1em; text-transform: uppercase; color: var(--on); }
.k-search__q { flex: 2 1 300px; }
.k-search__woj { flex: 1 1 200px; }
.k-search input, .k-search select { box-shadow: none; }
.k-search .btn { min-height: 50px; min-width: 140px; }

.l-archive {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px;
	align-items: start;
	padding-top: 44px; padding-bottom: 88px;
}
.archive__main { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.archive__side { min-width: 0; display: flex; flex-direction: column; gap: 32px; }

.feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.feat__body { display: flex; flex-direction: column; gap: 12px; }
.feat h2 { margin: 0; font: 600 clamp(30px, 2.8vw, 42px)/1.02 var(--sign); }
.feat p { margin: 0; max-width: 62ch; font: 400 17px/1.55 var(--read); color: var(--text); }

.row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.row__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.row h3 { margin: 0; font: 600 26px/1.06 var(--sign); }
.row p { margin: 0; max-width: 66ch; font: 400 16px/1.55 var(--read); color: var(--text); }

.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-top: 8px; }
.pager .page-numbers {
	min-width: 46px; height: 46px; padding: 0 12px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 8px;
	font: 600 18px/1 var(--sign); letter-spacing: .04em; color: var(--ink);
	box-shadow: inset 0 0 0 2px var(--line);
}
.pager a.page-numbers:hover { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.pager .page-numbers.current { background: var(--p); color: var(--on); box-shadow: inset 0 0 0 3px var(--p), inset 0 0 0 4.5px var(--on); }
.pager .prev, .pager .next { text-transform: uppercase; }
.pager .dots { box-shadow: none; }

.side-box > p { margin: -4px 0 8px; font-size: 14px; color: var(--muted); }

/* „Dodaj firmę” box: a signal-yellow plate with a blank sign waiting for a name. */
.add-box {
	display: flex; flex-direction: column; gap: 12px;
	padding: 26px 24px 24px;
	border-radius: 12px;
	background: var(--signal); color: var(--ink);
	box-shadow: inset 0 0 0 3px var(--signal), inset 0 0 0 4.5px var(--ink), var(--lift);
}
.add-box__sign { align-self: flex-start; min-height: 52px; padding: 0 26px; font-size: 18px; }
.add-box h2 { margin: 4px 0 0; font: 700 28px/1 var(--sign); letter-spacing: .03em; text-transform: uppercase; }
.add-box p { margin: 0; font: 500 15.5px/1.5 var(--ui); }
.add-box ul { margin: 0; padding-left: 18px; font: 500 15px/1.7 var(--ui); }
.add-box .btn--signal { background: var(--ink); color: #FFFFFF; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4.5px #FFFFFF, var(--lift-sm); }
.add-box .btn--signal:hover { background: #2A2D34; color: #FFFFFF; transform: translateY(1px); box-shadow: inset 0 0 0 3px #2A2D34, inset 0 0 0 4.5px #FFFFFF, 0 1px 1px rgba(22, 24, 29, .2); }
.add-box :focus-visible { outline-color: var(--ink); }

.branze ul { margin: 0; padding: 0; list-style: none; font: 500 15.5px var(--ui); }
.branze li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.branze li a { display: inline-flex; align-items: center; min-height: 46px; }
.branze li span.num { color: var(--muted); }

.empty {
	max-width: 580px; margin: 16px auto; padding: 48px 36px;
	display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
	border-radius: 12px; background: var(--wall);
	font: 400 16px/1.55 var(--ui); color: var(--text);
}
.empty__sign { width: 72px; height: 72px; justify-content: center; padding: 0; font-size: 38px; margin-bottom: 6px; }
.empty__title { margin: 0; font: 700 30px/1.02 var(--sign); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.empty__text { margin: 0; max-width: 44ch; }
.empty .btns { justify-content: center; margin-top: 10px; }

.l-archive:has(.archive__empty) { grid-template-columns: 1fr; }
.archive__empty { max-width: 640px; margin: 24px auto; padding: 56px 24px 96px; text-align: center; }
.archive__empty-title { margin: 0 0 12px; font: 700 clamp(30px, 3vw, 40px)/1.02 var(--sign); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.archive__empty p { margin: 0 auto; max-width: 46ch; font: 400 17px/1.6 var(--ui); color: var(--muted); }
.archive__empty a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ==========================================================================
   Catalogue
   ========================================================================== */
.katalog {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px;
	align-items: start;
	padding-top: 36px; padding-bottom: 88px;
}
.katalog__main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.katalog__count { margin: 0; font: 500 14px var(--ui); color: var(--muted); }
.katalog__side { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.katalog .shop { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 14px 28px -22px rgba(22, 24, 29, .45); }

/* ==========================================================================
   Company profile – the shop sign leads
   ========================================================================== */
.f-hero { background: var(--p); color: var(--on); padding-bottom: 44px; }
.f-hero__in { display: flex; flex-direction: column; }
.f-hero .crumbs { padding-bottom: 18px; }
.f-hero__sign {
	position: relative;
	display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
	gap: 6px 30px;
	margin-bottom: 30px;
	padding: 30px 52px;
	border-radius: 14px;
	box-shadow: inset 0 0 0 3px var(--on);
}
.f-hero__sign .logo { grid-row: 1 / span 2; background: var(--on); color: var(--p); box-shadow: inset 0 0 0 4px var(--on), inset 0 0 0 6px var(--p); }
.f-hero__sign .logo--img { background: #FFFFFF; }
.f-hero__name { margin: 0; font: 700 clamp(46px, 7.4vw, 112px)/.9 var(--sign); letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
.f-hero__place { margin: 0; font: 600 17px/1.2 var(--sign); letter-spacing: .16em; text-transform: uppercase; }
.f-hero h1 { margin: 0 0 12px; max-width: 30ch; font: 600 clamp(28px, 3vw, 44px)/1.04 var(--sign); }
.f-hero__meta { font: 500 14px/1.4 var(--ui); color: var(--on); }

.profile {
	display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px;
	align-items: start;
	padding-top: 44px; padding-bottom: 88px;
}
.profile__article { min-width: 0; max-width: 860px; }
.toc { margin: 0 0 32px; padding: 20px 24px 22px; border-radius: var(--radius); background: var(--wall); max-width: 68ch; }
.toc h2 { margin: 0 0 10px; font: 600 15px var(--sign); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font: 500 16px/1.4 var(--ui); }
.toc li::marker { font-family: var(--sign); font-weight: 600; color: var(--muted); }
.toc a { text-decoration: underline; text-decoration-color: var(--p); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry--profile { padding-top: 32px; }
.entry--profile > h2:first-child { margin-top: 0; }
.profile__note { margin: 36px 0 0; padding-top: 16px; max-width: 68ch; border-top: 1px solid var(--line); font: 400 13.5px/1.5 var(--ui); color: var(--muted); }

.profile__side { min-width: 0; display: flex; flex-direction: column; gap: 36px; }

/* Wizytówka: a labelled spec plate. */
.vcard { border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--p), var(--lift); overflow: hidden; }
.vcard__head.plate {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	width: 100%; padding: 18px 24px 16px;
	border-radius: 0;
	box-shadow: none;
}
.vcard h2 { margin: 0; font: 700 30px/.95 var(--sign); letter-spacing: .03em; }
.vcard dl { margin: 0; padding: 6px 24px 8px; display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.vcard dt, .vcard dd { padding: 11px 0; border-bottom: 1px solid var(--line); }
.vcard dt:last-of-type, .vcard dd:last-of-type { border-bottom: 0; }
.vcard dt { font: 600 13px/1.5 var(--sign); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vcard dd { margin: 0; font: 500 15.5px/1.45 var(--ui); overflow-wrap: anywhere; }
.vcard dd a { text-decoration: underline; text-underline-offset: 3px; }
.vcard__map { margin: 0 24px 16px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--wall); }
.vcard__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.vcard__www { display: flex; margin: 0 24px 24px; }

.fnews { display: flex; flex-direction: column; }
.fnews > a { padding: 12px 0; border-bottom: 1px solid var(--line); font: 600 16px/1.32 var(--ui); }
.profile__dept { align-self: flex-start; font: 600 17px/1.2 var(--sign); letter-spacing: .05em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ==========================================================================
   About / page / contact form („Dodaj firmę” lands here)
   ========================================================================== */
.about { width: 100%; padding-bottom: 0; }
.about__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 72px; padding-top: 56px; padding-bottom: 56px; }
.about__intro h1 { margin: 0; font: 700 clamp(44px, 5.6vw, 84px)/.92 var(--sign); letter-spacing: .02em; text-transform: uppercase; }
.about__text { max-width: 68ch; padding-top: 4px; font-size: 20px; }
.about__text > :last-child { margin-bottom: 0; }
.about > .about__intro:last-child { padding-bottom: 96px; }

.about__signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 64px; }
.about__sign {
	display: block;
	padding: 28px 40px 30px;
	border-radius: 12px;
	text-transform: none; letter-spacing: 0;
	box-shadow: inset 0 0 0 4px var(--p), inset 0 0 0 6px var(--on), var(--lift);
}
.about__sign h2 { margin: 0 0 6px; font: 700 36px/1 var(--sign); letter-spacing: .03em; text-transform: uppercase; }
.about__sign p { margin: 0; font: 500 16px/1.45 var(--ui); }

.contact { background: var(--wall); padding: 64px 0 88px; scroll-margin-top: 0; }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px 72px; align-items: start; }
.about__info { display: flex; flex-direction: column; gap: 14px; }
.about__info h2 { margin: 0; font: 700 clamp(36px, 3.6vw, 52px)/.95 var(--sign); letter-spacing: .02em; text-transform: uppercase; }
.about__info p { margin: 0; max-width: 46ch; font: 400 18px/1.55 var(--read); color: var(--text); }
.about__info dl { margin: 10px 0 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); }
.about__info dt, .about__info dd { padding: 10px 0; border-bottom: 1px solid #D3D5CE; }
.about__info dt { font: 600 13px/1.6 var(--sign); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about__info dd { margin: 0; font: 500 15.5px/1.5 var(--ui); }
.about__info dd a { text-decoration: underline; text-underline-offset: 3px; }

.cform {
	margin: 0;
	display: flex; flex-direction: column; gap: 16px;
	padding: 32px;
	border-radius: 14px;
	background: var(--paper);
	box-shadow: 0 1px 2px rgba(22, 24, 29, .08), 0 18px 36px -24px rgba(22, 24, 29, .5);
}
.cform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cform label { display: flex; flex-direction: column; gap: 7px; font: 600 14px var(--ui); color: var(--ink); }
.cform .btn { align-self: flex-start; min-width: 180px; min-height: 52px; font-size: 19px; }
.cform__hp { position: absolute; left: -9999px; }
.cform__msg { margin: 0; padding: 14px 18px; border-radius: 9px; font: 600 15.5px/1.45 var(--ui); color: #FFFFFF; }
.cform__msg--ok { background: var(--ok); box-shadow: inset 0 0 0 3px var(--ok), inset 0 0 0 4.5px #FFFFFF; }
.cform__msg--err { background: var(--err); box-shadow: inset 0 0 0 3px var(--err), inset 0 0 0 4.5px #FFFFFF; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--enamel-black); color: #C4C7CC; font: 400 15px/1.5 var(--ui); }
.site-footer__in { padding-top: 60px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 44px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 36px 64px; }
.site-footer__brand { flex: 2 1 280px; display: flex; flex-direction: column; gap: 12px; }
.site-footer__logo { font: 700 64px/.9 var(--sign); color: #FFFFFF; }
.site-footer__logo:hover { color: #FFFFFF; }
.site-footer__brand p { margin: 0; max-width: 38ch; }
.site-footer__col { flex: 1 1 170px; display: flex; flex-direction: column; gap: 2px; }
.site-footer__col h2 { margin: 0 0 8px; font: 600 15px var(--sign); letter-spacing: .14em; text-transform: uppercase; color: #FFFFFF; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: 36px; color: #E2E3E6; }
.site-footer__col a:hover { color: var(--signal); }
.site-footer__col a.is-signal { color: var(--signal); font-weight: 600; }
.site-footer__bottom { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; }

/* ==========================================================================
   Reading state: marks, not colours.
   Read teasers carry a chipped-enamel corner; half-read ones a progress strip;
   long reads keep a „Czytaj dalej” flag.
   ========================================================================== */
[data-post].is-read .media::after {
	content: "";
	position: absolute; top: 0; right: 0;
	width: 46px; height: 40px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 40'%3E%3Cpath d='M46 0H9c1.6 3.4 4.8 4.6 6.2 8.1 1.3 3.2 4.9 3.6 6.8 6.7 2.4 3.9 6.6 2.8 8.7 6.6 2.2 4 6.4 4.2 8.1 8.6 1.5 3.7 4.8 5.6 7.2 10z' fill='%2316181D'/%3E%3Cpath d='M46 0H20c1.3 2.3 3.6 3 4.6 5.6 1 2.4 3.6 2.7 5 5 1.8 2.9 4.9 2.1 6.4 4.9 1.6 3 4.7 3.1 6 6.4.9 2.3 2.6 3.6 4 5.4z' fill='%233B3E46'/%3E%3C/svg%3E") no-repeat right top / 100% 100%;
	pointer-events: none;
}
[data-post].is-read h1 a, [data-post].is-read h2 a, [data-post].is-read h3 a, [data-post].is-read h4 a,
[data-post].is-read .latest__title, [data-post].is-read .popular__body > a, a[data-post].is-read { color: var(--muted); }
.read-mark {
	display: inline-block; margin-left: 6px; padding: 2px 6px 1px; vertical-align: 2px;
	border-radius: 4px; background: var(--wall); color: var(--muted);
	font: 600 11px/1.2 var(--sign); letter-spacing: .08em; text-transform: uppercase;
}
[data-post].is-progress .media::before {
	content: "";
	position: absolute; left: 0; bottom: 0; z-index: 1;
	width: var(--progress, 0%); height: 6px;
	background: var(--signal);
	box-shadow: 0 -1px 0 rgba(22, 24, 29, .35);
}

.resume {
	position: fixed; left: 24px; bottom: 24px; z-index: 60;
	display: flex; align-items: center; gap: 8px;
	animation: resume-in .7s var(--ease) both;
}
.resume[hidden] { display: none; }
.resume__go {
	--p: var(--signal); --on: var(--ink);
	min-height: 52px; padding: 0 22px 0 18px; border: 0;
	font-size: 17px;
	box-shadow: inset 0 0 0 3px var(--p), inset 0 0 0 4.5px var(--on), var(--lift);
}
.resume__flag {
	width: 16px; height: 20px; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M2 1v18' stroke='%2316181D' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M3 2h11l-3 4 3 4H3z' fill='%2316181D'/%3E%3C/svg%3E") no-repeat center / contain;
}
.resume__x {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
	background: var(--paper); color: var(--ink);
	font: 500 24px/1 var(--ui);
	box-shadow: inset 0 0 0 2px var(--ink), var(--lift-sm);
}
@keyframes resume-in {
	from { transform: translateX(calc(-100% - 40px)); }
	to { transform: none; }
}

/* ==========================================================================
   Motion
   Pages cross-fade with the header held in place; content rises into view as
   it is reached; section signs swing on their hooks and settle.
   Content is hidden only when JS is present (html.js) and is released after 3s
   even if the script never runs.
   ========================================================================== */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: page-out .2s ease-in both; }
::view-transition-new(root) { animation: page-in .5s var(--ease) both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

a { transition: color .2s var(--ease); }

.js :is(.lead, .second__item, .latest, .dept__lead, .mini, .street__head, .street .tabs, .shop, .popular li, .feat, .row,
	.about__intro, .about__sign, .contact__in > *, .vcard, .fnews, .side > *, .archive__side > *, .katalog__side > *,
	.related__item, .article__title, .standfirst, .article__meta, .article__fig, .profile__fig, .toc, .firm-link, .f-hero h1, .empty) {
	transition: opacity .7s var(--ease), transform .9s var(--ease), box-shadow .3s var(--ease);
	transition-delay: var(--d, 0s);
}
.js :is(.lead, .second__item, .latest, .dept__lead, .mini, .street__head, .street .tabs, .shop, .popular li, .feat, .row,
	.about__intro, .about__sign, .contact__in > *, .vcard, .fnews, .side > *, .archive__side > *, .katalog__side > *,
	.related__item, .article__title, .standfirst, .article__meta, .article__fig, .profile__fig, .toc, .firm-link, .f-hero h1, .empty):not(.is-in) {
	opacity: 0;
	transform: translateY(24px);
	animation: reveal-safety 0s 3s forwards;
}

/* Signs hang from the top edge and swing into place. */
.js :is(.opener__sign, .band__sign, .f-hero__sign, .brand__name) {
	transform-origin: 50% 0;
	transition: opacity .45s var(--ease), transform 1.1s cubic-bezier(.3, 1.55, .5, 1);
	transition-delay: var(--d, 0s);
}
.js :is(.opener__sign, .band__sign, .f-hero__sign, .brand__name):not(.is-in) {
	opacity: 0;
	transform: translateY(-14px) rotate(-2deg);
	animation: reveal-safety 0s 3s forwards;
}
.shop.is-in .shop__sign { animation: sign-settle 1s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--d, 0s) + .15s); transform-origin: 50% 0; }
@keyframes sign-settle {
	0% { transform: rotate(-3deg); }
	55% { transform: rotate(1.2deg); }
	100% { transform: none; }
}
@keyframes reveal-safety { to { opacity: 1; transform: none; } }

/* Hover: cards lift, numbers press. */
.shop:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(22, 24, 29, .08), 0 22px 36px -20px rgba(22, 24, 29, .5); }
.katalog .shop:hover { box-shadow: inset 0 0 0 1px var(--line), 0 22px 36px -22px rgba(22, 24, 29, .5); }
.shop--blank:hover { transform: translateY(-4px); box-shadow: none; }
.popular__n { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.popular li:hover .popular__n { transform: translateY(1px); box-shadow: inset 0 0 0 2.5px var(--cobalt), inset 0 0 0 3.5px #FFFFFF; }
.latest__item { transition: transform .25s var(--ease); }
.latest__item:hover { transform: translateX(4px); }
.media--sign { transition: filter .3s var(--ease); }
a.media--sign:hover { filter: brightness(1.08); }

/* Reading progress along the top edge on articles and profiles. */
.readbar {
	position: fixed; left: 0; top: 0; z-index: 80;
	width: 100%; height: 4px;
	background: var(--signal);
	transform-origin: 0 50%;
	transform: scaleX(var(--read, 0));
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	@view-transition { navigation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; transition-delay: 0s !important; }
	.js :is(.lead, .second__item, .latest, .dept__lead, .mini, .street__head, .street .tabs, .shop, .popular li, .feat, .row,
		.about__intro, .about__sign, .contact__in > *, .vcard, .fnews, .side > *, .archive__side > *, .katalog__side > *,
		.related__item, .article__title, .standfirst, .article__meta, .article__fig, .profile__fig, .toc, .firm-link, .f-hero h1, .empty,
		.opener__sign, .band__sign, .f-hero__sign, .brand__name) { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1180px) {
	.top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.lead { grid-column: 1 / -1; }
	.layout, .l-archive, .katalog, .profile { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.side, .archive__side, .katalog__side, .profile__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: start; }
	.about__signs { grid-template-columns: 1fr; }
	.contact__in { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Phones
   ========================================================================== */
@media (max-width: 760px) {
	.wrap { padding: 0 16px; }

	/* A slim sticky bar: tucks away while reading down, returns on the way up. */
	.site-header {
		position: sticky; top: 0; z-index: 70;
		transition: transform .45s var(--ease), box-shadow .3s var(--ease);
	}
	.site-header.is-scrolled { box-shadow: 0 10px 24px -18px rgba(22, 24, 29, .6); }
	.site-header.is-tucked { transform: translateY(-100%); }

	.fascia { padding: 0; }
	.fascia__sign { flex-wrap: wrap; min-height: 60px; padding: 0; gap: 0; border-radius: 0; box-shadow: none; }
	.brand__name { padding: 0; background: none; color: #FFFFFF; font-size: 40px; line-height: 1; box-shadow: none; }
	.brand__tag { display: none; }
	.mh-btns { display: flex; gap: 2px; margin-left: auto; margin-right: -8px; }
	.mh-btn { transition: background-color .2s var(--ease); }
	.mh-btn:active, .mh-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }

	/* Search slides open under the bar. */
	.fascia__right {
		display: grid; flex: 1 0 100%; align-items: stretch;
		grid-template-rows: 0fr; opacity: 0;
		transition: grid-template-rows .4s var(--ease), opacity .3s var(--ease);
	}
	.fascia__top, .fascia__tools .btn { display: none; }
	.fascia__tools { min-height: 0; overflow: hidden; }
	.fascia__tools .hsearch { flex: 1; margin: 2px 0 12px; }
	.hsearch input { width: 100%; }
	.site-header.is-search .fascia__right { grid-template-rows: 1fr; opacity: 1; }

	/* Burger morphs into a close mark. */
	.burger { position: relative; width: 22px; height: 16px; }
	.burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .2s var(--ease), top .4s var(--ease); }
	.burger span:nth-child(1) { top: 0; }
	.burger span:nth-child(2) { top: 7px; }
	.burger span:nth-child(3) { top: 14px; }
	[aria-expanded="true"] > .burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
	[aria-expanded="true"] > .burger span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
	[aria-expanded="true"] > .burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

	.signs__in {
		flex-wrap: nowrap; overflow-x: auto; gap: 8px;
		padding-top: 10px; padding-bottom: 10px;
		scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 16px;
		-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
		mask-image: linear-gradient(90deg, #000 88%, transparent);
	}
	.signs__in::-webkit-scrollbar { display: none; }
	.plate--nav { flex: none; min-height: 38px; padding: 0 12px; font-size: 14px; scroll-snap-align: start; }

	/* Drawer slides down; its rows follow one after another. */
	.drawer {
		display: grid; grid-template-rows: 0fr;
		background: var(--enamel-black);
		transition: grid-template-rows .45s var(--ease);
	}
	.drawer.is-open { grid-template-rows: 1fr; }
	.drawer__in { min-height: 0; overflow: hidden; display: flex; flex-direction: column; padding: 0 16px; }
	.drawer.is-open .drawer__in { padding-bottom: 18px; }
	.drawer__in > * { opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
	.drawer.is-open .drawer__in > * { opacity: 1; transform: none; }
	.drawer.is-open .drawer__in > :nth-child(2) { transition-delay: .04s; }
	.drawer.is-open .drawer__in > :nth-child(3) { transition-delay: .08s; }
	.drawer.is-open .drawer__in > :nth-child(4) { transition-delay: .12s; }
	.drawer a:not(.btn) { min-height: 52px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #FFFFFF; font: 600 19px var(--sign); letter-spacing: .05em; text-transform: uppercase; }
	.drawer__cta { margin-top: 16px; }

	.ticker__in { min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 10px; font-size: 14px; flex-wrap: nowrap; }
	.ticker__in a { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.ticker__in a:nth-of-type(n+2) { display: none; }

	.top { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 20px; padding-bottom: 40px; }
	.lead__title { font-size: 36px; margin-top: 18px; }
	.lead__excerpt { font-size: 17px; padding: 12px 16px 14px; }
	.meta__by { display: none; }
	.second { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.second__title { font-size: 24px; }

	.opener { padding: 10px 0; }
	.opener__sign { padding: 14px 30px; gap: 4px 16px; }
	.opener__title { font-size: 34px; }
	.opener__desc { font-size: 15px; flex-basis: 100%; }
	.opener__more { margin-left: 0; font-size: 16px; }
	.dept__grid, .dept__lead:only-child { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px; padding-bottom: 40px; }
	.dept__items { gap: 24px 14px; }
	.mini h4, .mini h3 { font-size: 18px; }

	.street { padding: 44px 0 52px; }
	.street__intro h2 { font-size: 40px; }
	.street__intro p { font-size: 16px; }
	.street .btns { width: 100%; }
	.street .btns .btn { flex: 1 1 auto; }
	.shop__name { font-size: 24px; }

	.popular { padding-top: 44px; padding-bottom: 56px; }
	.popular ol { grid-template-columns: minmax(0, 1fr); }

	.crumbs { padding: 18px 0; }
	.article__title { font-size: 36px; }
	.standfirst { font-size: 18px; padding: 14px 18px 16px; }
	.entry { font-size: 18px; padding-top: 28px; }
	.entry h2 { font-size: 29px; }
	.entry blockquote, .entry .pull { font-size: 27px; }
	.ster-gallery { gap: 6px; }
	.firm-link__sign { width: 100%; justify-content: center; }
	.related { margin-top: 32px; }
	.related__grid { padding-bottom: 52px; }

	.band { padding: 10px 0 18px; }
	.band__sign { padding: 20px 30px 22px; }
	.band h1 { font-size: 44px; }
	.band__sign p { font-size: 16px; }
	.subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.subnav a { flex: none; }

	.l-archive, .katalog, .profile { padding-top: 28px; padding-bottom: 64px; }
	.feat { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
	.row h3 { font-size: 20px; }
	.row p { display: none; }
	.shop--wide { grid-template-columns: minmax(0, 1fr); }
	.shop--wide .shop__sign { margin: -14px 14px 0; min-height: 96px; }
	.shop--wide .shop__body { padding: 18px 20px 20px; }

	.f-hero { padding-bottom: 32px; }
	.f-hero__sign { grid-template-columns: minmax(0, 1fr); padding: 22px 30px; justify-items: start; }
	.f-hero__sign .logo { grid-row: auto; flex-basis: 64px; width: 64px; height: 64px; font-size: 22px; }
	.f-hero__name { font-size: 46px; }
	.f-hero__place { font-size: 14px; }
	.f-hero h1 { font-size: 27px; }

	.about__intro { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 36px; padding-bottom: 36px; }
	.about__text { font-size: 18px; }
	.about__sign { padding: 22px 32px; }
	.contact { padding: 44px 0 56px; }
	.cform { padding: 22px 18px; }
	.cform__row { grid-template-columns: minmax(0, 1fr); }
	.cform .btn { align-self: stretch; }

	.site-footer__in { padding-top: 44px; gap: 32px; }
	.site-footer__logo { font-size: 52px; }

	.resume { left: 16px; right: 16px; bottom: 16px; }
	.resume__go { flex: 1; justify-content: center; }
}

/* Footer credit */
.site-footer__credit { color: #E2E3E6; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__credit:hover { color: var(--signal); }
