/* =========================================================
   TrueMoto — główne style motywu
   Kolory zmienisz w Wygląd → Dostosuj → TrueMoto → Kolory.
   Spis treści:
   1. Zmienne i tryb ciemny
   2. Podstawy
   3. Logo-tablica i etykiety kategorii
   4. Pasek „Na czasie” i nagłówek
   5. Karty wpisów
   6. Strona główna
   7. Wideo i newsletter
   8. Artykuł i strony
   9. Archiwa, wyszukiwarka, 404, komentarze
   10. Stopka
   11. Responsywność
   ========================================================= */

/* 1. Zmienne -------------------------------------------- */
:root {
	--ink: #14212b;
	--accent: #1f4fd1;
	--marker: #ffc21a;
	--hot: #e0362c;

	--bg: #ffffff;
	--surface: #f1f3f5;
	--line: #dde2e7;
	--line-strong: #b9c2cb;
	--text: var(--ink);
	--muted: #586572;
	--on-ink: #ffffff;
	--on-ink-muted: #b4c0cb;
	--plate-bg: #ffffff;
	--plate-ink: #111111;

	--font-ui: "Sen", "Helvetica Neue", Arial, system-ui, sans-serif;
	--font-text: var(--font-ui);
	--font-plate: "Archivo", "Arial Narrow", Arial, sans-serif;

	--container: 1240px;
	--gutter: 16px;
	--gap: 32px;
	--radius: 4px;
	--header-h: 64px;

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #131b22;
		--surface: #1b252e;
		--line: #2a3641;
		--line-strong: #3d4b58;
		--text: #e8edf1;
		--muted: #9aa8b5;
		--accent: #7fa2ff;
		--plate-bg: #f4f6f8;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #131b22;
	--surface: #1b252e;
	--line: #2a3641;
	--line-strong: #3d4b58;
	--text: #e8edf1;
	--muted: #9aa8b5;
	--accent: #7fa2ff;
	--plate-bg: #f4f6f8;
	color-scheme: dark;
}

/* 2. Podstawy ------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-ui);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 .5em;
	color: var(--text);
}

button { font: inherit; color: inherit; cursor: pointer; }

.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 {
	position: fixed !important;
	top: 8px; left: 8px;
	width: auto; height: auto;
	clip: auto;
	z-index: 1000;
	padding: 12px 16px;
	background: var(--marker);
	color: var(--ink);
	font-weight: 700;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--text { max-width: calc(720px + 2 * var(--gutter)); }

.icon { fill: currentColor; flex: none; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 2px solid var(--text);
	border-radius: var(--radius);
	background: var(--text);
	color: var(--bg);
	font-family: var(--font-ui);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.btn:hover { background: transparent; color: var(--text); }
.btn--marker { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--marker:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Podkreślenie tytułów „markerem” po najechaniu */
.card__title a,
.popular__item a,
.links__title a,
.video-item__title {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(var(--marker), var(--marker));
	background-repeat: no-repeat;
	background-position: 0 92%;
	background-size: 0 .32em;
	transition: background-size .25s ease;
}
.card__title a:hover,
.card__title a:focus-visible,
.popular__item a:hover,
.links__title a:hover,
.video-item__link:hover .video-item__title {
	background-size: 100% .32em;
}
:root[data-theme="dark"] .card__title a,
:root[data-theme="dark"] .popular__item a { background-image: linear-gradient(rgba(255,194,26,.55), rgba(255,194,26,.55)); }

/* 3. Logo-tablica i etykiety ---------------------------- */
.brand { display: flex; align-items: center; min-width: 0; }
.brand__link { display: inline-flex; text-decoration: none; color: inherit; }
.brand img, .custom-logo { max-height: 44px; width: auto; }

.plate {
	display: inline-flex;
	align-items: stretch;
	height: 40px;
	border: 2px solid var(--plate-ink);
	border-radius: 6px;
	background: var(--plate-bg);
	color: var(--plate-ink);
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.plate__band {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: 22px;
	padding: 4px 0 2px;
	background: #1d47b8;
	color: #fff;
}
.plate__stars {
	width: 12px;
	height: 12px;
	border: 2px dotted #ffd21f;
	border-radius: 50%;
}
.plate__code {
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .02em;
}
.plate__text {
	display: flex;
	align-items: center;
	padding: 0 10px 0 9px;
	font-family: var(--font-plate);
	font-stretch: 72%;
	font-variation-settings: "wdth" 72;
	font-weight: 700;
	font-size: 27px;
	letter-spacing: .03em;
	line-height: 1;
	white-space: nowrap;
}
.plate__gap { width: .32em; }
.plate--big { height: 96px; border-width: 4px; border-radius: 12px; }
.plate--big .plate__band { width: 48px; padding: 10px 0 6px; }
.plate--big .plate__stars { width: 26px; height: 26px; border-width: 3px; }
.plate--big .plate__code { font-size: 20px; }
.plate--big .plate__text { font-size: 66px; padding: 0 22px 0 18px; }

.chip {
	--chip: var(--accent);
	display: inline-block;
	color: var(--chip);
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}
a.chip:hover { text-decoration: underline; }
:root[data-theme="dark"] .chip { filter: brightness(1.35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip { filter: brightness(1.35); } }

.meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 12px;
	row-gap: 2px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
}
.meta a { color: inherit; text-decoration: none; font-weight: 600; }
.meta a:hover { color: var(--text); text-decoration: underline; }

/* 4. Pasek „Na czasie” i nagłówek ----------------------- */
.topbar {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	font-size: 13px;
}
.topbar__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 38px;
}
.topbar__date { color: var(--muted); white-space: nowrap; }
.topbar__date::first-letter { text-transform: uppercase; }
.hot { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.hot__label {
	flex: none;
	padding: 2px 8px;
	border-radius: 3px;
	background: var(--hot);
	color: #fff;
	font-weight: 700;
	font-size: 12px;
}
.hot__list {
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
}
.hot__list::-webkit-scrollbar { display: none; }
.hot__list a { color: var(--text); font-weight: 600; text-decoration: none; }
.hot__list a:hover { color: var(--accent); text-decoration: underline; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--header-h);
}
.site-header__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: transparent;
	color: var(--text);
}
.icon-btn:hover { background: var(--surface); }
.nav-toggle { display: none; }
.nav-toggle .nav-toggle__open { display: inline-grid; }
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-grid; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }

.theme-toggle .theme-toggle__moon { display: inline-grid; }
.theme-toggle .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: inline-grid; }
:root[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .theme-toggle .theme-toggle__sun { display: inline-grid; }
	:root:not([data-theme]) .theme-toggle .theme-toggle__moon { display: none; }
}

.site-nav .menu {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block;
	padding: 10px 11px;
	color: var(--text);
	font-weight: 650;
	font-size: 15px;
	text-decoration: none;
	border-radius: var(--radius);
}
.site-nav .menu a:hover { background: var(--surface); }
.site-nav .current-menu-item > a,
.site-nav .current-menu-parent > a,
.site-nav .current-post-ancestor > a,
.site-nav .current-category-ancestor > a {
	box-shadow: inset 0 -3px 0 var(--marker);
	border-radius: 0;
}
.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 12px 28px rgba(20, 33, 43, .14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__extra { display: none; }

.search-panel {
	border-top: 1px solid var(--line);
	background: var(--surface);
	padding: 18px 0;
}
.search-form { display: flex; gap: 8px; width: 100%; }
.search-form__input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 16px;
	border: 2px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--text);
	font: 500 17px/1 var(--font-ui);
}
.search-form__input:focus { border-color: var(--accent); outline: none; }
.search-form__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-weight: 700;
}
:root[data-theme="dark"] .search-form__btn { background: var(--accent); color: #0b1220; }

/* 5. Karty wpisów --------------------------------------- */
.card { position: relative; min-width: 0; }
.card .card__media { align-self: start; }
.card__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--surface);
}
.card__media img,
.thumb-fallback {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.thumb-fallback {
	background:
		repeating-linear-gradient(135deg, transparent 0 18px, rgba(20,33,43,.05) 18px 36px),
		var(--surface);
}
.card__play {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--marker);
	color: var(--ink);
	box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.card__play .icon { width: 22px; height: 22px; margin-left: 2px; }

.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; }
.card__title {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.22;
	text-wrap: pretty;
}
.card__excerpt {
	margin: 0;
	color: var(--muted);
	font-family: var(--font-text);
	font-size: 16px;
	line-height: 1.5;
}

.card--lead .card__title {
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.card--lead .card__excerpt { font-size: 18px; max-width: 62ch; }
.card--lead .card__body { gap: 10px; padding-top: 16px; }

.card--row {
	display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}
.card--row:first-child { padding-top: 0; }
.card--row .card__body { padding-top: 0; }
.card--row .card__media,
.card--mini .card__media { align-self: start; }
.card--row .card__title { font-size: 21px; }

.card--mini {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.card--mini:first-child { padding-top: 0; }
.card--mini:last-child { border-bottom: 0; }
.card--mini .card__body { padding-top: 0; gap: 6px; }
.card--mini .card__title { font-size: 16px; line-height: 1.25; }
.card--mini .chip { font-size: 11.5px; }

.card--text { padding: 16px 0; border-bottom: 1px solid var(--line); }
.card--text .card__title { margin-bottom: 6px; }

.grid { display: grid; gap: var(--gap) 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 6. Strona główna -------------------------------------- */
.hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--gap);
	padding-top: 28px;
	padding-bottom: 36px;
}
.hero__side {
	padding-left: var(--gap);
	border-left: 1px solid var(--line);
}

.section-head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 22px;
}
.section-head::after {
	content: "";
	order: 2;
	flex: 1;
	height: 4px;
	align-self: center;
	background: repeating-linear-gradient(90deg, var(--line-strong) 0 22px, transparent 22px 36px);
}
.section-head__title {
	order: 1;
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	font-stretch: 118%;
	font-variation-settings: "wdth" 118;
	letter-spacing: -.01em;
}
.section-head__title a { color: inherit; text-decoration: none; }
.section-head__title a:hover { color: var(--accent); }
.section-head__title--cat { display: flex; align-items: center; gap: 12px; }
.section-head__title--cat::before {
	content: "";
	width: 8px;
	height: 1.05em;
	border-radius: 2px;
	background: var(--chip, var(--accent));
}
.section-head__more {
	order: 3;
	flex: none;
	color: var(--text);
	font-size: 14px;
	font-weight: 650;
	text-decoration: underline;
	text-decoration-color: var(--marker);
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}
.section-head__more:hover { color: var(--accent); }

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	padding-top: 12px;
	padding-bottom: 48px;
}
.home .layout { border-top: 1px solid var(--line); padding-top: 36px; }
.layout__side { min-width: 0; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }
.admin-bar .sticky-side { top: calc(var(--header-h) + 52px); }

.box-title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--text);
	font-size: 18px;
	font-weight: 700;
}
.popular { margin-bottom: 36px; }
.popular__list { margin: 0; padding: 0; list-style: none; counter-reset: pop; }
.popular__item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 8px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	counter-increment: pop;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.28;
}
.popular__item::before {
	content: counter(pop);
	color: var(--accent);
	font-size: 34px;
	font-weight: 700;
	font-stretch: 72%;
	font-family: var(--font-plate);
	font-variation-settings: "wdth" 72;
	line-height: .9;
}

.cat-section { padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--line); }
.cat-section__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
}
.cat-section--feature .cat-section__grid { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); }
.cat-section__feature { grid-row: span 2; }
.cat-section__feature .card--lead .card__title { font-size: clamp(24px, 2.4vw, 32px); }
.cat-section .card .card__title { font-size: 17px; }
.cat-section .card--lead .card__title { font-size: clamp(24px, 2.4vw, 32px); }

/* 7. Wideo i newsletter --------------------------------- */
.video-band {
	margin: 24px 0 0;
	padding: 48px 0 56px;
	background: var(--ink);
	color: var(--on-ink);
}
:root[data-theme="dark"] .video-band { background: #0c1218; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .video-band { background: #0c1218; } }
.section-head--invert .section-head__title,
.section-head--invert .section-head__more { color: #fff; }
.section-head--invert::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 22px, transparent 22px 36px); }

.video-band__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	grid-auto-rows: auto;
	gap: 24px var(--gap);
}
.video-item--main { grid-row: span 3; }
.video-item:not(.video-item--main) { display: block; }
.video-item__link { display: block; color: #fff; text-decoration: none; }
.video-item__media,
.yt { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #000; }
.video-item__media img,
.video-item__media .thumb-fallback,
.yt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-item__title {
	display: inline;
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}
.video-item__link .video-item__title { display: inline; }
.video-item__link .video-item__media { margin-bottom: 10px; }
.video-item h3.video-item__title { display: block; margin-top: 10px; background: none; }
.video-item--main .video-item__title { font-size: 24px; font-weight: 700; }
.video-item--main .card__play { width: 64px; height: 64px; left: 20px; bottom: 20px; }
.video-item--main .card__play .icon { width: 30px; height: 30px; }
.yt__btn { display: block; width: 100%; padding: 0; border: 0; background: none; }
.yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

.newsletter {
	margin-top: 24px;
	padding: 48px 0;
	background: var(--marker);
	color: var(--ink);
}
.newsletter__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--gap);
	align-items: center;
}
.newsletter__title {
	margin: 0 0 8px;
	color: var(--ink);
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 700;
	font-stretch: 112%;
	font-variation-settings: "wdth" 112;
	line-height: 1.1;
	text-wrap: balance;
}
.newsletter__copy p { margin: 0; max-width: 52ch; font-family: var(--font-text); font-size: 17px; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter__form input[type="email"] {
	flex: 1 1 220px;
	min-height: 52px;
	padding: 0 16px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font: 500 17px var(--font-ui);
}
.newsletter__form .btn { min-height: 52px; }
.newsletter__consent { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; line-height: 1.45; }
.newsletter__consent--check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.newsletter__consent--check input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 1px 0 0; accent-color: var(--ink); }
.newsletter__consent a { color: var(--ink); font-weight: 600; }
.newsletter__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter__form { position: relative; }
.newsletter__msg { flex-basis: 100%; margin: 8px 0 0; padding: 10px 14px; border-radius: var(--radius); font-weight: 650; font-size: 15px; }
.newsletter__msg--success { background: var(--ink); color: #fff; }
.newsletter__msg--error { background: #fff; color: #9b1c14; border: 2px solid #9b1c14; }

/* 8. Artykuł i strony ----------------------------------- */
.article__head { padding-top: 32px; padding-bottom: 24px; }
.article__crumbs { margin-bottom: 16px; }
.article__crumbs { display: flex; align-items: center; gap: 12px; }
.article__read { color: var(--muted); font-size: 13px; }
.article__title {
	margin: 0 0 16px;
	font-size: clamp(30px, 4.4vw, 58px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.015em;
	text-wrap: balance;
}
.article__lead {
	max-width: none;
	margin: 0 0 28px;
	color: var(--text);
	font-family: var(--font-text);
	font-size: clamp(19px, 1.7vw, 22px);
	font-weight: 600;
	line-height: 1.55;
}
.article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}
.article__avatar img { width: 40px; height: 40px; border-radius: 50%; }
.article__meta-text { display: flex; flex-direction: column; gap: 2px; }
.article__meta-text .meta__author { color: var(--text); font-weight: 700; text-decoration: none; }
.article__meta .share { margin-left: auto; }

.article__hero { margin: 0 auto 32px; }
.article__hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 2 / 1; object-fit: cover; }
@media (max-width: 680px) { .article__hero img { aspect-ratio: 16 / 9; } }
.article__hero figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }

.layout--article { padding-top: 0; }

.entry-content {
	font-family: var(--font-text);
	font-size: 17.5px;
	line-height: 1.75;
	color: var(--text);
}
.entry-content > * { max-width: 100%; margin-top: 0; margin-bottom: 1.15em; }
.entry-content > .alignwide,
.entry-content > .alignfull,
.entry-content > figure,
.entry-content > .wp-block-image,
.entry-content > .wp-block-embed,
.entry-content > .wp-block-table,
.entry-content > .wp-block-gallery { max-width: none; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin-top: 1.6em; margin-bottom: .55em; font-family: var(--font-ui); }
.entry-content h2 { font-size: 28px; font-weight: 700; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 19px; }
.entry-content a { color: var(--accent); }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--accent); font-weight: 700; }
.entry-content blockquote,
.entry-content .wp-block-quote {
	margin-left: 0;
	padding: 4px 0 4px 22px;
	border-left: 5px solid var(--marker);
	font-size: 22px;
	font-style: italic;
	line-height: 1.5;
}
.entry-content blockquote cite { display: block; margin-top: 8px; font-family: var(--font-ui); font-size: 14px; font-style: normal; color: var(--muted); }
.entry-content figure { margin-inline: 0; }
.entry-content figure img { border-radius: var(--radius); }
.entry-content figcaption,
.entry-content .wp-element-caption { margin-top: 8px; color: var(--muted); font-family: var(--font-ui); font-size: 13px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 15px; }
.entry-content th,
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th { border-bottom: 3px solid var(--text); font-weight: 700; }
.entry-content tbody tr:nth-child(even) { background: var(--surface); }
.entry-content hr { border: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 22px, transparent 22px 36px); }
.entry-content .wp-block-pullquote { border-top: 4px solid var(--text); border-bottom: 4px solid var(--text); }

/* Ramka „Dane techniczne” — klasa do nadania blokowi Grupa: is-style-specs lub specs */
.entry-content .specs,
.entry-content .is-style-specs {
	padding: 20px 24px;
	border: 2px solid var(--text);
	border-radius: var(--radius);
	font-family: var(--font-ui);
	font-size: 15px;
	line-height: 1.5;
}
.entry-content .specs h3,
.entry-content .is-style-specs h3 { margin-top: 0; margin-bottom: 10px; font-size: 18px; }
.entry-content .is-style-specs .wp-block-table,
.entry-content .specs table { margin: 0; }
.entry-content .is-style-specs table,
.entry-content .specs table { border: 0; }
.entry-content .is-style-specs td,
.entry-content .specs td { border: 0; border-bottom: 1px solid var(--line); padding: 9px 0; background: none; }
.entry-content .is-style-specs tr:last-child td,
.entry-content .specs tr:last-child td { border-bottom: 0; }
.entry-content .is-style-specs td:first-child,
.entry-content .specs td:first-child { width: 45%; color: var(--muted); padding-right: 16px; }
.entry-content .is-style-specs td:last-child,
.entry-content .specs td:last-child { font-weight: 700; }
.entry-content .is-style-specs tbody tr:nth-child(even),
.entry-content .specs tbody tr:nth-child(even) { background: none; }
.entry-content .wp-block-table table,
.entry-content .wp-block-table td,
.entry-content .wp-block-table th { border-left: 0; border-right: 0; border-top: 0; }

.article__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 32px 0;
	padding: 18px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tags__label { margin-right: 4px; color: var(--muted); font-size: 14px; }
.tags a {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--surface);
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.tags a:hover { background: var(--marker); color: var(--ink); }

.share { display: flex; align-items: center; gap: 10px; }
.share__label { color: var(--muted); font-size: 13px; }
.share ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.share a,
.share button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: var(--bg);
	color: var(--text);
}
.share a:hover,
.share button:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.share .icon { width: 17px; height: 17px; }
.share__copy.is-copied { background: var(--marker); border-color: var(--marker); color: var(--ink); }

.author-box {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 18px;
	margin: 32px 0;
	padding: 22px;
	border-radius: var(--radius);
	background: var(--surface);
}
.author-box img { border-radius: 50%; }
.author-box__name { margin: 0 0 6px; font-size: 18px; }
.author-box__name a { color: var(--text); text-decoration: none; }
.author-box p { margin: 0; color: var(--muted); font-family: var(--font-text); font-size: 16px; }

.related { margin: 40px 0; }
.related__list { display: flex; flex-direction: column; }
.card--related {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}
.card--related:first-child { padding-top: 4px; }
.card--related .card__body { padding-top: 0; gap: 8px; }
.card--related .card__title { font-size: 20px; line-height: 1.25; }
.card--related .card__play { width: 36px; height: 36px; left: 8px; bottom: 8px; }

.page-head { padding-top: 40px; padding-bottom: 28px; }
.page-head__title {
	margin: 0;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	font-stretch: 112%;
	font-variation-settings: "wdth" 112;
	line-height: 1.05;
	letter-spacing: -.015em;
}
.page-head__desc { max-width: 68ch; margin-top: 12px; color: var(--muted); font-family: var(--font-text); font-size: 18px; }
.page-head__desc p { margin: 0; }
.page-head__search { max-width: 640px; margin-top: 20px; }
.page-head--archive {
	position: relative;
	padding-left: calc(var(--gutter) + 20px);
}
.page-head--archive::before {
	content: "";
	position: absolute;
	left: var(--gutter);
	top: 44px;
	bottom: 32px;
	width: 8px;
	border-radius: 2px;
	background: var(--chip, var(--accent));
}
.page-head__avatar img { border-radius: 50%; margin-bottom: 12px; }
.page-head__title span { color: var(--muted); font-weight: 600; }

/* 9. Archiwa, wyszukiwarka, 404, komentarze ------------- */
.archive-top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: var(--gap);
	padding-bottom: 36px;
}
.archive-top__side { display: grid; gap: 24px; align-content: start; }
.archive-top + .layout { border-top: 1px solid var(--line); padding-top: 36px; }

.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.subcats a {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.subcats a:hover { border-color: var(--text); }

.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	color: var(--text);
	font-weight: 700;
	text-decoration: none;
}
.pagination .page-numbers.current { background: var(--text); border-color: var(--text); color: var(--bg); }
.pagination a.page-numbers:hover { border-color: var(--text); }

.no-results { padding: 24px 0 48px; }
.no-results p { font-family: var(--font-text); font-size: 18px; color: var(--muted); }

.not-found { padding-top: 56px; padding-bottom: 72px; text-align: center; }
.not-found p { font-family: var(--font-text); font-size: 18px; color: var(--muted); }
.not-found .search-form { max-width: 520px; margin: 24px auto; }
.not-found__plate { margin: 0 0 32px; }
.not-found .page-head__title { margin-bottom: 12px; }

.comments { margin-top: 40px; }
.comments__title,
.comment-reply-title { font-size: 22px; font-weight: 700; }
.comment-list { margin: 0 0 32px; padding: 0; list-style: none; }
.comment-list .children { margin: 0; padding-left: 28px; list-style: none; border-left: 2px solid var(--line); }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin: 2px 0 8px 50px; font-size: 13px; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-content { font-family: var(--font-text); font-size: 17px; }
.comment-content p { margin: 0 0 .7em; }
.reply a { font-size: 14px; font-weight: 700; }
.comment-form { display: grid; gap: 16px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 650; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--text);
	font: 16px/1.5 var(--font-ui);
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--accent); outline: none; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-notes,
.logged-in-as { color: var(--muted); font-size: 14px; }

/* Widżety */
.widget { margin-bottom: 36px; }
.widget-title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--text);
	font-size: 18px;
	font-weight: 700;
}
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget a { color: var(--text); text-decoration: none; font-weight: 600; }
.widget a:hover { color: var(--accent); }

/* 10. Stopka -------------------------------------------- */
.site-footer {
	margin-top: 0;
	background: var(--ink);
	color: var(--on-ink-muted);
}
:root[data-theme="dark"] .site-footer { background: #0c1218; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #0c1218; } }
.newsletter + .site-footer,
.site-main + .site-footer { margin-top: 0; }
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	padding-top: 56px;
	padding-bottom: 48px;
}
.site-footer__about p { max-width: 46ch; margin: 18px 0; font-family: var(--font-text); font-size: 16px; line-height: 1.6; }
.site-footer__title { margin: 0 0 14px; color: #fff; font-size: 15px; font-weight: 700; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; }
.site-footer .widget-title { color: #fff; border-color: rgba(255,255,255,.4); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.site-footer__bottom p { margin: 0; padding: 18px 0; }

.social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 50%;
	color: #fff;
}
.social a:hover { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.social li { padding: 0; }
.social--nav a { border-color: var(--line-strong); color: var(--text); }

/* Wyrównania bloków */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky,
.bypostauthor,
.gallery-caption { /* wymagane przez WordPress */ }

/* 12. Układ 1.1: kafle, działy, lista linków, stopka ----- */

/* Nazwy kategorii zawsze wielkimi literami */
.kicker__cat,
.chip {
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 12px;
}
.article__crumbs .chip { font-size: 13.5px; }

/* Linia „Kategoria | Autor” */
.kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.3;
}
.kicker__cat {
	--chip: var(--accent);
	color: var(--chip);
	font-weight: 700;
	text-decoration: none;
}
.kicker__cat:hover { text-decoration: underline; }
.kicker__sep { color: var(--line-strong); }
.kicker .meta__author { color: var(--muted); font-weight: 500; text-decoration: none; }
.kicker .meta__author:hover { color: var(--text); text-decoration: underline; }
:root[data-theme="dark"] .kicker__cat { filter: brightness(1.35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker__cat { filter: brightness(1.35); } }

/* Kafle na górze: duży po lewej, dwa po prawej, tytuł na zdjęciu */
.tiles {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 8px;
	height: clamp(468px, calc(40vw + 28px), 608px);
	padding-top: 20px;
	padding-bottom: 8px;
}
.tile {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--ink);
	isolation: isolate;
}
.tile--big { grid-row: 1 / span 2; }
.tile__media,
.tile__media img,
.tile__media .thumb-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
}
.tile__media img { transition: transform .5s ease; }
.tile:hover .tile__media img { transform: scale(1.035); }
.tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(8, 12, 16, .92) 0%, rgba(8, 12, 16, .55) 38%, rgba(8, 12, 16, 0) 72%);
	pointer-events: none;
}
.tile__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px;
	pointer-events: none;
}
.tile__body a { pointer-events: auto; }
.tile--big .tile__body { padding: 32px 36px; gap: 14px; }
.tile__title {
	margin: 0;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.18;
	text-wrap: balance;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.tile--big .tile__title { font-size: clamp(28px, 3vw, 44px); line-height: 1.06; letter-spacing: -.01em; max-width: 22ch; }
.tile__title a { color: inherit; text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.tile__title a:hover { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.tile .kicker { position: relative; z-index: 3; color: rgba(255, 255, 255, .8); }
.tile .kicker__cat {
	padding: 3px 8px;
	border-radius: 3px;
	background: var(--chip);
	color: #fff;
	filter: none;
}
.tile .kicker__cat:hover { text-decoration: none; filter: brightness(1.1); }
.tile .kicker__sep { color: rgba(255, 255, 255, .45); }
.tile .kicker .meta__author { color: rgba(255, 255, 255, .85); }
.tile .card__play { left: auto; right: 16px; top: 16px; bottom: auto; z-index: 3; }

/* Główne działy: duży wpis po lewej, lista po prawej */
.feature { padding-top: 40px; padding-bottom: 40px; }
.feature + .feature,
.video-band + .feature { border-top: 1px solid var(--line); }
.feature__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}
.feature__lead .card--lead .card__title { font-size: clamp(26px, 2.5vw, 34px); }
.feature__lead .card--lead .card__excerpt { font-size: 17px; }
.feature__list { display: flex; flex-direction: column; }

.card--list {
	display: grid;
	grid-template-columns: 176px minmax(0, 1fr);
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.card--list:first-child { padding-top: 0; }
.card--list:last-child { border-bottom: 0; padding-bottom: 0; }
.card--list .card__body { padding-top: 0; gap: 6px; }
.card--list .card__title { font-size: 17.5px; line-height: 1.25; }
.card--list .card__play { width: 34px; height: 34px; left: 8px; bottom: 8px; }
.card--list .card__play .icon { width: 17px; height: 17px; }

.cat-section .card__body { gap: 6px; }

/* Dział wyróżniony tłem (np. Samochody elektryczne) */
.has-band {
	background: var(--band);
	box-shadow: 0 0 0 100vmax var(--band);
	clip-path: inset(0 -100vmax);
	border-top: 0 !important;
}
.has-band .section-head::after { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--chip) 45%, transparent) 0 22px, transparent 22px 36px); }
.has-band .card--list { border-color: color-mix(in srgb, var(--chip) 22%, transparent); }
.has-band + .feature,
.has-band + .cat-section { border-top: 0; }
:root[data-theme="dark"] .has-band { --band-dark: color-mix(in srgb, var(--band) 8%, #131b22); background: var(--band-dark); box-shadow: 0 0 0 100vmax var(--band-dark); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .has-band { --band-dark: color-mix(in srgb, var(--band) 8%, #131b22); background: var(--band-dark); box-shadow: 0 0 0 100vmax var(--band-dark); }
}

/* Przycisk „preferowane źródło w Google” pod tytułem */
.gsource {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	padding: 8px 14px 8px 8px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--text);
	text-decoration: none;
	line-height: 1.2;
	transition: border-color .15s, box-shadow .15s;
}
.gsource:hover { border-color: var(--text); box-shadow: 0 2px 10px rgba(20, 33, 43, .1); }
.gsource__icon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex: none;
	border-radius: 3px;
	background: var(--surface);
}
.gsource__icon img { width: 20px; height: 20px; object-fit: contain; }
.gsource__letter {
	color: #1a73e8;
	font-family: Arial, "Helvetica Neue", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}
.gsource__label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.article__actions { display: flex; align-items: stretch; gap: 8px; margin-left: auto; }
.article__actions .gsource { margin-left: 0; }
.copylink {
	display: grid;
	place-items: center;
	width: 46px;
	flex: none;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--text);
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background .15s, color .15s;
}
.copylink:hover { border-color: var(--text); box-shadow: 0 2px 10px rgba(20, 33, 43, .1); }
.copylink.is-copied { border-color: var(--text); background: var(--text); color: var(--bg); }

/* Powiadomienie w prawym dolnym rogu */
.toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 200;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100vw - 40px);
	padding: 14px 18px;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: none; }
.toast__icon {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	flex: none;
	border-radius: 50%;
	background: var(--marker);
	color: var(--ink);
}
:root[data-theme="dark"] .toast { background: #f1f4f7; color: #14212b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .toast { background: #f1f4f7; color: #14212b; } }

@media (max-width: 680px) {
	.article__actions { margin-left: 0; width: 100%; }
	.article__actions .gsource { flex: 1; width: auto; }
	.toast { left: 16px; right: 16px; bottom: 16px; }
}

/* Menu główne i działy w stopce wielkimi literami */
.site-nav .menu > li > a {
	white-space: nowrap;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}
@media (min-width: 1024px) and (max-width: 1240px) {
	.site-nav .menu > li > a { padding-inline: 6px; font-size: 12px; letter-spacing: .03em; }
	.site-header__inner { gap: 12px; }
}
.site-footer .site-footer__menu a {
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.site-footer__top { border-bottom: 0; }
.site-footer .site-footer__menu { padding-top: 8px; }
.article__foot .article__actions { margin-left: auto; }

/* Logotyp TRUEMOTO */
.wordmark { display: block; color: var(--text); line-height: 0; }
.wordmark__svg { display: block; height: 26px; width: auto; }
.brand__link:hover .wordmark { opacity: .82; }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark__svg { height: 30px; }
@media (max-width: 680px) {
	.wordmark__svg { height: 21px; }
}

/* Zdjęcia i osadzenia w treści nigdy szersze niż kolumna */
.layout__main,
.entry-content { min-width: 0; }
.entry-content img,
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content object { max-width: 100% !important; height: auto; }
.entry-content img[width][height] { height: auto !important; }
.entry-content figure,
.entry-content .wp-caption,
.entry-content .wp-block-image,
.entry-content .wp-block-embed { max-width: 100% !important; }
.entry-content .wp-block-image.is-resized img { width: auto; }
.entry-content [style*="width"] { max-width: 100% !important; box-sizing: border-box; }
.entry-content .aligncenter,
.entry-content .wp-block-image.aligncenter { display: block; margin-inline: auto; }
.entry-content .wp-block-image.aligncenter > figcaption,
.entry-content .wp-block-image .aligncenter > figcaption { display: block; }
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="vimeo"] { width: 100%; aspect-ratio: 16 / 9; }
.entry-content pre,
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content table { max-width: 100%; }

/* Nagłówek strony autora: zdjęcie, imię i nazwisko, bio */
.author-head { display: flex; align-items: flex-start; gap: 24px; }
.author-head__avatar { flex: none; }
.author-head__avatar img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.author-head__text { min-width: 0; max-width: 72ch; }
.author-head__bio { margin-top: 12px; color: var(--text); font-family: var(--font-text); font-size: 17px; line-height: 1.6; }
.author-head__bio p { margin: 0 0 .6em; }
.author-head__bio p:last-child { margin-bottom: 0; }
.author-head__count { margin: 12px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.author .page-head--archive { padding-left: var(--gutter); }
.author .page-head--archive::before { display: none; }
@media (max-width: 680px) {
	.author-head { gap: 16px; }
	.author-head__avatar img { width: 72px; height: 72px; }
	.author-head__bio { font-size: 16px; }
}

/* Lista linków na dole */
.links { padding-top: 40px; padding-bottom: 56px; }
.links__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 3px solid var(--text);
}
.links__item { padding: 14px 0 15px; border-bottom: 1px solid var(--line); }
.links__title {
	margin: 5px 0 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}
.newsletter + .links { border-top: 0; }

/* Stopka */
.site-footer { background: var(--ink); color: var(--on-ink-muted); }
.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 40px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer__about {
	max-width: 72ch;
	margin: 24px 0 0;
	font-family: var(--font-text);
	font-size: 16px;
	line-height: 1.6;
}
.site-footer__widgets { padding-top: 24px; }
.site-footer .site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 32px;
	margin: 0;
	padding: 28px 0 40px;
	list-style: none;
}
.site-footer__menu li { padding: 0; }
.site-footer__menu a {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}
.site-footer__menu a:hover { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.site-footer__bottom { background: rgba(0, 0, 0, .28); border-top: 0; }
.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 18px;
	padding-bottom: 18px;
	font-size: 13px;
}
.site-footer .site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer__legal li { padding: 0; }
.site-footer__legal li + li::before { content: "•"; margin: 0 10px; color: rgba(255, 255, 255, .35); }
.site-footer__legal a { color: rgba(255, 255, 255, .85); }
.site-footer__copy { margin: 0; color: var(--on-ink-muted); }

@media (max-width: 1023px) {
	.tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
		height: auto;
	}
	.tile--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
	.tile:not(.tile--big) { aspect-ratio: 4 / 3; }
	.feature__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.links__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.tiles { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-top: 12px; }
	.tile--big { aspect-ratio: 4 / 5; }
	.tile:not(.tile--big) { aspect-ratio: 16 / 10; }
	.tile--big .tile__body { padding: 20px; }
	.tile__body { padding: 16px 18px; }
	.tile--big .tile__title { font-size: 27px; }
	.tile__title { font-size: 19px; }
	.feature { padding-top: 28px; padding-bottom: 28px; }
	.card--list { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
	.card--list .card__title { font-size: 16px; }
	.card--list .meta__author,
	.card--list .kicker__sep { display: none; }
	.links__list { grid-template-columns: minmax(0, 1fr); }
	.links__item:nth-child(n+16) { display: none; }
	.site-footer .site-footer__menu { gap: 12px 22px; }
	.site-footer__menu a { font-size: 16px; }
}

/* 11. Responsywność ------------------------------------- */
@media (max-width: 1180px) {
	.site-header__inner { gap: 16px; }
	.site-nav .menu a { padding: 10px 8px; font-size: 14.5px; }
	.layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
}

@media (max-width: 1023px) {
	:root { --gap: 24px; }
	.nav-toggle { display: inline-grid; margin-left: -10px; }
	.site-header__inner { gap: 6px; }
	.brand { margin-right: auto; }
	.site-header__tools { margin-left: 0; }

	.site-nav {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 60;
		display: flex;
		flex-direction: column;
		width: min(86vw, 360px);
		padding: 96px 20px 24px;
		overflow-y: auto;
		background: var(--bg);
		box-shadow: 0 0 0 100vmax rgba(10, 16, 22, 0);
		transform: translateX(-100%);
		visibility: hidden;
		transition: transform .25s ease, visibility .25s, box-shadow .25s;
	}
	.nav-open .site-nav {
		transform: none;
		visibility: visible;
		box-shadow: 0 0 0 100vmax rgba(10, 16, 22, .5);
	}
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--line); }
	.site-nav .menu a { padding: 14px 4px; font-size: 18px; border-radius: 0; }
	.site-nav .current-menu-item > a { box-shadow: inset 4px 0 0 var(--marker); padding-left: 14px; }
	.site-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		padding: 0 0 8px 12px;
		border: 0;
		box-shadow: none;
	}
	.site-nav .sub-menu a { font-size: 16px; padding: 8px 4px; }
	.site-nav__extra { display: block; margin-top: 24px; }

	.nav-toggle[aria-expanded="true"] { position: relative; z-index: 70; }

	.hero { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
	.hero__side {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid var(--line);
		padding-top: 20px;
	}
	.hero__side .card--mini { grid-template-columns: minmax(0, 1fr); padding: 0; border: 0; }

	.layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.sticky-side { position: static; }

	.cat-section__grid,
	.cat-section--feature .cat-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-section__feature { grid-column: 1 / -1; grid-row: auto; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.video-band__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.video-item--main { grid-column: 1 / -1; grid-row: auto; }

	.newsletter__inner { grid-template-columns: minmax(0, 1fr); }
	.archive-top { grid-template-columns: minmax(0, 1fr); }
	.archive-top__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 680px) {
	:root { --header-h: 58px; }
	.topbar__date { display: none; }
	.plate { height: 36px; }
	.plate__text { font-size: 24px; }
	.plate--big { height: 64px; }
	.plate--big .plate__text { font-size: 42px; }
	.plate--big .plate__band { width: 32px; }

	.hero__side { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.hero__side .card--mini {
		grid-template-columns: 112px minmax(0, 1fr);
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
	}
	.hero__side .card--mini:last-child { border-bottom: 0; }
	.card--lead .card__excerpt { font-size: 16px; }

	.card--row { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
	.card--row .card__title { font-size: 17px; }
	.card--row .card__excerpt { display: none; }
	.card--row .meta__author { display: none; }

	.cat-section__grid,
	.cat-section--feature .cat-section__grid,
	.grid--4 { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.cat-section .card:not(.card--lead) {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 14px;
		padding: 16px 0;
		border-bottom: 1px solid var(--line);
	}
	.cat-section .card:not(.card--lead) .card__body { padding-top: 0; gap: 6px; }
	.cat-section .card:not(.card--lead) .meta__author { display: none; }
	.card--related { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; }
	.card--related .card__title { font-size: 16.5px; }
	.cat-section__feature { padding-bottom: 8px; }

	.section-head { flex-wrap: wrap; row-gap: 6px; }
	.section-head::after { display: none; }
	.section-head__title { font-size: 22px; }
	.section-head__more { margin-left: auto; font-size: 13px; }

	.video-band { padding: 36px 0 40px; }
	.video-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
	.video-item__title { font-size: 14px; }
	.video-item--main .video-item__title { font-size: 19px; }

	.archive-top__side { grid-template-columns: minmax(0, 1fr); }

	.entry-content { font-size: 18px; }
	.article__meta .share { margin-left: 0; width: 100%; }
	.article__head .share__label { display: none; }
	.author-box { grid-template-columns: 56px minmax(0, 1fr); padding: 18px; }
	.author-box img { width: 56px; height: 56px; }

	.site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.search-form__btn span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .site-footer, .layout__side, .share, .related, .comments, .newsletter, .video-band { display: none !important; }
	.layout { display: block; }
	body { color: #000; background: #fff; }
}

/* Linki w leadzie artykułu */
.article__lead a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article__lead a:hover { text-decoration-thickness: 2px; }

/* Ciaśniejsze tytuły (wcześniej w Dodatkowym CSS) */
.article__title { letter-spacing: -0.035em; line-height: 0.97; }
.tile__title,
.card__title,
.links__title,
.video-item__title { letter-spacing: -0.02em; }
.tile__title { line-height: 1.08; }
.tile--big .tile__title,
.card--lead .card__title { letter-spacing: -0.03em; line-height: 0.99; }
.card__title { line-height: 1.12; }
.card--list .card__title,
.card--mini .card__title,
.card--related .card__title { line-height: 1.15; }
.links__title { line-height: 1.2; }

/* Wyniki wyszukiwania: grupy Aktualności / Katalog nowych modeli */
.search-group + .search-group { margin-top: 48px; }
.search-group .section-head { margin-bottom: 18px; }
.search-group__count { margin-left: 6px; color: var(--muted); font-size: .6em; font-weight: 600; vertical-align: middle; }
.search-group__models { margin-bottom: 8px; }
