:root {
	--pn-green: #0b2711;
	--pn-gold: #c9ae79;
	--pn-paper: #ffffff;
	--pn-ink: #0b2711;
	--pn-line: #d7d7d2;
	--pn-muted: #6f746f;
}

* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--pn-paper);
	color: var(--pn-ink);
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 18px;
	line-height: 1.4;
}
a {
	color: inherit;
	text-decoration: none;
}
img {
	display: block;
	max-width: 100%;
}
.pn-container {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}
.pn-skip-link {
	position: fixed;
	z-index: 100;
	top: 10px;
	left: 10px;
	padding: 10px 14px;
	background: #fff;
	color: var(--pn-green);
	transform: translateY(-150%);
}
.pn-skip-link:focus {
	transform: none;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pn-admin-strip {
	min-height: 44px;
	border-bottom: 1px solid rgba(201, 174, 121, 0.24);
	background: #06190a;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}
.pn-admin-strip-row {
	display: flex;
	min-height: 44px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.pn-admin-panel-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	transition: color 0.2s ease;
}
.pn-admin-panel-link span {
	color: var(--pn-gold);
	font-size: 15px;
}
.pn-admin-panel-link:hover,
.pn-admin-panel-link:focus-visible {
	color: var(--pn-gold);
}
.pn-admin-panel-link:focus-visible {
	outline: 2px solid var(--pn-gold);
	outline-offset: 3px;
}
.pn-admin-identity {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 9px;
}
.pn-admin-identity strong {
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pn-admin-avatar {
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 50%;
	object-fit: cover;
}

.pn-header {
	min-height: 176px;
	background: var(--pn-green);
	color: #fff;
}
.pn-header-row {
	display: flex;
	min-height: 176px;
	align-items: center;
	justify-content: space-between;
	gap: 44px;
}
.pn-identity {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 28px;
}
.pn-logo {
	display: grid;
	width: 104px;
	height: 132px;
	flex: 0 0 104px;
	place-items: center;
}
.pn-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.pn-logo i {
	font-style: normal;
	font-size: 64px;
	color: var(--pn-gold);
}
.pn-identity strong {
	display: block;
	max-width: 610px;
	color: var(--pn-gold);
	font-size: clamp(25px, 2.45vw, 24px);
	font-weight: 700;
	line-height: 1.26;
}
.pn-header-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 34px;
}
.pn-nav-list {
	display: flex;
	margin: 0;
	padding: 0;
	align-items: center;
	gap: 28px;
	list-style: none;
}
.pn-nav a,
.pn-language {
	color: #fff;
	font-size: 17px;
}
.pn-nav a {
	text-underline-offset: 5px;
}
.pn-nav a:hover,
.pn-nav a:focus-visible {
	text-decoration: underline;
}
.pn-language {
	display: flex;
	padding-left: 2px;
	align-items: center;
	gap: 5px;
}
.pn-language a {
	opacity: 0.58;
	text-underline-offset: 4px;
	transition: opacity 0.2s ease;
}
.pn-language a:hover,
.pn-language a:focus-visible,
.pn-language a.is-active {
	opacity: 1;
}
.pn-language a.is-active {
	text-decoration: underline;
}

.pn-main {
	min-height: 72vh;
	padding: 68px 0 88px;
}
.pn-main > .pn-container > h1 {
	margin: 0 0 20px;
	text-align: center;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 400;
	line-height: 1.15;
}
.pn-search {
	position: relative;
	margin-top: 20px;
}
.pn-search input {
	width: 100%;
	height: 48px;
	padding: 8px 54px 8px 25px;
	border: 1px solid #c8c8c3;
	border-radius: 999px;
	outline: 0;
	background: #fff;
	color: #111;
	font:
		400 17px/1.4 Georgia,
		'Times New Roman',
		serif;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}
.pn-search input:focus {
	border-color: var(--pn-green);
	box-shadow: 0 0 0 3px rgba(11, 39, 17, 0.1);
}
.pn-search-icon {
	position: absolute;
	top: 50%;
	right: 22px;
	width: 16px;
	height: 16px;
	border: 2px solid var(--pn-green);
	border-radius: 50%;
	transform: translateY(-58%);
	pointer-events: none;
}
.pn-search-icon::after {
	position: absolute;
	right: -5px;
	bottom: -4px;
	width: 7px;
	height: 2px;
	content: '';
	background: var(--pn-green);
	transform: rotate(45deg);
}
.pn-results-status {
	margin: 13px 0 0;
	color: var(--pn-muted);
	font-size: 12px;
	text-align: right;
}
.pn-results {
	padding-top: 42px;
	transition: opacity 0.16s ease;
}
.pn-results[aria-busy='true'] {
	opacity: 0.48;
}
.pn-parish-grid {
	display: grid;
	margin: 0;
	padding: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 20px;
	list-style: none;
}
.pn-parish-card {
	display: flex;
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--pn-line);
	background: #fff;
	flex-direction: column;
}
.pn-parish-image {
	display: block;
	height: 290px;
	overflow: hidden;
	background: #e9ece8;
}
.pn-parish-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.pn-parish-card:hover .pn-parish-image img {
	transform: scale(1.025);
}
.pn-parish-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background: var(--pn-green);
	color: var(--pn-gold);
	font-size: 64px;
}
.pn-parish-copy {
	display: flex;
	padding-top: 16px;
	flex-direction: column;
	align-items: flex-start;
}
.pn-parish-city {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}
.pn-parish-city i {
	position: relative;
	width: 10px;
	height: 13px;
	flex: 0 0 10px;
	border-radius: 7px 7px 8px 8px;
	background: #111;
}
.pn-parish-city i::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 4px;
	height: 4px;
	content: '';
	border-radius: 50%;
	background: #fff;
}
.pn-parish-copy h2 {
	margin: 8px 0 2px;
	font-size: clamp(18px, 1.5vw, 26px);
	line-height: 1.16;
	font-weight: 500;
}
.pn-parish-copy h2 a:hover,
.pn-parish-copy h2 a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.pn-parish-open {
	display: inline-flex;
	min-height: 38px;
	margin-top: 22px;
	padding: 8px 15px;
	align-items: center;
	gap: 9px;
	border: 1px solid var(--pn-green);
	background: var(--pn-green);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}
.pn-parish-open span {
	color: var(--pn-gold);
	font-size: 16px;
}
.pn-parish-open:hover,
.pn-parish-open:focus-visible {
	background: #fff;
	color: var(--pn-green);
}
.pn-parish-open:focus-visible {
	outline: 2px solid var(--pn-gold);
	outline-offset: 3px;
}
.pn-empty {
	padding: 70px 20px;
	border-block: 1px solid var(--pn-line);
	text-align: center;
}
.pn-empty > span {
	display: block;
	font-size: 44px;
}
.pn-empty h2 {
	margin: 10px 0 6px;
	font-size: 28px;
}
.pn-empty p {
	margin: 0;
	color: var(--pn-muted);
	font-size: 15px;
}

.pn-footer {
	padding: 25px 0;
	background: var(--pn-green);
	color: #fff;
}
.pn-footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.pn-footer p {
	margin: 0;
	font-size: 13px;
}
.pn-footer a {
	color: var(--pn-gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 900px) {
	.pn-header-row {
		padding-block: 24px;
		align-items: flex-start;
		flex-direction: column;
		gap: 22px;
	}
	.pn-header-actions {
		width: 100%;
		justify-content: space-between;
	}
	.pn-parish-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.pn-container {
		width: min(100% - 28px, 1180px);
	}
	.pn-header-row {
		min-height: 0;
		padding-block: 20px;
	}
	.pn-admin-strip-row {
		gap: 12px;
	}
	.pn-admin-panel-link,
	.pn-admin-identity strong {
		font-size: 10px;
	}
	.pn-admin-panel-link {
		max-width: 58%;
	}
	.pn-identity {
		gap: 15px;
	}
	.pn-logo {
		width: 64px;
		height: 78px;
		flex-basis: 64px;
	}
	.pn-identity strong {
		font-size: 20px;
	}
	.pn-header-actions {
		align-items: flex-start;
		gap: 18px;
	}
	.pn-nav-list {
		align-items: flex-start;
		flex-direction: column;
		gap: 9px;
	}
	.pn-nav a,
	.pn-language {
		font-size: 14px;
	}
	.pn-main {
		padding: 52px 0 68px;
	}
	.pn-main > .pn-container > h1 {
		margin-bottom: 24px;
		font-size: 29px;
	}
	.pn-search input {
		height: 46px;
		font-size: 15px;
	}
	.pn-results {
		padding-top: 28px;
	}
	.pn-parish-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.pn-parish-card {
		padding: 14px;
	}
	.pn-parish-image {
		height: min(64vw, 280px);
	}
	.pn-footer-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.pn-parish-image img,
	.pn-admin-panel-link,
	.pn-parish-open,
	.pn-results {
		transition: none;
	}
}
