/* ==========================================================================
   PG Harlingen — design v4 ("PG Harlingen — Finale set", Pencil)
   Loaded AFTER the parent theme and plugins (see functions.php), so most
   rules here win on specificity alone; !important is only used where the
   parent theme / old child styles use it too.
   ========================================================================== */

:root {
	--pg-orange: #F4A024;
	--pg-orange-dark: #E08D10;
	--pg-orange-soft: rgba(244, 160, 36, 0.18);
	--pg-coral: #D65745;
	--pg-ink: #2D2D2D;
	--pg-muted: #6B6257;
	--pg-cream: #FDF6EC;
	--pg-line: #EFE3CF;
	--pg-white: #FFFFFF;
	--pg-footer-text: #CFC8BD;
	--pg-footer-dim: #A8A199;
	--pg-footer-faint: #8C857C;
	--pg-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--pg-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--pg-maxw: 1296px;
	--pg-pad: clamp(20px, 5vw, 72px);
	--pg-radius: 8px;
	--pg-ease: 0.2s ease;
}

/* ---------- Base ---------- */
body.pgh-v4 {
	background: var(--pg-white) !important;
	color: var(--pg-ink);
	font-family: var(--pg-font-body) !important;
	font-size: 16px;
	line-height: 1.6;
}

body.pgh-v4 #page.site {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	background: var(--pg-white) !important;
}

body.pgh-v4 .site-inner {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.pgh-v4 #content.site-content {
	padding: 0 !important;
	margin: 0 !important;
}

body.pgh-v4 h1,
body.pgh-v4 h2,
body.pgh-v4 h3,
body.pgh-v4 h4 {
	font-family: var(--pg-font-display) !important;
	font-optical-sizing: auto;
	font-weight: 600;
	color: var(--pg-ink);
	letter-spacing: -0.01em;
	line-height: 1.2;
}

body.pgh-v4 a {
	color: var(--pg-orange-dark);
}

body.pgh-v4 ::selection {
	background: var(--pg-orange);
	color: var(--pg-white);
}

.pgh-container {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--pg-maxw) + 2 * var(--pg-pad));
	margin: 0 auto;
	padding-left: var(--pg-pad);
	padding-right: var(--pg-pad);
}

.pgh-eyebrow {
	display: block;
	font-family: var(--pg-font-body);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pg-orange-dark);
}

.pgh-eyebrow--orange {
	color: var(--pg-orange);
}

.pgh-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--pg-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--pg-orange-dark) !important;
	text-decoration: none !important;
	transition: color var(--pg-ease);
}

.pgh-link svg {
	flex: none;
	transition: transform var(--pg-ease);
}

.pgh-link:hover,
.pgh-link:focus {
	color: var(--pg-orange) !important;
}

.pgh-link:hover svg {
	transform: translateX(3px);
}

.pgh-empty {
	color: var(--pg-muted);
	font-style: italic;
	margin: 0;
}

/* ---------- Buttons ---------- */
.pgh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--pg-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color var(--pg-ease), color var(--pg-ease), border-color var(--pg-ease), transform var(--pg-ease), box-shadow var(--pg-ease);
}

.pgh-btn svg {
	flex: none;
}

.pgh-btn--primary {
	background: var(--pg-orange);
	color: var(--pg-white) !important;
}

.pgh-btn--primary:hover,
.pgh-btn--primary:focus {
	background: var(--pg-orange-dark);
	color: var(--pg-white) !important;
	transform: translateY(-1px);
}

.pgh-btn--glow {
	box-shadow: 0 8px 24px rgba(244, 160, 36, 0.38);
}

.pgh-btn--ghost {
	background: transparent;
	color: var(--pg-white) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.pgh-btn--ghost:hover,
.pgh-btn--ghost:focus {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--pg-white);
	color: var(--pg-white) !important;
}

.pgh-btn--white {
	background: var(--pg-white);
	color: var(--pg-orange-dark) !important;
	padding: 13px 24px;
	font-size: 14px;
	gap: 8px;
}

.pgh-btn--white:hover,
.pgh-btn--white:focus {
	background: var(--pg-cream);
	color: var(--pg-orange-dark) !important;
}

.pgh-btn--outline {
	background: transparent;
	color: var(--pg-ink) !important;
	border: 1px solid rgba(45, 45, 45, 0.25);
}

.pgh-btn--outline:hover,
.pgh-btn--outline:focus {
	border-color: var(--pg-ink);
	color: var(--pg-ink) !important;
}

.pgh-btn--md {
	padding: 14px 26px;
	font-size: 14px;
}

.pgh-btn--nav {
	padding: 10px 20px;
	font-size: 13px;
	gap: 8px;
}

.pgh-btn:focus-visible {
	outline: 3px solid rgba(244, 160, 36, 0.5);
	outline-offset: 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */

body.pgh-v4 #masthead.pgh-header {
	position: relative;
	z-index: 100;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--pg-white) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	border-bottom: 1px solid var(--pg-line);
}

.pgh-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-top: 14px;
	padding-bottom: 14px;
	min-height: 68px;
}

body.pgh-v4 .pgh-header__brand {
	flex: none;
	width: auto;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left;
}

body.pgh-v4 .pgh-header__brand .custom-logo-link {
	display: block;
	line-height: 0;
}

body.pgh-v4 .pgh-header__brand .custom-logo {
	display: block;
	height: auto;
	width: auto;
	max-width: 240px;
	max-height: 51px !important;
	transform: none !important;
}

.pgh-header__title {
	font-family: var(--pg-font-display) !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	color: var(--pg-ink) !important;
	text-decoration: none;
}

.pgh-header__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.pgh-header__cta {
	display: none;
}

/* Hamburger (parent theme JS toggles .toggled-on on #menu-toggle + #site-header-menu) */
body.pgh-v4 button#menu-toggle.pgh-header__toggle {
	position: static !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--pg-white) !important;
	color: var(--pg-ink) !important;
	border: 1px solid var(--pg-line) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer;
	transition: border-color var(--pg-ease), background-color var(--pg-ease);
}

body.pgh-v4 button#menu-toggle.pgh-header__toggle:hover,
body.pgh-v4 button#menu-toggle.pgh-header__toggle:focus {
	background: var(--pg-cream) !important;
	border-color: var(--pg-orange) !important;
	transform: none;
}

body.pgh-v4 button#menu-toggle.pgh-header__toggle::before,
body.pgh-v4 button#menu-toggle.pgh-header__toggle::after {
	content: none !important;
	display: none !important;
}

.pgh-header__toggle svg {
	display: block;
}

.pgh-header__toggle .pgh-header__toggle-close {
	display: none;
}

.pgh-header__toggle.toggled-on .pgh-header__toggle-open {
	display: none;
}

.pgh-header__toggle.toggled-on .pgh-header__toggle-close {
	display: block;
}

/* Menu panel (mobile / tablet) */
body.pgh-v4 #site-header-menu.pgh-header__menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99;
	width: auto !important;
	margin: 0 !important;
	padding: 8px var(--pg-pad) 20px;
	background: var(--pg-white);
	border-top: 1px solid var(--pg-line);
	border-bottom: 1px solid var(--pg-line);
	box-shadow: 0 16px 32px rgba(45, 45, 45, 0.08);
}

body.pgh-v4 #site-header-menu.pgh-header__menu.toggled-on {
	display: block;
}

html.no-js body.pgh-v4 #site-header-menu.pgh-header__menu {
	display: block;
	position: static;
	box-shadow: none;
}

body.pgh-v4 .pgh-nav {
	margin: 0 !important;
	padding: 0 !important;
	text-align: left;
	border: 0 !important;
}

body.pgh-v4 .pgh-nav .pgh-nav__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	padding: 0 !important;
}

body.pgh-v4 .pgh-nav .pgh-nav__list > li {
	position: relative;
	border-bottom: 1px solid var(--pg-line);
	white-space: nowrap;
}

body.pgh-v4 .pgh-nav .pgh-nav__list a {
	display: block;
	padding: 14px 0 !important;
	font-family: var(--pg-font-body) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--pg-ink) !important;
	text-decoration: none !important;
	border: 0 !important;
	transition: color var(--pg-ease);
}

body.pgh-v4 .pgh-nav .pgh-nav__list a::after,
body.pgh-v4 .pgh-nav .pgh-nav__list a::before {
	content: none !important;
}

body.pgh-v4 .pgh-nav .pgh-nav__list a:hover,
body.pgh-v4 .pgh-nav .pgh-nav__list a:focus,
body.pgh-v4 .pgh-nav .current-menu-item > a,
body.pgh-v4 .pgh-nav .current-menu-ancestor > a,
body.pgh-v4 .pgh-nav .current-menu-parent > a,
body.pgh-v4 .pgh-nav .current_page_item > a,
body.pgh-v4 .pgh-nav .current_page_ancestor > a {
	color: var(--pg-orange) !important;
}

body.pgh-v4 .pgh-nav .current-menu-item > a,
body.pgh-v4 .pgh-nav .current-menu-ancestor > a,
body.pgh-v4 .pgh-nav .current_page_item > a,
body.pgh-v4 .pgh-nav .current_page_ancestor > a {
	font-weight: 600 !important;
}

/* Sub menus */
body.pgh-v4 .pgh-nav .sub-menu {
	list-style: none;
	margin: 0 0 8px 16px !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

body.pgh-v4 .pgh-nav .sub-menu li {
	border: 0 !important;
	background: transparent !important;
}

body.pgh-v4 .pgh-nav .sub-menu a {
	padding: 8px 0 !important;
	font-size: 15px !important;
}

body.pgh-v4 .pgh-nav .dropdown-toggle {
	display: none !important;
}

.pgh-header__menu-cta {
	margin-top: 16px;
}

@media (min-width: 600px) {
	.pgh-header__cta {
		display: inline-flex;
	}

	.pgh-header__menu-cta {
		display: none;
	}
}

@media (min-width: 1180px) {
	.pgh-header__inner {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	body.pgh-v4 #site-header-menu.pgh-header__menu,
	body.pgh-v4 #site-header-menu.pgh-header__menu.toggled-on {
		display: flex !important;
		position: static;
		order: 2;
		margin-left: auto !important;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		align-items: center;
	}

	.pgh-header__actions {
		order: 3;
		margin-left: 0;
	}

	body.pgh-v4 button#menu-toggle.pgh-header__toggle {
		display: none !important;
	}

	body.pgh-v4 .pgh-nav .pgh-nav__list {
		flex-direction: row;
		align-items: center;
		gap: 28px;
	}

	body.pgh-v4 .pgh-nav .pgh-nav__list > li {
		border: 0;
	}

	body.pgh-v4 .pgh-nav .pgh-nav__list a {
		padding: 6px 0 !important;
		font-size: 14px !important;
	}

	body.pgh-v4 .pgh-nav .pgh-nav__list > li > .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: -16px;
		min-width: 220px;
		margin: 8px 0 0 !important;
		padding: 8px 16px !important;
		background: var(--pg-white) !important;
		border: 1px solid var(--pg-line) !important;
		border-radius: 8px;
		box-shadow: 0 16px 32px rgba(45, 45, 45, 0.1) !important;
	}

	body.pgh-v4 .pgh-nav .pgh-nav__list > li:hover > .sub-menu,
	body.pgh-v4 .pgh-nav .pgh-nav__list > li:focus-within > .sub-menu {
		display: block;
	}

	body.pgh-v4 .pgh-nav .sub-menu a {
		white-space: nowrap;
	}
}

@media (max-width: 599px) {
	body.pgh-v4 .pgh-header__brand .custom-logo {
		max-height: 40px !important;
		max-width: 190px;
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */

.pgh-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 620px;
	background-size: cover;
	background-position: center;
	background-color: #221306;
}

.pgh-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(34, 19, 6, 0.88) 0%, rgba(34, 19, 6, 0.55) 30%, rgba(34, 19, 6, 0) 62%);
}

.pgh-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 72px;
}

.pgh-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
	max-width: 840px;
}

.pgh-hero__eyebrow {
	color: #FFD79A;
	font-size: 12px;
	letter-spacing: 0.2em;
}

body.pgh-v4 .pgh-hero__title {
	margin: 0 !important;
	color: var(--pg-white) !important;
	font-size: clamp(34px, 4.2vw, 60px) !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	letter-spacing: -0.017em;
}

.pgh-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.pgh-hero__caption {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.4);
	color: var(--pg-white);
	font-size: 12.5px;
	line-height: 1.3;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.pgh-hero {
		min-height: 520px;
	}

	.pgh-hero__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding-bottom: 24px;
	}

	.pgh-hero__content {
		display: contents;
	}

	.pgh-hero__eyebrow {
		order: 1;
		font-size: 9.5px;
		letter-spacing: 0.17em;
	}

	body.pgh-v4 .pgh-hero__title {
		order: 2;
	}

	.pgh-hero__caption {
		display: none; /* photo caption pill: desktop/tablet only */
	}

	.pgh-hero__ctas {
		order: 4;
		flex-direction: column;
		gap: 10px;
	}

	.pgh-hero__ctas .pgh-btn {
		width: 100%;
	}
}

/* ==========================================================================
   "Eerstvolgende dienst" band
   ========================================================================== */

.pgh-next-service {
	background: linear-gradient(90deg, #F4A024 0%, #E08D10 100%);
	color: var(--pg-white);
}

.pgh-next-service__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	padding-top: 26px;
	padding-bottom: 26px;
}

.pgh-next-service__head {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1 1 auto;
	min-width: 0;
}

.pgh-next-service__icon {
	display: none;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: var(--pg-white);
	color: var(--pg-orange-dark);
	align-items: center;
	justify-content: center;
}

.pgh-next-service__label {
	display: block;
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
}

body.pgh-v4 .pgh-next-service__title {
	margin: 0 !important;
	font-size: 24px !important;
	line-height: 1.2 !important;
	color: var(--pg-white) !important;
}

body.pgh-v4 .pgh-next-service__title a {
	color: var(--pg-white) !important;
	text-decoration: none;
}

body.pgh-v4 .pgh-next-service__title a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.pgh-next-service__divider {
	flex: none;
	width: 1px;
	height: 44px;
	background: rgba(255, 255, 255, 0.25);
}

.pgh-next-service__meta {
	flex: 0 0 auto;
	min-width: 240px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pgh-next-service__meta li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.pgh-next-service__meta svg {
	flex: none;
	color: var(--pg-white);
}

.pgh-next-service__cta {
	margin-left: auto;
}

@media (max-width: 1179px) {
	.pgh-next-service__icon {
		display: flex;
	}

	.pgh-next-service__divider {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 1179px) {
	.pgh-next-service__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 6px 24px;
		padding-top: 22px;
		padding-bottom: 22px;
	}

	.pgh-next-service__cta {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.pgh-next-service__meta {
		grid-column: 1;
		min-width: 0;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 16px;
		padding-left: 56px;
	}

	.pgh-next-service__meta li svg {
		display: none;
	}

	.pgh-next-service__meta li + li::before {
		content: '·';
		margin-right: 8px;
	}
}

@media (max-width: 767px) {
	.pgh-next-service__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.pgh-next-service__head {
		gap: 14px;
	}

	body.pgh-v4 .pgh-next-service__title {
		font-size: 19px !important;
	}

	.pgh-next-service__meta {
		min-width: 0;
		gap: 8px;
	}

	.pgh-next-service__cta {
		margin-left: 0;
		width: 100%;
	}
}

/* ==========================================================================
   "Waar wij voor staan"
   ========================================================================== */

.pgh-values {
	background: var(--pg-white);
}

.pgh-values__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	padding-top: clamp(48px, 7vw, 104px);
	padding-bottom: clamp(48px, 7vw, 104px);
}

.pgh-values__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

body.pgh-v4 .pgh-section-title {
	margin: 0 !important;
	font-size: clamp(32px, 3.1vw, 44px) !important;
	line-height: 1.12 !important;
	letter-spacing: -0.018em;
}

.pgh-values__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--pg-muted);
}

.pgh-values__rows {
	display: flex;
	flex-direction: column;
}

.pgh-value {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 11px 16px;
	padding: 24px 0;
	border-top: 1px solid var(--pg-line);
}

.pgh-value__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: var(--pg-orange-soft);
	color: var(--pg-orange-dark);
}

body.pgh-v4 .pgh-value__title {
	margin: 0 !important;
	font-size: 22px !important;
	line-height: 1.25 !important;
	align-self: center;
}

.pgh-value__body {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.pgh-value__body p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--pg-muted);
}

.pgh-value__body p a {
	color: var(--pg-orange-dark);
	font-weight: 500;
	text-decoration: none;
	box-shadow: none !important;
}

.pgh-value__body p a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pgh-value__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.pgh-value__body .pgh-link {
	font-size: 13.5px;
}

@media (min-width: 768px) {
	.pgh-value {
		grid-template-columns: 42px 200px minmax(0, 1fr);
		gap: 22px;
		padding: 26px 0;
		align-items: start;
	}

	body.pgh-v4 .pgh-value__title {
		align-self: start;
		padding-top: 6px;
	}

	.pgh-value__body {
		grid-column: auto;
	}

	.pgh-value__body p {
		font-size: 15.5px;
	}

	.pgh-value__body .pgh-link {
		font-size: 14px;
	}
}

@media (min-width: 1000px) {
	.pgh-values__inner {
		grid-template-columns: 400px minmax(0, 1fr);
		gap: 96px;
	}

	.pgh-value {
		grid-template-columns: 48px 230px minmax(0, 1fr);
		gap: 26px;
		padding: 30px 0;
	}

	.pgh-value__badge {
		width: 48px;
		height: 48px;
	}

	body.pgh-v4 .pgh-value__title {
		font-size: 24px !important;
	}

	.pgh-value__body .pgh-link {
		font-size: 15px;
	}
}

/* ==========================================================================
   Jubileum split
   ========================================================================== */

.pgh-jubileum {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	background: var(--pg-ink);
	color: var(--pg-white);
}

.pgh-jubileum__photo {
	min-height: 240px;
	background-size: cover;
	background-position: center;
}

.pgh-jubileum__panel {
	display: flex;
	align-items: center;
	padding: 40px var(--pg-pad);
}

.pgh-jubileum__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	max-width: 540px;
}

body.pgh-v4 .pgh-jubileum__title {
	margin: 0 !important;
	color: var(--pg-white) !important;
	font-size: clamp(32px, 3.5vw, 50px) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em;
}

.pgh-jubileum__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--pg-footer-text);
}

.pgh-jubileum__ctas {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin-top: 8px;
}

@media (min-width: 768px) {
	.pgh-jubileum {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		min-height: 420px;
	}

	.pgh-jubileum__photo {
		min-height: 100%;
	}

	.pgh-jubileum__panel {
		padding: 56px clamp(32px, 6vw, 96px);
	}

	.pgh-jubileum__content {
		gap: 20px;
	}

	.pgh-jubileum__text {
		font-size: 16.5px;
	}

	.pgh-jubileum__ctas {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 12px;
		width: auto;
	}
}

@media (min-width: 1100px) {
	.pgh-jubileum {
		min-height: 480px;
	}
}

/* ==========================================================================
   Laatste nieuws + Agenda
   ========================================================================== */

.pgh-updates {
	background: var(--pg-cream);
}

.pgh-updates__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
	padding-top: clamp(48px, 7vw, 104px);
	padding-bottom: clamp(48px, 7vw, 104px);
}

.pgh-updates__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	margin-bottom: 24px;
	border-bottom: 2px solid var(--pg-ink);
}

body.pgh-v4 .pgh-updates__title {
	margin: 0 !important;
	font-size: clamp(26px, 2.3vw, 32px) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.016em;
}

.pgh-updates__head .pgh-link {
	flex: none;
	margin-bottom: 4px;
}

/* Featured post */
.pgh-news-featured {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--pg-line);
}

.pgh-news-featured__meta {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pg-orange-dark);
}

body.pgh-v4 .pgh-news-featured__title {
	margin: 0 !important;
	font-size: clamp(23px, 2.1vw, 29px) !important;
	line-height: 1.2 !important;
	letter-spacing: -0.014em;
}

body.pgh-v4 .pgh-news-featured__title a,
body.pgh-v4 .pgh-news-item__title a,
body.pgh-v4 .pgh-event-item__title a {
	color: var(--pg-ink) !important;
	text-decoration: none !important;
	transition: color var(--pg-ease);
}

body.pgh-v4 .pgh-news-featured__title a:hover,
body.pgh-v4 .pgh-news-item__title a:hover,
body.pgh-v4 .pgh-event-item__title a:hover {
	color: var(--pg-orange-dark) !important;
}

.pgh-news-featured__excerpt {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--pg-muted);
}

/* Compact rows */
.pgh-news-list,
.pgh-events-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pgh-news-item {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	padding: 24px 0;
	border-bottom: 1px solid var(--pg-line);
}

.pgh-news-item:last-child {
	border-bottom: 0;
}

.pgh-news-item__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 70px;
	border-radius: 5px;
	overflow: hidden;
	background: radial-gradient(circle at center, #FFE1AC 0%, #F4A024 100%);
	color: var(--pg-white);
}

/* Beat the global link colour so the placeholder icon stays white */
body.pgh-v4 .pgh-news-item__thumb {
	color: var(--pg-white);
}

.pgh-news-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0 !important;
}

.pgh-news-item__date {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	color: var(--pg-muted);
}

body.pgh-v4 .pgh-news-item__title {
	margin: 0 !important;
	font-size: 18.5px !important;
	line-height: 1.35 !important;
}

.pgh-news-item__arrow {
	display: inline-flex;
	padding: 4px;
	color: var(--pg-orange) !important;
	transition: transform var(--pg-ease);
}

.pgh-news-item__arrow:hover {
	transform: translate(2px, -2px);
}

.pgh-news-item__excerpt {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--pg-muted);
}

/* Agenda rows */
.pgh-event-item {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid var(--pg-line);
}

.pgh-event-item:first-child {
	padding-top: 0;
}

.pgh-event-item:last-child {
	border-bottom: 0;
}

.pgh-event-item__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	width: 54px;
	height: 56px;
	border-radius: 6px;
	background: var(--pg-orange-soft);
	line-height: 1;
}

.pgh-event-item__month {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pg-orange-dark);
}

.pgh-event-item__day {
	font-family: var(--pg-font-display);
	font-size: 21px;
	font-weight: 600;
	color: var(--pg-ink);
}

body.pgh-v4 .pgh-event-item__title {
	margin: 0 0 4px !important;
	font-size: 17px !important;
	line-height: 1.3 !important;
}

.pgh-event-item__meta {
	margin: 0;
	font-size: 13px;
	color: var(--pg-muted);
}

@media (min-width: 1000px) {
	.pgh-updates__inner {
		grid-template-columns: minmax(0, 832fr) minmax(0, 380fr);
		gap: 84px;
	}
}

@media (max-width: 599px) {
	.pgh-news-item {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 14px;
		padding: 22px 0;
	}

	.pgh-news-item__thumb {
		width: 76px;
		height: 58px;
	}

	.pgh-news-item__arrow {
		display: none;
	}

	body.pgh-v4 .pgh-news-item__title {
		font-size: 16px !important;
	}

	.pgh-event-item {
		grid-template-columns: 50px minmax(0, 1fr);
		gap: 14px;
		padding: 18px 0;
	}

	.pgh-event-item__date {
		width: 50px;
		height: 52px;
	}

	body.pgh-v4 .pgh-event-item__title {
		font-size: 16px !important;
	}
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.pgh-cta {
	background: var(--pg-cream);
}

.pgh-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	padding-top: clamp(48px, 6vw, 88px);
	padding-bottom: clamp(48px, 6vw, 88px);
}

body.pgh-v4 .pgh-cta__title {
	margin: 0 0 12px !important;
	font-size: clamp(30px, 2.7vw, 38px) !important;
	line-height: 1.15 !important;
	letter-spacing: -0.018em;
}

.pgh-cta__text p {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--pg-muted);
}

.pgh-cta__actions {
	flex: none;
	display: flex;
	gap: 14px;
}

@media (max-width: 999px) {
	.pgh-cta__actions {
		flex-direction: column;
		gap: 12px;
	}
}

@media (max-width: 767px) {
	.pgh-cta__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.pgh-cta__text p {
		font-size: 15px;
	}

	.pgh-cta__actions .pgh-btn {
		width: 100%;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

body.pgh-v4 #colophon.pgh-footer {
	margin: 0 !important;
	padding: 0 !important;
	background: var(--pg-ink) !important;
	color: var(--pg-footer-text);
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	float: none !important;
	width: auto !important;
	display: block !important;
	clear: both;
}

.pgh-footer__inner {
	padding-top: clamp(44px, 6vw, 80px);
	padding-bottom: 30px;
}

.pgh-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 30px;
}

.pgh-footer__logo {
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	padding: 11px 15px;
	border-radius: 6px;
	background: var(--pg-white);
	line-height: 0;
	text-decoration: none !important;
}

.pgh-footer__logo img {
	display: block;
	width: auto;
	height: auto;
	max-height: 43px;
	max-width: 100%;
	border-radius: 0 !important;
}

.pgh-footer__logo span {
	display: block;
	line-height: 1.2;
	font-family: var(--pg-font-display);
	font-size: 18px;
	color: var(--pg-ink);
}

.pgh-footer__address {
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--pg-footer-dim);
}

body.pgh-v4 .pgh-footer__heading {
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: 0 !important;
	font-family: var(--pg-font-body) !important;
	font-size: 10.5px !important;
	font-weight: 600 !important;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pg-orange) !important;
}

.pgh-footer__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pgh-footer__list li {
	font-size: 14px;
	line-height: 1.5;
	color: var(--pg-footer-text);
}

.pgh-footer__list a {
	color: var(--pg-footer-text) !important;
	text-decoration: none !important;
	transition: color var(--pg-ease);
}

.pgh-footer__list a:hover,
.pgh-footer__list a:focus {
	color: var(--pg-white) !important;
}

.pgh-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: clamp(30px, 5vw, 56px);
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pgh-footer__copy {
	margin: 0;
	font-size: 12px;
	color: var(--pg-footer-faint);
}

.pgh-footer__bottom-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pgh-footer__bottom-links a {
	font-size: 11.5px;
	color: var(--pg-footer-faint) !important;
	text-decoration: none !important;
	transition: color var(--pg-ease);
}

.pgh-footer__bottom-links a:hover,
.pgh-footer__bottom-links a:focus {
	color: var(--pg-white) !important;
}

@media (min-width: 768px) {
	.pgh-footer__grid {
		grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
		gap: 40px;
	}

	.pgh-footer__logo {
		padding: 12px 16px;
	}

	.pgh-footer__address {
		font-size: 15px;
	}

	body.pgh-v4 .pgh-footer__heading {
		font-size: 11px !important;
		letter-spacing: 0.2em;
		margin-bottom: 20px !important;
	}

	.pgh-footer__list {
		gap: 16px;
	}

	.pgh-footer__list li {
		font-size: 15px;
	}

	.pgh-footer__bottom {
		padding-top: 24px;
	}

	.pgh-footer__copy,
	.pgh-footer__bottom-links a {
		font-size: 13px;
	}

	.pgh-footer__bottom-links {
		gap: 24px;
	}
}

/* ==========================================================================
   Subpages — page header
   ========================================================================== */

.pgh-page-header {
	background: var(--pg-cream);
	border-bottom: 1px solid var(--pg-line);
}

.pgh-page-header__inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: clamp(32px, 4vw, 56px);
	padding-bottom: clamp(32px, 4vw, 56px);
}

.pgh-page-header__eyebrow {
	font-size: 11.5px;
}

body.pgh-v4 .pgh-page-header__title {
	margin: 0 !important;
	font-size: clamp(34px, 3.7vw, 52px) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.023em;
}

.pgh-page-header__subtitle {
	margin: 4px 0 0;
	max-width: 720px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--pg-muted);
}

/* ==========================================================================
   Subpages — content wrap
   ========================================================================== */

.pgh-page-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--pg-maxw) + 2 * var(--pg-pad));
	margin: 0 auto;
	padding: clamp(40px, 5vw, 64px) var(--pg-pad);
}

.pgh-page-wrap--has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
}

@media (min-width: 900px) {
	.pgh-page-wrap--has-sidebar {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}

body.pgh-v4 .pgh-page-wrap #primary.content-area {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.pgh-v4 .pgh-page-wrap .site-main {
	margin: 0 !important;
	padding: 0 !important;
}

body.pgh-v4 .pgh-page-wrap .site-main > article {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.pgh-v4 .pgh-page-wrap .entry-header .entry-title {
	display: none !important;
}

body.pgh-v4 .pgh-page-wrap .entry-header {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.pgh-v4 .pgh-page-wrap .post-thumbnail {
	margin: 0 0 32px !important;
}

body.pgh-v4 .pgh-page-wrap .post-thumbnail img {
	border-radius: 8px !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content,
body.pgh-v4 .pgh-page-wrap .entry-summary {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 16px !important;
	line-height: 1.7 !important;
	color: var(--pg-ink);
}

body.pgh-v4 .pgh-page-wrap .entry-content > * + * {
	margin-top: 1.1em;
}

body.pgh-v4 .pgh-page-wrap .entry-content p {
	color: var(--pg-ink);
}

body.pgh-v4 .pgh-page-wrap .entry-content h2 {
	margin: 2em 0 0.6em !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: clamp(24px, 2vw, 28px) !important;
	line-height: 1.2 !important;
	color: var(--pg-ink) !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content h3 {
	margin: 1.6em 0 0.4em !important;
	font-size: 19px !important;
	line-height: 1.3 !important;
	color: var(--pg-ink) !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content h4 {
	margin: 1.4em 0 0.4em !important;
	font-size: 17px !important;
	color: var(--pg-ink) !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content > :first-child {
	margin-top: 0 !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content a:not(.wp-block-button__link):not(.pgh-btn) {
	color: var(--pg-orange-dark) !important;
	font-weight: 500;
	text-decoration: none;
	box-shadow: none !important;
	border-bottom: 0 !important;
	transition: color var(--pg-ease);
}

body.pgh-v4 .pgh-page-wrap .entry-content a:not(.wp-block-button__link):not(.pgh-btn):hover {
	color: var(--pg-orange) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.pgh-v4 .pgh-page-wrap .entry-content img {
	max-width: 100%;
	height: auto;
	border: 0 !important;
	border-radius: 8px !important;
}

/* Twenty Sixteen shifts wide images in posts 40% to the left (into its meta column); v4 has no such column */
body.pgh-v4 .pgh-page-wrap .entry-content img.below-entry-meta,
body.pgh-v4 .pgh-page-wrap .entry-content figure.below-entry-meta {
	margin-left: 0;
	max-width: 100%;
}

body.pgh-v4 .pgh-page-wrap .entry-content img.aligncenter.below-entry-meta {
	margin-left: auto;
	margin-right: auto;
}

body.pgh-v4 .pgh-page-wrap .entry-content .alignleft img,
body.pgh-v4 .pgh-page-wrap .entry-content figure.alignleft img {
	border-radius: 0 !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-image,
body.pgh-v4 .pgh-page-wrap .entry-content figure {
	margin-left: 0;
	margin-right: 0;
}

body.pgh-v4 .pgh-page-wrap .entry-content .has-text-align-center,
body.pgh-v4 .pgh-page-wrap .entry-content h2.has-text-align-center,
body.pgh-v4 .pgh-page-wrap .entry-content h3.has-text-align-center {
	text-align: center;
}

body.pgh-v4 .pgh-page-wrap .entry-content blockquote {
	margin: 1.4em 0 !important;
	padding: 18px 22px !important;
	background: var(--pg-cream) !important;
	border-left: 4px solid var(--pg-orange) !important;
	border-radius: 0 8px 8px 0 !important;
	color: var(--pg-ink);
}

body.pgh-v4 .pgh-page-wrap .entry-content hr {
	height: 1px !important;
	margin: 2em 0 !important;
	background: var(--pg-line) !important;
	opacity: 1;
}

body.pgh-v4 .pgh-page-wrap .entry-content ul,
body.pgh-v4 .pgh-page-wrap .entry-content ol {
	padding-left: 1.4em;
}

body.pgh-v4 .pgh-page-wrap .entry-content li + li {
	margin-top: 0.35em;
}

body.pgh-v4 .pgh-page-wrap .entry-content table {
	width: 100%;
	margin: 1.4em 0;
	border-collapse: collapse;
}

body.pgh-v4 .pgh-page-wrap .entry-content th,
body.pgh-v4 .pgh-page-wrap .entry-content td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--pg-line);
	text-align: left;
}

body.pgh-v4 .pgh-page-wrap .entry-content th {
	background: var(--pg-cream);
	font-weight: 600;
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-buttons {
	gap: 12px;
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-button__link {
	background: var(--pg-orange) !important;
	color: var(--pg-white) !important;
	border-radius: 999px !important;
	padding: 13px 24px !important;
	font-family: var(--pg-font-body) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border: 0 !important;
	text-decoration: none !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-button__link:hover {
	background: var(--pg-orange-dark) !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--pg-ink) !important;
	border: 1px solid rgba(45, 45, 45, 0.25) !important;
}

/* Font Awesome icons left in content (phone/envelope) */
body.pgh-v4 .pgh-page-wrap .entry-content i.fa {
	display: none;
}

/* Columns */
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-columns {
	gap: clamp(24px, 4vw, 64px) !important;
	align-items: flex-start !important;
	margin-bottom: 0;
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-columns + .wp-block-columns {
	margin-top: 0;
}

/* Contact-style info cards: column with h3 + lines of text (contact, begraafplaats) */
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > h3.wp-block-heading {
	margin: 40px 0 10px !important;
	padding-top: 22px;
	border-top: 2px solid var(--pg-line);
	font-size: 19px !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > h3.wp-block-heading:first-child {
	margin-top: 0 !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > h3.wp-block-heading + p,
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > h3.wp-block-heading + p + p {
	margin-top: 0 !important;
	font-size: 14.5px;
	line-height: 2.2;
	color: var(--pg-muted);
}

/* Section labels (h2) directly above info-card columns become eyebrow labels */
body.pgh-v4 .pgh-page-wrap .entry-content h2.wp-block-heading:has(+ .wp-block-columns .wp-block-column > h3) {
	margin: 3em 0 1.2em !important;
	font-family: var(--pg-font-body) !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pg-orange-dark) !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content h2.wp-block-heading:first-child:has(+ .wp-block-columns .wp-block-column > h3),
body.pgh-v4 .pgh-page-wrap .entry-content > p:first-child + h2.wp-block-heading:has(+ .wp-block-columns .wp-block-column > h3) {
	margin-top: 1.5em !important;
}

/* Highlight box (e.g. bankrekening) */
body.pgh-v4 .pgh-page-wrap .entry-content p.has-background,
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-group.has-background {
	padding: 18px 28px !important;
	background: var(--pg-cream) !important;
	border: 1px solid var(--pg-line);
	border-radius: 8px;
	font-weight: 600;
}

/* Sidebar */
body.pgh-v4 .pgh-page-wrap #secondary.sidebar {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.pgh-v4 .pgh-page-wrap #secondary .widget {
	margin: 0 0 20px !important;
	padding: 22px !important;
	background: var(--pg-white) !important;
	border: 1px solid var(--pg-line) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}

body.pgh-v4 .pgh-page-wrap #secondary .widget-title {
	margin: 0 0 12px !important;
	padding: 0 !important;
	border: 0 !important;
	font-family: var(--pg-font-body) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pg-orange-dark) !important;
}

/* Post navigation (single) */
body.pgh-v4.single .pgh-page-wrap .post-navigation {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--pg-line);
}

body.pgh-v4.single .pgh-page-wrap .post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}

body.pgh-v4.single .pgh-page-wrap .post-navigation a {
	color: var(--pg-ink) !important;
	font-family: var(--pg-font-display);
	font-size: 17px;
	font-weight: 600;
	text-decoration: none !important;
}

body.pgh-v4.single .pgh-page-wrap .post-navigation a:hover {
	color: var(--pg-orange-dark) !important;
}

body.pgh-v4.single .pgh-page-wrap .post-navigation .meta-nav {
	display: block;
	margin-bottom: 4px;
	font-family: var(--pg-font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pg-orange-dark);
}

/* Content-bottom widget bar (PKN / Steun ons / Privacy / ANBI) */
body.pgh-v4 .pgh-page-wrap #content-bottom-widgets.content-bottom-widgets {
	float: none !important;
	width: auto !important;
	margin: clamp(40px, 6vw, 64px) 0 0 !important;
	padding: 0 !important;
}

body.pgh-v4 .pgh-page-wrap #content-bottom-widgets .widget-area {
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	width: auto !important;
}

body.pgh-v4 .pgh-page-wrap #content-bottom-widgets .widget {
	margin: 0 !important;
	padding: 20px 0 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid var(--pg-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.pgh-v4 .pgh-page-wrap #content-bottom-widgets .wp-block-buttons {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	margin: 0 !important;
}

body.pgh-v4 .pgh-page-wrap #content-bottom-widgets .wp-block-button {
	margin: 0 !important;
	font-size: 13px !important;
}

body.pgh-v4 .pgh-page-wrap #content-bottom-widgets .wp-block-button__link {
	display: inline-block !important;
	padding: 9px 18px !important;
	background: transparent !important;
	color: var(--pg-ink) !important;
	border: 1px solid rgba(45, 45, 45, 0.25) !important;
	border-radius: 999px !important;
	font-family: var(--pg-font-body) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: border-color var(--pg-ease), color var(--pg-ease);
}

body.pgh-v4 .pgh-page-wrap #content-bottom-widgets .wp-block-button__link:hover {
	border-color: var(--pg-ink) !important;
	color: var(--pg-ink) !important;
}

/* Pages: featured image is not part of the design (title lives in the page header) */
body.pgh-v4.page .pgh-page-wrap .post-thumbnail {
	display: none !important;
}

/* Bold centered lead paragraph at the top of a page → display heading (e.g. Begraafplaats) */
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > p.has-text-align-center:first-child > strong:only-child,
body.pgh-v4 .pgh-page-wrap .entry-content > p.has-text-align-center:first-child > strong:only-child {
	display: block;
	margin-bottom: 8px;
	font-family: var(--pg-font-display);
	font-size: clamp(20px, 1.7vw, 24px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--pg-ink);
}

/* "Small" bold download lists → regular size with a download icon on PDF links */
body.pgh-v4 .pgh-page-wrap .entry-content p.has-small-font-size {
	font-size: 15px !important;
	line-height: 2;
}

body.pgh-v4 .pgh-page-wrap .entry-content p.has-small-font-size strong {
	font-weight: 600;
}

body.pgh-v4 .pgh-page-wrap .entry-content a[href$=".pdf"]::before,
body.pgh-v4 .pgh-page-wrap .entry-content a[href$=".PDF"]::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: 0 6px 0 4px;
	vertical-align: -2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E08D10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3'/%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Bold-first-line paragraphs inside columns → info cards (Beheerder:, Penningmeester:, …) */
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > p:not(.has-text-align-center):has(> strong:first-child) {
	margin-top: 24px !important;
	padding-top: 20px;
	border-top: 2px solid var(--pg-line);
	font-size: 14.5px;
	line-height: 2.2;
	color: var(--pg-muted);
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > p:not(.has-text-align-center):has(> strong:first-child):first-child {
	margin-top: 0 !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > p:not(.has-text-align-center) > strong:first-child {
	display: block;
	margin-bottom: 6px;
	font-family: var(--pg-font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--pg-ink);
}

body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > p:not(.has-text-align-center) > strong:first-child + br,
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > p:not(.has-text-align-center) > br:has(+ strong),
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > p:not(.has-text-align-center) > br:has(+ br + strong),
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > p:not(.has-text-align-center) > strong + br {
	display: none;
}

/* A second bold "heading" inside the same paragraph starts a new card */
body.pgh-v4 .pgh-page-wrap .entry-content .wp-block-column > p:not(.has-text-align-center):has(> strong:first-child) > strong:not(:first-child) {
	display: block;
	margin: 24px 0 6px;
	padding-top: 20px;
	border-top: 2px solid var(--pg-line);
	font-family: var(--pg-font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--pg-ink);
}

/* Closing bold centered note (e.g. bankrekening) → cream pill box */
body.pgh-v4 .pgh-page-wrap .entry-content > p[style*="text-align: center"]:last-child:has(strong),
body.pgh-v4 .pgh-page-wrap .entry-content > p[style*="text-align:center"]:last-child:has(strong),
body.pgh-v4 .pgh-page-wrap .entry-content > p.has-text-align-center:last-child:has(strong) {
	display: table;
	margin: 40px auto 0 !important;
	padding: 18px 28px;
	background: var(--pg-cream);
	border: 1px solid var(--pg-line);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--pg-ink);
}

body.pgh-v4 .pgh-page-wrap .entry-content > p:last-child:has(strong) span[style*="font-size"] {
	font-size: inherit !important;
}

/* 404 / search-without-results (parent templates, no .pgh-page-wrap) */
body.pgh-v4.error404 #primary.content-area,
body.pgh-v4.search #primary.content-area {
	box-sizing: border-box;
	float: none !important;
	width: 100% !important;
	max-width: calc(var(--pg-maxw) + 2 * var(--pg-pad)) !important;
	margin: 0 auto !important;
	padding: clamp(40px, 5vw, 64px) var(--pg-pad) !important;
}

body.pgh-v4.error404 .site-main > section,
body.pgh-v4.error404 .site-main > article,
body.pgh-v4.search .site-main > article {
	margin: 0 0 24px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* ==========================================================================
   Subpages — Gutenberg Query Loop cards (Jeugd, Organisatie, Kerk in Actie…)
   ========================================================================== */

body.pgh-v4 .pgh-page-wrap .wp-block-query .wp-block-post-template {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 32px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
}

@media (min-width: 640px) {
	body.pgh-v4 .pgh-page-wrap .wp-block-query .wp-block-post-template.columns-2,
	body.pgh-v4 .pgh-page-wrap .wp-block-query .wp-block-post-template.columns-3,
	body.pgh-v4 .pgh-page-wrap .wp-block-query .wp-block-post-template.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 960px) {
	body.pgh-v4 .pgh-page-wrap .wp-block-query .wp-block-post-template.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	body.pgh-v4 .pgh-page-wrap .wp-block-query .wp-block-post-template.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--pg-white) !important;
	border: 1px solid var(--pg-line) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	transition: transform var(--pg-ease), box-shadow var(--pg-ease);
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(45, 45, 45, 0.08);
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post .wp-block-post-featured-image {
	order: 1;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	aspect-ratio: 41 / 21;
	overflow: hidden;
	background: var(--pg-cream);
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post .wp-block-post-featured-image a {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post .wp-block-post-featured-image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	border-radius: 0 !important;
	transition: transform 0.35s ease;
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.03);
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post .wp-block-post-title {
	order: 2;
	margin: 24px 24px 10px !important;
	font-family: var(--pg-font-display) !important;
	font-size: 21px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: -0.01em;
	color: var(--pg-ink) !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content li.wp-block-post .wp-block-post-title a,
body.pgh-v4 .pgh-page-wrap li.wp-block-post .wp-block-post-title a {
	color: var(--pg-ink) !important;
	font-family: inherit !important;
	font-weight: inherit !important;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.pgh-v4 .pgh-page-wrap .entry-content li.wp-block-post:hover .wp-block-post-title a,
body.pgh-v4 .pgh-page-wrap li.wp-block-post:hover .wp-block-post-title a {
	color: var(--pg-orange-dark) !important;
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post .wp-block-post-excerpt {
	order: 3;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	margin: 0 24px 24px !important;
	padding: 0 !important;
	font-size: 14px;
	line-height: 1.7;
	color: var(--pg-muted);
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post .wp-block-post-excerpt p {
	margin: 0 !important;
	color: inherit !important;
	font-size: inherit;
}

body.pgh-v4 .pgh-page-wrap .entry-content li.wp-block-post .wp-block-post-excerpt__more-link,
body.pgh-v4 .pgh-page-wrap .entry-content li.wp-block-post .wp-block-post-excerpt p a {
	margin-top: 10px;
	align-self: flex-start;
	color: var(--pg-orange-dark) !important;
	font-weight: 600;
	text-decoration: none !important;
}

/* ==========================================================================
   Archives / blog listing
   ========================================================================== */

body.pgh-v4.blog .site-inner,
body.pgh-v4.archive .site-inner,
body.pgh-v4.search .site-inner {
	max-width: none !important;
	padding: 0 !important;
}

body.pgh-v4 .pgh-archive {
	padding: 0;
}

body.pgh-v4 .pgh-news-list--archive .pgh-news-item {
	grid-template-columns: 100px minmax(0, 1fr);
}

body.pgh-v4 .pgh-news-list--archive .pgh-news-item:first-child {
	padding-top: 0;
}

body.pgh-v4 .pgh-news-list--archive .pgh-news-item__thumb img {
	border-radius: 0 !important;
}

body.pgh-v4 .pgh-pagination {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

body.pgh-v4 .pgh-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px !important;
	border: 1px solid var(--pg-line) !important;
	border-radius: 999px !important;
	background: var(--pg-white) !important;
	color: var(--pg-ink) !important;
	box-shadow: none !important;
	font-weight: 500;
	text-decoration: none !important;
}

body.pgh-v4 .pgh-pagination .page-numbers.current,
body.pgh-v4 .pgh-pagination .page-numbers:hover {
	background: var(--pg-orange) !important;
	border-color: var(--pg-orange) !important;
	color: var(--pg-white) !important;
}

/* Tribe Events pages */
body.pgh-v4.tribe-events-page-template .tribe-common,
body.pgh-v4.tribe-events-page-template .tribe-events {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ==========================================================================
   Kaart-iconen (Kerk in Actie, Organisatie, Verhuur & beheer)
   Lucide-lijniconen in huiskleur i.p.v. de wazige zwarte uitgelichte
   afbeeldingen. Het originele plaatje blijft (onzichtbaar) staan zodat de
   link klikbaar blijft; kaarten met een echte foto blijven ongemoeid.
   ========================================================================== */

body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7680 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7698 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7693 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-6417 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7733 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7765 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7721 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7748 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7729 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7759 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7768 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-6208 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-95 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7781 .wp-block-post-featured-image,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7794 .wp-block-post-featured-image {
	background-color: var(--pg-cream);
	background-image: var(--pgh-card-icon);
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 62%;
	border-bottom: 1px solid var(--pg-line);
}

body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7680 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7698 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7693 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-6417 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7733 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7765 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7721 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7748 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7729 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7759 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7768 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-6208 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-95 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7781 .wp-block-post-featured-image img,
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7794 .wp-block-post-featured-image img {
	opacity: 0;
}

/* Kerk in Actie */

/* Diaconie – hand met hart */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7680 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 14h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16'/%3E%3Cpath d='m7 20 1.6 1.4c.3.4.8.6 1.4.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9'/%3E%3Cpath d='m2 15 6 6'/%3E%3Cpath d='M19.5 8.5c.7-.7 1.5-1.6 1.5-2.7A2.73 2.73 0 0 0 16 4a2.78 2.78 0 0 0-5 1.8c0 1.2.8 2 1.5 2.8L16 12Z'/%3E%3C/svg%3E"); }

/* Eetclub – bestek */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7698 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2'/%3E%3Cpath d='M7 2v20'/%3E%3Cpath d='M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7'/%3E%3C/svg%3E"); }

/* IDO – pakket */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7693 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E"); }

/* ZWO – wereldbol */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-6417 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E"); }

/* Organisatie */

/* Eredienst – kerk */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7733 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 7 4 2v11a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9l4-2'/%3E%3Cpath d='M14 22v-4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v4'/%3E%3Cpath d='M18 22V5l-6-3-6 3v17'/%3E%3Cpath d='M12 7v5'/%3E%3Cpath d='M10 9h4'/%3E%3C/svg%3E"); }

/* Kerkblad – krant */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7765 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2'/%3E%3Cpath d='M18 14h-8'/%3E%3Cpath d='M15 18h-5'/%3E%3Cpath d='M10 6h8v4h-8V6Z'/%3E%3C/svg%3E"); }

/* Over ons – mensen */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7721 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }

/* Pastoraat – hart */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7748 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E"); }

/* Visie en missie – oog */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7729 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }

/* Vorming en toerusting – open boek */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7759 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }

/* WGK – handdruk */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7768 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1 1 0 1 0 3-3'/%3E%3Cpath d='m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4'/%3E%3Cpath d='m21 3 1 11h-2'/%3E%3Cpath d='M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3'/%3E%3Cpath d='M3 4h8'/%3E%3C/svg%3E"); }

/* Verhuur & beheer */

/* Begraafplaats – opkomend plantje */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-6208 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 20h10'/%3E%3Cpath d='M10 20c5.5-2.5.8-6.4 3-10'/%3E%3Cpath d='M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z'/%3E%3Cpath d='M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z'/%3E%3C/svg%3E"); }

/* CvK – gebouw met zuilen */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-95 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 22h18'/%3E%3Cpath d='M6 18v-7'/%3E%3Cpath d='M10 18v-7'/%3E%3Cpath d='M14 18v-7'/%3E%3Cpath d='M18 18v-7'/%3E%3Cpath d='m12 2 8 5H4z'/%3E%3C/svg%3E"); }

/* Verhuur – sleutel */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7781 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3C/svg%3E"); }

/* Vrijwillige bijdrage – munten */
body.pgh-v4 .pgh-page-wrap li.wp-block-post.post-7794 { --pgh-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08d10' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M18.09 10.37A6 6 0 1 1 10.34 18'/%3E%3Cpath d='M7 6h1v4'/%3E%3Cpath d='m16.71 13.88.7.71-2.82 2.82'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Misc
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.pgh-btn,
	.pgh-link svg,
	.pgh-news-item__arrow,
	body.pgh-v4 .pgh-page-wrap li.wp-block-post,
	body.pgh-v4 .pgh-page-wrap li.wp-block-post .wp-block-post-featured-image img {
		transition: none !important;
		transform: none !important;
	}
}

/* ==========================================================================
   Contact page (page-contact.php)
   ========================================================================== */

body.pgh-v4 .pgh-page-wrap article.pgh-contact {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 5vw, 64px);
}

/* Parent theme clearfix pseudo-elements would become (empty) flex items */
body.pgh-v4 .pgh-page-wrap article.pgh-contact::before,
body.pgh-v4 .pgh-page-wrap article.pgh-contact::after {
	content: none !important;
	display: none !important;
}

.pgh-contact__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 64px;
}

.pgh-contact__col {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.pgh-contact__card,
.pgh-contact__vp {
	padding-top: 22px;
	border-top: 2px solid var(--pg-line);
	display: flex;
	flex-direction: column;
	gap: 9px;
}

body.pgh-v4 .pgh-contact__title {
	margin: 0 !important;
	font-family: var(--pg-font-display);
	font-size: 19px !important;
	font-weight: 600;
	line-height: 1.3 !important;
	color: var(--pg-ink);
}

/* Group (h2 in the page content) → eyebrow label above a 2-col grid of cards */
.pgh-contact__group {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

body.pgh-v4 .pgh-contact__group-label {
	margin: 0 !important;
	font-family: var(--pg-font-body) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pg-orange-dark) !important;
}

.pgh-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px 64px;
}

.pgh-contact__card p,
.pgh-contact__person p,
.pgh-contact__more {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--pg-muted);
}

body.pgh-v4 .pgh-contact a {
	color: var(--pg-orange-dark) !important;
	text-decoration: none;
	box-shadow: none !important;
	transition: color var(--pg-ease);
}

body.pgh-v4 .pgh-contact a:hover {
	color: var(--pg-orange) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pgh-contact__vp {
	padding-top: 26px;
	gap: 16px;
}

.pgh-contact__vp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px 64px;
	margin-top: 8px;
}

.pgh-contact__person {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.pgh-contact__person-name,
.pgh-contact__person > p:first-child {
	color: var(--pg-ink) !important;
}

.pgh-contact__more {
	margin-top: 12px !important;
}

body.pgh-v4 .pgh-contact .pgh-contact__more a {
	font-weight: 600;
}

@media (min-width: 768px) {
	.pgh-contact__cols,
	.pgh-contact__grid,
	.pgh-contact__vp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pgh-contact__col:last-child .pgh-contact__card:first-child {
		/* keep both columns starting on the same line */
	}
}

/* ==========================================================================
   Document list (Gutenberg list with extra class "pgh-docs", e.g. Veilige kerk)
   Each item: <li><a href="….pdf">Titel</a><span class="pgh-docs__meta">PDF · 67 kB</span></li>
   ========================================================================== */

body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs {
	list-style: none;
	margin: 8px 0 32px;
	padding: 0;
	border-top: 1px solid var(--pg-line);
}

body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs li {
	position: relative;
	margin: 0;
	padding: 18px 0 18px 60px;
	border-bottom: 1px solid var(--pg-line);
}

/* round icon badge (same download glyph as the inline .pdf-link icon) */
body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border-radius: 999px;
	background-color: var(--pg-orange-soft);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E08D10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
}

body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs li a:not(.pgh-btn) {
	display: block;
	font-family: var(--pg-font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--pg-ink) !important; /* content links are orange !important */
	text-decoration: none;
	transition: color var(--pg-ease);
}

body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs li a:not(.pgh-btn):hover {
	color: var(--pg-orange-dark) !important;
	text-decoration: none;
}

/* no second (inline) download icon inside the list */
body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs a::before {
	content: none;
}

body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs .pgh-docs__meta {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	color: var(--pg-muted);
}

@media (max-width: 767px) {
	body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs li {
		padding: 14px 0 14px 46px;
	}

	body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs li::before {
		width: 32px;
		height: 32px;
		margin-top: -16px;
		background-size: 15px 15px;
	}

	body.pgh-v4 .pgh-page-wrap .entry-content ul.pgh-docs li a:not(.pgh-btn) {
		font-size: 16px;
	}
}

/* The "PKN / Steun ons / Privacy / ANBI" widget bar belongs to the footer only */
body.pgh-v4 #content-bottom-widgets {
	display: none !important;
}

/* ==========================================================================
   Agenda (The Events Calendar, list view) — scoped under .pgh-tribe-wrap
   ========================================================================== */

body.pgh-v4 .pgh-tribe-wrap {
	padding: clamp(40px, 5vw, 64px) var(--pg-pad);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-common,
body.pgh-v4 .pgh-tribe-wrap .tribe-events,
body.pgh-v4 .pgh-tribe-wrap .tribe-common *,
body.pgh-v4 .pgh-tribe-wrap .tribe-events * {
	font-family: var(--pg-font-body) !important;
	color: var(--pg-ink);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-common-l-container {
	max-width: none !important;
	padding: 0 !important;
}

/* Header / top bar */
body.pgh-v4 .pgh-tribe-wrap .tribe-events-header {
	margin: 0 0 8px;
	padding: 0 0 20px;
	background: transparent;
	border-bottom: 2px solid var(--pg-ink);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-header__messages {
	margin: 0 0 20px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-messages__message {
	margin: 0;
	padding: 18px 24px;
	background: var(--pg-cream);
	border: 1px solid var(--pg-line);
	border-radius: 8px;
	font-size: 15px;
	color: var(--pg-muted);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-messages__message-list-item {
	color: var(--pg-muted);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-messages__message-icon-svg {
	color: var(--pg-orange-dark);
}

/* Only one view (list) → hide the view selector */
body.pgh-v4 .pgh-tribe-wrap .tribe-events-header__events-bar {
	display: none !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__nav-list {
	display: flex;
	gap: 8px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__datepicker {
	display: flex;
	align-items: center;
	margin-left: 6px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__datepicker-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 4px 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__datepicker-button,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__datepicker-time,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__datepicker-desktop,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__datepicker-mobile {
	font-family: var(--pg-font-display) !important;
	font-size: clamp(24px, 2.2vw, 30px) !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	letter-spacing: -0.016em !important;
	color: var(--pg-ink) !important;
	text-transform: none !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__datepicker-button-icon-svg,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__datepicker-button svg {
	width: 12px;
	height: 12px;
	color: var(--pg-orange-dark);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-top-bar__datepicker-container {
	margin-top: 8px;
}

/* Round icon buttons (prev/next) */
body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 38px !important;
	height: 38px !important;
	padding: 0 !important;
	background: var(--pg-white) !important;
	color: var(--pg-ink) !important;
	border: 1px solid var(--pg-line) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	transition: background-color var(--pg-ease), color var(--pg-ease), border-color var(--pg-ease);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn-icon svg {
	width: 10px;
	height: 14px;
	color: currentColor;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn-icon:not(:disabled):hover {
	background: var(--pg-orange) !important;
	border-color: var(--pg-orange) !important;
	color: var(--pg-white) !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn-icon:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Pill buttons (Vandaag, Vorige/Volgende, Abonneer) */
body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn-border-small,
body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn-border,
body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__prev,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__next,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__today,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__button {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 11px 20px !important;
	background: transparent !important;
	color: var(--pg-ink) !important;
	border: 1px solid rgba(45, 45, 45, 0.25) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	transition: background-color var(--pg-ease), color var(--pg-ease), border-color var(--pg-ease);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn-border-small {
	padding: 9px 16px !important;
	font-size: 13px !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn-border-small:hover,
body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn-border:hover,
body.pgh-v4 .pgh-tribe-wrap .tribe-common-c-btn:hover,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__prev:not(:disabled):hover,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__next:not(:disabled):hover,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__today:hover,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__button:hover {
	border-color: var(--pg-ink) !important;
	color: var(--pg-ink) !important;
	background: transparent !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__prev:disabled,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__next:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__prev svg,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__next svg {
	width: 9px;
	height: 13px;
	color: currentColor;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__prev-label,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__next-label {
	color: inherit;
}

/* Bottom nav */
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--pg-line);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Subscribe dropdown */
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__container {
	margin: 24px 0 0;
	justify-content: flex-end;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__button.tribe-common-c-btn-border {
	padding-right: 16px !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__button-icon,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__button-icon svg {
	width: 12px;
	height: 12px;
	color: var(--pg-orange-dark);
	margin-left: 4px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__content {
	background: var(--pg-white) !important;
	border: 1px solid var(--pg-line) !important;
	border-radius: 8px !important;
	box-shadow: 0 16px 32px rgba(45, 45, 45, 0.1) !important;
	padding: 8px 0;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__list-item-link {
	display: block;
	padding: 8px 18px;
	font-size: 14px !important;
	color: var(--pg-ink) !important;
	text-decoration: none !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__list-item-link:hover {
	color: var(--pg-orange-dark) !important;
}

/* Month separator → eyebrow */
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__month-separator {
	margin: 40px 0 0;
	padding: 0;
	border: 0;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__month-separator:first-child {
	margin-top: 16px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__month-separator h3 {
	margin: 0 !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__month-separator-text {
	display: block;
	font-family: var(--pg-font-body) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	color: var(--pg-orange-dark) !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__month-separator::after {
	display: none !important;
}

/* Event rows — same pattern as the homepage agenda */
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-row {
	display: grid !important;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	margin: 0 !important;
	padding: 24px 0 !important;
	border-bottom: 1px solid var(--pg-line);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-row--featured {
	background: transparent;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-date-tag {
	display: block !important;
	width: 54px !important;
	flex: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-date-tag-datetime {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	width: 54px;
	height: 56px;
	margin: 0;
	padding: 0 !important;
	background: var(--pg-orange-soft);
	border-radius: 6px;
	line-height: 1;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-date-tag-weekday {
	font-size: 10px !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pg-orange-dark) !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-date-tag-daynum {
	font-family: var(--pg-font-display) !important;
	font-size: 21px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	color: var(--pg-ink) !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-wrapper {
	width: auto !important;
	flex: none !important;
	padding: 0 !important;
	margin: 0 !important;
	min-width: 0;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transform: none !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-featured-image-wrapper {
	order: 2;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-featured-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-details {
	order: 1;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	min-width: 0;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-header {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title {
	margin: 0 !important;
	font-family: var(--pg-font-display) !important;
	font-size: 19px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.01em;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title a {
	font-family: inherit !important;
	color: var(--pg-ink) !important;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: none !important;
	transition: color var(--pg-ease);
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title a:hover {
	color: var(--pg-orange-dark) !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-datetime-wrapper,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-datetime,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-venue,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-venue *,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-cost {
	margin: 0;
	font-size: 13.5px !important;
	font-style: normal;
	line-height: 1.5;
	color: var(--pg-muted) !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-datetime-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-datetime-featured-text {
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pg-orange-dark) !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-venue-title {
	font-weight: 500 !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-description {
	margin: 10px 0 0;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-description,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-description p {
	font-size: 15px !important;
	line-height: 1.7;
	color: var(--pg-muted) !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-description p {
	margin: 0;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-small-cta,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-small-cta__link {
	color: var(--pg-orange-dark) !important;
	font-weight: 600;
}

@media (min-width: 768px) {
	body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-row {
		gap: 24px;
	}

	body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event {
		grid-template-columns: minmax(0, 1fr) 220px;
		gap: 32px;
		align-items: start;
	}

	body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-featured-image-wrapper {
		order: 2;
		aspect-ratio: 3 / 2;
		overflow: hidden;
		border-radius: 6px;
	}

	body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title {
		font-size: 21px !important;
	}
}

/* Single event page */
body.pgh-v4.single-tribe_events .tribe-events-single {
	max-width: none;
}

body.pgh-v4.single-tribe_events .tribe-events-schedule,
body.pgh-v4.single-tribe_events .tribe-events-single-event-title {
	font-family: var(--pg-font-display) !important;
}

/* Agenda — refinements */
body.pgh-v4 .pgh-tribe-wrap .tribe-events-header {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-header__top-bar {
	order: 1;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-header__messages {
	order: 2;
	margin: 0;
	width: 100%;
}


body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__list-item {
	flex: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__list-item--next {
	margin-left: auto !important;
}

/* Generic buttons inside the agenda must not inherit the orange form-button style */
body.pgh-v4 .pgh-tribe-wrap button.tribe-common-c-btn--clear,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__button-text {
	background: transparent !important;
	color: var(--pg-ink) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transform: none !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__button {
	gap: 10px;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__button:hover .tribe-events-c-subscribe-dropdown__button-text {
	color: var(--pg-ink) !important;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-header {
	align-items: stretch;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-header__top-bar {
	width: 100%;
	justify-content: flex-start;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title {
	order: 1;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-datetime-wrapper {
	order: 2;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-venue {
	order: 3;
}

body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title.tribe-common-h6,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title.tribe-common-h4--min-medium,
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title a {
	font-size: 21px !important;
	line-height: 1.3 !important;
}

@media (max-width: 767px) {
	body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title,
	body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list__event-title a {
		font-size: 18px !important;
	}
}

/* Empty list: no extra rule under the header */
body.pgh-v4 .pgh-tribe-wrap .tribe-events-calendar-list:not(:has(li)) + .tribe-events-c-nav {
	margin-top: 0;
	padding-top: 8px;
	border-top: 0;
}

@media (max-width: 767px) {
	body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__list {
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
		gap: 8px;
	}

	body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__list-item--next {
		margin-left: 0 !important;
	}

	body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__prev,
	body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__next,
	body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-nav__today {
		padding: 10px 14px !important;
		font-size: 13px !important;
	}

	body.pgh-v4 .pgh-tribe-wrap .tribe-events-c-subscribe-dropdown__container {
		justify-content: flex-start;
	}
}
