:root {
	--fio-navy: #087a4c;
	--fio-olive: #00a060;
	--fio-olive-deep: #06663f;
	--fio-clay: #8c7a16;
	--fio-ink: #173028;
	--fio-muted: #4e6256;
	--fio-sand: #f3f7f1;
	--fio-line: #d7e3d8;
	--fio-white: #ffffff;
	--fio-serif: "Merriweather", Palatino, "Palatino Linotype", serif;
	--fio-sans: "Montserrat", "Segoe UI", sans-serif;
	--fio-wrap: 1120px;
	--fio-shadow: 0 18px 40px rgba(16, 40, 32, 0.1);
}

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

html {
	scroll-behavior: smooth;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	color: var(--fio-ink);
	background: var(--fio-white);
	font-family: var(--fio-sans);
	font-size: 1.0625rem;
	line-height: 1.7;
}

main {
	flex: 1 0 auto;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--fio-navy);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--fio-olive-deep);
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.6em;
	color: var(--fio-navy);
	font-family: var(--fio-serif);
	font-weight: 400;
	line-height: 1.25;
	overflow-wrap: break-word;
}

h1 {
	font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
	font-size: 1.45rem;
}

p {
	margin: 0 0 1em;
}

.wrap {
	width: min(var(--fio-wrap), calc(100% - 2.5rem));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.6rem 0.9rem;
	background: var(--fio-navy);
	color: var(--fio-white);
	text-decoration: none;
}

.skip-link:focus {
	top: 1rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.eyebrow {
	margin: 0 0 0.7rem;
	color: var(--fio-olive-deep);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.eyebrow-light {
	color: #d7d8c4;
}

.masthead {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--fio-line);
}

body.admin-bar .masthead {
	top: 32px;
}

.topbar {
	background: var(--fio-navy);
	color: #ffffff;
	font-size: 0.82rem;
}

.topbar a {
	color: inherit;
	text-decoration: none;
}

.topbar a:hover {
	color: var(--fio-white);
}

.topbar-inner,
.header-inner,
.footer-base,
.facts-inner,
.section-head {
	display: flex;
	justify-content: space-between;
	gap: 1rem 2rem;
	align-items: center;
}

.topbar-inner {
	padding: 0.45rem 0;
}

.topbar-inner p {
	margin: 0;
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.header-inner {
	padding: 0.9rem 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	color: inherit;
	text-decoration: none;
}

.brand-mark {
	display: grid;
	place-items: center;
	min-width: 3.4rem;
	height: 2.7rem;
	padding: 0 0.55rem;
	border-radius: 0 14px 0 14px;
	background: var(--fio-navy);
	color: #f3e6c8;
	font-family: var(--fio-serif);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.brand-text strong {
	color: var(--fio-navy);
	font-family: var(--fio-serif);
	font-size: 1.02rem;
	font-weight: 400;
	max-width: 16rem;
}

.brand-text small {
	color: var(--fio-muted);
	font-size: 0.75rem;
}

.brand-logo img,
.brand-logo .custom-logo {
	height: 86px;
	width: auto;
	max-height: none;
}

.header-end {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.nav-contact {
	color: var(--fio-olive-deep);
	font-weight: 700;
	text-decoration: none;
}

.nav-contact:hover {
	color: var(--fio-navy);
}

.button.button-donate {
	background: linear-gradient(180deg, #f6eda8 0%, #c6b22e 46%, #9a8414 100%);
	color: #10241c;
	border-color: #8c7610;
	box-shadow: 0 10px 24px rgba(168, 146, 22, 0.45);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.button.button-donate:hover {
	background: #f6eda8;
	color: #10241c;
	border-color: #f6eda8;
}

.button-donate-large {
	padding: 1rem 1.6rem;
	font-size: 1rem;
}

.nav-list,
.footer-nav {
	display: flex;
	gap: 1.15rem;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list a,
.footer-nav a {
	color: var(--fio-navy);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.footer-nav a:hover {
	color: var(--fio-olive-deep);
}

.nav-toggle {
	display: none;
	border: 1px solid var(--fio-line);
	background: var(--fio-white);
	color: var(--fio-navy);
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.2rem;
	border-radius: 999px;
	background: var(--fio-navy);
	color: var(--fio-white);
	text-decoration: none;
	font-weight: 700;
	border: 1px solid var(--fio-navy);
}

.button:hover,
.wp-block-button__link:hover {
	background: #0c1f1a;
	color: var(--fio-white);
}

.button-small {
	padding: 0.55rem 0.95rem;
	font-size: 0.9rem;
}

.button-ghost {
	background: transparent;
	color: var(--fio-navy);
}

.button-ghost:hover {
	background: var(--fio-sand);
	color: var(--fio-navy);
}

.button-light {
	background: var(--fio-white);
	color: var(--fio-navy);
	border-color: var(--fio-white);
}

.hero {
	padding: 4.5rem 0 3.5rem;
}

.hero-grid,
.split,
.donate-grid,
.news-grid,
.footer-grid,
.contact-list {
	display: grid;
	gap: 2rem;
}

.hero-grid {
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
}

.lead {
	font-size: 1.15rem;
	max-width: 38rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.4rem;
}

.hero-frame {
	overflow: hidden;
	min-height: 420px;
	border-radius: 0 80px 0 80px;
	background: var(--fio-navy);
	box-shadow: var(--fio-shadow);
}

.hero-word {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 2.4rem;
	background:
		linear-gradient(155deg, rgba(243, 230, 200, 0.16), transparent 46%),
		var(--fio-navy);
	color: #f6f3ec;
}

.hero-kicker,
.hero-word p {
	margin: 0;
	color: #d7e4dc;
}

.hero-kicker {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hero-letters {
	margin: 0.2rem 0 0.8rem;
	color: #f3e6c8;
	font-family: var(--fio-serif);
	font-size: clamp(4.5rem, 8vw, 7rem);
	line-height: 0.9;
}

.hero-photo,
.hero-art {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}

.band {
	background: var(--fio-sand);
	padding: 4.5rem 0;
}

.band-plain {
	background: var(--fio-white);
	border-top: 1px solid var(--fio-line);
	border-bottom: 1px solid var(--fio-line);
}

.section {
	padding: 4.5rem 0;
}

.split {
	grid-template-columns: 0.9fr 1.1fr;
	align-items: end;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.steps li {
	padding: 1.4rem 1.3rem 1.2rem;
	background: var(--fio-sand);
	border-radius: 0 36px 0 36px;
}

.steps span {
	display: block;
	margin-bottom: 1.2rem;
	color: var(--fio-olive-deep);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.section-head {
	align-items: end;
	margin-bottom: 1.6rem;
}

.section-head h2,
.section-head p {
	margin-bottom: 0;
}

.text-link {
	font-weight: 700;
	white-space: nowrap;
}

.donate-grid {
	grid-template-columns: 1.2fr 0.8fr;
}

.donate-grid-page {
	margin-bottom: 2rem;
}

.donate-card {
	padding: 1.6rem;
	background: var(--fio-white);
	border: 1px solid var(--fio-line);
	border-radius: 0 48px 0 48px;
}

.band-plain .donate-card {
	background: var(--fio-sand);
	border-color: transparent;
}

.donate-card-soft {
	background: var(--fio-olive-deep);
	color: var(--fio-white);
	border: 0;
}

.donate-card-soft h2,
.donate-card-soft h3,
.donate-card-soft .card-kicker {
	color: var(--fio-white);
}

.card-kicker {
	margin: 0 0 0.4rem;
	color: var(--fio-clay);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.iban {
	margin: 1rem 0 0.2rem;
	color: var(--fio-navy);
	font-family: var(--fio-serif);
	font-size: clamp(1.3rem, 2vw, 1.8rem);
	letter-spacing: 0.02em;
}

.iban-name {
	margin: 0;
	color: var(--fio-muted);
}

.news-grid {
	grid-template-columns: repeat(3, 1fr);
}

.news-card {
	padding: 1.25rem 1.2rem 1.15rem;
	background: var(--fio-sand);
	border-radius: 0 28px 0 28px;
	transition: transform 0.2s ease;
}

.news-card:hover {
	transform: translateY(-3px);
}

.news-card h2,
.news-card h3 {
	font-size: 1.35rem;
}

.news-card a {
	text-decoration: none;
}

.news-date {
	margin: 0 0 0.4rem;
	color: var(--fio-muted);
	font-size: 0.85rem;
	font-weight: 600;
}

.facts {
	background: var(--fio-navy);
	color: #e7efe9;
	padding: 3.5rem 0;
}

.facts h2 {
	color: var(--fio-white);
}

.facts p {
	max-width: 40rem;
}

.section-tight {
	padding-top: 0;
}

.page-hero {
	position: relative;
	overflow: hidden;
	padding: 3.4rem 0 5rem;
	background: linear-gradient(115deg, #06663f 0%, #00a060 62%, #c6b22e 140%);
	color: #ffffff;
}

.page-hero::before,
.page-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.page-hero::before {
	right: 8%;
	top: -90px;
	width: 280px;
	height: 280px;
	border: 16px solid rgba(244, 231, 161, 0.28);
}

.page-hero::after {
	right: -40px;
	bottom: -120px;
	width: 220px;
	height: 220px;
	background: rgba(255, 255, 255, 0.08);
}

.page-hero-split::before,
.page-hero-split::after {
	display: none;
}

.page-hero-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.4rem;
	align-items: center;
}

.page-hero-split .page-hero-inner {
	grid-template-columns: 1.15fr 0.85fr;
}

.page-hero-photo {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
	object-position: center 30%;
	border-radius: 0 32px 0 32px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}


.page-hero h1,
.page-hero .eyebrow,
.page-hero p {
	color: #ffffff;
}

.page-hero .eyebrow {
	color: #f4e7a1;
}

.hero-note {
	max-width: 36rem;
	color: var(--fio-muted);
}

.entry {
	padding-top: 0.5rem;
}

.page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 250px;
	gap: 2.2rem;
	align-items: start;
}

.page-layout .entry-content {
	max-width: none;
}

.page-aside {
	position: sticky;
	top: 5.5rem;
	padding: 1.15rem 1.1rem 1.2rem;
	background: var(--fio-sand);
	border-radius: 0 28px 0 28px;
}

.aside-kicker {
	margin: 0 0 0.4rem;
	color: var(--fio-clay);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.page-aside ul {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.page-aside li a {
	display: block;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--fio-line);
	color: var(--fio-ink);
	font-weight: 700;
}

.page-aside .button {
	width: 100%;
}

.page-sheet {
	position: relative;
	z-index: 1;
	margin-top: -2.8rem;
	margin-bottom: 2.4rem;
	padding: 2.1rem 1.8rem 2.2rem;
	background: var(--fio-white);
	border-radius: 0 42px 0 42px;
	box-shadow: var(--fio-shadow);
}

.section.page-sheet {
	padding-top: 2.1rem;
	padding-bottom: 2.2rem;
}

.entry-content {
	max-width: 42rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2 {
	margin-top: 1.7em;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid var(--fio-line);
}

.entry-content li::marker {
	color: var(--fio-olive);
}

.entry-figure {
	margin: 0 0 1.6rem;
	overflow: hidden;
	border-radius: 0 48px 0 48px;
}

.entry-figure img {
	width: 100%;
}

.contact-list {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin: 0 0 2rem;
}

.contact-list div {
	padding: 1.2rem 1.1rem;
	background: var(--fio-sand);
	border-radius: 0 28px 0 28px;
}

.contact-list dt {
	margin-bottom: 0.35rem;
	color: var(--fio-olive-deep);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact-list dd {
	margin: 0;
	color: var(--fio-navy);
	font-family: var(--fio-serif);
	font-size: 1.2rem;
}

.search-form {
	display: flex;
	gap: 0.6rem;
	margin-bottom: 2rem;
}

.search-form input {
	flex: 1;
	max-width: 28rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--fio-line);
	border-radius: 999px;
	font: inherit;
}

.search-form button {
	border: 0;
	border-radius: 999px;
	background: var(--fio-navy);
	color: var(--fio-white);
	padding: 0.75rem 1rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.pagination {
	margin-top: 2rem;
}

.site-footer {
	position: static;
	flex-shrink: 0;
	margin-top: auto;
	background: #0c1f1a;
	color: #ddd9d2;
	padding: 3rem 0 1.2rem;
}

.footer-grid {
	grid-template-columns: 1.3fr 1fr 1fr;
	align-items: start;
}

.footer-name {
	margin-bottom: 0.4rem;
	color: var(--fio-white);
	font-family: var(--fio-serif);
	font-size: 1.4rem;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--fio-white);
}

.footer-nav {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.footer-base {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #b7b3ac;
	font-size: 0.85rem;
}

.footer-base p {
	margin: 0;
}

@media (max-width: 900px) {
	h1 {
		font-size: clamp(1.85rem, 8vw, 2.45rem);
	}

	.hero-grid,
	.split,
	.steps,
	.donate-grid,
	.news-grid,
	.footer-grid,
	.contact-list {
		grid-template-columns: 1fr;
	}

	.hero {
		padding-top: 2.6rem;
	}

	.hero-frame,
	.hero-photo,
	.hero-art {
		min-height: 280px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: flex-start;
		padding: 1rem 1.25rem 1.25rem;
		background: var(--fio-white);
		border-bottom: 1px solid var(--fio-line);
	}

	.site-nav.is-open {
		display: flex;
	}

	.nav-list {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}

	.header-inner,
	.section-head,
	.facts-inner,
	.topbar-inner,
	.footer-base {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-header {
		position: relative;
	}
}

@media (max-width: 782px) {
	body.admin-bar .masthead {
		top: 46px;
	}
}

.city-banner img {
	display: block;
}

.intro {
	padding: 3.2rem 0 0.5rem;
}

.intro-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2rem;
	align-items: end;
}

.intro h1 {
	margin-bottom: 0;
}

.dossier-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
	margin-top: 1.4rem;
}

.dossier {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
	padding: 1.5rem 1.4rem 1.3rem;
	border: 1px solid var(--fio-line);
	border-radius: 0 36px 0 36px;
	background: var(--fio-white);
	color: inherit;
	text-decoration: none;
	box-shadow: var(--fio-shadow);
}

.dossier:hover {
	border-color: var(--fio-olive);
	color: inherit;
}

.dossier-figure {
	margin: 0 0 0.7rem;
	background: linear-gradient(90deg, #00a060, #c6b22e);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--fio-serif);
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	line-height: 1;
}

.dossier h3 {
	margin-bottom: 0.45rem;
}

.dossier p {
	color: var(--fio-ink);
}

.dossier span {
	margin-top: auto;
	padding-top: 0.8rem;
	color: var(--fio-olive-deep);
	font-weight: 700;
}

.entry-anbi .entry-content {
	max-width: 46rem;
}

.anbi-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.8rem;
	margin: 0 0 1.4rem;
}

.anbi-facts div {
	padding: 1rem 1.05rem;
	background: var(--fio-sand);
	border-radius: 0 24px 0 24px;
}

.anbi-facts dt {
	margin-bottom: 0.25rem;
	color: var(--fio-olive-deep);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.anbi-facts dd {
	margin: 0;
	font-family: var(--fio-serif);
	font-size: 1.15rem;
}

.anbi-scroll {
	overflow-x: auto;
	margin: 0 0 1.2rem;
}

.anbi-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.anbi-table th,
.anbi-table td {
	padding: 0.65rem 0.7rem;
	border-bottom: 1px solid var(--fio-line);
	text-align: left;
	vertical-align: top;
}

.anbi-table th {
	color: var(--fio-olive-deep);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.anbi-files {
	padding-left: 1.1rem;
}

.entry-content .keyline {
	margin: 1.4rem 0;
	padding-left: 1rem;
	border-left: 4px solid #00a060;
	font-family: var(--fio-serif);
	font-size: 1.35rem;
	color: var(--fio-olive-deep);
}

@media (max-width: 900px) {
	.intro-inner,
	.dossier-grid {
		grid-template-columns: 1fr;
	}

	.city-banner {
		max-height: none;
	}

	.city-banner img {
		height: auto;
		max-height: none;
		object-fit: contain;
	}

	.brand-logo img,
	.brand-logo .custom-logo {
		height: 68px;
	}

	.header-inner {
		flex-direction: row;
		align-items: center;
	}

	.fio-photo-grid,
	.donate-band-inner {
		grid-template-columns: 1fr;
	}

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

	.banner-card {
		position: static;
		max-width: none;
		margin: 0;
		border-radius: 0;
	}
}

.city-banner {
	position: relative;
	max-height: 78vh;
	overflow: hidden;
}

.city-banner img {
	width: 100%;
	height: 78vh;
	max-height: 680px;
	object-fit: cover;
	object-position: right center;
}

.banner-card {
	position: absolute;
	left: max(1.25rem, calc((100% - var(--fio-wrap)) / 2));
	bottom: 1.4rem;
	width: min(34rem, calc(100% - 2.5rem));
	padding: 1.35rem 1.45rem 1.45rem;
	background: rgba(12, 31, 26, 0.78);
	color: #ffffff;
	border-radius: 0 32px 0 32px;
	box-shadow: 0 18px 40px rgba(8, 20, 16, 0.28);
}

.banner-card .eyebrow {
	color: #f4e7a1;
}

.banner-card h1,
.banner-card p {
	color: #ffffff;
}

.banner-card h1 {
	font-size: clamp(1.7rem, 3.2vw, 2.7rem);
}

.banner-lead p:last-child {
	margin-bottom: 1rem;
}

.fio-photos {
	padding: 2.6rem 0 0.2rem;
}

.fio-photo-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.1fr 1.1fr;
	gap: 0.9rem;
	align-items: start;
}

.fio-photo-grid figure {
	margin: 0;
	overflow: hidden;
	background: var(--fio-sand);
	border-radius: 0 28px 0 28px;
	box-shadow: var(--fio-shadow);
}

.fio-photo-grid img {
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.fio-photo-grid figure:first-child img {
	object-position: top;
}

.fio-photo-grid figcaption {
	padding: 0.75rem 0.9rem 0.9rem;
	color: var(--fio-muted);
	font-size: 0.86rem;
}

.dossier {
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.dossier:hover {
	transform: translateY(-3px);
}

.dossier:has(.dossier-photo) {
	padding: 0;
}

.dossier-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.15rem 1.35rem 1.2rem;
}

.dossier-photo {
	display: block;
	width: 100%;
	height: 196px;
	margin: 0;
	object-fit: cover;
	border-radius: 0 35px 0 0;
}

.dossier-photo-dome {
	object-position: center 18%;
}

.dossier-photo-poster {
	object-position: center top;
}

.page-hero-photo-banner {
	object-position: right center;
}

.page-hero-photo-dome {
	object-position: center 18%;
}

.page-hero-photo-poster {
	object-fit: cover;
	object-position: center top;
	background: #10241c;
}

.entry-anbi.page-sheet .entry-content {
	max-width: none;
}

.donate-band-page {
	margin: 0;
}

.donate-band {
	margin: 0.5rem 0 2.5rem;
	padding: 2.4rem 0;
	background:
		linear-gradient(115deg, rgba(6, 102, 63, 0.94), rgba(12, 31, 26, 0.92)),
		var(--fio-olive-deep);
	color: #ffffff;
}

.donate-band-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1.5rem;
	align-items: center;
}

.donate-band h2,
.donate-band p,
.donate-band .eyebrow {
	color: #ffffff;
}

.donate-band .eyebrow {
	color: #f4e7a1;
}

.donate-band p {
	max-width: 36rem;
	margin-bottom: 0;
}

.footer-donate {
	display: inline-flex;
	margin-top: 0.35rem;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: #c6b22e;
	color: #10241c;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.footer-donate:hover {
	background: #f3e7a1;
	color: #10241c;
}

.page-hero .button-donate {
	margin-top: 0.4rem;
}

@media (max-width: 900px) {
	.city-banner {
		max-height: none;
	}

	.city-banner img {
		height: auto;
		max-height: none;
		object-fit: contain;
	}

	.page-hero-split .page-hero-inner,
	.donate-band-inner,
	.page-layout {
		grid-template-columns: 1fr;
	}

	.page-aside {
		position: static;
	}

	.page-hero-photo {
		height: 180px;
	}

	.page-hero::before,
	.page-hero::after {
		display: none;
	}

	.page-sheet {
		padding-left: 1.15rem;
		padding-right: 1.15rem;
		border-radius: 0 28px 0 28px;
	}
}

/* These rules stay last so they win over the desktop layout. */
@media (max-width: 1180px) {
	.nav-toggle {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.site-header {
		position: relative;
	}

	.header-inner {
		flex-direction: row;
		align-items: center;
	}

	.site-nav {
		display: none;
		position: absolute;
		z-index: 40;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0.15rem;
		max-height: calc(100dvh - 7rem);
		overflow: auto;
		padding: 0.4rem 1.25rem 1rem;
		background: var(--fio-white);
		border-bottom: 1px solid var(--fio-line);
		box-shadow: 0 18px 30px rgba(16, 40, 32, 0.12);
	}

	.site-nav.is-open {
		display: flex;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.nav-list a,
	.nav-contact {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0.2rem 0;
	}
}

@media (max-width: 900px) {
	.wrap {
		width: min(var(--fio-wrap), calc(100% - 1.5rem));
	}

	.topbar {
		font-size: 0.75rem;
	}

	.topbar-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.15rem;
	}

	.city-banner {
		max-height: none;
		overflow: visible;
	}

	.city-banner img {
		width: 100%;
		height: 190px;
		max-height: none;
		object-fit: cover;
		object-position: right center;
	}

	.banner-card {
		position: static;
		left: auto;
		bottom: auto;
		width: auto;
		max-width: none;
		margin: 0;
		border-radius: 0;
	}

	.fio-photo-grid,
	.intro-inner,
	.dossier-grid,
	.news-grid,
	.footer-grid,
	.donate-band-inner,
	.page-layout,
	.page-hero-split .page-hero-inner {
		grid-template-columns: 1fr;
	}

	.fio-photo-grid img {
		height: 220px;
	}

	.dossier-photo {
		height: 180px;
	}

	.intro,
	.fio-photos {
		padding-top: 1.6rem;
	}

	.section {
		padding: 2.4rem 0;
	}

	.page-hero {
		padding: 2.2rem 0 3.2rem;
	}

	.page-sheet {
		margin-top: -1.5rem;
	}

	.entry-content .keyline {
		font-size: 1.15rem;
	}

	.donate-band .button,
	.page-hero .button {
		width: 100%;
	}

	.search-form {
		flex-wrap: wrap;
	}

	.search-form input,
	.search-form button {
		width: 100%;
		max-width: none;
	}

	.footer-base {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.35rem;
	}
}

@media (max-width: 420px) {
	.brand-logo img,
	.brand-logo .custom-logo {
		height: 54px;
	}

	.header-end .button.button-donate {
		padding: 0.55rem 0.75rem;
		font-size: 0.8rem;
	}
}

@media (max-width: 640px) {
	.anbi-scroll {
		overflow: visible;
	}

	.anbi-board,
	.anbi-board tbody,
	.anbi-board tr,
	.anbi-board td {
		display: block;
		width: 100%;
	}

	.anbi-board thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.anbi-board tr {
		margin-bottom: 0.7rem;
		padding: 0.75rem 0.9rem;
		background: var(--fio-sand);
		border-radius: 0 20px 0 20px;
	}

	.anbi-board td {
		padding: 0.12rem 0;
		border: 0;
	}

	.anbi-board td:first-child {
		color: var(--fio-navy);
		font-family: var(--fio-serif);
		font-size: 1.15rem;
	}
}

.bibin-event {
	padding: 2.2rem 0 0.4rem;
}

.bibin-event-inner {
	display: grid;
	grid-template-columns: minmax(200px, 320px) 1fr;
	gap: 1.6rem;
	align-items: center;
	padding: 1.2rem;
	background: var(--fio-sand);
	border-radius: 0 36px 0 36px;
}

.bibin-poster img {
	width: 100%;
	height: auto;
	border-radius: 0 24px 0 24px;
	box-shadow: var(--fio-shadow);
}

.bibin-event h2 {
	max-width: 16em;
}

.bibin-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 0.4rem 0 0;
}

@media (max-width: 900px) {
	.bibin-event-inner {
		grid-template-columns: 1fr;
		padding: 0.9rem;
	}

	.bibin-actions .button {
		width: 100%;
	}
}
