/**
 * Theme Name:     GeneratePress Child
 * Author:         Tom Usborne
 * Template:       generatepress
 * Text Domain:	   generatepress-child
 * Description:    Motyw potomny pszok.info.
 */

/* ===== Fonty lokalne (zamiast Google Fonts) ===== */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(fonts/inter-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(fonts/inter-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Kolory i podstawy
   ========================================================================== */
html:root {
	--accent: #2e7d32;
	--pz-green: #1f6b2d;
	--pz-green-dark: #1b4d24;
	--pz-hero: #1d5a2a;
	--pz-lime: #7cb342;
	--pz-mint: #eef5ea;
	--pz-mint-2: #f4f8f2;
	--pz-line: #e3e9e0;
	--pz-text: #1e2a20;
	--pz-muted: #5b675d;
	--pz-red: #c62828;
	--pz-red-bg: #fdf0ef;
	--pz-max: 1280px;
	--pz-gutter: 40px;
}

@media (max-width: 768px) {
	html:root {
		--pz-gutter: 20px;
	}
}

body {
	color: var(--pz-text);
	font-weight: 400;
}

a {
	color: var(--pz-green);
}

a:hover,
a:focus {
	color: var(--pz-green-dark);
}

.pz-i {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

/* ==========================================================================
   Nagłówek
   ========================================================================== */
.site-header {
	border-bottom: 1px solid var(--pz-line);
}

/* ==========================================================================
   Szerokość 1280 px i te same odstępy lewo/prawo w każdej sekcji
   ========================================================================== */
.grid-container,
.site-header .inside-header,
.pz-hero__inner,
.pz-footer__inner {
	max-width: var(--pz-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--pz-gutter);
	padding-right: var(--pz-gutter);
}

.site.grid-container {
	padding-left: 0;
	padding-right: 0;
}

.site-content {
	padding: 0;
}

.separate-containers .site-main {
	margin: 0;
}

.separate-containers .inside-article,
.separate-containers .page-header,
.separate-containers .paging-navigation,
.separate-containers .comments-area {
	padding: 36px var(--pz-gutter) 50px;
	margin: 0;
}

.separate-containers .site-main > * {
	margin-bottom: 0;
}

.entry-content .alignwide,
.entry-content .alignfull {
	margin-left: calc(-1 * var(--pz-gutter));
	margin-right: calc(-1 * var(--pz-gutter));
	width: calc(100% + 2 * var(--pz-gutter));
	max-width: calc(100% + 2 * var(--pz-gutter));
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content h2 {
	margin: 36px 0 16px;
	font-size: 24px;
}

.site-header .inside-header {
	padding-top: 14px;
	padding-bottom: 14px;
}

/* Formularze i przyciski w treści */
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content textarea,
.entry-content select {
	width: 100%;
	max-width: none;
	height: auto;
	min-height: 44px;
	line-height: 1.4;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--pz-line);
	border-radius: 8px;
	background: #fff;
	color: var(--pz-text);
}

.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus {
	border-color: var(--pz-green);
	outline: 2px solid var(--pz-mint);
	background: #fff;
}

.entry-content label {
	font-weight: 600;
}

.entry-content button[type="submit"],
.entry-content input[type="submit"],
a.button,
.wp-block-button__link {
	padding: 11px 22px;
	border: 0;
	border-radius: 8px;
	background: var(--pz-green);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.entry-content button[type="submit"]:hover,
.entry-content button[type="submit"]:focus,
.entry-content input[type="submit"]:hover,
.entry-content input[type="submit"]:focus,
a.button:hover,
a.button:focus {
	background: var(--pz-green-dark);
	color: #fff;
}

/* Ostatnia pozycja menu równo z prawym krawędzią treści */
.main-navigation .main-nav > ul > li:last-child > a {
	padding-right: 0;
}

.main-navigation .inside-navigation {
	padding: 0;
}

.main-title {
	margin: 0;
	line-height: 1;
}

.pz-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.pz-logo__icon {
	width: 46px;
	height: 46px;
	color: var(--pz-green);
}

.pz-logo__text {
	display: flex;
	flex-direction: column;
}

.pz-logo__name {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.5px;
	color: var(--pz-green-dark);
}

.pz-logo__name span {
	color: var(--pz-lime);
}

.pz-logo__tag {
	margin-top: 5px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--pz-text);
}

.site-header .main-navigation {
	background: transparent;
}

/* Podmenu (Wiedza) */
.site-header .main-navigation ul ul {
	width: 250px;
	padding: 6px 0;
	background: #fff;
	border: 1px solid var(--pz-line);
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.site-header .main-navigation .main-nav > ul > li:last-child > ul {
	left: auto;
	right: 0;
}

.main-navigation .main-nav ul ul li a {
	padding: 10px 18px;
	font-size: 14px;
	line-height: 1.35;
}

@media (max-width: 768px) {
	.site-header .main-navigation ul ul {
		width: auto;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.main-navigation.toggled .main-nav ul ul li a {
		padding-left: calc(var(--pz-gutter) + 16px);
	}
}

.main-navigation .main-nav ul li a {
	padding-left: 14px;
	padding-right: 14px;
	font-size: 15px;
	font-weight: 500;
	color: var(--pz-text);
}

.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: var(--pz-green);
}

.main-navigation .menu-toggle,
.main-navigation .menu-toggle:hover,
.main-navigation .menu-toggle:focus {
	color: var(--pz-green-dark);
	background: transparent;
}

.menu-toggle .gp-icon svg {
	width: 26px;
	height: 26px;
}

.menu-toggle .mobile-menu {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* ==========================================================================
   Stopka
   ========================================================================== */
.pz-footer {
	background: var(--pz-green-dark);
	color: #fff;
}

.pz-footer__inner {
	display: flex;
	align-items: center;
	gap: 48px;
}

.pz-logo--light .pz-logo__icon,
.pz-logo--light .pz-logo__name,
.pz-logo--light .pz-logo__tag {
	color: #fff;
}

.pz-logo--light .pz-logo__name {
	font-size: 26px;
}

.pz-logo--light .pz-logo__icon {
	width: 38px;
	height: 38px;
}

.pz-logo--light .pz-logo__tag {
	font-size: 11px;
	opacity: 0.85;
}

.pz-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 30px;
}

.pz-footer__nav a {
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}

.pz-footer__nav a:hover,
.pz-footer__nav a:focus {
	color: #c5e1a5;
	text-decoration: underline;
}

/* Ilustracja stoi na dolnej krawędzi stopki; margines u góry = odstęp od góry stopki,
   dzięki temu logo i menu są wyśrodkowane w pionie względem całej stopki */
.pz-footer__art {
	align-self: flex-end;
	margin-top: 26px;
	margin-left: auto;
	width: 330px;
	height: auto;
	color: var(--pz-lime);
	display: block;
}

/* ==========================================================================
   Strona punktu: kontener
   ========================================================================== */
.pz-pszok.separate-containers .inside-article {
	padding-top: 30px;
}

.entry-header:empty {
	display: none;
}

.pz-pszok .entry-content {
	margin-top: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.pz-hero {
	position: relative;
	overflow: hidden;
	background: var(--pz-hero);
	color: #fff;
}

.pz-hero__img {
	position: absolute;
	top: 0;
	right: 0;
	width: 54%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
	mask-image: linear-gradient(to right, transparent 0, #000 30%);
}

.pz-hero__inner {
	position: relative;
	padding-top: 46px;
	padding-bottom: 50px;
}

/* Okruszki w hero */
.pz-crumbs {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.75);
}

.pz-crumbs a {
	color: #fff;
	text-decoration: none;
}

.pz-crumbs a:hover,
.pz-crumbs a:focus {
	color: #c5e1a5;
	text-decoration: underline;
}

/* Hero podstron: herb obok tytułu */
.pz-hero__head {
	display: flex;
	align-items: center;
	gap: 20px;
}

.pz-hero__emblem {
	flex: none;
	width: 64px;
	height: auto;
	max-height: 76px;
	object-fit: contain;
}

.pz-hero--page .pz-hero__inner {
	padding-top: 34px;
	padding-bottom: 38px;
}

.pz-hero--page .pz-hero__sub {
	margin: 0;
}

.pz-hero--img .pz-hero__inner > * {
	max-width: 52%;
}

.pz-hero__title {
	margin: 0 0 12px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
}

.pz-hero__sub {
	margin: 0 0 20px;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.92);
}

.pz-hero__meta {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.pz-hero__meta .pz-i {
	color: #8bc34a;
}

.pz-hero__meta-text {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
	padding-top: 1px;
}

.pz-hero__sep {
	opacity: 0.6;
}

/* ==========================================================================
   Hero strony głównej: wyszukiwarka
   ========================================================================== */
.pz-hero--front {
	overflow: visible;
	z-index: 5;
}

.pz-hero--front .pz-hero__inner {
	padding-top: 44px;
	padding-bottom: 44px;
}

.pz-search {
	position: relative;
	max-width: 680px;
	margin: 26px 0 0;
}

.pz-search__box {
	display: flex;
	align-items: center;
	padding: 6px 6px 6px 16px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.pz-search__box .pz-i {
	color: var(--pz-muted);
}

.pz-search__box input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 12px;
	border: 0;
	background: transparent;
	box-shadow: none;
	outline: 0;
	font-size: 16px;
	color: var(--pz-text);
}

.pz-search__box button {
	height: 46px;
	padding: 0 24px;
	border: 0;
	border-radius: 8px;
	background: var(--pz-green);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.pz-search__box button:hover,
.pz-search__box button:focus {
	background: var(--pz-green-dark);
	color: #fff;
}

.pz-search__list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 50;
	max-height: 430px;
	margin: 0;
	padding: 6px 0;
	overflow-y: auto;
	list-style: none;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.pz-search__list[hidden] {
	display: none;
}

.pz-search__list li {
	margin: 0;
}

.pz-search__list a {
	display: block;
	padding: 9px 16px;
	color: var(--pz-text);
	text-decoration: none;
}

.pz-search__list strong {
	display: block;
	font-size: 15px;
	color: var(--pz-green-dark);
}

.pz-search__list span {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: var(--pz-muted);
}

.pz-search__list a:hover,
.pz-search__list a:focus,
.pz-search__list li.is-active a {
	background: var(--pz-mint);
}

.pz-search__list .pz-search__all a {
	margin-top: 4px;
	border-top: 1px solid var(--pz-line);
	font-size: 14px;
	font-weight: 600;
	color: var(--pz-green);
}

.pz-search__none {
	padding: 10px 16px;
	font-size: 14px;
	color: var(--pz-muted);
}

.pz-hero__links {
	margin: 14px 0 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.92);
}

.pz-hero__links a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pz-hero__links a:hover,
.pz-hero__links a:focus {
	color: #c5e1a5;
}

/* ==========================================================================
   Strona główna: 3 kolumny pod hero
   ========================================================================== */
.pz-intro {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 40px;
	padding-bottom: 34px;
	border-bottom: 1px solid var(--pz-line);
}

.pz-intro__col {
	padding: 0 32px;
}

.pz-intro__col:first-child {
	padding-left: 0;
}

.pz-intro__col:last-child {
	padding-right: 0;
}

.pz-intro__col + .pz-intro__col {
	border-left: 1px solid var(--pz-line);
}

.entry-content .pz-intro__title {
	margin: 0 0 10px;
	font-size: 19px;
	line-height: 1.3;
}

.pz-intro p {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.6;
}

.pz-intro p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Artykuły (Co to jest PSZOK?, Co można oddać na PSZOK?)
   ========================================================================== */
.entry-content .pz-lead {
	margin: 0 0 26px;
	font-size: 18px;
	line-height: 1.65;
}

.entry-content .pz-summary {
	margin: 0 0 10px;
	padding: 20px 24px;
	background: var(--pz-mint);
	border-left: 4px solid var(--pz-green);
	border-radius: 0 10px 10px 0;
}

.entry-content .pz-summary__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--pz-green-dark);
}

.entry-content .pz-summary ul {
	margin: 0 0 0 20px;
}

.entry-content .pz-summary li {
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.55;
}

.entry-content .pz-summary li:last-child {
	margin-bottom: 0;
}

/* Układ artykułu: treść + boczna kolumna ze spisem treści */
.pz-article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 56px;
	align-items: start;
}

.pz-article__aside {
	align-self: stretch;
}

.pz-article__body > :first-child {
	margin-top: 0;
}

.entry-content .pz-article__body h2 {
	scroll-margin-top: 20px;
}

.pz-article__sticky {
	position: sticky;
	top: 24px;
	padding: 20px 22px;
	border: 1px solid var(--pz-line);
	border-radius: 10px;
	background: #fafcf9;
}

.entry-content .pz-article__label {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: var(--pz-muted);
}

.entry-content .pz-toc,
.entry-content .pz-article__more ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.entry-content .pz-toc li,
.entry-content .pz-article__more li {
	margin: 0;
	padding: 6px 0;
	border-bottom: 1px solid var(--pz-line);
	font-size: 14px;
	line-height: 1.4;
}

.entry-content .pz-toc li:last-child,
.entry-content .pz-article__more li:last-child {
	border-bottom: 0;
}

.pz-toc a,
.pz-article__more a {
	color: var(--pz-text);
	text-decoration: none;
}

.pz-toc a:hover,
.pz-toc a:focus,
.pz-article__more a:hover,
.pz-article__more a:focus {
	color: var(--pz-green);
	text-decoration: underline;
}

.pz-article__more {
	margin-top: 18px;
}

.pz-article__more a {
	color: var(--pz-green);
	font-weight: 600;
}

@media (max-width: 1024px) {
	.pz-article {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.pz-article__aside {
		order: -1;
	}

	.pz-article__sticky {
		position: static;
	}

	.pz-article__more {
		display: none;
	}
}

.entry-content ol.pz-steps {
	counter-reset: pz-step;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.entry-content ol.pz-steps > li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 48px;
	border-bottom: 1px solid var(--pz-line);
	line-height: 1.6;
}

.entry-content ol.pz-steps > li:last-child {
	border-bottom: 0;
}

.entry-content ol.pz-steps > li::before {
	counter-increment: pz-step;
	content: counter(pz-step);
	position: absolute;
	top: 12px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: var(--pz-green);
	border-radius: 50%;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.entry-content .pz-art-table {
	margin: 0 0 20px;
}

.entry-content .pz-art-table table {
	width: 100%;
	border: 1px solid var(--pz-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	overflow: hidden;
	font-size: 15px;
}

.entry-content .pz-art-table th,
.entry-content .pz-art-table td {
	padding: 11px 14px;
	border: 0;
	border-bottom: 1px solid var(--pz-line);
	text-align: left;
	vertical-align: top;
}

.entry-content .pz-art-table thead th {
	background: var(--pz-green);
	color: #fff;
	font-weight: 600;
}

.entry-content .pz-art-table tbody tr:nth-child(even) td {
	background: var(--pz-mint-2);
}

.entry-content .pz-art-table tbody tr:last-child td {
	border-bottom: 0;
}

.entry-content .pz-art-table td:first-child {
	width: 38%;
	font-weight: 600;
}

.entry-content .pz-sources {
	margin-left: 20px;
	font-size: 14px;
	color: var(--pz-muted);
}

.entry-content .pz-sources li {
	margin-bottom: 6px;
}

.entry-content .pz-cta {
	margin-top: 30px;
	padding: 18px 22px;
	border: 1px solid var(--pz-line);
	border-radius: 10px;
	background: #fafcf9;
	font-size: 16px;
}

@media (max-width: 768px) {
	.entry-content .pz-lead {
		font-size: 16px;
	}

	.entry-content .pz-summary {
		padding: 16px 18px;
	}

	.entry-content .pz-art-table table {
		font-size: 14px;
	}

	.entry-content .pz-art-table th,
	.entry-content .pz-art-table td {
		padding: 9px 10px;
	}

	.entry-content ol.pz-steps > li {
		padding-left: 42px;
	}
}

/* ==========================================================================
   Strony miast (/pszok/{miasto}/) i miasta na stronach województw
   ========================================================================== */
.entry-content .pz-city__h,
.entry-content .pz-cities__h {
	margin: 34px 0 14px;
	font-size: 22px;
}

.entry-content .pz-cities__h:first-child {
	margin-top: 0;
}

.entry-content .pz-city__rows {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--pz-line);
	border-radius: 10px;
	overflow: hidden;
}

.pz-city__row {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.7fr);
	gap: 20px;
	margin: 0;
	padding: 16px 20px;
	border-bottom: 1px solid var(--pz-line);
	font-size: 14px;
	line-height: 1.5;
}

.pz-city__row:last-child {
	border-bottom: 0;
}

.pz-city__row:nth-child(even) {
	background: var(--pz-mint-2);
}

.entry-content .pz-city__name {
	margin: 0 0 4px;
	font-size: 17px;
	line-height: 1.3;
}

.pz-city__name a {
	text-decoration: none;
}

.pz-city__name a:hover,
.pz-city__name a:focus {
	text-decoration: underline;
}

.pz-city__addr {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	color: var(--pz-text);
}

.pz-city__addr .pz-i {
	color: var(--pz-green);
}

.pz-city__gminy {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--pz-muted);
}

.pz-city__label {
	display: block;
	margin-bottom: 2px;
	font-size: 12px;
	font-weight: 600;
	color: var(--pz-muted);
}

.pz-city__col a {
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.pz-city__map {
	margin: 16px 0 0;
}

.pz-city__map .pz-btn {
	display: inline-flex;
}

.entry-content .pz-city__others,
.entry-content .pz-cities {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px 24px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.pz-city__others li,
.pz-cities li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 8px 0;
	border-bottom: 1px solid var(--pz-line);
	font-size: 15px;
}

.pz-city__others a,
.pz-cities a {
	font-weight: 600;
	text-decoration: none;
}

.pz-city__others a:hover,
.pz-cities a:hover {
	text-decoration: underline;
}

.pz-city__others span,
.pz-cities span {
	flex: none;
	font-size: 13px;
	color: var(--pz-muted);
}

.entry-content .pz-cities__all {
	margin: 12px 0 0;
	font-size: 14px;
}

.pz-cities__all a {
	font-weight: 600;
}

.pz-woj-group {
	margin: 0 0 28px;
}

.entry-content .pz-woj-group__h {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px;
	font-size: 18px;
}

.pz-woj-group__h a {
	color: var(--pz-text);
	text-decoration: none;
}

.pz-woj-group__h a:hover {
	color: var(--pz-green);
	text-decoration: underline;
}

.pz-woj-group__herb {
	width: 32px;
	height: auto;
	max-height: 38px;
	object-fit: contain;
}

.pz-near__city {
	margin: -6px 0 14px;
	font-size: 14px;
}

@media (max-width: 1024px) {
	.entry-content .pz-city__others,
	.entry-content .pz-cities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.pz-city__row {
		grid-template-columns: 1fr 1fr;
		gap: 10px 16px;
		padding: 14px 16px;
	}

	.pz-city__main {
		grid-column: 1 / -1;
	}

	.entry-content .pz-city__others,
	.entry-content .pz-cities {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.entry-content .pz-city__h,
	.entry-content .pz-cities__h {
		font-size: 19px;
	}
}

/* Link z mapy punktu do mapy wszystkich PSZOK */
.pz-maplink {
	margin: 10px 0 0;
	font-size: 14px;
}

@media (max-width: 768px) {
	.pz-hero--front .pz-hero__inner {
		padding-top: 22px;
		padding-bottom: 26px;
	}

	.pz-search {
		margin-top: 16px;
	}

	.pz-search__box {
		padding-left: 12px;
	}

	.pz-search__box input[type="search"] {
		height: 44px;
		padding: 0 8px;
		font-size: 16px;
	}

	.pz-search__box button {
		height: 44px;
		padding: 0 14px;
	}

	.pz-hero__links {
		font-size: 14px;
	}

	.pz-intro {
		grid-template-columns: 1fr;
		margin-bottom: 28px;
		padding-bottom: 24px;
	}

	.pz-intro__col,
	.pz-intro__col:first-child,
	.pz-intro__col:last-child {
		padding: 0;
	}

	.pz-intro__col + .pz-intro__col {
		margin-top: 20px;
		padding-top: 20px;
		border-left: 0;
		border-top: 1px solid var(--pz-line);
	}
}

/* ==========================================================================
   Strona punktu: siatka
   ========================================================================== */
.pz {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0 44px;
	align-items: start;
}

.pz-cards,
.pz-full {
	grid-column: 1 / -1;
}

.pz-sec {
	margin: 0;
	padding: 30px 0;
}

.pz-hours,
.pz-waste,
.pz-extra,
.pz-near {
	border-top: 1px solid var(--pz-line);
}

.pz-box {
	padding-top: 0;
}

/* Nagłówki sekcji */
.pz-h {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--pz-text);
}

.pz-h .pz-i {
	color: var(--pz-green);
}

/* .entry-content h2 (marginesy 36px, 24px) nie może nadpisywać nagłówków sekcji */
.entry-content .pz-h {
	margin: 0 0 16px;
	font-size: 22px;
}

.entry-content .pz-h--sm {
	margin-bottom: 10px;
	font-size: 18px;
}

.pz-sec > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	cursor: default;
}

.pz-sec > summary::-webkit-details-marker {
	display: none;
}

.pz-chev {
	display: none;
	color: var(--pz-text);
	transition: transform 0.2s;
}

.pz-m {
	display: none;
}

/* Mapa nie ma nagłówka na desktopie - stoi obok tabeli adresu */
.pz-mapsec > summary {
	display: none;
}

/* ==========================================================================
   Karty
   ========================================================================== */
.pz-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--pz-line);
}

.pz-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 18px 20px;
	background: var(--pz-mint);
	border-radius: 10px;
}

.pz-card > .pz-i {
	color: var(--pz-green);
}

.pz-card__label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 500;
	color: var(--pz-text);
}

.pz-card__value {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--pz-text);
	text-decoration: none;
}

.pz-card__note {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.35;
	color: var(--pz-muted);
}

.pz-card--tel .pz-card__value {
	font-size: 20px;
	color: var(--pz-green);
	white-space: nowrap;
}

/* ==========================================================================
   Tabele
   ========================================================================== */
.entry-content .pz-table {
	width: 100%;
	margin: 0;
	border: 1px solid var(--pz-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	overflow: hidden;
	font-size: 14px;
}

.entry-content .pz-table th,
.entry-content .pz-table td {
	padding: 11px 14px;
	border: 0;
	border-bottom: 1px solid var(--pz-line);
	text-align: left;
	vertical-align: top;
	background: #fff;
}

.entry-content .pz-table tr:last-child th,
.entry-content .pz-table tr:last-child td {
	border-bottom: 0;
}

.entry-content .pz-table th {
	width: 40%;
	font-weight: 600;
}

.pz-td-check {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.pz-ok {
	color: #43a047;
}

/* Godziny */
.entry-content .pz-hours__table tr.pz-today th,
.entry-content .pz-hours__table tr.pz-today td {
	background: #e4f1dc;
	color: var(--pz-green);
	font-weight: 700;
}

.entry-content .pz-hours__table tr.pz-closed th,
.entry-content .pz-hours__table tr.pz-closed td {
	background: var(--pz-red-bg);
}

.pz-hours__table tr.pz-closed td,
.entry-content .pz-hours__table tr.pz-today.pz-closed td {
	color: var(--pz-red);
}

/* ==========================================================================
   Mapa
   ========================================================================== */
.pz-map {
	position: relative;
	height: 220px;
	border: 1px solid var(--pz-line);
	border-radius: 10px;
	overflow: hidden;
	background: var(--pz-mint-2);
}

.pz-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.pz-marker {
	background: none;
	border: 0;
}

.pz-btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 12px;
}

.pz-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 14px;
	border: 1.5px solid var(--pz-green);
	border-radius: 8px;
	background: #fff;
	color: var(--pz-green);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.pz-btn--primary {
	background: var(--pz-green);
	color: #fff;
}

.pz-btn:hover,
.pz-btn:focus {
	background: var(--pz-mint);
	color: var(--pz-green-dark);
}

.pz-btn--primary:hover,
.pz-btn--primary:focus {
	background: var(--pz-green-dark);
	color: #fff;
}

/* ==========================================================================
   Odpady
   ========================================================================== */
.pz-waste__intro {
	margin: -6px 0 16px;
	font-size: 14px;
	color: var(--pz-muted);
}

.entry-content .pz-waste__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pz-waste__grid li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 14px;
	min-height: 52px;
	background: var(--pz-mint-2);
	border-radius: 8px;
	font-size: 13.5px;
	line-height: 1.3;
}

.pz-waste__grid .pz-i {
	color: var(--pz-green);
}

.pz-more {
	display: none;
}

/* ==========================================================================
   Dodatkowe informacje
   ========================================================================== */
.pz-extra__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 22px 0;
	background: var(--pz-mint);
	border-radius: 12px;
}

.pz-extra__grid > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0 14px;
	text-align: center;
}

.pz-extra__grid > div + div {
	border-left: 1px solid #d5e3cf;
}

.pz-extra__grid .pz-i {
	color: var(--pz-green);
	margin-bottom: 2px;
}

.pz-extra__label {
	font-size: 14px;
}

.pz-extra__value {
	font-size: 15px;
	font-weight: 700;
}

.pz-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
}

.pz-badge--ok {
	background: #cde7c1;
	color: var(--pz-green);
}

.pz-badge--warn {
	background: #fdf0c4;
	color: #7a5a00;
}

.pz-badge--muted {
	background: #e7ebe8;
	color: #475149;
}

/* ==========================================================================
   Uwagi i źródła
   ========================================================================== */
.pz-box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-self: stretch;
	padding: 22px 24px;
	border: 1px solid var(--pz-line);
	border-radius: 10px;
	background: #fafcf9;
	margin-bottom: 30px;
}

.pz-box p {
	margin: 0;
	font-size: 14px;
	color: var(--pz-muted);
}

.entry-content .pz-src {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.pz-src li {
	margin: 0 0 6px;
}

.pz-src a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	word-break: break-all;
}

/* ==========================================================================
   PSZOK w okolicy
   ========================================================================== */
.pz-near__intro {
	margin: -8px 0 14px;
	font-size: 14px;
	color: var(--pz-muted);
}

.entry-content .pz-near__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pz-near__grid li {
	margin: 0;
}

.pz-near__grid a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid var(--pz-line);
	border-radius: 10px;
	color: var(--pz-text);
	text-decoration: none;
}

.pz-near__grid a:hover,
.pz-near__grid a:focus {
	border-color: var(--pz-lime);
	background: var(--pz-mint-2);
}

.pz-near__text {
	flex: 1;
	min-width: 0;
}

.pz-near__name {
	display: block;
	font-size: 15px;
	font-weight: 700;
}

.pz-near__addr {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	font-size: 12.5px;
	color: var(--pz-muted);
}

.pz-near__km {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 700;
	color: var(--pz-green);
	white-space: nowrap;
}

.pz-near__chev {
	display: none;
}

/* ==========================================================================
   Lista województw ([strony_dzieci], [lista_wojewodztw])
   ========================================================================== */
.bp-wojewodztwa__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 1024px) {
	.bp-wojewodztwa__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.bp-wojewodztwa__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.bp-woj-card {
		padding: 10px;
		gap: 8px;
		font-size: 14px;
	}

	.bp-woj-card img {
		width: 30px;
	}
}

.bp-woj-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--pz-line);
	border-radius: 10px;
	color: var(--pz-text);
	font-weight: 600;
	text-decoration: none;
}

.bp-woj-card img {
	width: 40px;
	height: auto;
	max-height: 48px;
	object-fit: contain;
}

.bp-woj-card span small {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--pz-muted);
}

.bp-woj-card:hover,
.bp-woj-card:focus {
	border-color: var(--pz-lime);
	background: var(--pz-mint-2);
	color: var(--pz-green);
}

.bp-powiazane__lista {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1024px) {
	.pz-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.entry-content .pz-near__grid {
		grid-template-columns: 1fr;
	}

	.pz-footer__art {
		width: 240px;
	}
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 768px) {
	.site-header .inside-header {
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.has-inline-mobile-toggle .mobile-menu-control-wrapper .menu-toggle {
		padding-right: 0;
	}

	.main-navigation.toggled .main-nav ul li a {
		padding-left: var(--pz-gutter);
		padding-right: var(--pz-gutter);
	}

	.separate-containers .inside-article,
	.separate-containers .page-header {
		padding-top: 20px;
		padding-bottom: 30px;
	}

	.pz-hero--page .pz-hero__inner {
		padding-top: 20px;
		padding-bottom: 24px;
	}

	.pz-hero__emblem {
		width: 44px;
	}

	.pz-hero__head {
		gap: 14px;
	}

	.pz-logo__icon {
		width: 36px;
		height: 36px;
	}

	.pz-logo__name {
		font-size: 24px;
	}

	.site-header .pz-logo__tag {
		display: none;
	}

	.main-navigation.toggled .main-nav > ul {
		background: #fff;
		border-top: 1px solid var(--pz-line);
	}

	/* Hero: tekst, pod nim zdjęcie */
	.pz-hero__inner {
		padding-top: 22px;
		padding-bottom: 26px;
	}

	.pz-hero--img .pz-hero__inner > * {
		max-width: none;
	}

	.pz-hero__title {
		font-size: 30px;
	}

	.pz-hero__sub {
		margin-bottom: 14px;
		font-size: 15px;
	}

	.pz-hero__meta {
		font-size: 13px;
	}

	.pz-hero__meta-text {
		flex-direction: column;
	}

	.pz-hero__sep {
		display: none;
	}

	.pz-hero--img {
		display: flex;
		flex-direction: column;
	}

	.pz-hero__img {
		position: static;
		order: 2;
		width: 100%;
		height: 200px;
		-webkit-mask-image: none;
		mask-image: none;
	}

	/* Treść: jedna kolumna, kolejność jak w projekcie mobile */
	.pz-pszok.separate-containers .inside-article {
		padding-top: 16px;
	}

	.pz {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.pz-cards { order: 1; }
	.pz-addr { order: 2; }
	.pz-mapsec { order: 3; }
	.pz-waste { order: 4; }
	.pz-near { order: 5; }
	.pz-hours { order: 6; }
	.pz-extra { order: 7; }
	.pz-box { order: 8; }
	.pz-content { order: 9; }

	.pz-cards {
		grid-template-columns: 1fr;
		gap: 10px;
		padding-bottom: 6px;
		border-bottom: 0;
	}

	.pz-card {
		padding: 12px 16px;
		align-items: center;
	}

	.pz-card--d {
		display: none;
	}

	.pz-sec {
		padding: 16px 0;
		border-top: 1px solid var(--pz-line);
	}

	.pz-sec > summary {
		cursor: pointer;
		margin-bottom: 12px;
	}

	.pz-sec:not([open]) > summary {
		margin-bottom: 0;
	}

	.pz-sec > summary .pz-h,
	.entry-content .pz-h {
		margin: 0;
		font-size: 17px;
	}

	.entry-content .pz-hours .pz-h,
	.entry-content .pz-extra .pz-h,
	.entry-content .pz-near .pz-h,
	.entry-content .pz-box .pz-h {
		margin-bottom: 12px;
	}

	.pz-chev {
		display: block;
	}

	.pz-sec[open] > summary .pz-chev {
		transform: rotate(180deg);
	}

	.pz-d {
		display: none;
	}

	.pz-m {
		display: inline;
	}

	.pz-mapsec > summary {
		display: flex;
	}

	.pz-row-d {
		display: none;
	}

	.entry-content .pz-table {
		font-size: 13px;
	}

	.entry-content .pz-table th,
	.entry-content .pz-table td {
		padding: 8px 12px;
	}

	.pz-map {
		height: 180px;
	}

	.pz-btns {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.pz-waste__intro {
		display: none;
	}

	.entry-content .pz-waste__grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.pz-waste__grid li {
		min-height: 0;
		padding: 9px 14px;
		background: #fff;
		border: 1px solid var(--pz-line);
	}

	.pz-waste__grid:not(.is-all) li:nth-child(n+5) {
		display: none;
	}

	.pz-more {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		width: 100%;
		margin-top: 12px;
		padding: 6px;
		background: none;
		color: var(--pz-green);
		font-size: 14px;
		font-weight: 600;
	}

	.pz-more:hover,
	.pz-more:focus {
		background: none;
		color: var(--pz-green-dark);
	}

	.pz-more[aria-expanded="true"] .pz-i {
		transform: rotate(180deg);
	}

	.pz-near__intro {
		display: none;
	}

	.entry-content .pz-near__grid {
		gap: 8px;
	}

	.pz-near__grid a {
		padding: 10px 12px;
	}

	.pz-near__name {
		font-size: 14px;
	}

	.pz-near__addr {
		font-size: 11.5px;
	}

	.pz-near__chev {
		display: block;
		color: var(--pz-text);
	}

	.pz-extra__grid {
		grid-template-columns: 1fr 1fr;
		gap: 18px 0;
		padding: 18px 0;
	}

	.pz-extra__grid > div:nth-child(odd) {
		border-left: 0;
	}

	.pz-box {
		margin: 0 0 12px;
		padding: 16px;
	}

	/* Stopka */
	.pz-footer__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding-top: 24px;
	}

	.pz-footer .pz-logo {
		padding-bottom: 18px;
	}

	.pz-footer__nav {
		gap: 10px 22px;
		padding-bottom: 18px;
	}

	.pz-footer__art {
		align-self: center;
		width: 100%;
		max-width: 330px;
		margin: 0 auto;
	}
}
