/* SEO-landingspagina's en kennisbank (seo.css, alleen geladen op afvalstroom-, plaats-, overzichts- en kennisbankpagina's)
	 Zelfde taal als de productpagina: rechte hoeken, wit op lichtgrijs, rood als actiekleur.
	 ========================================================================== */
/* Intro onder de H1 van een afvalstroom */
.bb-stream-page__lead {
	margin-bottom: 8px;
	font-size: 1.125rem;
	line-height: 1.5;
	color: #1F1F1F;
}

/* Blok met kaarten en plaatslinks onder afvalstroom- en plaatspagina's */
.bb-seo-links {
	padding: 56px 0 64px;
	background: #EFEFEF;
}
@media (max-width: 767.98px) {
	.bb-seo-links {
		padding: 40px 0 48px;
	}
}

.bb-scards + .bb-regios {
	margin-top: 48px;
}
.bb-scards__title {
	margin-bottom: 20px;
}
.bb-scards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bb-scards__grid > li {
	display: flex;
	min-width: 0;
}

.bb-scard {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #FFF;
	color: #1F1F1F;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.bb-scard:hover, .bb-scard:focus-visible {
	color: #1F1F1F;
	border-bottom-color: #D6191D;
	transform: translateY(-2px);
}
.bb-scard:focus-visible {
	outline: 2px solid #D6191D;
	outline-offset: 2px;
}
.bb-scard__img img {
	display: block;
	width: 100%;
	height: 140px;
	object-fit: cover;
}
.bb-scard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px 20px;
}
.bb-scard__name {
	padding-right: 24px;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}
.bb-scard__name:after {
	content: "→";
	position: absolute;
	right: 20px;
	color: #D6191D;
}
.bb-scard__text {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #444444;
}
.bb-scard__price {
	margin-top: auto;
	padding-top: 8px;
	font-size: 0.875rem;
	font-weight: 700;
	color: #D6191D;
}

.bb-regios__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bb-regios__list a {
	display: inline-block;
	padding: 8px 14px;
	background: #FFF;
	color: #1F1F1F;
	font-size: 0.875rem;
	text-decoration: none;
	border: 1px solid transparent;
}
.bb-regios__list a:hover, .bb-regios__list a:focus-visible {
	border-color: #D6191D;
	color: #D6191D;
}
.bb-regios__list .is-near a {
	font-weight: 700;
}

/* Melding bezorgtoeslag op plaatspagina's buiten het gratis gebied */
.bb-regio-fee {
	max-width: 640px;
	margin: 24px auto 0;
	padding: 12px 16px;
	background: #EFEFEF;
	border-left: 4px solid #D6191D;
	font-size: 0.875rem;
	text-align: left;
}

/* Overzichtspagina's (afvalstromen, kennisbank) */
.bb-hub {
	padding: 80px 0 64px;
}
@media (max-width: 767.98px) {
	.bb-hub {
		padding-top: 64px;
	}
}
.bb-hub__head {
	max-width: 760px;
	margin-bottom: 32px;
}
.bb-hub__intro {
	max-width: 760px;
	margin: -12px 0 32px;
}
.bb-hub__lead {
	margin-top: 12px;
	font-size: 1.125rem;
	line-height: 1.55;
	color: #444444;
}
.bb-hub .bb-scard {
	background: #FFF;
}
.bb-hub__content {
	padding: 0 0 48px;
}
.bb-hub__content .content-regular h2 {
	margin: 36px 0 12px;
	font-size: 1.75rem !important;
	line-height: 1.25 !important;
}

/* Artikelkaarten */
.bb-acards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bb-acards > li {
	display: flex;
	min-width: 0;
}

.bb-acard {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 22px 24px;
	background: #FFF;
	color: #1F1F1F;
	text-decoration: none;
	border-top: 4px solid #D6191D;
}
.bb-hub .bb-acard {
	background: #FFF;
}
.bb-acard:hover, .bb-acard:focus-visible {
	color: #1F1F1F;
}
.bb-acard:hover .bb-acard__more, .bb-acard:focus-visible .bb-acard__more {
	text-decoration: underline;
}
.bb-acard__title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}
.bb-acard__text {
	font-size: 0.875rem;
	line-height: 1.55;
	color: #444444;
}
.bb-acard__more {
	margin-top: auto;
	padding-top: 4px;
	font-size: 0.875rem;
	font-weight: 700;
	color: #D6191D;
}

/* Artikel */
.bb-article {
	padding: 80px 0 56px;
}
@media (max-width: 767.98px) {
	.bb-article {
		padding-top: 64px;
	}
}
.bb-article__head {
	margin-bottom: 28px;
}
.bb-article__eyebrow {
	margin-bottom: 10px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #D6191D;
}
.bb-article__lead {
	margin-top: 14px;
	font-size: 1.25rem;
	line-height: 1.5;
	color: #444444;
}
.bb-article__body h2 {
	margin: 36px 0 12px !important;
	font-size: 1.75rem !important;
	line-height: 1.25 !important;
}
.bb-article__body h3 {
	margin: 24px 0 8px;
	font-size: 1.25rem;
}
.bb-article__body ul, .bb-article__body ol {
	padding-left: 1.2em;
}

/* Prijstabel ([bb_prijstabel]) */
.bb-pricetable {
	margin: 20px 0 24px;
}
.bb-pricetable__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.bb-pricetable table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	background: #FFF;
}
.bb-pricetable th, .bb-pricetable td {
	padding: 10px 12px;
	border-bottom: 1px solid #EFEFEF;
	text-align: left;
	white-space: nowrap;
}
.bb-pricetable thead th {
	background: #1F1F1F;
	color: #FFF;
	font-weight: 700;
}
.bb-pricetable thead th a {
	color: #FFF;
	text-decoration: none;
}
.bb-pricetable thead th a:hover {
	text-decoration: underline;
}
.bb-pricetable__price {
	font-weight: 700;
}
.bb-pricetable__price a {
	color: #1F1F1F;
	text-decoration: none;
}
.bb-pricetable__price a:hover {
	color: #D6191D;
	text-decoration: underline;
}
.bb-pricetable__link a {
	color: #D6191D;
	font-weight: 700;
}
.bb-pricetable--matrix td:first-child, .bb-pricetable--matrix th:first-child {
	position: sticky;
	left: 0;
	background: inherit;
}
.bb-pricetable--matrix tbody td:first-child {
	background: #FFF;
	font-weight: 700;
}
.bb-pricetable--matrix thead th:first-child {
	z-index: 1;
	background: #1F1F1F;
}
@media (max-width: 767.98px) {
	.bb-pricetable--matrix .bb-pricetable__scroll {
		background: linear-gradient(to left, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0) 16px) right/16px 100% no-repeat;
	}
}
.bb-pricetable__hint {
	display: none;
	margin: 0 0 6px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #444444;
}
@media (max-width: 767.98px) {
	.bb-pricetable__hint {
		display: block;
	}
}
.bb-pricetable__note {
	margin-top: 8px;
	font-size: 0.75rem;
	color: #444444;
}

/* Bestelblok ([bb_cta]) */
.bb-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin: 40px 0 8px;
	padding: 24px 28px;
	background: #1F1F1F;
	color: #FFF;
}
.bb-cta p {
	margin: 0;
	color: #FFF;
}
.bb-cta__text {
	flex: 1 1 320px;
	min-width: 0;
}
.bb-cta__title {
	margin-bottom: 4px !important;
	font-size: 1.375rem;
	font-weight: 700;
}
.bb-cta__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.bb-cta__button {
	display: inline-block;
	padding: 12px 22px;
	background: #D6191D;
	color: #FFF !important;
	font-weight: 700;
	text-decoration: none !important;
}
.bb-cta__button:hover, .bb-cta__button:focus-visible {
	background: #b11518;
}
.bb-cta__phone {
	color: #FFF !important;
	font-size: 0.875rem;
}

/* Gidsdeel op de afvalstroompagina (bestaand donker blok 'section--content-white'):
	 leesbare links en tabel, koppen in één rustige schaal. */
.tax-pa_afvalstromen .section--content-white .content-regular h2 {
	margin: 32px 0 12px;
	font-size: 1.75rem !important;
	line-height: 1.25 !important;
}
.tax-pa_afvalstromen .section--content-white .content-regular h3 {
	margin: 24px 0 8px;
	font-size: 1.25rem !important;
	line-height: 1.3 !important;
}
.tax-pa_afvalstromen .section--content-white .content-regular > h2:first-child,
.tax-pa_afvalstromen .section--content-white .content-regular > h3:first-child {
	margin-top: 0;
}
.tax-pa_afvalstromen .section--content-white .content-regular p,
.tax-pa_afvalstromen .section--content-white .content-regular ul,
.tax-pa_afvalstromen .section--content-white .content-regular ol {
	margin-bottom: 20px;
}
.tax-pa_afvalstromen .section--content-white .content-regular a:not(.bb-cta__button) {
	color: #FFF;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.5);
	text-underline-offset: 3px;
}
.tax-pa_afvalstromen .section--content-white .content-regular a:not(.bb-cta__button):hover, .tax-pa_afvalstromen .section--content-white .content-regular a:not(.bb-cta__button):focus-visible {
	text-decoration-color: #FFF;
}
.tax-pa_afvalstromen .section--content-white .content_bottom h2 {
	margin-top: 0;
}

/* Tabel altijd donkere tekst op wit, ook binnen een blok met witte tekst */
.bb-pricetable {
	color: #1F1F1F;
}
.bb-pricetable td {
	color: #1F1F1F;
}
.section--content-white .bb-pricetable__note {
	color: rgba(255, 255, 255, 0.8);
}
.bb-pricetable__link a, .section--content-white .bb-pricetable__link a {
	color: #D6191D !important;
	text-decoration: none !important;
}
.section--content-white .bb-pricetable__price a {
	color: #1F1F1F !important;
	text-decoration: none !important;
}

/* Lopende tekst op plaatspagina's: leesbare regellengte en dezelfde kopschaal als de afvalstroompagina's */
.page-template-regio-template .section--content .content-regular {
	max-width: 760px;
	margin: 0 auto;
}
.page-template-regio-template .section--content .content-regular h2 {
	margin: 40px 0 12px;
	font-size: 1.75rem !important;
	line-height: 1.25 !important;
}
.page-template-regio-template .section--content .content-regular h2:first-child {
	margin-top: 0;
}
.page-template-regio-template .section--content .content-regular h3 {
	margin: 24px 0 8px;
	font-size: 1.25rem !important;
	line-height: 1.3 !important;
}
.page-template-regio-template .section--content .content-regular p,
.page-template-regio-template .section--content .content-regular ul,
.page-template-regio-template .section--content .content-regular ol {
	margin-bottom: 20px;
}

/* Kolommen die precies vol lopen: 9 kaarten = 3 × 3, 10 kaarten = 5 × 2 */
@media (min-width: 992px) {
	.bb-scards--3 .bb-scards__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.bb-scards--5 .bb-scards__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}
@media (min-width: 576px) and (max-width: 991.98px) {
	.bb-scards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
/* Afvalstroompagina: eerst kiezen en bestellen, 'wat mag erin' als kader ernaast.
	 De schuine witte vlakken van .section--types horen bij de oude volgorde en vallen hier weg. */
.bb-wastepage .section--types.bb-stream-page--order-first {
	padding-top: 80px;
	padding-bottom: 64px;
	background: #EFEFEF;
}
.bb-wastepage .section--types.bb-stream-page--order-first:before, .bb-wastepage .section--types.bb-stream-page--order-first:after {
	display: none;
}
@media (max-width: 767.98px) {
	.bb-wastepage .section--types.bb-stream-page--order-first {
		padding-top: 64px;
		padding-bottom: 40px;
	}
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__order {
	padding-right: 40px;
}
@media (max-width: 991.98px) {
	.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__order {
		padding-right: 12px;
	}
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__lead {
	max-width: 640px;
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__intro {
	margin: 24px 0 0;
	font-weight: 700;
	color: #1F1F1F;
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-srows {
	margin-top: 12px;
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__info {
	display: block;
	padding: 0 12px;
}
@media (max-width: 991.98px) {
	.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__info {
		margin-top: 32px;
	}
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__box {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
	background: #FFF;
}
@media (min-width: 992px) {
	.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__box {
		position: sticky;
		top: 140px;
	}
}
@media (max-width: 767.98px) {
	.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__box {
		padding: 24px 20px;
	}
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__head .heading-xxs {
	font-size: 22px;
	line-height: 1.25;
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__lists {
	gap: 24px;
	font-size: 0.9375rem;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__lists {
		grid-template-columns: 1fr;
	}
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__lists .garbage-listing {
	margin-top: 0.5rem;
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-garbage__title {
	margin: 0;
	font-weight: 700;
	color: #1F1F1F;
}
.bb-wastepage .section--types.bb-stream-page--order-first .bb-stream-page__notice {
	font-size: 0.9375rem;
}
