:root,
.psfpd,
.psfpd-shell {
	--ps-red: #c1282a;
	--ps-primary: #c1282a;
	--ps-navy: #122069;
	--ps-heading: var(--ps-navy);
	--ps-text: #3a3a3a;
	--ps-text-muted: #6a6a6a;
	--ps-background: #f7f4ef;
	--ps-surface: #ffffff;
	--ps-border: #e3ddd4;
	--ps-radius: 2px;
	--ps-spacing: 8px;
	--ps-font-serif: Barlow, sans-serif;
	--ps-font-sans: Barlow, sans-serif;
	--ps-focus: var(--ps-navy);
}

.psfpd-shell,
.psfpd {
	box-sizing: border-box;
	color: var(--ps-text);
	font-family: var(--ps-font-sans);
	font-size: 1rem;
	line-height: 1.55;
	background: transparent;
}

.psfpd *,
.psfpd *::before,
.psfpd *::after {
	box-sizing: border-box;
}

.psfpd {
	max-width: 1200px;
	margin: 0 auto;
	padding: calc(var(--ps-spacing) * 6) calc(var(--ps-spacing) * 3) calc(var(--ps-spacing) * 10);
}

.psfpd-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.psfpd-header {
	max-width: none;
	margin-bottom: calc(var(--ps-spacing) * 6);
}

.psfpd-kicker {
	margin: 0 0 calc(var(--ps-spacing) * 2);
	font-family: var(--ps-font-serif);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--ps-heading);
}

.psfpd-lede {
	margin: 0;
	max-width: 36rem;
	color: var(--ps-text-muted);
	font-size: 1.125rem;
}

.psfpd-lang-switch {
	display: inline-flex;
	align-items: stretch;
	margin: 0 0 calc(var(--ps-spacing) * 4);
	padding: 3px;
	border: 1px solid var(--ps-border);
	border-radius: 999px;
	background: var(--ps-surface);
	gap: 0;
}

.psfpd-lang-switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 5.75rem;
	padding: 0.42rem 1.05rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-decoration: none;
	color: var(--ps-navy);
	background: transparent;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.psfpd-lang-switch a:hover,
.psfpd-lang-switch a:focus-visible {
	background: var(--ps-background);
	color: var(--ps-navy);
	text-decoration: none;
}

.psfpd-lang-switch a.is-current,
.psfpd-lang-switch a.is-current:hover,
.psfpd-lang-switch a.is-current:focus-visible {
	background: var(--ps-navy);
	color: #f7f4ef;
}

.psfpd-toolbar {
	display: grid;
	gap: calc(var(--ps-spacing) * 2);
	margin-bottom: calc(var(--ps-spacing) * 4);
}

.psfpd-search input {
	width: 100%;
	padding: 1rem 1.15rem;
	border: 1px solid var(--ps-border);
	border-radius: var(--ps-radius);
	background: var(--ps-surface);
	font-size: 1rem;
	color: var(--ps-text);
}

.psfpd-filters {
	display: grid;
	grid-template-columns: 1fr;
	gap: calc(var(--ps-spacing) * 2);
}

.psfpd-filter label,
.psfpd-filter-spacer {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ps-text-muted);
}

.psfpd-filter-spacer {
	visibility: hidden;
}

.psfpd-filter select,
.psfpd-submit {
	width: 100%;
	min-height: 3.05rem;
	padding: 0.85rem 1.15rem;
	border: 1px solid var(--ps-border);
	border-radius: var(--ps-radius);
	background: var(--ps-surface);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.2;
	color: var(--ps-text);
}

.psfpd-submit {
	background: var(--ps-navy);
	border-color: var(--ps-navy);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.psfpd-submit:hover {
	background: var(--ps-background);
	border-color: var(--ps-navy);
	color: var(--ps-navy);
}

.psfpd-submit:focus-visible {
	background: var(--ps-navy);
	border-color: var(--ps-navy);
	color: #fff;
}

.psfpd a:focus-visible,
.psfpd button:focus-visible,
.psfpd input:focus-visible,
.psfpd select:focus-visible {
	outline: 2px solid var(--ps-focus);
	outline-offset: 3px;
}

.psfpd-count {
	margin: 0 0 calc(var(--ps-spacing) * 3);
	font-size: 0.95rem;
	color: var(--ps-text-muted);
}

.psfpd-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: calc(var(--ps-spacing) * 5) calc(var(--ps-spacing) * 3);
}

.psfpd-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.psfpd-card-media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #eee8df;
	margin-bottom: 1rem;
}

.psfpd-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.psfpd-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
	background:
		radial-gradient(circle at 78% 22%, rgba(193, 40, 42, 0.12), transparent 42%),
		linear-gradient(165deg, #f7f4ef 0%, #ebe4da 100%);
}

.psfpd-placeholder-art {
	width: 58%;
	height: auto;
	display: block;
}

.psfpd-card-title {
	margin: 0 0 0.35rem;
	font-family: var(--ps-font-serif);
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--ps-heading);
}

.psfpd-card-meta,
.psfpd-card-langs {
	margin: 0 0 0.25rem;
	color: var(--ps-text-muted);
	font-size: 0.95rem;
}

.psfpd-card-cta,
.psfpd-card-link .psfpd-card-cta {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ps-red);
}

.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-card-link:hover .psfpd-card-cta {
	text-decoration: underline;
}

.psfpd-empty {
	padding: calc(var(--ps-spacing) * 8) 0;
	text-align: center;
	color: var(--ps-text-muted);
}

.psfpd-text-link {
	color: var(--ps-red);
}

.psfpd-pagination ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: calc(var(--ps-spacing) * 6) 0 0;
	padding: 0;
	font-size: 0.95rem;
	text-align: center;
}

.psfpd-pagination a {
	color: var(--ps-heading);
	text-decoration: none;
}

.psfpd-pagination [aria-current="page"] {
	color: var(--ps-red);
	font-weight: 600;
}

.psfpd-directory-map {
	height: 22rem;
	width: 100%;
	margin: 0 0 1.5rem;
	background: #eee8df;
	border: 1px solid var(--ps-border);
	z-index: 1;
}

.psfpd-pin {
	background: transparent;
	border: 0;
}

.psfpd-pin-art {
	display: block;
	width: 18px;
	height: 24px;
	filter: drop-shadow(0 1px 2px rgba(18, 32, 105, 0.35));
}

.psfpd-map-card {
	width: 210px;
	font-family: var(--ps-font-sans);
	color: var(--ps-text);
}

.psfpd-map-card img {
	display: block;
	width: 100%;
	height: 120px;
	object-fit: cover;
	margin: 0 0 0.65rem;
	background: #eee8df;
}

.psfpd-map-card-kicker {
	margin: 0.55rem 0 0.15rem;
	font-size: 0.65rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ps-text-muted);
}

.psfpd-map-card strong {
	display: block;
	margin: 0;
	font-family: var(--ps-font-serif);
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ps-heading);
}

.psfpd-map-card p {
	margin: 0 0 0.45rem;
	font-size: 0.82rem;
	color: var(--ps-text-muted);
}

.psfpd-map-card-person {
	margin: 0 0 0.45rem;
	color: var(--ps-text);
}

.psfpd-map-card-meta {
	margin: 0 0 0.65rem;
}

.psfpd .leaflet-container a.psfpd-map-cta,
.psfpd .leaflet-popup-content a.psfpd-map-cta,
.leaflet-container .psfpd-map-card a.psfpd-map-cta {
	color: var(--ps-red) !important;
	font-size: 0.85rem;
	text-decoration: none;
}

.psfpd .leaflet-container a.psfpd-map-cta:hover,
.psfpd .leaflet-popup-content a.psfpd-map-cta:hover,
.leaflet-container .psfpd-map-card a.psfpd-map-cta:hover {
	color: var(--ps-red) !important;
	text-decoration: underline;
}

.leaflet-popup-content-wrapper {
	border-radius: 2px;
}

.psfpd.is-loading .psfpd-results {
	opacity: 0.55;
	transition: opacity 0.15s linear;
}

@media (min-width: 700px) {
	.psfpd-filters {
		grid-template-columns: 1fr 1fr auto;
		align-items: end;
	}

	.psfpd-submit {
		width: auto;
		min-width: 8.5rem;
		padding-left: 1.75rem;
		padding-right: 1.75rem;
	}

	.psfpd-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

/* Isolate directory UI from theme and page-builder wrappers. */
.psfpd.psfpd,
.psfpd-shell.psfpd-shell {
	isolation: isolate;
	font-family: var(--ps-font-sans) !important;
	font-size: 1rem !important;
	line-height: 1.55 !important;
	color: var(--ps-text) !important;
	max-width: 1200px;
	background: transparent !important;
}

.psfpd h1,
.psfpd h2,
.psfpd .psfpd-kicker,
.psfpd .psfpd-card-title,
.psfpd-shell h1,
.psfpd-shell h2 {
	font-family: var(--ps-font-serif) !important;
	font-weight: 500 !important;
	color: var(--ps-heading) !important;
	text-transform: none !important;
}

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

.psfpd .psfpd-lang-switch a,
.psfpd-shell .psfpd-lang-switch a {
	color: var(--ps-navy) !important;
	text-decoration: none !important;
	background: transparent;
}

.psfpd .psfpd-lang-switch a.is-current,
.psfpd-shell .psfpd-lang-switch a.is-current {
	background: var(--ps-navy) !important;
	color: #f7f4ef !important;
}

.psfpd .psfpd-card-link {
	color: inherit !important;
	text-decoration: none !important;
}

.psfpd .psfpd-card-cta,
.psfpd .psfpd-text-link {
	color: var(--ps-red) !important;
}

.psfpd input,
.psfpd select,
.psfpd button {
	font-family: var(--ps-font-sans) !important;
	box-shadow: none !important;
}

.psfpd button.psfpd-submit {
	background: var(--ps-navy) !important;
	border: 1px solid var(--ps-navy) !important;
	color: #fff !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.psfpd button.psfpd-submit:hover {
	background: var(--ps-background) !important;
	border-color: var(--ps-navy) !important;
	color: var(--ps-navy) !important;
}

.psfpd .psfpd-grid {
	display: grid !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	align-items: start;
	justify-content: start;
}

.psfpd .psfpd-grid > li {
	width: auto !important;
	max-width: none !important;
	min-width: 0;
}

.psfpd .psfpd-pagination,
.psfpd .psfpd-pagination ul {
	justify-content: center !important;
	text-align: center !important;
}

.psfpd .psfpd-directory-map,
.psfpd .psfpd-directory-map.leaflet-container {
	height: 22rem !important;
	min-height: 22rem !important;
	width: 100% !important;
	display: block !important;
}
