.exxl-pszok {
	overflow-wrap: anywhere;
}

.exxl-pszok section + section {
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

.exxl-pszok [id] {
	scroll-margin-top: 2.5rem;
}

.exxl-pszok__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 1rem;
}

.exxl-pszok__tiles {
	list-style: none;
	padding: 0;
}

.exxl-pszok__card {
	min-width: 0;
	padding: 1rem;
	border: 1px solid currentColor;
	border-color: color-mix(in srgb, currentColor 24%, transparent);
	border-radius: .6rem;
}

.exxl-pszok__card h3 {
	display: flex;
	align-items: flex-start;
	gap: .5em;
	margin: 0 0 .5em;
	font-size: 1.15em;
}

.exxl-pszok__card p,
.exxl-pszok__alternative {
	margin: .5em 0;
}

.exxl-pszok__jump,
.exxl-pszok__search > div {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1rem;
}

.exxl-pszok__jump {
	margin-block: 1rem;
}

.exxl-pszok__search label {
	display: block;
	margin-bottom: .3em;
	font-weight: 600;
}

.exxl-pszok__search input {
	flex: 1 1 13rem;
	min-width: 0;
	max-width: 100%;
	padding: .55em .7em;
	font: inherit;
	color: inherit;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: .3rem;
}

.exxl-pszok__search button {
	cursor: pointer;
}

.exxl-pszok--city,
.exxl-pszok--point {
	--pszok-ink: #172b28;
	--pszok-muted: #405a53;
	--pszok-accent: #145c4b;
	--pszok-line: #b8cdc5;
	--pszok-tint: #eef6f2;
	--pszok-paper: #fff;
	font-size: max(1rem, 16px);
	line-height: 1.55;
}

.exxl-pszok__checked {
	margin-block: 0 .6rem;
	font-size: .925em;
}

.exxl-pszok__infographic {
	margin: 1.5rem auto;
	max-width: 36rem;
}

.exxl-pszok__infographic img {
	display: block;
	width: 100%;
	height: auto;
}

.exxl-pszok__summary {
	padding: clamp(.85rem, 3vw, 1.4rem);
	border: 1px solid var(--pszok-line);
	border-inline-start: .25rem solid var(--pszok-accent);
	border-radius: .5rem;
	background: var(--pszok-tint);
	color: var(--pszok-ink);
}

.exxl-pszok__summary > :first-child {
	margin-top: 0;
}

.exxl-pszok__summary > :last-child {
	margin-bottom: 0;
}

.exxl-pszok__summary p {
	margin-block: .6rem;
}

.exxl-pszok__summary a,
.exxl-pszok__table a {
	color: var(--pszok-accent);
}

.exxl-pszok__summary-table,
.exxl-pszok__table {
	width: 100%;
	border-collapse: collapse;
	text-align: start;
}

.exxl-pszok__summary-table th,
.exxl-pszok__summary-table td {
	padding: .32rem 0;
	border-top: 1px solid var(--pszok-line);
	vertical-align: top;
}

.exxl-pszok__summary-table th {
	padding-inline-end: .7rem;
	text-align: start;
}

.exxl-pszok__notice {
	padding: .55rem .7rem;
	border-radius: .3rem;
	background: #fff1d4;
	color: #613a00;
}

.exxl-pszok__notice a {
	color: inherit;
}

.exxl-pszok__jump--sticky {
	gap: .25rem .65rem;
	padding-block: .3rem;
	background: var(--pszok-paper);
	border-bottom: 1px solid var(--pszok-line);
	color: var(--pszok-ink);
}

.exxl-pszok__jump--sticky a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--pszok-accent);
	white-space: nowrap;
}

.exxl-pszok__table th,
.exxl-pszok__table td {
	padding: .75rem .6rem;
	border-bottom: 1px solid var(--pszok-line);
	text-align: start;
	vertical-align: top;
}

.exxl-pszok__table thead {
	background: var(--pszok-tint);
	color: var(--pszok-ink);
}

.exxl-pszok__points p,
.exxl-pszok__points h3 {
	margin: 0;
}

.exxl-pszok__points h3 {
	font-size: 1.08em;
	font-weight: 650;
}

.exxl-pszok__points th:first-child {
	min-width: 7rem;
}

.exxl-pszok__badge {
	display: inline-block;
	padding: .16em .55em;
	border-radius: .35rem;
	background: var(--pszok-tint);
	color: var(--pszok-ink);
	font-size: .88em;
	font-weight: 600;
}

.exxl-pszok__badge--warning {
	background: #fff1d4;
	color: #613a00;
}

.exxl-pszok__badge--positive {
	background: #dbefe4;
	color: #164a37;
}

.exxl-pszok__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem .55rem;
}

.exxl-pszok a.exxl-pszok__action {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-inline: .75em;
	border: 1px solid var(--pszok-line);
	border-radius: .35rem;
	background: var(--pszok-paper);
	color: var(--pszok-accent);
	font-size: .925em;
	font-weight: 650;
	text-decoration-thickness: 1px;
}

.exxl-pszok__search[data-waste-controls] input {
	width: 100%;
}

.exxl-pszok [hidden] {
	display: none;
}

.exxl-pszok section.exxl-pszok__category {
	margin-top: 1.25rem;
}

.exxl-pszok__category h3 {
	margin-block: 0 .35rem;
}

.exxl-pszok__wastes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	gap: .55rem 1.25rem;
	padding: 0;
	margin-block: .35rem 0;
	list-style: none;
}

.exxl-pszok__waste {
	padding-block: .65rem;
	border-top: 1px solid var(--pszok-line);
}

.exxl-pszok__waste p {
	margin: .22rem 0 0;
}

.exxl-pszok__muted {
	font-size: .925em;
}

.exxl-pszok--point nav {
	margin-block-end: 1rem;
}

.exxl-pszok--point .exxl-pszok__summary + section,
.exxl-pszok__related {
	margin-top: 2rem;
}

@media (max-width: 650px) {
	.exxl-pszok__jump--sticky {
		position: sticky;
		z-index: 2;
		top: var(--wp-admin--admin-bar--height, 0px);
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.exxl-pszok--city [id] {
		scroll-margin-top: calc(4rem + var(--wp-admin--admin-bar--height, 0px));
	}

	.exxl-pszok__points,
	.exxl-pszok__points tbody {
		display: block;
	}

	.exxl-pszok__points thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.exxl-pszok__points tbody tr {
		display: grid;
		gap: .4rem;
		margin-bottom: .7rem;
		padding: .8rem;
		border: 1px solid var(--pszok-line);
		border-radius: .5rem;
	}

	.exxl-pszok__points tbody th,
	.exxl-pszok__points tbody td {
		display: block;
		padding: 0;
		border: 0;
	}
}

.exxl-pszok__summary-table th {
	white-space: nowrap;
}

@media (max-width: 650px) {
	main:has(.exxl-pszok--city, .exxl-pszok--point) {
		margin-block-start: 1.25rem !important;
	}

	main .wp-block-group:has(> .wp-block-post-title + .wp-block-post-content .exxl-pszok) {
		padding-block-start: .65rem !important;
	}

	main .wp-block-group:has(> .wp-block-post-content .exxl-pszok) > .wp-block-post-title {
		font-size: clamp(1.65rem, 6.6vw, 2.3rem);
		line-height: 1.12;
	}

	.exxl-pszok__summary {
		line-height: 1.34;
	}

	.exxl-pszok__summary p {
		margin-block: .45rem;
	}

	.exxl-pszok__summary p:first-child {
		margin-top: 0;
	}

	.exxl-pszok__summary p:last-child {
		margin-bottom: 0;
	}
}
