/*
Theme Name: Pfarrei Klausen Modern
Theme URI: https://pfarrei-klausen.de/
Author: Pfarrei Klausen
Description: Modernes, barrierearmes Block-Theme für die Pfarrei Klausen. Nutzt den Website-Editor und WordPress-Core-Blöcke.
Version: 2.16.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: pfarrei-klausen-modern
*/

:root {
	--pk-shadow: 0 14px 34px rgba(39, 37, 35, 0.08);
	--pk-shadow-soft: 0 4px 18px rgba(39, 37, 35, 0.055);
	--pk-radius-sm: .55rem;
	--pk-radius-md: .85rem;
	--pk-radius-lg: 1.15rem;
	--pk-space-xs: .5rem;
	--pk-space-sm: .75rem;
	--pk-space-md: 1rem;
	--pk-space-lg: 1.5rem;
}

html { scroll-behavior: smooth; }
body { text-wrap: pretty; }
:where(h1, h2, h3, h4, h5, h6) { text-wrap: balance; }
a { text-underline-offset: 0.16em; }
:where(a, button, input, textarea, select):focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

.wp-site-blocks { overflow: hidden; }
.pk-site-header {
	position: relative;
	z-index: 22;
	border-bottom: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.pk-site-header .wp-block-site-title { white-space: nowrap; font-size: 1.35rem !important; }
.pk-site-header .wp-block-site-title a { text-decoration: none; }
.pk-site-header .wp-block-navigation-item__content { text-decoration: none; }
.pk-site-header .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--primary); }
.pk-utility-bar { position: relative; z-index: 21; }
.pk-utility-bar p { margin: 0; color: #fff !important; }
.pk-utility-bar a { color: #fff !important; text-decoration: none; }
.pk-utility-bar a:hover { color: #fff !important; opacity: .82; }
.pk-logo-link { display: flex; flex: 0 0 auto; align-items: center; }
.pk-logo { display: block; width: 178px; height: auto; }

/* Desktop-Hauptnavigation: kompakt, einzeilig und mit gut erfassbaren Untermenüs. */
@media (min-width: 1121px) {
	.pk-site-header > .wp-block-group.alignwide {
		display: grid !important;
		grid-template-columns: 178px minmax(0, 1fr);
		gap: clamp(1.25rem, 2.6vw, 3rem);
		align-items: center;
	}
	.pk-main-navigation {
		width: 100%;
		min-width: 0;
		justify-self: stretch;
	}
	.pk-main-navigation .wp-block-navigation__responsive-container,
	.pk-main-navigation .wp-block-navigation__responsive-container-content {
		width: 100%;
	}
	.pk-main-navigation .wp-block-navigation__responsive-container-content {
		justify-content: flex-end;
	}
	.pk-main-navigation .wp-block-navigation__container {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-end;
		gap: .08rem;
		width: 100%;
	}
	.pk-main-navigation .wp-block-navigation__container > .wp-block-navigation-item {
		flex: 0 0 auto;
		border-radius: .55rem;
	}
	.pk-main-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		min-height: 2.75rem;
		padding: .52rem clamp(.4rem, .6vw, .66rem);
		border-radius: .55rem;
		color: var(--wp--preset--color--strong);
		font-size: clamp(.76rem, .72vw, .88rem);
		font-weight: 700;
		line-height: 1.2;
		white-space: nowrap;
		transition: background-color .18s ease, color .18s ease;
	}
	.pk-main-navigation .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
	.pk-main-navigation .wp-block-navigation__container > .wp-block-navigation-item:focus-within > .wp-block-navigation-item__content {
		background: var(--wp--preset--color--primary-soft);
		color: var(--wp--preset--color--primary);
	}
	.pk-main-navigation .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content,
	.pk-main-navigation .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content {
		background: var(--wp--preset--color--primary-soft);
		color: var(--wp--preset--color--primary);
	}
	.pk-main-navigation .wp-block-navigation__submenu-icon {
		width: .72rem;
		height: .72rem;
		margin: 0 .42rem 0 -.22rem;
		color: var(--wp--preset--color--muted);
	}
	.pk-main-navigation .wp-block-navigation__submenu-container {
		top: calc(100% - .1rem) !important;
		min-width: 17rem !important;
		gap: .08rem !important;
		padding: .55rem !important;
		border: 1px solid var(--wp--preset--color--border) !important;
		border-radius: .8rem !important;
		background: var(--wp--preset--color--surface) !important;
		box-shadow: 0 18px 42px rgba(39, 37, 35, .14);
	}
	.pk-main-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(n+5) > .wp-block-navigation__submenu-container {
		left: auto !important;
		right: 0 !important;
	}
	.pk-main-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(n+4):nth-child(-n+6) > .wp-block-navigation__submenu-container {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 30rem !important;
	}
	.pk-main-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item {
		width: 100%;
	}
	.pk-main-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		min-height: 2.45rem;
		padding: .45rem .72rem;
		border-radius: .45rem;
		color: var(--wp--preset--color--strong);
		font-size: .86rem;
		font-weight: 620;
		line-height: 1.3;
		white-space: normal;
	}
	.pk-main-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.pk-main-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		background: var(--wp--preset--color--primary-soft);
		color: var(--wp--preset--color--primary);
	}
}
.pk-site-footer :where(h1, h2, h3, h4),
.pk-site-footer .wp-block-site-title a { color: #fff !important; }
.pk-eyebrow { letter-spacing: .16em; text-transform: uppercase; }
.pk-section-heading { max-width: 48rem; }
.pk-post-grid .wp-block-post {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 1.15rem;
	background: var(--wp--preset--color--surface);
	box-shadow: var(--pk-shadow-soft);
	transition: transform .2s ease, box-shadow .2s ease;
}
.pk-post-grid .wp-block-post { border-top: 4px solid var(--wp--preset--color--primary); }
.pk-post-grid .wp-block-post:hover { transform: translateY(-4px); box-shadow: var(--pk-shadow); }
.pk-post-grid .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.pk-post-grid .wp-block-post-title a { text-decoration: none; }
.pk-post-grid .wp-block-post-featured-image { aspect-ratio: 16 / 10; overflow: hidden; }
.pk-post-grid .wp-block-post-featured-image img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.pk-post-grid .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.035); }
.pk-post-grid .wp-block-post-date,
.pk-post-grid .wp-block-post-terms { position: relative; z-index: 2; }
.pk-post-grid .wp-block-post-terms a { text-decoration: none; }

.pk-event-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.pk-event {
	display: grid;
	grid-template-columns: 5.25rem 1fr auto;
	gap: var(--pk-space-lg);
	align-items: center;
	padding: 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: var(--wp--preset--color--surface);
}
.pk-event__date { padding: .75rem .4rem; border-radius: var(--pk-radius-sm); background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--strong); text-align: center; }
.pk-event__day { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.pk-event__month { display: block; margin-top: .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pk-event__title { margin: 0 0 .25rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; line-height: 1.35; }
.pk-event__title a { color: var(--wp--preset--color--strong); text-decoration: none; }
.pk-event__meta { margin: 0; color: var(--wp--preset--color--muted); font-size: .9rem; }
.pk-event__arrow { color: var(--wp--preset--color--primary); font-size: 1.4rem; }
.pk-calendar__intro { margin-top: 0; color: var(--wp--preset--color--muted); }
.pk-calendar .pk-event-list { margin-top: 1.5rem; }

.pfarrei-service-plan__intro { margin: 0 0 1.5rem; color: var(--wp--preset--color--muted); }
.pfarrei-service-plan .pk-service-event-list { margin-top: 1.5rem; }
.pfarrei-service-plan .pk-service-event .pk-event__title { margin-bottom: .25rem; }
.pfarrei-service-plan .gdo,
.pfarrei-service-plan .gdo tbody { display: block; width: 100%; }
.pfarrei-service-plan .gdo { margin: 0; border: 0; border-collapse: separate; }
.pfarrei-service-plan .gdo tr:has(.Freizeile) { display: none; }
.pfarrei-service-plan .gdo tr:has(.header) {
	display: block;
	margin: 1.65rem 0 .55rem;
}
.pfarrei-service-plan .gdo tr:has(.header):first-of-type { margin-top: 0; }
.pfarrei-service-plan .gdo .header {
	display: block;
	width: auto;
	padding: 0;
	color: var(--wp--preset--color--strong);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
}
.pfarrei-service-plan .gdo tr[id] {
	display: grid;
	grid-template-columns: 5rem minmax(8rem, 12rem) minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	margin-top: .55rem;
	padding: .8rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: .8rem;
	background: var(--wp--preset--color--surface);
	box-shadow: 0 2px 9px rgba(39,37,35,.035);
}
.pfarrei-service-plan .gdo tr[id] td { box-sizing: border-box; padding: 0; }
.pfarrei-service-plan .gdo .Uhrzeit {
	justify-self: stretch;
	padding: .65rem .4rem !important;
	border-radius: .55rem;
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--strong);
	font-variant-numeric: tabular-nums;
	text-align: center !important;
}
.pfarrei-service-plan .gdo .Uhrzeit b { font-size: 1.05rem; }
.pfarrei-service-plan .gdo .Raum {
	color: var(--wp--preset--color--primary);
	font-size: .88rem;
	font-weight: 750;
	line-height: 1.35;
	white-space: normal;
	overflow-wrap: anywhere;
}
.pfarrei-service-plan .gdo .Termin { min-width: 0; line-height: 1.4; }
.pfarrei-service-plan .gdo .Termin b { font-weight: 700; }

@media (min-width: 64rem) {
	.pk-calendar .pk-event-list,
	.pfarrei-service-plan .pk-service-event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pk-empty { padding: 1.25rem; border-radius: var(--pk-radius-md); background: var(--wp--preset--color--secondary-soft); }

.pk-article-shell { border-radius: 1.25rem; background: var(--wp--preset--color--surface); box-shadow: var(--pk-shadow-soft); }
.pk-article-shell > :where(.wp-block-post-title, .entry-content) { min-width: 0; }
.pk-article-shell .entry-content { color: var(--wp--preset--color--text); }
.pk-article-shell .entry-content > p {
	margin-block: 0 1.15rem;
	line-height: 1.75;
}
.pk-article-shell .entry-content > p:not([class*="-font-size"]) { font-size: 1rem; }
.pk-article-shell .entry-content > p:first-child:not(:empty):not([class*="-font-size"]) {
	color: var(--wp--preset--color--muted);
	font-size: 1.08rem;
	line-height: 1.7;
}
.pk-article-shell .entry-content > h2 {
	margin: 3rem 0 1rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--wp--preset--color--border);
	font-size: clamp(1.45rem, 3vw, 1.85rem) !important;
	line-height: 1.25;
}
.pk-article-shell .entry-content > h3 {
	margin: 2.2rem 0 .75rem;
	font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
	line-height: 1.35;
}
.pk-article-shell .entry-content > h4 {
	margin: 1.8rem 0 .6rem;
	font-size: 1.05rem !important;
	line-height: 1.4;
}
.pk-article-shell .entry-content > :where(ul, ol) {
	margin-block: 1rem 1.5rem;
	padding-left: 1.35rem;
	font-size: 1rem;
	line-height: 1.65;
}
.pk-article-shell .entry-content > :where(ul, ol) li + li { margin-top: .45rem; }
.pk-article-shell .entry-content > figure { margin-block: 1.75rem; }
.pk-article-shell .entry-content .wp-block-image img,
.pk-article-shell .entry-content .wp-block-gallery img { border-radius: var(--pk-radius-sm); }
.pk-article-shell .entry-content .wp-block-gallery { gap: .75rem; }
.pk-article-shell .entry-content .pk-story-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem !important;
	margin-block: 2rem 3rem;
}
.pk-story-gallery > .wp-block-image {
	position: relative;
	width: auto !important;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: var(--wp--preset--color--secondary-soft);
	box-shadow: var(--pk-shadow-soft);
	aspect-ratio: 4 / 3;
}
.pk-story-gallery > .wp-block-image a { display: block; width: 100%; height: 100%; }
.pk-story-gallery > .wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	border-radius: 0 !important;
	object-fit: cover;
	transition: transform .3s ease, filter .3s ease;
}
.pk-story-gallery > .wp-block-image:hover img { transform: scale(1.035); filter: brightness(.88); }
.pk-story-gallery > .wp-block-image figcaption {
	position: absolute;
	inset: auto 0 0;
	box-sizing: border-box;
	margin: 0;
	padding: 2.5rem .75rem .65rem;
	background: linear-gradient(transparent, rgba(20, 20, 20, .78));
	color: #fff;
	font-size: .76rem;
	font-weight: 620;
	line-height: 1.35;
	text-align: left;
}
.pk-article-shell .entry-content figcaption {
	margin-top: .5rem;
	color: var(--wp--preset--color--muted);
	font-size: .78rem;
	line-height: 1.45;
	text-align: left;
}
.pk-article-shell .entry-content > blockquote {
	margin-block: 2rem;
	padding: 1.25rem 1.4rem;
	border: 0;
	border-left: 4px solid var(--wp--preset--color--accent);
	border-radius: 0 var(--pk-radius-sm) var(--pk-radius-sm) 0;
	background: var(--wp--preset--color--accent-soft);
}
.pk-article-shell .entry-content > blockquote p { margin: 0; font-size: 1.04rem; line-height: 1.65; }
.pk-article-shell .entry-content > .wp-block-table { margin-block: 2rem; overflow-x: auto; }
.pk-article-shell .entry-content > .wp-block-table table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--wp--preset--color--border); border-radius: var(--pk-radius-sm); overflow: hidden; }
.pk-article-shell .entry-content > .wp-block-table :where(th, td) { padding: .75rem .85rem; border: 0; border-top: 1px solid var(--wp--preset--color--border); text-align: left; }
.pk-article-shell .entry-content > .wp-block-table tr:first-child :where(th, td) { border-top: 0; }
.pk-article-shell .entry-content > .wp-block-table th { background: var(--wp--preset--color--secondary-soft); font-weight: 750; }
.pk-article-shell .entry-content > .wp-block-separator { margin-block: 2.75rem; }
.pk-article-shell .entry-content > .wp-block-details {
	margin-block: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--background);
}
.pk-article-shell .entry-content > .wp-block-details summary { color: var(--wp--preset--color--strong); font-weight: 750; cursor: pointer; }

/* Einheitliches Raster für aus Altinhalten modernisierte und neue Textseiten. */
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page {
	width: 100%;
	color: var(--wp--preset--color--text);
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > :first-child { margin-top: 0; }
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > :last-child { margin-bottom: 0; }
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > p {
	max-width: 48rem;
	margin-block: 0 1.15rem;
	font-size: 1rem;
	line-height: 1.75;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > p:first-of-type {
	color: var(--wp--preset--color--muted);
	font-size: clamp(1.04rem, 1.8vw, 1.14rem);
	line-height: 1.7;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > h2 {
	max-width: 48rem;
	margin: 2.75rem 0 1rem;
	padding: .2rem 0 .2rem 1rem;
	border-left: 3px solid var(--wp--preset--color--accent);
	font-size: clamp(1.4rem, 3vw, 1.8rem) !important;
	line-height: 1.25;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > h3 {
	max-width: 48rem;
	margin: 2rem 0 .7rem;
	font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
	line-height: 1.35;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > h4 {
	max-width: 48rem;
	margin: 1.6rem 0 .55rem;
	font-size: 1.05rem !important;
	line-height: 1.4;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > :where(ul, ol) {
	max-width: 48rem;
	margin-block: 1rem 1.6rem;
	padding-left: 1.35rem;
	line-height: 1.65;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > :where(ul, ol) li + li { margin-top: .45rem; }
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > :where(.wp-block-image, .wp-block-gallery, .wp-block-table, .wp-block-quote, .wp-block-buttons, .wp-block-shortcode) {
	margin-block: 1.75rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-image {
	width: 100%;
	max-width: 48rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-image img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 44rem;
	margin-inline: auto;
	border-radius: var(--pk-radius-sm);
	object-fit: contain;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-gallery {
	gap: .75rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-gallery img { border-radius: var(--pk-radius-sm); }
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-quote {
	max-width: 48rem;
	padding: 1.2rem 1.35rem;
	border: 0;
	border-left: 4px solid var(--wp--preset--color--accent);
	border-radius: 0 var(--pk-radius-sm) var(--pk-radius-sm) 0;
	background: var(--wp--preset--color--accent-soft);
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-table { max-width: 100%; overflow-x: auto; }
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-table table { border-collapse: collapse; }
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-table :where(th, td) {
	padding: .7rem .8rem;
	border: 1px solid var(--wp--preset--color--border);
	text-align: left;
}
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-table th { background: var(--wp--preset--color--secondary-soft); }
:where(.entry-content, .editor-styles-wrapper) .pk-editorial-page > .wp-block-shortcode:empty { display: none; }

/* Redaktionelle Blockstile für neue und überarbeitete Textseiten */
:where(.entry-content, .editor-styles-wrapper) .is-style-pk-lead {
	margin-bottom: 2rem;
	color: var(--wp--preset--color--muted);
	font-size: clamp(1.08rem, 2vw, 1.22rem) !important;
	line-height: 1.65 !important;
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-heading.is-style-pk-accent-heading {
	margin-top: 2.75rem;
	padding: .2rem 0 .2rem 1rem;
	border-top: 0;
	border-left: 3px solid var(--wp--preset--color--accent);
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-group.is-style-pk-info-box {
	margin-block: 2rem;
	padding: 1.25rem 1.4rem;
	border: 1px solid var(--wp--preset--color--border);
	border-left: 4px solid var(--wp--preset--color--secondary);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--secondary-soft);
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-group.is-style-pk-info-box > :first-child { margin-top: 0; }
:where(.entry-content, .editor-styles-wrapper) .wp-block-group.is-style-pk-info-box > :last-child { margin-bottom: 0; }
:where(.entry-content, .editor-styles-wrapper) .wp-block-list.is-style-pk-check-list {
	padding: 0;
	list-style: none;
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-list.is-style-pk-check-list li {
	position: relative;
	padding: .65rem 0 .65rem 2rem;
	border-top: 1px solid var(--wp--preset--color--border);
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-list.is-style-pk-check-list li:first-child { border-top: 0; }
:where(.entry-content, .editor-styles-wrapper) .wp-block-list.is-style-pk-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: .62rem;
	display: grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: var(--wp--preset--color--primary-soft);
	color: var(--wp--preset--color--primary);
	font-size: .72rem;
	font-weight: 850;
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-image.is-style-pk-framed-image {
	padding: .5rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--pk-shadow-soft);
}

/* Kirchenporträt Salmtal: klare Bild-, Geschichts- und Galeriestruktur */
.pk-church-portrait {
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-bottom: 3.5rem;
}
.pk-church-portrait .wp-block-image { margin: 0; }
.pk-church-portrait .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}
.pk-church-portrait .wp-block-heading.is-style-pk-accent-heading { margin-top: .55rem; }
.pk-church-portrait p:not(.pk-eyebrow) { font-size: .98rem; line-height: 1.7; }
.pk-church-history,
.pk-nativity-section { margin-top: 3.5rem; }
.pk-church-history > .wp-block-heading:first-child,
.pk-nativity-section > .wp-block-heading:first-child { margin-top: 0; }
.pk-church-history > p { font-size: 1rem; line-height: 1.75; }
.pk-church-timeline { margin-block: 1.25rem 2rem !important; }
.pk-nativity-section > .wp-block-buttons { margin-block: 1.25rem 2rem; }
.pk-nativity-gallery { gap: .75rem; margin-top: 2rem; }
.pk-nativity-gallery > .wp-block-image { border-radius: var(--pk-radius-sm); overflow: hidden; }
.pk-nativity-gallery > .wp-block-image:last-child { flex-basis: 100% !important; width: 100% !important; }
.pk-nativity-gallery > .wp-block-image img { transition: transform .3s ease; }
.pk-nativity-gallery > .wp-block-image:hover img { transform: scale(1.025); }
.pk-article-shell .wp-block-post-featured-image img { border-radius: .9rem; }

/* Beitragskopf: ruhiges Bild mit gut lesbarer Titelkarte als Overlay. */
.pk-single-hero {
	position: relative;
	margin: 0;
}
.pk-single-featured-image {
	margin: 0 !important;
	overflow: hidden;
	border-radius: var(--pk-radius-lg);
	background: var(--wp--preset--color--secondary-soft);
}
.pk-single-featured-image img {
	width: 100%;
	height: clamp(18rem, 35vw, 29rem) !important;
	border-radius: 0 !important;
	filter: saturate(.72) contrast(.92) brightness(1.03);
	opacity: .9;
	object-fit: cover;
}
.pk-single-header {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: min(calc(100% - clamp(2rem, 8vw, 8rem)), 58rem);
	margin: -5.75rem auto 0;
	padding: clamp(1.25rem, 2.6vw, 2.15rem);
	border: 1px solid rgba(219, 210, 200, .85);
	border-radius: var(--pk-radius-md);
	background: rgba(255, 255, 255, .97) !important;
	box-shadow: 0 18px 42px rgba(39, 37, 35, .14);
}
.pk-single-header > * { margin-block: 0; }
.pk-single-header > * + * { margin-block-start: .75rem; }
.pk-single-header .wp-block-post-title {
	font-size: clamp(1.8rem, 4vw, 3.2rem) !important;
	line-height: 1.08;
}
.pk-single-header .pk-meta { color: var(--wp--preset--color--muted); }
.pk-single-hero + .entry-content {
	margin-block-start: clamp(2.75rem, 5vw, 4.25rem);
}
.pk-single-hero:not(:has(.pk-single-featured-image img)) .pk-single-header {
	width: 100%;
	margin-top: 0;
	box-shadow: none;
}
.pk-post-navigation {
	gap: .75rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--border);
}
.pk-post-nav-link {
	display: flex;
	flex: 1 1 18rem;
	align-items: center;
	gap: .55rem;
	max-width: calc(50% - .4rem);
	box-sizing: border-box;
	min-height: 2.6rem;
	padding: .52rem .72rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--strong);
	transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
.pk-post-nav-link--next { justify-content: flex-end; text-align: right; }
.pk-post-nav-link a {
	display: inline-flex;
	flex: 1;
	align-items: center;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--strong);
	font-size: .8rem;
	font-weight: 680;
	line-height: 1.35;
	text-decoration: none;
}
.pk-post-nav-link:has(a:hover),
.pk-post-nav-link:has(a:focus-visible) {
	border-color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--primary-soft);
	color: var(--wp--preset--color--primary);
	transform: translateY(-1px);
}
.pk-post-nav-link a:hover,
.pk-post-nav-link a:focus-visible { color: var(--wp--preset--color--primary); }
.pk-article-shell .entry-content > .wp-block-navigation[aria-label="Unterseiten"] { width: 100%; }
.pk-article-shell .entry-content > .wp-block-navigation[aria-label="Unterseiten"] .wp-block-navigation__container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .8rem;
	width: 100%;
}
.pk-article-shell .entry-content > .wp-block-navigation[aria-label="Unterseiten"] .wp-block-navigation__container > li {
	display: block;
	min-width: 0;
	height: 100%;
}
.pk-article-shell .entry-content > .wp-block-navigation[aria-label="Unterseiten"] .wp-block-navigation__container > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	min-height: 5.2rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: .7rem;
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--strong);
	font-size: .94rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.pk-article-shell .entry-content > .wp-block-navigation[aria-label="Unterseiten"] .wp-block-navigation__container > li > a::after {
	content: "→";
	flex: 0 0 auto;
	color: var(--wp--preset--color--primary);
	font-size: 1.2rem;
}
.pk-article-shell .entry-content > .wp-block-navigation[aria-label="Unterseiten"] .wp-block-navigation__container > li > a:hover {
	border-color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--primary-soft);
	transform: translateY(-2px);
}
.pk-meta { color: var(--wp--preset--color--muted); }
.pk-meta a { color: inherit; }
.pk-pagination .page-numbers { padding: .5rem .8rem; border-radius: .5rem; }
.pk-pagination .current { background: var(--wp--preset--color--primary); color: #fff; }

/* Revisionssicher migrierte Altinhalte im Blockeditor */
.pk-content-legacy {
	box-sizing: border-box;
	max-width: 48rem;
	margin-inline: auto;
}
.pk-content-legacy > :first-child { margin-top: 0 !important; }
.pk-content-legacy > :last-child { margin-bottom: 0 !important; }
.pk-content-legacy :where(p, li, td, th) {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1rem !important;
	line-height: 1.7 !important;
}
.pk-content-legacy > p { margin-block: 0 1.15rem; }
.pk-content-legacy :where(h1, h2) {
	margin: 2.7rem 0 .85rem;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: clamp(1.4rem, 3vw, 1.85rem) !important;
	font-weight: 800;
	line-height: 1.25;
}
.pk-content-legacy :where(h3, h4, h5, h6) {
	margin: 2rem 0 .65rem;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: clamp(1.08rem, 2vw, 1.3rem) !important;
	font-weight: 800;
	line-height: 1.35;
}
.pk-content-legacy > :where(h1, h2, h3, h4, h5, h6) {
	padding-left: 1rem;
	border-left: 3px solid var(--wp--preset--color--accent);
}
.pk-content-legacy :where(ul, ol) { margin-block: 1rem 1.5rem; padding-left: 1.4rem; }
.pk-content-legacy li + li { margin-top: .4rem; }
.pk-content-legacy img { max-width: 100%; height: auto; border-radius: var(--pk-radius-sm); }
.pk-content-legacy :where(iframe, video, embed) { max-width: 100%; }
.pk-content-legacy table {
	display: block;
	width: 100% !important;
	margin-block: 1.5rem;
	border-collapse: collapse;
	overflow-x: auto;
}
.pk-content-legacy :where(th, td) { min-width: 8rem; padding: .7rem .8rem; border: 1px solid var(--wp--preset--color--border); text-align: left; }
.pk-content-legacy th { background: var(--wp--preset--color--secondary-soft); font-weight: 750; }
.pk-content-legacy blockquote {
	margin: 1.8rem 0;
	padding: 1.15rem 1.3rem;
	border-left: 4px solid var(--wp--preset--color--accent);
	background: var(--wp--preset--color--accent-soft);
}
.pk-content-legacy :where(.alignleft, .alignright) { max-width: min(46%, 20rem); margin-bottom: 1rem; }
.pk-content-legacy .alignleft { float: left; margin-right: 1.25rem; }
.pk-content-legacy .alignright { float: right; margin-left: 1.25rem; }
.pk-content-legacy::after { display: table; clear: both; content: ""; }
.pk-legal-content { max-width: 54rem; }
.pk-legal-content > :where(h1, h2, h3) { scroll-margin-top: 2rem; }

/* Ruhige, gut scannbare Darstellung für längere Rechts- und Hinweistexte. */
:where(.entry-content, .editor-styles-wrapper) .pk-legal-page {
	max-width: 52rem;
	margin-inline: auto;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-page > p {
	max-width: 70ch;
	margin-bottom: .8rem;
	font-size: .94rem;
	line-height: 1.62;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-page > p:first-child {
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
	font-size: clamp(1rem, 1.5vw, 1.08rem);
	line-height: 1.62;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-page > h2 {
	margin: clamp(2rem, 4vw, 2.75rem) 0 .75rem;
	padding-top: .2rem;
	scroll-margin-top: 7rem;
	font-size: clamp(1.3rem, 2.5vw, 1.65rem) !important;
	line-height: 1.25;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-page > h3 {
	margin: 1.35rem 0 .45rem;
	color: var(--wp--preset--color--strong);
	font-size: clamp(1.05rem, 2vw, 1.2rem) !important;
	line-height: 1.35;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-page :where(p, li) {
	overflow-wrap: anywhere;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-page > :where(ul, ol) {
	margin: .65rem 0 1.15rem;
	font-size: .94rem;
	line-height: 1.55;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-page > :where(ul, ol) li + li {
	margin-top: .25rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-page code {
	padding: .12em .35em;
	border-radius: .3rem;
	background: var(--wp--preset--color--surface);
	font-size: .9em;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-bases,
:where(.entry-content, .editor-styles-wrapper) .pk-legal-toc {
	box-sizing: border-box;
	max-width: 48rem;
	margin-block: 1.35rem;
	padding: clamp(1rem, 2.5vw, 1.25rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: var(--wp--preset--color--surface);
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-bases {
	border-left: 4px solid var(--wp--preset--color--secondary);
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-toc {
	border-left: 4px solid var(--wp--preset--color--accent);
	background: var(--wp--preset--color--accent-soft);
}
:where(.entry-content, .editor-styles-wrapper) :is(.pk-legal-bases, .pk-legal-toc) > :first-child {
	margin-top: 0;
	padding: 0;
	border: 0;
	font-size: 1.2rem !important;
}
:where(.entry-content, .editor-styles-wrapper) :is(.pk-legal-bases, .pk-legal-toc) > :last-child { margin-bottom: 0; }
:where(.entry-content, .editor-styles-wrapper) :is(.pk-legal-bases, .pk-legal-toc) ul {
	margin: .85rem 0 0;
	padding-left: 1.2rem;
	line-height: 1.55;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-toc ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .55rem 1.5rem;
	list-style: none;
	padding: 0;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-toc li { margin: 0; }
:where(.entry-content, .editor-styles-wrapper) .pk-legal-toc a {
	display: inline-flex;
	gap: .45rem;
	align-items: baseline;
	color: var(--wp--preset--color--strong);
	font-weight: 700;
	text-decoration: none;
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-toc a::before {
	color: var(--wp--preset--color--primary);
	content: "→";
}
:where(.entry-content, .editor-styles-wrapper) .pk-legal-toc a:hover { color: var(--wp--preset--color--primary); }

@media (max-width: 680px) {
	:where(.entry-content, .editor-styles-wrapper) .pk-legal-toc ul { grid-template-columns: 1fr; }
}

/* Service-Hub: kompakte Kontaktwege und wiederverwendbare Angebotskarten. */
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub {
	max-width: 64rem;
	margin-inline: auto;
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub > .wp-block-buttons {
	margin-block: 0 2rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .pk-editorial-card-grid {
	margin-block: 0 1rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .pk-editorial-card {
	min-height: 100%;
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .pk-editorial-card > h2 {
	margin: .2rem 0 1rem;
	padding: 0;
	border: 0;
	font-size: clamp(1.35rem, 2.4vw, 1.7rem) !important;
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .pk-service-link-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .pk-service-link-card h3 {
	margin: 0;
	font-size: 1.25rem !important;
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .pk-service-link-card h3 a {
	color: var(--wp--preset--color--strong);
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .pk-service-link-card p:last-child {
	margin-top: auto;
	padding-top: .7rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .pk-service-link-card p:last-child a {
	text-decoration: none;
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .pk-eyebrow {
	margin-bottom: .25rem;
	color: var(--wp--preset--color--primary);
}
:where(.entry-content, .editor-styles-wrapper) .pk-service-hub .is-style-pk-info-box {
	max-width: none;
	margin-top: 2.25rem;
}

/* Wiederverwendbare redaktionelle Karten- und Servicestrukturen */
.pk-editorial-card-grid { gap: var(--pk-space-md); }
.pk-editorial-card {
	box-sizing: border-box;
	height: 100%;
	padding: clamp(1.1rem, 2.5vw, 1.5rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: var(--wp--preset--color--background);
	transition: border-color .18s ease, transform .18s ease;
}
.pk-editorial-card:hover { border-color: var(--wp--preset--color--primary); transform: translateY(-2px); }
.pk-editorial-card > :first-child { margin-top: 0; }
.pk-editorial-card > :last-child { margin-bottom: 0; }
.pk-editorial-card a { text-decoration: none; }
.pk-empty-page {
	max-width: 46rem;
	padding: clamp(1.25rem, 4vw, 2rem);
	border: 1px solid var(--wp--preset--color--border);
	border-left: 4px solid var(--wp--preset--color--secondary);
	border-radius: 0 var(--pk-radius-md) var(--pk-radius-md) 0;
	background: var(--wp--preset--color--secondary-soft);
}
.pk-empty-page > :first-child { margin-top: 0; }
.pk-empty-page > :last-child { margin-bottom: 0; }
.pk-service-steps { counter-reset: pk-step; padding: 0; list-style: none; }
.pk-service-steps li {
	position: relative;
	min-height: 2rem;
	padding: .8rem 0 .8rem 3rem;
	border-top: 1px solid var(--wp--preset--color--border);
	counter-increment: pk-step;
}
.pk-service-steps li:first-child { border-top: 0; }
.pk-service-steps li::before {
	content: counter(pk-step);
	position: absolute;
	left: 0;
	top: .65rem;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: .8rem;
	font-weight: 800;
}

@media (max-width: 700px) {
	.pk-content-legacy :where(.alignleft, .alignright) { float: none; max-width: 100%; margin-inline: 0; }
	.pk-editorial-card-grid { display: grid; grid-template-columns: 1fr; }
}

/* Linkverzeichnis: redaktionell einfache, scanbare Servicekarten */
:where(.entry-content, .editor-styles-wrapper) .pk-links-page {
	max-width: 72rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-links-page > .is-style-pk-lead {
	max-width: 48rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-links-note {
	margin-block: 1.5rem 2.5rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-links-section {
	margin-top: clamp(2.8rem, 6vw, 4.5rem);
}
:where(.entry-content, .editor-styles-wrapper) .pk-links-section > h2 {
	margin: 0 0 .65rem;
	padding-left: 1rem;
	border-left: 4px solid var(--wp--preset--color--accent);
}
:where(.entry-content, .editor-styles-wrapper) .pk-links-section > p {
	max-width: 52rem;
	margin: 0 0 1.4rem;
	color: var(--wp--preset--color--muted);
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-grid > li {
	min-width: 0;
	margin: 0;
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-grid > li > a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: .8rem;
	box-sizing: border-box;
	min-height: 4.2rem;
	padding: .95rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--background);
	box-shadow: 0 .2rem .7rem rgba(31, 35, 37, .035);
	color: var(--wp--preset--color--strong);
	font-size: .98rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-grid > li > a::after {
	content: "↗";
	color: var(--wp--preset--color--primary);
	font-size: 1.05rem;
	font-weight: 700;
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-grid > li > a:hover,
:where(.entry-content, .editor-styles-wrapper) .pk-link-grid > li > a:focus-visible {
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 .45rem 1.2rem rgba(31, 35, 37, .08);
	color: var(--wp--preset--color--primary);
	transform: translateY(-1px);
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-details {
	margin-top: .8rem;
	padding: 0 1.1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--surface);
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-details > summary {
	position: relative;
	padding: 1.05rem 2.2rem 1.05rem 0;
	cursor: pointer;
	color: var(--wp--preset--color--strong);
	font-size: 1.05rem;
	font-weight: 750;
	line-height: 1.35;
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-details > summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	translate: 0 -50%;
	color: var(--wp--preset--color--primary);
	font-size: 1.4rem;
	font-weight: 500;
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-details[open] > summary::after { content: "−"; }
:where(.entry-content, .editor-styles-wrapper) .pk-link-details[open] > summary {
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
:where(.entry-content, .editor-styles-wrapper) .pk-link-details > :last-child { margin-bottom: 1.1rem; }
:where(.entry-content, .editor-styles-wrapper) .pk-link-details .pk-link-grid { margin-bottom: 1.1rem; }

/* Wiederverwendbarer Themenbereich für längere Service- und Informationsseiten */
:where(.entry-content, .editor-styles-wrapper) .wp-block-details.is-style-pk-editorial-details {
	margin-block: .8rem;
	padding: 0 clamp(1rem, 2.5vw, 1.4rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--background);
	box-shadow: 0 .2rem .8rem rgba(31, 35, 37, .035);
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-details.is-style-pk-editorial-details > summary {
	position: relative;
	padding: 1.1rem 2.3rem 1.1rem 0;
	cursor: pointer;
	color: var(--wp--preset--color--strong);
	font-size: 1.05rem;
	font-weight: 750;
	line-height: 1.35;
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-details.is-style-pk-editorial-details > summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	translate: 0 -50%;
	color: var(--wp--preset--color--primary);
	font-size: 1.4rem;
	font-weight: 500;
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-details.is-style-pk-editorial-details[open] > summary::after { content: "−"; }
:where(.entry-content, .editor-styles-wrapper) .wp-block-details.is-style-pk-editorial-details[open] > summary {
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
:where(.entry-content, .editor-styles-wrapper) .wp-block-details.is-style-pk-editorial-details > :last-child { margin-bottom: 1.2rem; }

/* Schutzkonzept: ruhige Orientierung und schnell erfassbare Kontaktwege */
:where(.entry-content, .editor-styles-wrapper) .pk-protection-hero {
	margin-bottom: clamp(2.8rem, 6vw, 4.5rem);
	padding: clamp(1.3rem, 4vw, 2.3rem);
	border: 1px solid var(--wp--preset--color--border);
	border-left: 5px solid var(--wp--preset--color--primary);
	border-radius: var(--pk-radius-md);
	background: linear-gradient(135deg, var(--wp--preset--color--primary-soft), var(--wp--preset--color--background));
}
:where(.entry-content, .editor-styles-wrapper) .pk-protection-hero > :first-child { margin-top: 0; }
:where(.entry-content, .editor-styles-wrapper) .pk-protection-hero > :last-child { margin-bottom: 0; }
:where(.entry-content, .editor-styles-wrapper) .pk-protection-principles .pk-editorial-card {
	min-height: 100%;
	padding: 1.15rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-protection-principles .pk-editorial-card h3 {
	margin-top: 0;
	font-size: 1.05rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-protection-principles .pk-editorial-card p {
	margin-bottom: 0;
	color: var(--wp--preset--color--muted);
	font-size: .94rem;
}
:where(.entry-content, .editor-styles-wrapper) .pk-protection-urgent {
	margin-block: 2rem;
	border-left-color: var(--wp--preset--color--primary) !important;
}
:where(.entry-content, .editor-styles-wrapper) .pk-protection-contacts .pk-editorial-card {
	min-height: 100%;
}
:where(.entry-content, .editor-styles-wrapper) .pk-protection-contacts a:not(.wp-block-button__link) {
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

@media (max-width: 1080px) {
	:where(.entry-content, .editor-styles-wrapper) .pk-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact Form 7: ruhiges, zum Theme passendes Formular */
.wpcf7-form {
	box-sizing: border-box;
	max-width: 46rem;
	margin-top: 1.5rem;
	padding: clamp(1.1rem, 3vw, 2rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: .9rem;
	background: var(--wp--preset--color--background);
	box-shadow: var(--pk-shadow-soft);
}
.wpcf7-form > h2 {
	margin: 1.8rem 0 .7rem;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.35;
}
.wpcf7-form > h2:first-of-type { margin-top: 0; }
.wpcf7-form > h1 {
	margin: 0;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1rem !important;
	font-weight: 400;
	line-height: 1.4;
}
.wpcf7-form > p { margin: .75rem 0 0; }
.wpcf7-form br { display: none; }
.wpcf7-form-control-wrap { display: block; margin: .32rem 0 .85rem; }
.wpcf7-form :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="submit"]), select, textarea) {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-height: 3rem;
	padding: .7rem .8rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: .55rem;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--strong);
	font: inherit;
	line-height: 1.4;
}
.wpcf7-form :where(input, select, textarea):focus {
	border-color: var(--wp--preset--color--primary);
	outline: 3px solid var(--wp--preset--color--primary-soft);
	outline-offset: 1px;
}
.wpcf7-form textarea { min-height: 11rem; resize: vertical; }
.wpcf7-form .wpcf7cf_group {
	box-sizing: border-box;
	margin: .8rem 0 1.2rem;
	padding: .9rem 1rem .2rem;
	border-left: 3px solid var(--wp--preset--color--accent);
	border-radius: .55rem;
	background: var(--wp--preset--color--accent-soft);
}
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-acceptance label {
	display: flex;
	gap: .65rem;
	align-items: flex-start;
	font-size: .88rem;
	line-height: 1.5;
}
.wpcf7-form .wpcf7-acceptance input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--wp--preset--color--primary); }
.wpcf7-form .wpcf7-submit {
	width: auto;
	min-width: 9rem;
	padding: .8rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--wp--preset--color--primary-dark); }
.wpcf7-form .wpcf7-submit:disabled { cursor: not-allowed; opacity: .55; }
.wpcf7-form .wpcf7-not-valid-tip { margin-top: .3rem; color: var(--wp--preset--color--primary); font-size: .82rem; }
.wpcf7-form .wpcf7-response-output { margin: 1rem 0 0 !important; padding: .75rem 1rem !important; border-radius: .55rem; }

/* Teamkarten: native Gruppen-, Bild-, Überschrift- und Absatzblöcke */
.pk-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}
.pk-team-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: .9rem;
	background: var(--wp--preset--color--surface);
	box-shadow: var(--pk-shadow-soft);
	transition: transform .18s ease, box-shadow .18s ease;
}
.pk-team-card:hover { transform: translateY(-2px); box-shadow: var(--pk-shadow); }
.pk-team-card__image {
	width: 100%;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--secondary-soft);
}
.pk-team-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.pk-team-card__content { width: 100%; padding: 1.1rem; }
.pk-team-card__content > * { margin-block: .32rem; }
.pk-team-card__content h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.pk-team-card__role {
	min-height: 2.6em;
	color: var(--wp--preset--color--primary);
	font-size: .78rem;
	font-weight: 750;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}
.pk-team-card__contact { color: var(--wp--preset--color--strong); font-size: .9rem; overflow-wrap: anywhere; }
.pk-team-card__contact a { color: inherit; text-decoration: none; }
.pk-team-card__contact a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }

/* Rückwärtskompatibilität bis das Staff-Plugin entfernt ist. */
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}
.staff-member-listing.pfarrsekretaerinnen { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 56rem; }
.entry-content:has(> .staff-member-listing.pfarrsekretaerinnen) > p:first-child {
	max-width: 42rem;
	margin-bottom: 1.5rem;
	padding-left: 1rem;
	border-left: 3px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--muted);
	font-size: 1.05rem;
}
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member {
	display: flex;
	float: none;
	flex-direction: column;
	width: auto;
	min-width: 0;
	height: 100%;
	margin: 0 !important;
	padding: 0;
	clear: none;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: .9rem;
	background: var(--wp--preset--color--surface);
	box-shadow: var(--pk-shadow-soft);
	transition: transform .18s ease, box-shadow .18s ease;
}
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member:hover { transform: translateY(-2px); box-shadow: var(--pk-shadow); }
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-photo-wrap {
	float: none;
	width: 100%;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--secondary-soft);
}
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-photo {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	max-height: none !important;
	margin: 0;
	object-fit: cover;
	object-position: center 28%;
}
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-info-wrap {
	box-sizing: border-box;
	width: 100%;
	padding: 1.1rem;
	color: var(--wp--preset--color--muted);
	font-size: .9rem;
	line-height: 1.65;
}
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-name {
	margin: 0 0 .2rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
}
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-position {
	min-height: 2.6em;
	margin: 0 0 .8rem;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--body);
	font-size: .78rem;
	font-style: normal;
	font-weight: 750;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-info-entry { color: var(--wp--preset--color--strong); overflow-wrap: anywhere; }
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-email { color: var(--wp--preset--color--primary); text-decoration: none; }
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-email:hover { text-decoration: underline; }
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .fa {
	display: inline-grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	margin-right: .3rem;
	border-radius: 50%;
	background: var(--wp--preset--color--secondary-soft);
	color: var(--wp--preset--color--secondary);
	font-family: inherit;
	font-size: .7rem;
	font-style: normal;
	vertical-align: -.1rem;
}
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .fa-phone::before { content: "☎"; }
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .fa-envelope-o::before { content: "✉"; }
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .fa:has(+ .staff-member-info-entry:empty),
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-info-entry:empty,
.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-info-entry:empty + br { display: none; }

/* Delightful Downloads: alte Plugin-Buttons an das Theme angleichen */
a.ddownload-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	box-sizing: border-box;
	max-width: 100%;
	min-height: 2.8rem;
	margin: .25rem .35rem .25rem 0;
	padding: .75rem 1.2rem;
	border: 1px solid var(--wp--preset--color--primary) !important;
	border-radius: 999px;
	background-color: var(--wp--preset--color--primary) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: var(--wp--preset--color--surface) !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: .9rem;
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	text-shadow: none !important;
	white-space: normal;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
a.ddownload-button::before {
	content: "↓";
	display: inline-grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	font-size: .9rem;
	font-weight: 800;
	line-height: 1;
}
a.ddownload-button:hover {
	border-color: var(--wp--preset--color--primary-dark) !important;
	background-color: var(--wp--preset--color--primary-dark) !important;
	color: var(--wp--preset--color--surface) !important;
	transform: translateY(-1px);
}
a.ddownload-button:active { transform: translateY(0); }
a.ddownload-button:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

/* Pfarrbrief: Downloads, Abholorte und Einsende-Aktion */
.pk-pfarrbrief-intro {
	margin-bottom: 2.5rem;
	padding-left: 1.25rem;
	border-left: 3px solid var(--wp--preset--color--accent);
}
.pk-pfarrbrief-intro > * { margin-block: .35rem; }
.pk-pfarrbrief-intro .has-large-font-size {
	font-size: clamp(1.05rem, 2vw, 1.22rem) !important;
	line-height: 1.55;
}
.pk-pfarrbrief-downloads,
.pk-pfarrbrief-pickup,
.pk-pfarrbrief-submit { margin-top: 3rem; }
.pk-pfarrbrief-downloads {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: var(--wp--preset--color--secondary-soft);
}
.pk-pfarrbrief-downloads > .wp-block-heading { margin-top: 0; }
.pk-pfarrbrief-downloads .ddownloads_list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.25rem 0;
	padding: 0;
	list-style: none;
}
.pk-pfarrbrief-downloads .ddownloads_list li { margin: 0; }
.pk-pfarrbrief-downloads .ddownloads_list a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: .8rem;
	align-items: center;
	box-sizing: border-box;
	min-height: 6rem;
	padding: 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--strong);
	font-size: .96rem;
	font-weight: 750;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pk-pfarrbrief-downloads .ddownloads_list a::before {
	content: "PDF";
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: .45rem;
	background: var(--wp--preset--color--primary-soft);
	color: var(--wp--preset--color--primary);
	font-size: .68rem;
	font-weight: 850;
	letter-spacing: .06em;
}
.pk-pfarrbrief-downloads .ddownloads_list a::after {
	content: "↓";
	color: var(--wp--preset--color--primary);
	font-size: 1.25rem;
}
.pk-pfarrbrief-downloads .ddownloads_list a:hover {
	border-color: var(--wp--preset--color--primary);
	box-shadow: var(--pk-shadow-soft);
	transform: translateY(-2px);
}
.pk-pickup-grid { gap: 1rem; margin-top: 1.5rem; }
.pk-pickup-list {
	height: 100%;
	margin: 0;
	padding: .25rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--background);
	list-style: none;
}
.pk-pickup-list li {
	display: grid;
	gap: .12rem;
	padding: .72rem 0;
	border-top: 1px solid var(--wp--preset--color--border);
	line-height: 1.35;
}
.pk-pickup-list li:first-child { border-top: 0; }
.pk-pickup-list strong { color: var(--wp--preset--color--strong); font-size: .9rem; }
.pk-pickup-list span { color: var(--wp--preset--color--muted); font-size: .82rem; }
.pk-pfarrbrief-submit { border-radius: var(--pk-radius-md); }
.pk-pfarrbrief-submit > .wp-block-heading { margin-top: 0; }

.pk-site-footer :where(p, a) { color: #fff !important; }
.pk-site-footer a { text-decoration: none; }
.pk-site-footer a:hover { color: #fff !important; opacity: .82; }
.pk-site-footer .wp-block-navigation-item__content { text-decoration: none; }
.pk-footer-logo-link { display: inline-flex; }
.pk-footer-logo { display: block; width: 158px; height: auto; margin-bottom: .35rem; }
.pk-site-footer .pk-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
	margin-bottom: 1.25rem;
}
.pk-site-footer .pk-footer-grid > .wp-block-column { width: auto; min-width: 0; }
.pk-site-footer .pk-footer-grid p { margin: .4rem 0 0; line-height: 1.55; }
.pk-site-footer .pk-footer-grid .wp-block-heading {
	margin: 0 0 .45rem;
	font-size: 1.05rem !important;
	line-height: 1.25;
}
.pk-site-footer .wp-block-social-links { margin-top: .75rem; }
.pk-site-footer > .wp-block-separator { margin-block: .9rem .75rem; opacity: .42; }
.pk-site-footer .pk-footer-bottom { gap: .75rem 1.5rem; }
.pk-site-footer .pk-footer-bottom p { margin: 0; }
.pk-site-footer .pk-footer-bottom .wp-block-navigation__container { gap: 1rem; }

/* Messdiener-Themenseite */
.pk-minis-page { --pk-minis-accent: #a32e32; }
.pk-minis-page > * { margin-block: 0; }
.pk-minis-page > * + * { margin-block-start: clamp(2.5rem, 6vw, 4.5rem); }
.pk-minis-hero {
	padding: clamp(1.35rem, 4vw, 3rem);
	border: 1px solid var(--wp--preset--color--border);
	border-top: 4px solid var(--pk-minis-accent);
	border-radius: var(--pk-radius-lg);
	background: linear-gradient(135deg, #fff 0%, #f9f2f1 100%);
	box-shadow: var(--pk-shadow-soft);
}
.pk-minis-hero .wp-block-image { margin: 0; }
.pk-minis-hero .wp-block-image img {
	width: min(100%, 28rem);
	height: auto;
	border-radius: 0;
	object-fit: contain;
}
.pk-minis-hero .wp-block-heading { margin-block: .45rem .75rem; }
.pk-minis-eyebrow { color: var(--pk-minis-accent); font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.pk-minis-stats { gap: 1rem; }
.pk-minis-stat {
	height: 100%;
	box-sizing: border-box;
	padding: 1.25rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--pk-shadow-soft);
}
.pk-minis-stat > * { margin-block: 0; }
.pk-minis-stat > * + * { margin-block-start: .35rem; }
.pk-minis-stat strong { color: var(--pk-minis-accent); font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1; }
.pk-minis-section { gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.pk-minis-section .wp-block-image {
	margin: 0;
	padding: 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: #fff;
	box-shadow: var(--pk-shadow-soft);
}
.pk-minis-section .wp-block-image img { width: 100%; max-height: 28rem; object-fit: contain; }
.pk-minis-highlight {
	padding: clamp(1.3rem, 4vw, 2.25rem);
	border-left: 5px solid var(--pk-minis-accent);
	border-radius: 0 var(--pk-radius-md) var(--pk-radius-md) 0;
	background: #f8eeee;
}
.pk-minis-highlight > :first-child { margin-top: 0; }
.pk-minis-highlight > :last-child { margin-bottom: 0; }
.pk-minis-quote {
	margin: 0;
	padding: clamp(1.35rem, 4vw, 2.4rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-lg);
	background: var(--wp--preset--color--secondary-soft);
}
.pk-minis-quote p { font-size: 1rem; line-height: 1.75; }
.pk-minis-quote cite { display: block; margin-top: 1rem; color: var(--wp--preset--color--muted); font-size: .75rem; line-height: 1.5; }
.pk-minis-cta {
	padding: clamp(1.35rem, 4vw, 2.25rem);
	border-radius: var(--pk-radius-lg);
	background: var(--wp--preset--color--secondary-dark);
	color: #fff;
}
.pk-minis-cta :where(h2, p) { color: #fff; }
.pk-minis-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .65rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}
.pk-minis-links li { margin: 0 !important; }
.pk-minis-links a {
	display: flex;
	align-items: center;
	min-height: 3rem;
	padding: .7rem .85rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--strong);
	font-size: .86rem;
	font-weight: 650;
	line-height: 1.35;
	text-decoration: none;
}
.pk-minis-links a:hover { border-color: var(--pk-minis-accent); color: var(--pk-minis-accent); }

/* Optionaler, redaktionell schaltbarer Hinweis auf der Startseite */
.pk-important-notice {
	box-sizing: border-box;
	margin: 0;
	background: var(--wp--preset--color--primary);
	color: #fff;
}
.pk-important-notice__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
	box-sizing: border-box;
	width: min(1200px, calc(100% - 3rem));
	margin-inline: auto;
	padding-block: 1rem;
}
.pk-important-notice__icon {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: #fff;
	color: var(--wp--preset--color--primary);
	font-size: 1.1rem;
	font-weight: 850;
}
.pk-important-notice__title {
	margin: 0;
	color: #fff !important;
	font-size: 1.05rem;
	line-height: 1.3;
}
.pk-important-notice__content p {
	margin: .18rem 0 0;
	color: rgba(255,255,255,.92);
	font-size: .9rem;
	line-height: 1.5;
}
.pk-important-notice__link {
	display: inline-flex;
	gap: .45rem;
	align-items: center;
	padding: .62rem .9rem;
	border-radius: 999px;
	background: #fff;
	color: var(--wp--preset--color--primary) !important;
	font-size: .88rem;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}
.pk-important-notice__link:hover { background: var(--wp--preset--color--primary-soft); }

/* Startseite: kompakter, serviceorientierter Einstieg */
.pk-intro {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.pk-intro::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -7rem;
	top: -10rem;
	width: 32rem;
	height: 32rem;
	border: 1px solid rgba(137,46,50,.09);
	border-radius: 50%;
	box-shadow: 0 0 0 4rem rgba(214,133,82,.035), 0 0 0 8rem rgba(80,101,113,.025);
}
.pk-intro-title {
	max-width: 10em;
	margin-top: .4rem;
	font-size: clamp(2.35rem, 5vw, 3.8rem) !important;
	letter-spacing: -.025em;
}
.pk-intro .has-large-font-size { font-size: 1.12rem !important; line-height: 1.55; }
.pk-search { max-width: 35rem; margin-top: 1.75rem; }
.pk-search .wp-block-search__inside-wrapper {
	padding: .3rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px;
	background: #fff;
}
.pk-search .wp-block-search__input { border: 0; background: transparent; }
.pk-search .wp-block-search__button { margin-left: .25rem; }
.pk-quick-panel,
.pk-news-panel {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	box-shadow: var(--pk-shadow-soft);
}
.pk-quick-panel > .wp-block-heading {
	margin-bottom: .8rem;
	font-size: 1.2rem !important;
}
.pk-quick-grid { gap: var(--pk-space-sm); }
.pk-quick-grid > .wp-block-column { display: grid; gap: var(--pk-space-sm); }
.pk-quick-link {
	position: relative;
	margin: 0;
	padding: .9rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--background);
	line-height: 1.35;
	transition: border-color .18s ease, background-color .18s ease;
}
.pk-quick-link:hover { border-color: var(--wp--preset--color--primary); background: var(--wp--preset--color--primary-soft); }
.pk-quick-link a { color: var(--wp--preset--color--strong); text-decoration: none; }
.pk-quick-link a::after { content: ""; position: absolute; inset: 0; }
.pk-quick-link small { color: var(--wp--preset--color--muted); font-size: .78rem; }
.pk-quick-link-wide {
	margin-top: var(--pk-space-sm);
	padding-right: 3rem;
	background: linear-gradient(105deg, var(--wp--preset--color--primary-soft), var(--wp--preset--color--surface));
}
.pk-quick-link-wide::after {
	content: "→";
	position: absolute;
	right: 1rem;
	top: 50%;
	color: var(--wp--preset--color--primary);
	font-size: 1.25rem;
	font-weight: 700;
	transform: translateY(-50%);
}

.pk-overview .pk-event-list { gap: .7rem; }
.pk-overview .pk-event {
	grid-template-columns: 4rem minmax(0, 30rem) auto;
	justify-content: start;
	gap: .85rem;
	min-height: 5.2rem;
	padding: .8rem;
	border-radius: .65rem;
	box-shadow: 0 2px 9px rgba(39,37,35,.035);
}
.pk-overview .pk-event__date { padding: .55rem .3rem; border-radius: .45rem; }
.pk-overview .pk-event__day { font-size: 1.4rem; }
.pk-overview .pk-event__title { font-size: 1rem; line-height: 1.25; }
.pk-overview .pk-event__content { min-width: 0; max-width: 30rem; }
.pk-news-panel { height: 100%; }
.pk-news-panel > .wp-block-heading { font-size: 1.45rem !important; }
.pk-news-compact .wp-block-post { padding: .8rem 0; border-top: 1px solid var(--wp--preset--color--border); }
.pk-news-compact .wp-block-post:first-child { border-top: 0; }
.pk-news-compact .wp-block-post-title { margin: 0; line-height: 1.35; }
.pk-news-compact .wp-block-post-title a { color: var(--wp--preset--color--strong); text-decoration: none; }
.pk-news-compact .wp-block-post-title a:hover { color: var(--wp--preset--color--primary); }

.pk-service-grid { gap: 1rem; }
.pk-service-card {
	position: relative;
	height: 100%;
	padding: 1.25rem;
	border-top: 2px solid var(--wp--preset--color--primary);
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: #fff;
}
.pk-service-card .wp-block-heading { margin: .65rem 0 .35rem; }
.pk-service-card .wp-block-heading.has-large-font-size { font-size: 1.15rem !important; }
.pk-service-card .wp-block-heading a { color: var(--wp--preset--color--strong); text-decoration: none; }
.pk-service-card .wp-block-heading a::after { content: ""; position: absolute; inset: 0; }
.pk-service-card:hover { background: var(--wp--preset--color--primary-soft); }
.pk-service-icon {
	margin: 0;
	color: var(--wp--preset--color--primary);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
}

.pk-post-grid .wp-block-post {
	border-top: 0;
	border-radius: var(--pk-radius-md);
	box-shadow: 0 2px 12px rgba(39,37,35,.045);
}
.pk-post-grid .wp-block-post:hover { transform: translateY(-2px); box-shadow: var(--pk-shadow-soft); }
.pk-post-grid .wp-block-post-featured-image { aspect-ratio: 16 / 9; margin: 0; background: var(--wp--preset--color--sand); }
.pk-post-grid .wp-block-post-title { line-height: 1.2; }
.pk-post-grid .wp-block-post-title,
.pk-post-grid .wp-block-post-title a {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1.08rem !important;
	font-weight: 750;
	line-height: 1.3;
}
.pk-post-card-body { min-height: 10.5rem; }
.pk-post-placeholder {
	--pk-category-color: #506571;
	--pk-category-accent: #71848d;
	--pk-category-soft: #e8eef0;
	display: grid;
	place-items: center;
	align-content: center;
	gap: .8rem;
	width: 100%;
	min-height: 10.5rem;
	margin: 0;
	border-top: 4px solid var(--pk-category-color);
	background: linear-gradient(145deg, var(--pk-category-soft), #fff);
	color: var(--pk-category-color);
}
.pk-post-image {
	--pk-category-color: #506571;
	--pk-category-accent: #71848d;
	--pk-category-soft: #e8eef0;
	position: relative;
	border-top: 4px solid var(--pk-category-color);
	background: var(--pk-category-soft);
}
.pk-post-grid .pk-post-image a {
	display: block;
	height: 100%;
}
.pk-post-grid .pk-post-image img {
	width: 100%;
	height: 100%;
	filter: grayscale(1) contrast(.82);
	opacity: .27;
}
.pk-post-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--pk-category-soft) 52%, transparent);
	pointer-events: none;
}
.pk-post-image-overlay {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: grid;
	place-items: center;
	align-content: center;
	gap: .8rem;
	color: var(--pk-category-color);
	pointer-events: none;
}
.pk-placeholder-symbols { display: flex; gap: .4rem; }
.pk-placeholder-symbols i { display: block; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--pk-category-color); }
.pk-placeholder-symbols i:nth-child(2) { background: var(--pk-category-accent); }
.pk-placeholder-symbols i:nth-child(3) { background: color-mix(in srgb, var(--pk-category-color) 45%, white); }
.pk-placeholder-label {
	box-sizing: border-box;
	width: 100%;
	padding-inline: 1rem;
	font-size: .7rem;
	font-weight: 750;
	letter-spacing: .09em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	overflow-wrap: normal;
	hyphens: auto;
}
.pk-category-tone-0 { --pk-category-color: #506571; --pk-category-accent: #71848d; --pk-category-soft: #e8eef0; }
.pk-category-tone-1 { --pk-category-color: #892e32; --pk-category-accent: #b75b5e; --pk-category-soft: #f7efef; }
.pk-category-tone-2 { --pk-category-color: #c56f3c; --pk-category-accent: #df9a70; --pk-category-soft: #fbf0e9; }
.pk-category-tone-3 { --pk-category-color: #2f6b67; --pk-category-accent: #5d928d; --pk-category-soft: #e9f3f1; }
.pk-category-tone-4 { --pk-category-color: #976516; --pk-category-accent: #bd8835; --pk-category-soft: #faf3e5; }
.pk-category-tone-5 { --pk-category-color: #6f5b7b; --pk-category-accent: #927da0; --pk-category-soft: #f1edf3; }
.pk-post-grid .pk-post-placeholder { background: linear-gradient(145deg, var(--pk-category-soft), #fff); }
.pk-explore {
	padding-block: clamp(1.35rem, 3vw, 2rem) !important;
	border-top: 1px solid var(--wp--preset--color--border);
}
.pk-explore .wp-block-columns { gap: clamp(1rem, 3vw, 2rem); }
.pk-explore h2 {
	margin: 0 0 .35rem;
	font-size: clamp(1.55rem, 2.7vw, 2rem) !important;
}
.pk-explore p { max-width: 42rem; margin: 0; font-size: clamp(.96rem, 1.5vw, 1.08rem) !important; line-height: 1.5; }
.pk-explore .wp-block-buttons { gap: .55rem; }
.pk-explore .wp-block-button__link { padding: .62rem .95rem; font-size: .88rem; }
@media (max-width: 781px) {
	.pk-explore .wp-block-columns { gap: 1rem; }
	.pk-explore .wp-block-buttons { justify-content: flex-start; }
}

/* Kultur-Landingpage: redaktionell aus Core-Blöcken aufgebaut */
.page-id-49697 .pk-article-shell > .wp-block-post-featured-image {
	display: grid;
	place-items: center;
	margin-block: 1.5rem 0;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: linear-gradient(135deg, #f4f7fa, var(--wp--preset--color--primary-soft));
}
.page-id-49697 .pk-article-shell > .wp-block-post-featured-image img {
	width: clamp(13rem, 30vw, 20rem);
	height: auto !important;
	max-height: none;
	object-fit: contain !important;
}
.pk-culture-page { --pk-culture-blue: #376a9f; --pk-culture-gold: #d89b24; }
.pk-culture-page > * { margin-block: 0; }
.pk-culture-page > * + * { margin-top: clamp(2.25rem, 5vw, 4.5rem); }
.pk-culture-intro {
	padding-block: clamp(1.5rem, 4vw, 3rem);
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.pk-culture-lead {
	max-width: 48rem;
	font-size: clamp(1.08rem, 2.2vw, 1.28rem);
	line-height: 1.65;
}
.pk-culture-actions { margin-top: 1.4rem; }
.pk-culture-actions .wp-block-button__link { min-height: 3rem; }
.pk-poster-carousel-section {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
	background: var(--wp--preset--color--background);
}
.pk-poster-carousel-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}
.pk-poster-carousel-header > * { margin-block: 0; }
.pk-poster-carousel-controls { display: flex; gap: .55rem; }
.pk-poster-carousel-control {
	display: grid;
	place-items: center;
	width: 2.7rem;
	height: 2.7rem;
	padding: 0;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--primary);
	font: inherit;
	font-size: 1.25rem;
	cursor: pointer;
}
.pk-poster-carousel-control:hover:not(:disabled) { border-color: var(--wp--preset--color--primary); background: var(--wp--preset--color--primary-soft); }
.pk-poster-carousel-control:disabled { opacity: .35; cursor: default; }
.pk-poster-carousel {
	display: grid !important;
	grid-auto-flow: column;
	grid-auto-columns: minmax(14rem, 28%);
	gap: 1rem !important;
	width: 100%;
	margin: 0;
	padding: .2rem .1rem 1rem;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: inline mandatory;
	scrollbar-color: var(--wp--preset--color--primary) var(--wp--preset--color--border);
	scrollbar-width: thin;
}
.pk-poster-carousel > .wp-block-image {
	width: auto !important;
	margin: 0 !important;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--pk-shadow-soft);
	overflow: hidden;
	scroll-snap-align: start;
}
.pk-poster-carousel > .wp-block-image a { display: block; height: 100%; }
.pk-poster-carousel > .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 9 / 16;
	object-fit: contain;
	background: #fff;
}
.pk-culture-stats { gap: var(--pk-space-md); }
.pk-culture-stat {
	height: 100%;
	padding: 1.25rem;
	border: 1px solid var(--wp--preset--color--border);
	border-top: 4px solid var(--pk-culture-blue);
	border-radius: var(--pk-radius-sm);
	background: var(--wp--preset--color--surface);
}
.pk-culture-stat:nth-child(2) { border-top-color: var(--pk-culture-gold); }
.pk-culture-stat:nth-child(3) { border-top-color: var(--wp--preset--color--primary); }
.pk-culture-stat > * { margin-block: .2rem; }
.pk-culture-stat strong { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.pk-culture-section-heading { margin-bottom: 1.25rem; }
.pk-culture-events {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: var(--pk-radius-md);
	background: var(--wp--preset--color--sand);
}
.pk-culture-events .pk-event-list { gap: .7rem; }
.pk-culture-story { gap: clamp(1.5rem, 4vw, 3.5rem); }
.pk-culture-story > .wp-block-column {
	padding: clamp(1.2rem, 3vw, 2rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--pk-radius-md);
}
.pk-culture-story > .wp-block-column:first-child { background: var(--wp--preset--color--primary-soft); }
.pk-culture-ticket-box {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-left: 4px solid var(--pk-culture-gold);
	border-radius: 0 var(--pk-radius-md) var(--pk-radius-md) 0;
	background: #fffaf0;
}
.pk-culture-program { gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.pk-culture-program .wp-block-image img {
	max-height: 35rem;
	border-radius: var(--pk-radius-sm);
	box-shadow: var(--pk-shadow-soft);
	object-fit: contain;
}
.pk-culture-news .wp-block-post-template { margin-top: 1.25rem; }

@media (max-width: 700px) {
	:where(.entry-content, .editor-styles-wrapper) .pk-link-grid { grid-template-columns: 1fr; }
	:where(.entry-content, .editor-styles-wrapper) .pk-link-details { padding-inline: .9rem; }
	.pk-minis-stats,
	.pk-minis-section { display: grid; grid-template-columns: 1fr; }
	.pk-minis-links { grid-template-columns: 1fr; }
	.pk-single-featured-image img { height: clamp(14rem, 62vw, 20rem) !important; }
	.pk-single-header {
		width: calc(100% - 1.5rem);
		margin-top: -2.5rem;
		padding: 1.15rem;
	}
	.pk-single-header .wp-block-post-title { font-size: clamp(1.65rem, 8vw, 2.3rem) !important; }
	.pk-single-hero + .entry-content { margin-block-start: 2.5rem; }
	.pk-post-navigation { display: grid !important; grid-template-columns: 1fr; }
	.pk-post-nav-link { max-width: 100%; }
	.pk-post-nav-link--next { justify-content: flex-start; text-align: left; }
	.pk-culture-stats,
	.pk-culture-story,
	.pk-culture-program { display: grid; grid-template-columns: 1fr; }
	.pk-culture-actions { align-items: stretch; }
	.pk-culture-actions .wp-block-button { width: 100%; }
	.pk-culture-actions .wp-block-button__link { width: 100%; }
	.pk-poster-carousel-header { align-items: center; }
	.pk-poster-carousel-header .wp-block-heading { font-size: 1.3rem !important; }
	.pk-poster-carousel { grid-auto-columns: minmax(12.5rem, 72%); }
}

@media (max-width: 1120px) {
	.pk-article-shell .entry-content .pk-story-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pk-post-grid .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pk-article-shell .entry-content > .wp-block-navigation[aria-label="Unterseiten"] .wp-block-navigation__container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pk-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.pk-site-header .wp-block-navigation__responsive-container-open { display: flex; }
	.pk-site-header .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed;
		inset: 0;
		z-index: 100000;
		display: block;
		width: 100%;
		height: 100dvh;
		padding: 0 !important;
		overflow-y: auto;
		background: var(--wp--preset--color--background) !important;
		color: var(--wp--preset--color--strong);
	}
	.pk-site-header .wp-block-navigation__responsive-close,
	.pk-site-header .wp-block-navigation__responsive-dialog {
		width: 100%;
		min-height: 100%;
	}
	.pk-site-header .wp-block-navigation__responsive-dialog {
		box-sizing: border-box;
		max-width: 50rem;
		margin: 0 auto;
		padding: 6rem 2.4rem 3rem;
	}
	.pk-site-header .wp-block-navigation__responsive-dialog::before {
		content: "Menü";
		position: absolute;
		top: 2.2rem;
		left: 2.4rem;
		font-family: var(--wp--preset--font-family--heading);
		font-size: 2rem;
		font-weight: 700;
		line-height: 1;
	}
	.pk-site-header .wp-block-navigation__responsive-container-close {
		top: 1.65rem;
		right: 2.4rem;
		display: grid;
		place-items: center;
		width: 2.8rem;
		height: 2.8rem;
		border-radius: 50%;
		background: var(--wp--preset--color--primary-soft);
		color: var(--wp--preset--color--primary);
	}
	.pk-site-header .wp-block-navigation__responsive-container-content {
		align-items: stretch !important;
		padding-top: 0 !important;
	}
	.pk-site-header .is-menu-open .wp-block-navigation__container {
		display: grid !important;
		gap: .75rem;
		align-items: stretch !important;
		width: 100%;
	}
	.pk-site-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
		position: relative;
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		width: 100%;
		border: 1px solid var(--wp--preset--color--border);
		border-radius: .8rem;
		background: var(--wp--preset--color--surface);
		overflow: hidden;
	}
	.pk-site-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		min-height: 3.8rem;
		padding: .9rem 1.1rem;
		color: var(--wp--preset--color--strong);
		font-size: 1rem;
		font-weight: 750;
		line-height: 1.3;
		text-align: left;
		text-decoration: none;
	}
	.pk-site-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
		background: var(--wp--preset--color--primary-soft);
		color: var(--wp--preset--color--primary);
	}
	.pk-site-header .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
	.pk-site-header .is-menu-open .wp-block-navigation__submenu-container {
		position: static !important;
		grid-column: 1 / -1;
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .45rem;
		visibility: visible !important;
		width: auto !important;
		height: auto !important;
		padding: 0 .75rem .75rem !important;
		border: 0 !important;
		background: transparent !important;
		opacity: 1 !important;
	}
	.pk-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
		display: block;
		width: 100%;
	}
	.pk-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		min-height: 2.8rem;
		padding: .65rem .8rem;
		border: 1px solid var(--wp--preset--color--border);
		border-radius: .45rem;
		background: var(--wp--preset--color--background);
		color: var(--wp--preset--color--strong);
		font-size: .87rem;
		font-weight: 600;
		line-height: 1.3;
		text-align: left;
		text-decoration: none;
	}
	.pk-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
		background: var(--wp--preset--color--primary-soft);
		color: var(--wp--preset--color--primary);
	}
	.pk-site-header .is-menu-open .current-menu-item > .wp-block-navigation-item__content {
		background: var(--wp--preset--color--primary-soft);
		color: var(--wp--preset--color--primary) !important;
	}
	.pk-logo { width: 150px; }
	.pk-intro .wp-block-column { flex-basis: 100% !important; }
	.pk-intro .wp-block-columns { gap: 2rem; }
	.pk-overview > .wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
	.pk-site-footer > .wp-block-columns {
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
	}
	.pk-site-footer > .wp-block-columns > .wp-block-column { width: auto; }
	.pk-site-footer > .wp-block-columns > .wp-block-column:first-child { grid-column: auto; }
	.pk-site-footer .wp-block-heading { overflow-wrap: normal; word-break: normal; }
	.pk-event { grid-template-columns: 4.5rem 1fr; }
	.pk-event__arrow { display: none; }
}
@media (max-width: 700px) {
	.pk-article-shell .entry-content .pk-story-gallery { grid-template-columns: 1fr; }
	.pk-church-portrait { gap: 1.25rem; margin-bottom: 2.5rem; }
	.pk-church-portrait .wp-block-image { max-width: 22rem; margin-inline: auto; }
	.pk-church-history,
	.pk-nativity-section { margin-top: 2.5rem; }
	.pk-article-shell { padding: 1.25rem !important; border-radius: var(--pk-radius-md); }
	.pk-article-shell .entry-content > h2 { margin-top: 2.4rem; padding-top: 1.15rem; }
	.pk-article-shell .entry-content > h3 { margin-top: 1.8rem; }
	:where(.entry-content, .editor-styles-wrapper) .wp-block-group.is-style-pk-info-box { padding: 1rem; }
	.pk-pfarrbrief-downloads .ddownloads_list { grid-template-columns: 1fr; }
	.pk-pfarrbrief-downloads,
	.pk-pfarrbrief-submit { padding: 1.1rem !important; }
	.pk-post-grid .wp-block-post-template { grid-template-columns: 1fr !important; }
	.pk-important-notice__inner {
		grid-template-columns: auto minmax(0, 1fr);
		width: calc(100% - 2rem);
	}
	.pk-important-notice__link { grid-column: 2; justify-self: start; }
	.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) { grid-template-columns: 1fr; }
	.staff-member-listing:is(.pastorales-team, .pfarrsekretaerinnen) .staff-member-position { min-height: 0; }
	.pk-article-shell .entry-content > .wp-block-navigation[aria-label="Unterseiten"] .wp-block-navigation__container { grid-template-columns: 1fr; }
	.pk-site-header .wp-block-navigation__responsive-dialog { padding: 5.5rem 1.1rem 2rem; }
	.pk-site-header .wp-block-navigation__responsive-dialog::before { top: 2rem; left: 1.1rem; }
	.pk-site-header .wp-block-navigation__responsive-container-close { top: 1.4rem; right: 1.1rem; }
	.pk-site-header .is-menu-open .wp-block-navigation__submenu-container { grid-template-columns: 1fr; }
	.pfarrei-service-plan .gdo tr[id] {
		grid-template-columns: 4.5rem minmax(0, 1fr);
		gap: .25rem .8rem;
		padding: .75rem;
	}
	.pfarrei-service-plan .gdo .Uhrzeit { grid-row: 1 / 3; align-self: stretch; display: grid; place-items: center; }
	.pfarrei-service-plan .gdo .Raum,
	.pfarrei-service-plan .gdo .Termin { grid-column: 2; }
	.pfarrei-service-plan .gdo .header { font-size: 1.1rem; }
	.wpcf7-form { padding: 1rem; }
	.pk-utility-links { display: none !important; }
	.pk-utility-bar > .wp-block-group { justify-content: center; }
	.pk-utility-bar p { font-size: .75rem !important; text-align: center; }
	.pk-logo { width: 138px; }
	.pk-intro { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
	.pk-intro-title { font-size: clamp(2.1rem, 10vw, 2.7rem) !important; }
	.pk-intro .has-large-font-size { font-size: 1.02rem !important; }
	.pk-quick-panel { padding: 1.1rem !important; }
	.pk-quick-grid { gap: .55rem; }
	.pk-quick-link { padding: .75rem .55rem; }
	.pk-quick-link strong { font-size: .9rem; }
	.pk-service-card { padding: 1rem; }
	.pk-site-footer > .wp-block-columns { grid-template-columns: 1fr; }
	.pk-site-footer > .wp-block-columns > .wp-block-column:first-child { grid-column: auto; }
	.pk-site-footer .pk-footer-grid { gap: 1.15rem; }
	.pk-site-footer .pk-footer-grid > .wp-block-column + .wp-block-column { padding-top: .85rem; border-top: 1px solid rgba(255,255,255,.16); }
	.pk-site-header .wp-block-site-tagline { display: none; }
	.pk-event { gap: .85rem; padding: .85rem; }
}
/* Consent notice and privacy-preserving external media. */
.pk-download-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-block: 2rem 3rem;
}
.pk-download-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-height: 100%;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border: 1px solid var(--wp--preset--color--border, #ded5ce);
	border-radius: var(--pk-radius-md, 1rem);
	background: #fff;
}
.pk-download-card > h2 { margin: 0 0 .55rem; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.pk-download-card > p { margin-top: 0; color: var(--wp--preset--color--muted, #686563); }
.pk-download-card .wp-block-file {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: .75rem;
	margin: .65rem 0 0;
	padding: .8rem;
	border: 1px solid var(--wp--preset--color--border, #ded5ce);
	border-radius: .75rem;
	background: var(--wp--preset--color--primary-soft, #f7eded);
}
.pk-download-card .wp-block-file > a:first-child {
	color: var(--wp--preset--color--strong, #1f2325);
	font-weight: 700;
	text-decoration: none;
}
.pk-download-card .wp-block-file__button {
	margin: 0 !important;
	padding: .55rem .8rem !important;
	white-space: nowrap;
	font-size: .82rem !important;
}
.pk-download-card__more { margin-top: auto !important; padding-top: 1.25rem; }
.pk-download-card__more a { color: var(--wp--preset--color--primary, #892e32); font-weight: 700; text-decoration: none; }
.pk-download-card--pfarrbrief .wp-block-buttons { margin-top: auto; padding-top: 1rem; }
@media (max-width: 760px) {
	.pk-download-grid { grid-template-columns: 1fr; }
	.pk-download-card .wp-block-file { grid-template-columns: 1fr; }
	.pk-download-card .wp-block-file__button { justify-self: start; }
}

.pk-unified-team .pk-team-jump-links { margin-block: 1.5rem 2.75rem; }
.pk-unified-team .pk-team-jump-links .wp-block-button__link {
	padding: .65rem 1rem;
	font-size: .9rem;
}
.pk-unified-team .pk-team-section {
	scroll-margin-top: 8rem;
	margin-top: clamp(2.75rem, 6vw, 4.5rem);
}
.pk-unified-team .pk-team-section > h2 { margin-bottom: .75rem; }
.pk-unified-team .pk-team-section > .pk-page-intro { margin-bottom: 1.5rem; }
.pk-unified-team .pk-team-service-link { margin-top: clamp(3rem, 7vw, 5rem); }

#cookie-notice.cn-position-bottom {
	left: 50%;
	right: auto;
	bottom: 1rem;
	width: calc(100% - 2rem);
	max-width: 68rem;
	min-width: 0;
	transform: translateX(-50%);
	border: 1px solid var(--wp--preset--color--border, #ded5ce);
	border-radius: var(--pk-radius-md, 1rem);
	box-shadow: 0 1rem 3rem rgba(27, 30, 32, .18);
	overflow: hidden;
}
#cookie-notice .cookie-notice-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: .75rem 1.5rem;
	padding: 1.15rem 1.25rem;
	text-align: left;
}
#cookie-notice #cn-notice-text {
	display: block;
	max-width: 47rem;
	margin: 0;
	font-size: .94rem;
	line-height: 1.55;
}
#cookie-notice #cn-notice-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: .55rem;
}
#cookie-notice .cn-button {
	min-height: 2.65rem;
	margin: 0 !important;
	padding: .62rem .9rem !important;
	border-radius: 999px !important;
	font: 700 .88rem/1.2 var(--wp--preset--font-family--sans, sans-serif) !important;
	text-decoration: none !important;
}
#cookie-notice :is(#cn-accept-cookie, #cn-refuse-cookie) {
	background: #fff !important;
	color: #892e32 !important;
	border: 1px solid #892e32 !important;
	box-shadow: none !important;
}
#cookie-notice :is(#cn-accept-cookie, #cn-refuse-cookie):hover,
#cookie-notice :is(#cn-accept-cookie, #cn-refuse-cookie):focus-visible {
	background: #892e32 !important;
	color: #fff !important;
}
#cookie-notice #cn-more-info {
	min-height: auto;
	padding: .45rem .3rem !important;
	background: transparent !important;
	color: inherit !important;
	border: 0 !important;
	border-radius: 0 !important;
	text-decoration: underline !important;
	text-underline-offset: .2em;
}
#cookie-notice #cn-close-notice { display: none !important; }
#cookie-notice.cookie-revoke-visible {
	left: 1rem;
	right: auto;
	bottom: 1rem;
	width: auto;
	max-width: calc(100% - 2rem);
	transform: none;
	border-radius: 999px;
}
#cookie-notice .cookie-revoke-container {
	display: flex;
	align-items: center;
	gap: .65rem;
	padding: .45rem .55rem .45rem .85rem;
}
#cookie-notice .cookie-revoke-container #cn-revoke-text {
	margin: 0;
	font-size: .8rem;
}
.pk-consent-media {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 18rem;
	margin-block: 1.75rem;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border, #ded5ce);
	border-radius: var(--pk-radius-md, 1rem);
	background: linear-gradient(135deg, #f7f3f1, #edf1f2);
}
.pk-consent-media__placeholder {
	display: grid;
	justify-items: center;
	gap: .7rem;
	max-width: 38rem;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	text-align: center;
}
.pk-consent-media__icon {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	padding-left: .2rem;
	border-radius: 50%;
	background: #892e32;
	color: #fff;
}
.pk-consent-media__placeholder strong { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.pk-consent-media__placeholder p { margin: 0; color: #5f6263; font-size: .95rem; line-height: 1.55; }
.pk-consent-media__button {
	min-height: 2.75rem;
	padding: .7rem 1.15rem;
	border: 0;
	border-radius: 999px;
	background: #892e32;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.pk-consent-media__privacy { color: #892e32; font-size: .86rem; text-underline-offset: .2em; }
.pk-consent-media__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pk-consent-media.is-loaded .pk-consent-media__placeholder { display: none; }
@media (max-width: 760px) {
	#cookie-notice .cookie-notice-container { grid-template-columns: 1fr; padding: 1rem; }
	#cookie-notice #cn-notice-buttons { justify-content: flex-start; }
	#cookie-notice :is(#cn-accept-cookie, #cn-refuse-cookie) { flex: 1 1 11rem; text-align: center; }
	#cookie-notice .cookie-revoke-container #cn-revoke-text { display: none; }
	.pk-consent-media { min-height: 16rem; aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
