/*
 * Page-level overrides matching the live nvpg.nl layout.
 * Loaded AFTER main.css via functions.php.
 */

/* hero-banner styles migrated to blocks/hero-banner/style.css (scoped). */

/* ---- Shared breadcrumb row (injected by page.php + taxonomy-thema.php) ---- */
.row.page-breadcrumb {
	padding: 16px 50px 0;
}
.row.page-breadcrumb .breadcrumb {
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	color: #555;
}
.row.page-breadcrumb .breadcrumb a {
	color: #3a6b1f;
	text-decoration: none;
}
.row.page-breadcrumb .breadcrumb a:hover {
	text-decoration: underline;
}
.row.page-breadcrumb .breadcrumb span[aria-hidden="true"],
.row.page-breadcrumb .breadcrumb > span {
	color: #888;
}
@media (max-width: 768px) {
	.row.page-breadcrumb {
		padding: 12px 20px 0;
	}
}

/* hero-banner --inner variant migrated to blocks/hero-banner/style.css (scoped). */

/* ---- Thema archive grid (2 columns) ---- */
.thema-articles {
	padding: 40px 0;
}
.thema-articles__wrap {
	max-width: 1100px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	box-sizing: border-box;
}
.thema-articles .breadcrumb {
	font-size: 14px;
	color: #555;
	margin-bottom: 20px;
}
.thema-articles .breadcrumb a {
	color: #555;
	text-decoration: underline;
}
.thema-articles__desc {
	margin: 0 0 24px 0;
	font-size: 16px;
	color: #333;
	line-height: 1.6;
}
.thema-articles__title {
	font-family: 'Lato', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #000;
	margin: 0 0 24px 0;
}
.thema-articles__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.thema-articles__card {
	display: flex;
	flex-direction: column;
	background: #f4f4f0;
	border-radius: 20px;
	padding: 20px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s;
	overflow: hidden;
}
.thema-articles__card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.thema-articles__card-image {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	min-height: 180px;
	margin-bottom: 16px;
}
.thema-articles__card-image img {
	max-width: 70%;
	max-height: 160px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.thema-articles__card-body {
	display: flex;
	flex-direction: column;
}
.thema-articles__card-date {
	font-size: 12px;
	color: #777;
	margin-bottom: 8px;
}
.thema-articles__card-title {
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #000;
	margin: 0 0 8px 0;
	line-height: 1.3;
}
.thema-articles__card-excerpt {
	font-size: 14px;
	color: #444;
	margin: 0 0 12px 0;
	line-height: 1.5;
}
.thema-articles__card-more {
	color: #3a6b1f;
	font-size: 14px;
	font-weight: 500;
}
.thema-articles__card-more i {
	margin-left: 4px;
}
.thema-articles__pagination {
	margin-top: 32px;
	text-align: center;
}
.thema-articles__pagination .page-numbers {
	margin: 0 6px;
	padding: 8px 12px;
	border-radius: 6px;
	text-decoration: none;
	color: #000;
}
.thema-articles__pagination .page-numbers.current {
	background: #3a6b1f;
	color: #fff;
}
.thema-articles__empty {
	padding: 32px;
	text-align: center;
	color: #777;
}

/* intro-two-col styles migrated to blocks/intro-two-col/style.css (scoped). */

/* methods-grid duplicate-title rule migrated to blocks/methods-grid/style.css (scoped). */

/* ---- Article detail (single.php) — matches live nvpg.nl exactly ---- */
/* Hero: centered NVPG logo watermark on gradient background, 340px tall. */
.row.article-hero.article-hero--logo {
	background: linear-gradient(180deg, #f6f6f6 0%, #c9c9c9 100%);
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.row.article-hero.article-hero--logo::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('/wp-content/uploads/2026/04/logo-nvpg.webp') center / 900px auto no-repeat;
	opacity: 1;
}
.article-hero__inner {
	position: relative;
	z-index: 2;
}
.article-hero__badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.7);
	color: #333;
	padding: 4px 14px;
	border-radius: 16px;
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	font-weight: 500;
}

.row.article-single {
	padding: 24px 50px 60px;
}
.article-single__wrap {
	max-width: 960px;
	margin: 0 auto;
	font-family: 'Lato', sans-serif;
	color: #1d2914;
}
.article-single__breadcrumb {
	font-size: 14px;
	color: #3a6b1f;
	margin-bottom: 32px;
}
.article-single__breadcrumb a {
	color: #3a6b1f;
	text-decoration: none;
}
.article-single__breadcrumb a:hover {
	text-decoration: underline;
}
.article-single__breadcrumb > span {
	margin: 0 4px;
	color: #888;
}
.article-single__title {
	font-family: 'Lato', sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #000;
	line-height: 1.2;
	margin: 0 0 8px 0;
}
.article-single__date {
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	color: #666;
	margin: 0 0 24px 0;
}
.article-single__content {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
	color: #1d2914;
}
.article-single__content p {
	margin: 0 0 16px 0;
}
.article-single__content strong {
	font-weight: 700;
}
.article-single__content h2,
.article-single__content h3 {
	font-family: 'Lato', sans-serif;
	color: #000;
	margin: 28px 0 10px 0;
}
.article-single__content h2 { font-size: 22px; font-weight: 700; }
.article-single__content h3 { font-size: 18px; font-weight: 500; }
.article-single__content ul {
	list-style: none;
	padding: 0;
	margin: 16px 0;
}
.article-single__content ul li {
	position: relative;
	padding-left: 20px;
	margin: 6px 0;
}
.article-single__content ul li::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: #3a6b1f;
	font-size: 14px;
}

.article-single__share {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin: 48px 0 0;
	padding: 0;
	background: #3a6b1f;
	border-radius: 30px;
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px 20px;
}
.article-single__share-btn {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	transition: opacity 0.15s;
}
.article-single__share-btn:hover {
	opacity: 0.7;
	color: #fff;
}

@media (max-width: 768px) {
	.row.article-hero.article-hero--logo {
		height: 200px;
	}
	.row.article-hero.article-hero--logo::before {
		background-size: 240px;
	}
	.row.article-single {
		padding: 16px 20px 40px;
	}
	.article-single__title {
		font-size: 24px;
	}
	.article-single__share {
		max-width: 280px;
	}
}

/* ---- /leden/ member listing grid ---- */
.leden-list-section {
	padding: 32px 0 48px;
}
.leden-list__wrap {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 50px;
}
.leden-list__heading {
	font-family: 'Lato', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: #000;
	margin: 0 0 24px 0;
}
.leden-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.leden-list__card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #f4f4f0;
	border-radius: 16px;
	padding: 20px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, transform 0.2s;
	min-height: 120px;
}
a.leden-list__card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}
.leden-list__logo {
	flex: 0 0 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 10px;
	padding: 8px;
	height: 80px;
}
.leden-list__logo img {
	max-width: 100px;
	max-height: 64px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.leden-list__info {
	flex: 1 1 auto;
}
.leden-list__name {
	font-family: 'Lato', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #000;
	margin: 0 0 4px 0;
	line-height: 1.3;
}
.leden-list__link {
	color: #3a6b1f;
	font-size: 13px;
	font-weight: 500;
}
.leden-list__link i {
	margin-left: 4px;
}
@media (max-width: 1024px) {
	.leden-list {
		grid-template-columns: repeat(2, 1fr);
	}
	.leden-list__wrap {
		padding: 0 40px;
	}
}
@media (max-width: 640px) {
	.leden-list {
		grid-template-columns: 1fr;
	}
	.leden-list__wrap {
		padding: 0 20px;
	}
	.leden-list__heading {
		font-size: 22px;
	}
}

/* ---- Core Gutenberg block content (over-ons, privacy) — constrain width ---- */
#site-content > p,
#site-content > h1,
#site-content > h2,
#site-content > h3,
#site-content > h4,
#site-content > ul,
#site-content > ol,
#site-content > blockquote,
#site-content > figure {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}
#site-content > p {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #1d2914;
	margin: 0 auto 16px;
}
#site-content > h2,
#site-content > h3 {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	color: #000;
	margin: 32px auto 12px;
}
#site-content > h1 {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 36px;
	color: #000;
	margin: 40px auto 20px;
}

/* ---- Mobile tweaks ---- */
@media (max-width: 768px) {
	.hero-banner--inner .hero-banner__wrap {
		margin: 0 20px;
		height: 220px;
	}
	.hero-banner--inner .hero-banner__title {
		font-size: 28px;
	}
	.thema-articles__wrap {
		padding: 0 20px;
	}
	.thema-articles__grid {
		grid-template-columns: 1fr;
	}
	.thema-articles__card {
		padding: 16px;
	}
	.thema-articles__card-image {
		min-height: 160px;
	}
}
