.psfpd-shell,
.psfpd-shell.psfpd-shell {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.psfpd-single {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

.psfpd-single-intro {
	display: flex;
	flex-direction: column;
	margin: 0 0 2.5rem;
	background: var(--ps-surface);
	border: 1px solid var(--ps-border);
}

.psfpd-gallery {
	margin: 0;
	max-width: none;
}

.psfpd-gallery-stage {
	position: relative;
	width: 100%;
	min-height: 14rem;
	background: #f7f4ef;
	display: flex;
	align-items: center;
	justify-content: center;
}

.psfpd-gallery-main {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: min(32rem, 80vh);
	object-fit: contain;
	object-position: center;
	display: block;
}

.psfpd-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 253, 249, 0.92);
	color: var(--ps-navy);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.psfpd-gallery-nav.is-prev { left: 0.75rem; }
.psfpd-gallery-nav.is-next { right: 0.75rem; }

.psfpd-gallery-rail {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.85rem 1rem 1rem;
	border-top: 1px solid var(--ps-border);
}

.psfpd-gallery-count {
	margin: 0;
	font-size: 0.85rem;
	color: var(--ps-text-muted);
}

.psfpd-gallery-thumbs {
	display: block !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap !important;
	flex-wrap: nowrap;
	width: 100%;
	font-size: 0;
	line-height: 0;
	scrollbar-width: thin;
}

.psfpd-gallery-thumbs > li,
.psfpd-thumb {
	display: inline-block !important;
	float: none !important;
	vertical-align: top;
	white-space: normal;
	padding: 0;
	border: 2px solid transparent;
	background: none;
	cursor: pointer;
	width: 72px !important;
	min-width: 72px !important;
	max-width: 72px !important;
	height: auto;
	margin: 0 0.5rem 0 0 !important;
	font-size: 0;
}

.psfpd-thumb img {
	width: 72px !important;
	height: 90px !important;
	max-width: 72px !important;
	max-height: 90px !important;
	object-fit: cover !important;
	display: block !important;
}

.psfpd-thumb.is-active {
	border-color: var(--ps-navy);
}

.psfpd-service-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
}

.psfpd-service-list li {
	padding: 0.28rem 0.65rem;
	border: 1px solid var(--ps-border);
	border-radius: 999px;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	color: var(--ps-text-muted);
	background: var(--ps-surface);
}

.psfpd-service-list.is-compact {
	margin: 0.6rem 0 0.2rem;
}

.psfpd-service-list .is-more {
	border-style: dashed;
}

.psfpd-services,
.psfpd-map,
.psfpd-video,
.psfpd-about {
	margin: 0 0 2.5rem;
}

.psfpd-services h2,
.psfpd-map h2,
.psfpd-video h2,
.psfpd-about h2 {
	font-family: var(--ps-font-serif);
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--ps-heading);
	margin: 0 0 1rem;
}

.psfpd-map-frame,
.psfpd-video-frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #eee8df;
}

.psfpd-map-frame {
	aspect-ratio: 16 / 10;
}

.psfpd-video-frame {
	aspect-ratio: 16 / 9;
}

.psfpd-map-frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% + 2.25rem);
	border: 0;
}

.psfpd-single-map {
	height: 18rem;
	width: 100%;
	background: #eee8df;
	border: 1px solid var(--ps-border);
	z-index: 1;
}

.psfpd-map-note {
	margin: 0.65rem 0 0;
	font-size: 0.85rem;
	color: var(--ps-text-muted);
}

.psfpd-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	display: block;
}

.psfpd-back {
	margin: 0 0 2rem;
}

.psfpd-back a {
	color: var(--ps-heading);
	text-decoration: none;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
}

.psfpd-single-header {
	margin-bottom: 1.75rem;
}

.psfpd-single-header .psfpd-lang-switch {
	margin-bottom: 0.85rem;
}

.psfpd-single-header h1 {
	margin: 0 0 0.85rem;
	font-family: var(--ps-font-serif);
	font-size: clamp(2rem, 4.5vw, 3.1rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: var(--ps-heading);
}

.psfpd-person {
	margin: 0 0 0.4rem;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ps-red);
}

.psfpd-place {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
}

.psfpd-place span {
	display: inline-block;
	padding: 0.28rem 0.7rem;
	border: 1px solid var(--ps-border);
	background: var(--ps-surface);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	color: var(--ps-heading);
}

.psfpd-facts {
	display: grid;
	grid-template-columns: 1fr;
	margin: 0;
	padding: 0;
	max-width: none;
	background: transparent;
	border: 0;
}

.psfpd-gallery + .psfpd-facts {
	border-top: 1px solid var(--ps-border);
}

.psfpd-fact {
	padding: 1rem 1.15rem;
	border-bottom: 1px solid var(--ps-border);
}

.psfpd-fact:last-child {
	border-bottom: 0;
}

.psfpd-facts dt {
	margin: 0 0 0.35rem;
	font-family: var(--ps-font-sans);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ps-text-muted);
}

.psfpd-facts dd,
.psfpd-facts dd a {
	margin: 0;
	padding: 0;
	font-family: var(--ps-font-sans);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ps-heading) !important;
	text-decoration: none !important;
}

.psfpd-facts dd a:hover,
.psfpd-facts dd a:focus {
	color: var(--ps-heading) !important;
	text-decoration: none !important;
}

.psfpd-lang-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
}

.psfpd-lang-chips li {
	display: inline-block;
	padding: 0.28rem 0.7rem;
	background: var(--ps-navy);
	color: #f7f4ef;
	font-family: var(--ps-font-sans);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.3;
}

.psfpd-lang-chips li + li::before {
	content: none;
}

@media (min-width: 720px) {
	.psfpd-facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.psfpd-fact {
		border-bottom: 0;
		border-right: 1px solid var(--ps-border);
	}

	.psfpd-fact:last-child {
		border-right: 0;
	}

	.psfpd-fact.is-provider {
		grid-column: 1 / -1;
		border-right: 0;
		border-bottom: 1px solid var(--ps-border);
	}
}

.psfpd-about h2 {
	font-family: var(--ps-font-serif);
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--ps-heading);
	margin: 0 0 1rem;
}

.psfpd-prose p {
	margin: 0 0 1rem;
	color: var(--ps-text);
}

body.psfpd-preview {
	margin: 0;
	background: var(--ps-background, #f7f4ef);
}

.psfpd-preview-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem 1.5rem;
	background: var(--ps-navy);
	color: #fff;
	font-family: var(--ps-font-sans);
	font-size: 0.85rem;
}

.psfpd-preview-bar a {
	color: #fff;
}

.psfpd-shell .psfpd-single {
	font-family: var(--ps-font-sans) !important;
	color: var(--ps-text) !important;
}

.psfpd-single h1,
.psfpd-single h2 {
	font-family: var(--ps-font-serif) !important;
	font-weight: 500 !important;
	color: var(--ps-heading) !important;
}

.psfpd-single a {
	color: var(--ps-red);
}

.psfpd-single .psfpd-lang-switch a {
	color: var(--ps-navy);
}

.psfpd-single .psfpd-lang-switch a.is-current {
	color: #f7f4ef;
}

.psfpd-single .psfpd-back a {
	color: var(--ps-heading) !important;
}

.psfpd-single button {
	font-family: inherit !important;
}
