/* Unmodified upstream WOFF2 distributions; licenses/provenance in assets/fonts/. */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/roboto-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/roboto-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/roboto-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/roboto-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* EPC identity and responsive presentation. No legacy layout bundle or runtime framework. */
:root {
	--font-sans: "Roboto", sans-serif;
	--font-serif: "Playfair Display", serif;
	--yellow: #ffee00;
	--background: #979595;
	--ink: #111;
	--paper: #fff;
	--line: #c7c7c7;
	--gap: 22px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--background);
	color: var(--ink);
	font: 18px/1.6 var(--font-sans);
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-underline-offset: .18em;
}

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid #1648b0;
	outline-offset: 4px;
}

::selection {
	background: var(--yellow);
	color: #111;
}

img,video,iframe,svg {
	max-width: 100%;
}

img,video {
	height: auto;
}

img {
	vertical-align: middle;
}

button,input,select,textarea {
	font: inherit;
	max-width: 100%;
}

button,summary {
	cursor: pointer;
}

.site-shell {
	max-width: 1280px;
	width: calc(100% - 40px);
	margin: auto;
	position: relative;
	padding-top: 12px;
}

.screen-reader-text,.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 99999;
	background: var(--yellow);
	padding: 12px;
	color: #111;
}

.site-header {
	margin-bottom: 20px;
}

.language-switcher {
	min-height: 48px;
	margin-bottom: 12px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.language-switcher ul,.primary-navigation ul,.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.language-switcher a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	border: 1px solid #333;
	font-size: 14px;
	text-decoration: none;
	background: #fff;
}

.language-switcher [aria-current] {
	background: var(--yellow);
	font-weight: bold;
}

.brand {
	position: absolute;
	left: 0;
	top: 72px;
	width: 128px;
}

.brand-link {
	display: block;
}

.brand-link img {
	width: 100%;
	height: auto;
}

.brand blockquote {
	margin: 16px 0;
	color: white;
	font-size: 16px;
	line-height: 1.5;
}

.brand blockquote p {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: normal;
	margin: 0 0 10px;
}

.brand cite {
	font: 13px var(--font-sans);
}

.primary-navigation {
	margin-left: 160px;
	background: var(--yellow) url('images/footer-corner.png') no-repeat top right;
	padding: 10px 16px;
	min-height: 60px;
}

.primary-navigation ul {
	align-items: center;
	gap: 2px 20px;
}

.primary-navigation a {
	display: block;
	padding: 4px 10px;
	min-height: 44px;
	text-decoration: none;
	font-size: 18px;
}

.primary-navigation a:hover,.primary-navigation [aria-current] {
	background: #fff;
}

.home-content,.page-main,.site-footer,.error-content {
	margin-left: 160px;
}

.home-title {
	border: 0;
	padding: 0;
	position: absolute;
	top: 16px;
	left: 160px;
	color: white;
	font-size: 32px;
	line-height: 1.3;
	font-weight: 100;
	margin: 0;
}

.home-tiles {
	display: grid;
	grid-template-columns: repeat(12,minmax(0,1fr));
	gap: 33px 30px;
}

.photo-tile {
	position: relative;
	display: block;
	min-width: 0;
	min-height: 140px;
	background: #eee;
	color: #111;
	text-decoration: none;
}

.photo-tile img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	inset: 0;
	filter: grayscale(1);
	transition: filter .3s ease;
}

.photo-tile:hover img,.photo-tile:focus-visible img,.photo-navigation .photo-tile[aria-current="page"] img {
	filter: grayscale(0);
}

.photo-tile span {
	position: relative;
	display: block;
	z-index: 1;
	width: fit-content;
	max-width: 100%;
	padding: 6px 12px;
	background: var(--yellow);
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.home-tiles .photo-tile {
	grid-column: span 4;
	min-height: 180px;
	display: flex;
	align-items: flex-end;
}

.home-tiles .photo-tile span {
	background: #ffffb9cf;
	text-transform: uppercase;
	font-size: 20px;
	padding: 16px 20px;
}

.home-tiles .photo-tile:nth-child(1) {
	grid-column: span 7;
	min-height: 250px;
}

.home-tiles .photo-tile:nth-child(2) {
	grid-column: span 5;
	min-height: 250px;
}

.home-tiles .photo-tile:nth-child(3) {
	grid-column: 1/-1;
	min-height: 250px;
	display: flex;
	align-items: flex-end;
}

.home-tiles .photo-tile:nth-child(3) span {
	font-size: 20px;
}

.home-tiles .photo-tile:last-child:nth-child(5) {
	grid-column: span 8;
}

.page-main {
	display: grid;
	grid-template-columns: minmax(0,2fr) minmax(0,1fr);
	gap: var(--gap);
	align-items: start;
}

.content-panel {
	background: var(--paper);
	min-width: 0;
}

.page-hero {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.entry-body {
	padding: 30px 44px 44px;
	min-width: 0;
}

h1,h2,h3,h4 {
	line-height: 1.25;
	overflow-wrap: anywhere;
}

h1 {
	font-size: clamp(2rem,3.5vw,3.2rem);
	font-weight: 100;
	margin: 6px 0 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

h2 {
	font-size: 1.5rem;
	font-weight: 500;
	margin: 1.5em 0 .7em;
}

h3 {
	font-size: 1.2rem;
	margin: 1.4em 0 .7em;
}

p {
	margin: 0 0 1.2em;
}

.entry-content {
	min-width: 0;
	overflow-wrap: anywhere;
	display: flow-root;
}

.entry-content:empty {
	display: none;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.entry-content figure,.entry-content .wp-caption {
	max-width: 100%;
	margin: 1em 0;
}

.entry-content figure img {
	display: block;
}

.entry-content figcaption,.wp-caption-text {
	font-size: .875rem;
	color: #444;
}

.entry-content ul,.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: .5em;
}

.entry-content a {
	color: black;
}

.entry-content table {
	max-width: 100%;
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.entry-content td,.entry-content th {
	padding: .4em;
	overflow-wrap: anywhere;
}

.entry-content iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16/9;
	height: auto;
}

.entry-content video {
	display: block;
	width: 100%;
}

.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.page-sidebar {
	min-width: 0;
	align-self: stretch;
}

.photo-navigation {
	position: static;
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 20px;
}

.photo-navigation .photo-tile {
	display: flex;
	align-items: flex-end;
	min-height: 140px;
}

.photo-navigation .photo-tile span {
	background: #ffffb9cf;
	font-size: 18px;
	padding: 4px 7px;
}

.photo-navigation .photo-tile[aria-current] span {
	background: var(--yellow);
}

.projects {
	display: grid;
	gap: 20px;
}

.project,.guidance {
	border: 1px solid #111;
	min-width: 0;
}

.project summary,.guidance summary {
	display: flex;
	align-items: center;
	position: relative;
	list-style: none;
	min-height: 62px;
	padding-right: 48px;
}

summary::-webkit-details-marker {
	display: none;
}

.accordion-toggle {
 position:absolute;
 right:16px;
 top:50%;
 display:grid;
 place-items:center;
 width:28px;
 height:28px;
 transform:translateY(-50%);
 border:1px solid currentColor;
 border-radius:50%;
 background:#fffde5;
 pointer-events:none;
}
.accordion-toggle svg {
 display:block;
 width:16px;
 height:16px;
 transition:transform .3s ease;
}
details[open] > summary .accordion-toggle svg { transform:rotate(180deg); }

.project summary:hover,.guidance summary:hover {
	background: #fffde5;
}

.project-duration {
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 10px;
	min-width: 130px;
	font-size: 16px;
	background: #fffde5;
}

.project[open] .project-duration {
	background: var(--yellow);
}

.project summary h2,.guidance summary h2 {
	font-size: 18px;
	line-height: 1.4;
	font-weight: 400;
	margin: 0;
	padding: 16px 12px;
	min-width: 0;
}

.project-body,.guidance-body {
	padding: 24px 18px 8px;
	border-top: 1px solid var(--line);
	font-size: 16px;
	line-height: 1.65;
}

.project-body h2:first-child,.guidance-body h2:first-child {
	margin-top: 0;
}

.donation-guidance {
	display: grid;
	gap: 16px;
	margin-top: 24px;
}

.guidance summary {
	background: var(--yellow);
}

.entry-content .easy-image-gallery {
	display: grid!important;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 10px;
	list-style: none!important;
	margin: 20px 0!important;
	padding: 0!important;
	width: 100%!important;
	float: none!important;
}

.entry-content .easy-image-gallery li {
	float: none!important;
	width: auto!important;
	margin: 0!important;
	min-width: 0;
}

.entry-content .easy-image-gallery a,.entry-content .easy-image-gallery img {
	display: block;
	width: 100%;
}

.entry-content .forminator-ui {
	max-width: 100%;
	min-width: 0;
}

.entry-content .forminator-row,.entry-content .forminator-col {
	min-width: 0;
}

.entry-content .forminator-label {
	line-height: 1.5;
}

.site-footer {
	margin-top: 24px;
	margin-bottom: 110px;
	font-size: 14px;
}

.footer-contact {
	background: var(--yellow) url('images/footer-corner.png') no-repeat top right;
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 20px;
	max-width: 735px;
	flex-wrap: wrap;
}

.footer-contact img {
	width: 70px;
	height: auto;
}

.footer-contact address {
	font-style: normal;
}

.footer-contact p {
	margin: 0;
}

.footer-navigation {
	margin-top: 18px;
}

.footer-navigation ul {
	gap: 4px 18px;
}

.footer-navigation a {
	display: inline-block;
	min-height: 44px;
	padding-block: 10px;
}

.copyright {
	font-size: 13px;
	margin-top: 12px;
}

.error-content {
	margin-top: 24px;
}

@media(min-width:1024px) and (max-width:1279px) {
	.site-shell {
		width: calc(100% - 48px);
	}

	.brand {
		width: 110px;
	}

	.home-content,.page-main,.site-footer,.error-content,.primary-navigation {
		margin-left: 136px;
	}

	.home-title {
		left: 136px;
	}

	.entry-body {
		padding: 28px;
	}

	.primary-navigation a {
		font-size: 17px;
		padding: 6px;
	}

	.primary-navigation a { font-size:18px; }

}

@media(max-width:1023px) {
	.home-tiles .photo-tile:nth-child(3) {
		margin-top: 0;
	}

	.site-shell {
		width: calc(100% - 32px);
	}

	.site-header {
		display: grid;
		grid-template-columns: 100px minmax(0,1fr);
		gap: 16px;
		margin-top: 8px;
	}

	.brand {
		position: static;
		width: 100px;
		grid-row: 1;
		grid-column: 1;
	}

	.brand blockquote {
		display: none;
	}

	.language-switcher {
		grid-row: 1;
		grid-column: 2;
		margin: 0;
		align-self: start;
	}

	.primary-navigation {
		grid-column: 1/-1;
		margin-left: 0;
		padding: 8px;
	}

	.primary-navigation a {
		font-size: 17px;
		padding: 6px 10px;
		min-height: 44px;
	}

	.home-content,.page-main,.site-footer,.error-content {
		margin-left: 0;
	}

	.home-title {
		border: 0;
		padding: 0;
		position: static;
		font-size: 26px;
		margin-bottom: 20px;
	}

	.page-main {
		grid-template-columns: minmax(0,1fr) 220px;
	}

	.entry-body {
		padding: 24px;
	}

	.photo-navigation {
		grid-template-columns: 1fr;
	}

	.page-hero {
		height: 240px;
	}

	.home-tiles {
		gap: 20px;
	}

	.home-tiles .photo-tile,.home-tiles .photo-tile:nth-child(n) {
		min-height: 200px;
	}

}

@media(max-width:767px) {
	body {
		font-size: 17px;
	}

	.site-shell {
		width: calc(100% - 24px);
	}

	.site-header {
		grid-template-columns: 88px minmax(0,1fr);
	}

	.brand {
		width: 88px;
	}

	.primary-navigation ul {
		justify-content: flex-start;
		gap: 4px;
	}

	.primary-navigation a {
		padding: 7px 10px;
		font-size: 16px;
	}

	.home-title {
		font-size: 24px;
	}

	.home-tiles {
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap: 16px;
	}

	.home-tiles .photo-tile:nth-child(n) {
		grid-column: span 1;
		min-height: 180px;
	}

	.home-tiles .photo-tile:nth-child(3) {
		grid-column: 1/-1;
		min-height: 210px;
	}

	.home-tiles .photo-tile:nth-child(3) span {
		font-size: 16px;
	}

	.home-tiles .photo-tile:last-child:nth-child(5) {
		grid-column: span 1;
	}

	.home-tiles .photo-tile span {
		font-size: 16px;
	}

	.page-main {
		display: block;
	}

	.page-hero {
		height: 200px;
	}

	.entry-body {
		padding: 20px;
	}

	.entry-body h1 {
		font-size: 32px;
		margin-top: 0;
	}

	.page-sidebar {
		margin-top: 24px;
	}

	.photo-navigation {
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap: 16px;
	}

	.photo-navigation .photo-tile {
		min-height: 150px;
	}

	.photo-navigation .photo-tile span {
		font-size: 16px;
	}

	.project summary {
		align-items: stretch;
		flex-direction: column;
		padding-right: 42px;
	}

	.project-duration {
		justify-content: flex-start;
		min-width: 0;
		padding: 8px 12px;
	}

	.project summary h2 {
		padding: 12px;
	}

	.project summary .accordion-toggle,.guidance summary .accordion-toggle {
		right: 9px;
		width: 26px;
		height: 26px;
	}

	.project-body,.guidance-body {
		padding: 18px 12px 6px;
	}

	.entry-content .easy-image-gallery {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.alignleft,.alignright {
		float: none;
		margin: 1em auto;
		display: block;
	}

	.footer-contact {
		gap: 16px;
		align-items: flex-start;
	}

	.footer-contact address {
		flex: 1 1 160px;
	}

	.footer-contact p {
		flex-basis: 100%;
	}

	.footer-navigation ul {
		gap: 2px 14px;
	}

}

@media(prefers-reduced-motion:reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none!important;
		animation: none!important;
	}

}

.cookies-button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 14px;
	background: var(--yellow);
	color: #111!important;
	text-decoration: none!important;
	border-radius: 3px;
}

.form-no-js {
	padding: 16px;
	border-left: 4px solid var(--yellow);
	background: #fffde5;
}

@media(min-width:1024px) {
	body.home .site-header {
		margin-bottom: 13px;
	}

}

.home-tiles .photo-tile:hover span,.home-tiles .photo-tile:focus-visible span,.photo-navigation .photo-tile:hover span,.photo-navigation .photo-tile:focus-visible span {
	background: var(--yellow);
}

/* Availability comes from the language provider; no routing decisions belong to the theme. */
.language-unavailable {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	border: 1px solid #555;
	font-size: 14px;
	background: #ddd;
	color: #444;
}

.project-detail-duration { background:var(--yellow); padding:12px 16px; }
.project-detail-link a,.project-back a { display:inline-flex; align-items:center; min-height:44px; padding:6px 12px; background:var(--yellow); color:#111; font-weight:600; text-decoration: none; }
.project-back { margin-top:32px; padding-top:20px; border-top:1px solid #bbb; }

/* Native gallery and modal presentation, preserving the existing image grid. */
.epc-gallery figure { margin:0; }
.epc-gallery figcaption { font-size:.875rem; padding:6px; overflow-wrap:anywhere; }
body.epc-dialog-open { overflow:hidden; }
#epc-lightbox { border:0; padding:48px 16px 16px; background:#111; color:#fff; width:min(1100px,96vw); max-width:96vw; max-height:95dvh; }
#epc-lightbox::backdrop { background:rgb(0 0 0 / .85); }
#epc-lightbox figure { margin:0; text-align:center; }
#epc-lightbox img { width:auto; height:auto; max-width:100%; max-height:70dvh; object-fit:contain; }
#epc-lightbox [data-close] { position:absolute; right:4px; top:4px; width:44px; height:44px; }
#epc-lightbox button { min-height:44px; padding:8px 12px; background:var(--yellow); color:#111; border:1px solid #fff; cursor:pointer; }
#epc-lightbox button:disabled { opacity:.5; cursor:default; }
.epc-lightbox-controls { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:16px; flex-wrap:wrap; }
@media(max-width:480px) { #epc-lightbox button { font-size:.875rem; } #epc-lightbox img { max-height:60dvh; } }

.epc-consent { background:#32323a; color:white; padding:20px; margin-top:20px; overflow-wrap:anywhere; }
.epc-consent a { color:#ffee00; }
.epc-consent button { min-height:44px; background:#ffee00; color:#111; padding:8px 12px; border:1px solid #111; cursor:pointer; white-space:normal; max-width:100%; }
.epc-consent button:disabled { background:#ddd; cursor:default; }
.epc-consent-actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.epc-consent [hidden] { display:none!important; }
.epc-consent dialog { width:min(640px,94vw); max-width:94vw; max-height:90dvh; padding:20px; border:2px solid #ffee00; background:white; color:#111; overflow:auto; }
.epc-consent dialog a { color:#222; text-decoration:underline; }
.epc-consent dialog::backdrop { background:rgb(0 0 0 / .65); }
.epc-consent dialog h2 { margin-top:0; }
.epc-consent label { display:inline-flex; align-items:center; gap:8px; min-height:44px; }
.epc-consent input { min-width:20px; min-height:20px; }
.epc-consent dialog p span { display:block; }
.epc-consent[data-position=bottom] [data-banner]:not([hidden]) { position:fixed; bottom:0; left:0; right:0; padding:12px; background:#32323a; color:white; z-index:1000; max-height:45dvh; overflow:auto; }
.epc-external-embed { border:1px solid #888; padding:16px; margin:12px 0; }
.epc-external-embed button,.epc-external-embed a { display:inline-flex; min-height:44px; align-items:center; margin-right:12px; }

.epc-consent:not(.epc-consent-ready) .epc-consent-actions,.epc-consent:not(.epc-consent-ready) > [data-epc-preferences],.epc-external-embed [hidden] { display:none!important; }

/* Native audited donation form: local typography, material-style fields and EPC button. */
.epc-contact { max-width:100%; min-width:0; margin:24px 0; }
.epc-contact-field { margin:0 0 28px; }
.epc-contact-field label { display:block; font-size:16px; font-weight:400; line-height:1.5; color:#555; }
.epc-contact-field input { display:block; box-sizing:border-box; width:100%; min-width:0; border:0; border-bottom:1px solid #777; background:transparent; color:#222; font:inherit; padding:6px 2px; border-radius:0; }
.epc-contact-field input:focus { border-bottom:2px solid var(--yellow); }
.epc-contact fieldset { min-width:0; margin:20px 0; padding:0; border:0; }
.epc-contact legend { font-weight:700; font-size:inherit; }
.epc-contact legend span { font-weight:400; }
.epc-contact-choice { display:flex; align-items:flex-start; gap:12px; margin:16px 0; line-height:1.5; cursor:pointer; }
.epc-contact-choice input { flex:none; margin-top:5px; width:20px; height:20px; accent-color:#333; }
.epc-contact-choice span { min-width:0; overflow-wrap:anywhere; }
.epc-contact button { min-height:44px; padding:12px 24px; border:0; background:var(--yellow); color:#020202; font:inherit; font-weight:700; cursor:pointer; }
.epc-contact button:hover { background:#000; color:var(--yellow); }
.epc-form-error { color:#9b1717; }
.epc-form-feedback { border:2px solid currentColor; padding:14px; overflow-wrap:anywhere; }
.epc-contact [aria-invalid="true"] { border-color:#9b1717; }

/* Restrained shared interactions. Focus outlines remain independent of hover. */
a,button,summary,.project-duration {
 transition:color .3s ease,background-color .3s ease,border-color .3s ease,opacity .3s ease;
}
.primary-navigation a:focus-visible { background:#fff; }
.language-switcher a:hover,.language-switcher a:focus-visible { background:var(--yellow); }
.footer-navigation a:hover,.footer-navigation a:focus-visible { color:#000; background:#ffee00; }
.project-detail-link a:hover,.project-detail-link a:focus-visible,.project-back a:hover,.project-back a:focus-visible { color:var(--yellow); background:#111; }
.project summary:focus-visible,.guidance summary:focus-visible { background:#fffde5; }
button:enabled:hover:not(.back-to-top),button:enabled:focus-visible:not(.back-to-top) { border-color:#555; }
.epc-consent button:enabled:hover,#epc-lightbox button:enabled:hover { background:#fffde5; }
.photo-navigation .photo-tile span,.home-tiles .photo-tile span {
 max-width:calc(100% - 10px);
 transition:transform .3s ease,background-color .3s ease;
}
.photo-navigation .photo-tile:hover span,.photo-navigation .photo-tile:focus-visible span,.photo-navigation .photo-tile[aria-current="page"] span,.home-tiles .photo-tile:hover span,.home-tiles .photo-tile:focus-visible span { transform:translate(10px,-10px); }
/* A clipped label never hides a keyboard outline: only the image occupies the full tile. */
.photo-navigation .photo-tile { overflow:clip; }


/* The grid item spans the article; the child sticks within that containing block. */
@media(min-width:1024px) and (min-height:540px) {
 .photo-navigation { position:sticky; top:calc(20px + var(--wp-admin--admin-bar--height,0px)); }
}
@media(max-width:1023px),(max-height:539px) {
 .photo-navigation { position:static; }
}

.back-to-top,.back-to-top-fallback {
 display:inline-grid;
 place-items:center;
 width:48px;
 height:48px;
 padding:0;
 border:1px solid #111;
 border-radius:50%;
 background:var(--yellow);
 color:#111;
 text-decoration:none;
}
.back-to-top {
 position:fixed;
 z-index:900;
 right:max(20px,env(safe-area-inset-right));
 bottom:max(20px,env(safe-area-inset-bottom));
 opacity:0;
 transform:translateY(10px);
 pointer-events:none;
 transition:opacity .3s ease,transform .3s ease,background-color .3s ease,color .3s ease;
}
.back-to-top[hidden] { display:none; }
.back-to-top.is-visible { opacity:1; transform:translateY(0); pointer-events:auto; }
.back-to-top:hover,.back-to-top:focus-visible,.back-to-top-fallback:hover,.back-to-top-fallback:focus-visible { background:#111; color:var(--yellow); }
.back-to-top svg,.back-to-top-fallback svg { width:24px; height:24px; }
.back-to-top-fallback { margin-top:12px; }

@media(prefers-reduced-motion:reduce) {
 *,::before,::after { transition:none!important; animation:none!important; }
 html { scroll-behavior:auto; }
}

/* Direct YouTube exception: one full-column 16:9 player per original embed. */
iframe.epc-youtube { display:block!important; position:static!important; float:none!important; clear:both; width:100%!important; max-width:100%!important; height:auto!important; aspect-ratio:16/9; border:0; margin:16px 0; }
.wp-block-embed:has(iframe.epc-youtube) { float:none; clear:both; width:100%; max-width:100%; margin-inline:0; }
.wp-block-embed__wrapper:has(> iframe.epc-youtube)::before { display:none!important; padding:0!important; }

/* Legacy video wrappers carried unequal inline right margins. Normalize presentation only. */
.video-container:has(> iframe.epc-youtube) { display:block!important; float:none!important; clear:both; width:100%!important; max-width:100%!important; margin:0!important; padding:0; }
