/*
Theme Name: Nikolka
Theme URI: http://nikolka.loc
Author: Nikolka
Description: Fast native WordPress theme for the Nikolka charity foundation.
Version: 1.0.0
Text Domain: nikolka
*/

:root {
	--ink: #102246;
	--muted: #5d6b84;
	--blue: #1f76e8;
	--blue-2: #e8f3ff;
	--orange: #f2672a;
	--green: #168c63;
	--line: #d8e4f5;
	--soft: #f6fbff;
	--white: #fff;
	--shadow: 0 18px 46px rgba(31, 118, 232, .13);
	--radius: 16px;
	--font-heading: "Manrope", "Arial", "Helvetica Neue", sans-serif;
	--font-body: "Onest", "Arial", "Helvetica Neue", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	overflow-x: clip;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: clip;
	color: var(--ink);
	background: #eef7ff;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.55;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body::before {
	content: none;
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(circle at 12% 8%, rgba(31, 118, 232, .09), transparent 34%),
		linear-gradient(90deg, rgba(31, 118, 232, .035) 1px, transparent 1px),
		linear-gradient(180deg, rgba(31, 118, 232, .035) 1px, transparent 1px);
	background-size: auto, 72px 72px, 72px 72px;
}

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

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

.container {
	width: min(100% - 40px, 1200px);
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, .88);
	border-bottom: 1px solid rgba(216, 228, 245, .78);
	backdrop-filter: blur(16px);
}

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	min-height: 82px;
	gap: 30px;
}

.brand,
.main-nav {
	display: flex;
	align-items: center;
}

.brand img {
	width: 70px;
	height: auto;
	max-height: 70px;
}

.menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 2.4vw, 34px);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1;
}

.menu li {
	position: relative;
}

.menu li:has(.sub-menu)::after {
	content: "";
	position: absolute;
	left: -18px;
	right: -18px;
	top: 100%;
	height: 14px;
}

.menu a {
	display: flex;
	align-items: center;
	min-height: 46px;
	padding: 12px 0;
	transition: color .25s ease;
}

.menu a:hover {
	color: var(--blue);
}

.menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 30;
	display: grid;
	min-width: 260px;
	margin: 0;
	padding: 12px;
	list-style: none;
	background: rgba(255, 255, 255, .96);
	border: 1px solid rgba(216, 228, 245, .92);
	border-radius: 14px;
	box-shadow: 0 20px 48px rgba(16, 34, 70, .12);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 4px);
	transition: opacity .22s ease, transform .22s cubic-bezier(.16, 1, .3, 1);
	backdrop-filter: blur(14px);
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.menu .sub-menu a {
	display: block;
	min-height: 0;
	padding: 10px 12px;
	border-radius: 9px;
	color: var(--ink);
	font-size: 13px;
	line-height: 1.25;
}

.menu .sub-menu a:hover {
	color: var(--blue);
	background: var(--blue-2);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-weight: 800;
	font-family: var(--font-heading);
	font-size: 14px;
	line-height: 1;
	transition: color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.button:active {
	transform: none;
}

.button-primary {
	color: #fff;
	background: var(--orange);
	border-color: var(--orange);
	box-shadow: 0 12px 28px rgba(242, 103, 42, .22);
}

.button-primary:hover {
	color: var(--orange);
	background: #fff;
	border-color: var(--orange);
	box-shadow: none;
}

.button-secondary {
	color: #fff;
	background: var(--blue);
	border-color: var(--blue);
	box-shadow: 0 12px 28px rgba(31, 118, 232, .2);
}

.button-secondary:hover {
	color: var(--blue);
	background: #fff;
	border-color: var(--blue);
	box-shadow: none;
}

.button-outline {
	color: var(--blue);
	background: #fff;
	border-color: var(--blue);
}

.button-outline:hover {
	color: #fff;
	background: var(--blue);
	border-color: var(--blue);
}

.header-cta {
	align-self: center;
	min-height: 48px;
	height: 48px;
	padding-inline: 28px;
}

.hero {
	position: relative;
	min-height: 590px;
	overflow: hidden;
	background: #edf7ff;
	isolation: isolate;
}

.hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	z-index: 0;
	height: 190px;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .68) 62%, #fff 100%);
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-position: center 46%;
	background-size: cover;
}

.hero-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 49% 43%, rgba(255,255,255,.88) 0%, rgba(255,255,255,.74) 25%, rgba(255,255,255,.24) 50%, rgba(255,255,255,0) 76%),
		linear-gradient(180deg, rgba(255,255,255,0) 58%, rgba(255,255,255,.4) 92%, #fff 100%),
		linear-gradient(90deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.16) 24%, rgba(255,255,255,.12) 70%, rgba(255,255,255,0) 100%);
}

.container.hero-content {
	position: relative;
	z-index: 1;
	width: min(100% - 48px, 560px);
	margin-right: auto;
	margin-left: clamp(400px, 42vw, 760px);
	padding: 108px 0 168px;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--blue);
	font-size: 12px;
	font-family: var(--font-heading);
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.eyebrow.center {
	text-align: center;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 640px;
	margin-bottom: 24px;
	font-size: 58px;
	font-family: var(--font-heading);
	line-height: 1.08;
	font-weight: 900;
}

h2 {
	margin-bottom: 18px;
	font-size: 40px;
	font-family: var(--font-heading);
	line-height: 1.13;
	font-weight: 900;
}

h3 {
	margin-bottom: 10px;
	font-size: 20px;
	font-family: var(--font-heading);
	line-height: 1.2;
	font-weight: 900;
}

.hero p:not(.eyebrow) {
	max-width: 520px;
	margin-bottom: 30px;
	color: #31415e;
	font-size: 18px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.metrics {
	position: relative;
	z-index: 3;
	margin-top: -82px;
}

.metrics-panel {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: rgba(255, 255, 255, .94);
	border: 1px solid rgba(216, 228, 245, .8);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
}

.metric {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 18px;
	align-items: center;
	min-height: 112px;
	padding: 24px 30px;
	border-right: 1px solid var(--line);
}

.metric:last-child {
	border-right: 0;
}

.metric-icon svg {
	width: 50px;
	height: 50px;
	fill: none;
	stroke: var(--blue);
	stroke-width: 2.1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.metric strong {
	display: block;
	color: var(--blue);
	font-family: var(--font-heading);
	font-size: 32px;
	line-height: 1;
	font-weight: 900;
}

.metric span {
	display: block;
	margin-top: 7px;
	color: #223354;
	font-size: 13px;
	font-weight: 700;
}

.section {
	padding: 78px 0;
}

.section-tight {
	padding: 34px 0 70px;
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr);
	gap: 50px;
	align-items: center;
}

.about-grid > img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 22px 50px rgba(16, 34, 70, .12);
}

.about-grid p {
	color: #334462;
}

.section-title {
	text-align: center;
}

.programs-section {
	padding-top: 78px;
}

.programs-section .eyebrow,
.programs-section .section-title {
	text-align: left;
}

.programs-section .section-title {
	max-width: 660px;
	margin-bottom: 0;
	font-size: 44px;
}

.program-grid {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
	gap: 20px;
	margin-top: 34px;
}

.program-card {
	position: relative;
	display: grid;
	grid-column: 2;
	grid-template-columns: minmax(190px, .78fr) 1fr;
	gap: 0;
	min-height: 224px;
	overflow: hidden;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 20px 44px rgba(16, 34, 70, .075);
	transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s cubic-bezier(.16, 1, .3, 1);
}

.program-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 26px 58px rgba(16, 34, 70, .11);
}

.program-card:first-child {
	grid-column: 1;
	grid-row: span 2;
	grid-template-columns: 1fr;
	grid-template-rows: 330px 1fr;
	min-height: 468px;
	background: linear-gradient(145deg, #fff8f2 0, #fff 68%);
}

.program-card:first-child h3 {
	font-size: 30px;
}

.program-card:first-child p {
	max-width: 560px;
	font-size: 16px;
}

.program-card:nth-child(2) {
	background: linear-gradient(145deg, #f4f9ff 0, #fff 62%);
}

.program-card:nth-child(3) {
	background: linear-gradient(145deg, #f5fffb 0, #fff 62%);
}

.program-card img {
	width: 100%;
	height: 100%;
	min-height: 224px;
	object-fit: cover;
	border-radius: 0;
}

.program-card:first-child img {
	min-height: 330px;
}

.program-card > div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 28px 30px 30px;
}

.program-card h3 {
	max-width: 310px;
	margin-bottom: 14px;
	font-size: 24px;
	line-height: 1.12;
}

.program-card p,
.news-card p,
.content-card p {
	color: var(--muted);
	font-size: 14px;
}

.program-card p {
	margin-bottom: 22px;
	line-height: 1.62;
}

.program-card .link-arrow {
	margin-top: auto;
}

.program-card:first-child .link-arrow {
	margin-top: 2px;
}

.accent-orange h3 {
	color: var(--orange);
}

.accent-blue h3 {
	color: var(--blue);
}

.accent-green h3 {
	color: var(--green);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--blue);
	font-weight: 900;
	font-size: 14px;
}

.link-arrow svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .2s ease;
}

.link-arrow:hover svg {
	transform: translateX(3px);
}

.featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
	gap: 38px;
	align-items: center;
	padding: 0;
	overflow: hidden;
	border: 1px solid #cfe5ff;
	border-radius: 18px;
	background: linear-gradient(135deg, #eef7ff 0%, #fff 58%, #eef7ff 100%);
	box-shadow: var(--shadow);
}

.featured-image {
	width: 100%;
	height: auto;
	min-height: 0;
	object-fit: contain;
}

.featured-copy {
	padding: 44px 44px 44px 0;
}

.featured-copy > .button {
	margin-top: 22px;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

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

.news-card,
.content-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 14px 30px rgba(16, 34, 70, .055);
}

.news-card {
	padding-bottom: 22px;
}

.news-thumb {
	height: 290px;
	background-position: center;
	background-size: cover;
}

.news-card time,
.news-card h3,
.news-card p,
.news-card .link-arrow {
	margin-inline: 20px;
}

.news-card time {
	display: block;
	margin-top: 16px;
	margin-bottom: 8px;
	color: #71809b;
	font-size: 12px;
}

.gallery-section {
	padding: 76px 0 72px;
}

.gallery-section .section-head {
	align-items: end;
	margin-bottom: 28px;
}

.gallery-section h2 {
	max-width: 560px;
	margin-bottom: 0;
	font-size: 44px;
}

.gallery-strip {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: 92px;
	gap: 16px;
}

.gallery-tile {
	position: relative;
	display: flex;
	align-items: end;
	min-height: 0;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .62);
	border-radius: 16px;
	overflow: hidden;
	background-position: center;
	background-size: cover;
	box-shadow: 0 18px 42px rgba(16, 34, 70, .1);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.18;
	transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s cubic-bezier(.16, 1, .3, 1);
}

.gallery-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(16, 34, 70, 0) 32%, rgba(16, 34, 70, .78) 100%),
		linear-gradient(120deg, rgba(31, 118, 232, .12), rgba(255, 255, 255, 0) 52%);
	transition: opacity .28s cubic-bezier(.16, 1, .3, 1);
}

.gallery-tile span {
	position: relative;
	z-index: 1;
	max-width: 210px;
	text-shadow: 0 1px 16px rgba(8, 24, 54, .28);
}

.gallery-tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 58px rgba(16, 34, 70, .16);
}

.gallery-tile:hover::after {
	opacity: .9;
}

.tile-1 {
	grid-column: span 5;
	grid-row: span 4;
	font-size: 20px;
}

.tile-2 {
	grid-column: span 3;
	grid-row: span 2;
}

.tile-3 {
	grid-column: span 4;
	grid-row: span 4;
}

.tile-4 {
	grid-column: span 3;
	grid-row: span 2;
}

.tile-5 {
	grid-column: span 3;
	grid-row: span 2;
}

.tile-6 {
	grid-column: span 4;
	grid-row: span 2;
}

.tile-7 {
	grid-column: span 3;
	grid-row: span 2;
}

.tile-2,
.tile-5 {
	background-position: center 42%;
}

.tile-3,
.tile-7 {
	background-position: center 38%;
}

@media (min-width: 1051px) {
	.gallery-strip .gallery-tile:nth-child(n+5) {
		display: none;
	}
}

.final-cta {
	padding: 88px 0 100px;
}

.cta-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(360px, .92fr) minmax(430px, 1fr);
	align-items: stretch;
	gap: 0;
	min-height: 360px;
	overflow: hidden;
	padding: 0;
	border: 1px solid #cfe3fb;
	border-radius: 22px;
	background:
		linear-gradient(135deg, rgba(232, 245, 255, .96) 0, rgba(255, 255, 255, .98) 58%, rgba(244, 250, 255, .96) 100%);
	box-shadow: 0 24px 58px rgba(32, 109, 205, .13);
	isolation: isolate;
}

.cta-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.7) 48%, rgba(255,255,255,0) 100%);
	opacity: .72;
	z-index: -1;
}

.cta-panel > img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
	object-position: left center;
	border-radius: 0;
}

.cta-panel > div {
	align-self: center;
	padding: 64px 72px 66px 54px;
}

.cta-panel h2 {
	max-width: 560px;
	margin-bottom: 18px;
	font-size: 42px;
	line-height: 1.08;
}

.cta-panel p {
	max-width: 600px;
	margin-bottom: 26px;
	color: #2f405e;
	font-size: 18px;
	line-height: 1.65;
}

.cta-panel .hero-actions {
	gap: 14px;
}

.cta-panel .button {
	min-width: 190px;
}

.site-footer {
	padding: 34px 0 20px;
	background: #fff;
	border-top: 1px solid var(--line);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr .9fr 1.15fr 1fr;
	gap: 34px;
}

.footer-grid h2 {
	margin-bottom: 12px;
	font-size: 16px;
}

.footer-grid p,
.footer-grid a {
	color: var(--muted);
	font-size: 14px;
}

.footer-brand img {
	width: 72px;
	height: auto;
	max-height: 72px;
}

.social-links {
	display: flex;
	gap: 10px;
}

.social-links a {
	display: block;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	transition: opacity .2s ease, transform .2s ease;
}

.social-links a:hover {
	opacity: .86;
	transform: translateY(-2px);
}

.social-links img {
	display: block;
	width: 100%;
	height: 100%;
}

.footer-bottom {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	color: #71809b;
	text-align: center;
	font-size: 13px;
}

.inner-hero {
	position: relative;
	padding: 70px 0 54px;
	background:
		linear-gradient(135deg, rgba(232, 245, 255, .88) 0, rgba(255, 255, 255, .94) 52%, rgba(255, 247, 242, .78) 100%);
	border-bottom: 1px solid rgba(216, 228, 245, .72);
	overflow: hidden;
}

.inner-hero::after {
	content: "";
	position: absolute;
	right: 6vw;
	bottom: -78px;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(31, 118, 232, .12);
	border-radius: 50%;
	background: rgba(255, 255, 255, .46);
}

.inner-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	align-items: start;
}

.inner-hero h1 {
	max-width: 860px;
	margin-bottom: 18px;
	font-size: 54px;
	line-height: 1.06;
}

.inner-hero p:not(.eyebrow) {
	max-width: 720px;
	margin-bottom: 0;
	color: #31415e;
	font-size: 18px;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
	color: #71809b;
	font-size: 13px;
}

.breadcrumbs a {
	color: var(--blue);
	font-weight: 800;
}

.breadcrumbs span::before {
	content: "/";
	margin-right: 8px;
	color: #9aa8bd;
}

.inner-hero-note {
	display: none;
	gap: 10px;
	padding: 24px;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 18px;
	background: rgba(255, 255, 255, .78);
	box-shadow: 0 18px 42px rgba(16, 34, 70, .08);
}

.inner-hero-note strong {
	font-family: var(--font-heading);
	font-size: 20px;
}

.inner-hero-note span {
	color: var(--muted);
}

.inner-section {
	padding-top: 62px;
}

.text-page {
	max-width: 900px;
}

.entry-content {
	color: #334462;
}

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

.entry-content p {
	color: #334462;
	font-size: 17px;
	line-height: 1.72;
}

.entry-content h2 {
	margin-top: 0;
	font-size: 28px;
}

.page-lead {
	margin-bottom: 28px;
	padding: 28px 32px;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 18px;
	background: rgba(255, 255, 255, .86);
	box-shadow: 0 18px 42px rgba(16, 34, 70, .07);
}

.page-lead p {
	max-width: 820px;
	margin-bottom: 0;
	font-size: 19px;
}

.page-lead p + p {
	margin-top: 16px;
}

.page-grid,
.people-grid,
.contact-grid,
.partner-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.rich-card,
.archive-card,
.empty-state {
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 18px;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 18px 42px rgba(16, 34, 70, .065);
}

.rich-card {
	padding: 28px;
}

.rich-card p:last-child,
.rich-card .link-arrow:last-child {
	margin-bottom: 0;
}

.people-grid article,
.contact-grid article {
	padding: 26px;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 18px;
	background: #fff;
}

.profile-card {
	overflow: hidden;
}

.profile-card img,
.partner-grid img,
.content-media img,
.donation-panel img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.profile-card img {
	aspect-ratio: 4 / 5;
	margin: -26px -26px 20px;
	width: calc(100% + 52px);
	max-width: none;
}

.people-grid h2,
.contact-grid h2 {
	margin-bottom: 10px;
	font-size: 22px;
}

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

.partner-grid article {
	overflow: hidden;
	padding: 22px;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(16, 34, 70, .065);
}

.partner-grid img {
	aspect-ratio: 16 / 10;
	margin: -22px -22px 18px;
	width: calc(100% + 44px);
	max-width: none;
}

.partner-grid h2 {
	margin-bottom: 8px;
	font-size: 22px;
}

.partner-grid p {
	margin-bottom: 0;
	color: var(--muted);
}

.partners-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.partners-list span {
	padding: 12px 16px;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 999px;
	background: #fff;
	color: #334462;
	font-weight: 700;
}

.timeline-list,
.steps-list {
	display: grid;
	gap: 16px;
}

.timeline-list article,
.steps-list article {
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 18px;
	padding: 26px;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 18px;
	background: #fff;
}

.timeline-list span,
.steps-list span {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--blue);
	background: var(--blue-2);
	font-family: var(--font-heading);
	font-weight: 900;
}

.timeline-list h2,
.steps-list h2 {
	margin-bottom: 8px;
	font-size: 24px;
}

.document-list {
	display: grid;
	gap: 12px;
}

.document-list a {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 20px;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 14px;
	background: #fff;
	color: var(--ink);
	font-weight: 800;
}

.document-list a::after {
	content: "Открыть";
	flex: 0 0 auto;
	color: var(--blue);
	font-size: 13px;
}

.requisites-card,
.donation-panel,
.page-cta {
	margin-top: 24px;
	padding: 30px;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 20px;
	background: linear-gradient(135deg, #fff 0, #f4f9ff 100%);
	box-shadow: 0 20px 48px rgba(16, 34, 70, .08);
}

.requisites-card dl {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 14px 22px;
	margin: 0;
}

.requisites-card dt {
	color: #71809b;
	font-weight: 800;
}

.requisites-card dd {
	margin: 0;
	color: #243653;
}

.donation-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
	align-items: center;
	gap: 28px;
	margin-top: 0;
	margin-bottom: 24px;
	background: linear-gradient(135deg, #fff4ed 0, #f3f9ff 100%);
}

.donation-panel img {
	aspect-ratio: 4 / 5;
	border-radius: 16px;
}

.content-media {
	margin: 0 0 28px;
	overflow: hidden;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 20px;
	background: #dcecf9;
}

.content-media img {
	aspect-ratio: 16 / 7;
}

.donation-panel h2,
.page-cta h2 {
	margin-bottom: 12px;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 26px;
}

.stats-grid article {
	padding: 26px;
	border: 1px solid rgba(205, 225, 248, .92);
	border-radius: 18px;
	background: #fff;
}

.stats-grid strong {
	display: block;
	color: var(--blue);
	font-family: var(--font-heading);
	font-size: 36px;
	line-height: 1;
}

.stats-grid span {
	display: block;
	margin-top: 10px;
	color: var(--muted);
}

.table-wrap {
	overflow-x: auto;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

.entry-content th,
.entry-content td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	color: var(--ink);
	font-family: var(--font-heading);
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.archive-card {
	display: flex;
	flex-direction: column;
	min-height: 260px;
	padding: 24px;
}

.archive-card-media {
	display: block;
	margin: -24px -24px 22px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 18px 18px 0 0;
	background: #dcecf9;
}

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

.archive-card h2 {
	margin-bottom: 12px;
	font-size: 24px;
}

.archive-card p:not(.eyebrow) {
	color: var(--muted);
}

.archive-card .link-arrow {
	margin-top: auto;
}

.news-detail-hero {
	padding: 56px 0 46px;
	background: #f7f9fc;
	border-bottom: 2px solid rgba(16, 34, 70, .85);
}

.news-detail-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
	gap: clamp(38px, 4.4vw, 72px);
	align-items: start;
}

.news-detail-copy time {
	display: inline-block;
	margin: 20px 0 14px;
	color: var(--blue);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.news-detail-copy h1 {
	max-width: 760px;
	margin-bottom: 24px;
	font-size: clamp(40px, 3.75vw, 58px);
	line-height: 1.02;
}

.news-detail-copy p {
	max-width: 620px;
	margin-bottom: 0;
	color: #34435f;
	font-size: 19px;
	line-height: 1.62;
}

.news-detail-back {
	margin-top: 28px;
}

.news-detail-lead {
	margin: 116px 0 0;
}

.news-detail-lead img {
	width: 100%;
	aspect-ratio: 1.42;
	height: auto;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid rgba(16, 34, 70, .2);
}

.news-detail-section {
	padding: 62px 0 86px;
}

.news-detail-layout {
	display: grid;
	gap: 52px;
}

.news-detail-article {
	max-width: 840px;
}

.news-detail-article .entry-content {
	font-size: 18px;
}

.news-detail-article .entry-content > p:first-child {
	font-size: 21px;
	line-height: 1.62;
}

.news-detail-article .wp-block-video {
	max-width: min(560px, 100%);
	margin: 42px auto;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .18);
	border-radius: 6px;
	background: #0f203d;
}

.news-detail-article .wp-block-video video {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: min(680px, 72vh);
	margin: 0 auto;
	background: #0f203d;
}

.news-media-section {
	padding-top: 4px;
}

.news-media-section .section-head {
	align-items: end;
	margin-bottom: 22px;
}

.news-media-section h2 {
	margin-bottom: 0;
	font-size: 38px;
}

.news-media-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-flow: dense;
	grid-auto-rows: 126px;
	gap: 12px;
}

.news-media-item {
	position: relative;
	display: block;
	grid-column: span 2;
	grid-row: span 2;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .16);
	border-radius: 6px;
	background: #dfeefa;
}

.news-media-item.is-wide,
.news-media-item.is-landscape {
	grid-column: span 3;
	grid-row: span 2;
}

.news-media-item.is-portrait {
	grid-column: span 2;
	grid-row: span 3;
}

.news-media-item.is-square {
	grid-column: span 2;
	grid-row: span 2;
}

.news-media-item.is-primary {
	grid-column: span 4;
	grid-row: span 3;
}

.news-media-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.news-media-item:hover img {
	transform: scale(1.035);
}

.news-detail-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	border-top: 1px solid rgba(16, 34, 70, .2);
	padding-top: 24px;
}

.news-detail-nav a {
	display: grid;
	gap: 8px;
	padding: 22px 24px;
	border: 1px solid rgba(16, 34, 70, .2);
	border-radius: 6px;
	background: #fff;
	transition: transform .24s cubic-bezier(.16, 1, .3, 1), border-color .24s ease;
}

.news-detail-nav a:hover {
	border-color: var(--blue);
	transform: translateY(-2px);
}

.news-detail-nav a:active {
	transform: translateY(1px);
}

.news-detail-nav span {
	color: var(--blue);
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.news-detail-nav strong {
	font-family: var(--font-heading);
	font-size: 20px;
	line-height: 1.2;
}

.gallery-page-hero {
	padding: 56px 0 48px;
	background: #f7f9fc;
	border-bottom: 2px solid rgba(16, 34, 70, .85);
}

.gallery-page-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(38px, 5vw, 78px);
	align-items: center;
}

.gallery-page-copy h1 {
	max-width: 760px;
	margin-bottom: 24px;
	font-size: clamp(42px, 5vw, 68px);
	line-height: 1.02;
}

.gallery-page-copy > p:not(.eyebrow) {
	max-width: 620px;
	color: #34435f;
	font-size: 19px;
	line-height: 1.62;
}

.gallery-page-featured {
	position: relative;
	display: grid;
	align-content: end;
	min-height: 420px;
	overflow: hidden;
	padding: 28px;
	border: 1px solid rgba(16, 34, 70, .22);
	border-radius: 8px;
	background: #dfeefa;
	color: #fff;
	isolation: isolate;
}

.gallery-page-featured::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(8, 22, 46, 0) 35%, rgba(8, 22, 46, .76) 100%);
}

.gallery-page-featured img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.gallery-page-featured:hover img {
	transform: scale(1.035);
}

.gallery-page-featured span {
	margin-bottom: 10px;
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.gallery-page-featured strong {
	max-width: 660px;
	font-family: var(--font-heading);
	font-size: clamp(24px, 3vw, 42px);
	line-height: 1.08;
}

.gallery-page-section {
	padding: 58px 0 86px;
}

.gallery-page-head {
	margin-bottom: 24px;
}

.gallery-page-head h2 {
	margin-bottom: 0;
	font-size: 42px;
}

.gallery-page-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-flow: dense;
	grid-auto-rows: 126px;
	gap: 12px;
}

.gallery-photo-tile {
	position: relative;
	display: block;
	grid-column: span 2;
	grid-row: span 2;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .2);
	border-radius: 8px;
	background: #dcecf9;
	box-shadow: 0 14px 32px rgba(16, 34, 70, .08);
	color: #fff;
	isolation: isolate;
}

.gallery-photo-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(8, 22, 46, 0) 42%, rgba(8, 22, 46, .78) 100%);
	opacity: 0;
	transition: opacity .24s ease;
}

.gallery-photo-tile.is-featured {
	grid-column: span 4;
	grid-row: span 3;
}

.gallery-photo-tile.is-wide {
	grid-column: span 4;
	grid-row: span 2;
}

.gallery-photo-tile.is-landscape {
	grid-column: span 3;
	grid-row: span 2;
}

.gallery-photo-tile.is-portrait {
	grid-column: span 2;
	grid-row: span 3;
}

.gallery-photo-tile.is-square {
	grid-column: span 2;
	grid-row: span 2;
}

.gallery-photo-tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.gallery-photo-tile:hover img {
	transform: scale(1.035);
}

.gallery-photo-tile:hover::after,
.gallery-photo-tile:focus-visible::after {
	opacity: .9;
}

.gallery-photo-tile span {
	position: absolute;
	right: 18px;
	bottom: 16px;
	left: 18px;
	z-index: 2;
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.18;
	opacity: 0;
	text-shadow: 0 1px 18px rgba(8, 24, 54, .34);
	transform: translateY(8px);
	transition: opacity .24s ease, transform .24s ease;
}

.gallery-photo-tile.is-featured span {
	font-size: clamp(20px, 2.4vw, 34px);
	line-height: 1.08;
}

.gallery-photo-tile:hover span,
.gallery-photo-tile:focus-visible span {
	opacity: 1;
	transform: translateY(0);
}

.photo-report-hero {
	padding: 56px 0 48px;
	background: #f7f9fc;
	border-bottom: 2px solid rgba(16, 34, 70, .85);
}

.photo-report-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
	gap: clamp(38px, 4.6vw, 76px);
	align-items: start;
}

.photo-report-copy time {
	display: inline-block;
	margin: 28px 0 16px;
	color: var(--blue);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.photo-report-copy h1 {
	max-width: 780px;
	margin-bottom: 24px;
	font-size: clamp(40px, 3.85vw, 60px);
	line-height: 1.02;
}

.photo-report-copy p {
	max-width: 640px;
	margin: 0;
	color: #34435f;
	font-size: 19px;
	line-height: 1.62;
}

.photo-report-back {
	margin-top: 28px;
}

.photo-report-lead {
	position: relative;
	margin: 108px 0 0;
}

.photo-report-lead img {
	width: 100%;
	aspect-ratio: 1.42;
	height: auto;
	object-fit: cover;
	border: 1px solid rgba(16, 34, 70, .2);
	border-radius: 8px;
}

.photo-report-section {
	padding: 58px 0 76px;
}

.photo-report-layout {
	display: grid;
	gap: 56px;
}

.photo-report-story {
	max-width: 860px;
	padding-top: 28px;
	border-top: 1px solid rgba(16, 34, 70, .22);
}

.photo-report-story .entry-content {
	font-size: 18px;
}

.photo-report-story .entry-content > p:first-child {
	color: var(--ink);
	font-size: 21px;
	line-height: 1.62;
}

.photo-report-story .wp-block-video {
	max-width: min(560px, 100%);
	margin: 42px auto 0;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .18);
	border-radius: 8px;
	background: #0f203d;
}

.photo-report-story .wp-block-video video {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: min(680px, 72vh);
	margin: 0 auto;
	background: #0f203d;
}

.photo-report-content {
	min-width: 0;
}

.photo-report-gallery-head {
	align-items: end;
	margin-bottom: 22px;
}

.photo-report-gallery-head h2 {
	margin-bottom: 0;
	font-size: 38px;
}

.photo-report-gallery {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-flow: dense;
	grid-auto-rows: 126px;
	gap: 12px;
}

.photo-report-shot {
	display: block;
	grid-column: span 2;
	grid-row: span 2;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .16);
	border-radius: 8px;
	background: #dfeefa;
}

.photo-report-shot.is-wide {
	grid-column: span 4;
	grid-row: span 2;
}

.photo-report-shot.is-landscape {
	grid-column: span 3;
	grid-row: span 2;
}

.photo-report-shot.is-portrait {
	grid-column: span 2;
	grid-row: span 3;
}

.photo-report-shot.is-square {
	grid-column: span 2;
	grid-row: span 2;
}

.photo-report-shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.photo-report-shot:hover img {
	transform: scale(1.035);
}

.photo-report-shot.shot-large {
	grid-column: span 4;
	grid-row: span 3;
}

body.nikolka-lightbox-open {
	overflow: hidden;
}

.nikolka-lightbox[hidden] {
	display: none;
}

.nikolka-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) 88px;
	align-items: center;
	gap: 18px;
	padding: 34px;
	background: rgba(8, 22, 46, .9);
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease;
}

.nikolka-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.nikolka-lightbox-stage {
	display: grid;
	place-items: center;
	min-width: 0;
	min-height: 0;
	cursor: zoom-out;
}

.nikolka-lightbox-stage img {
	width: auto;
	max-width: 100%;
	max-height: calc(100dvh - 120px);
	object-fit: contain;
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.nikolka-lightbox-caption {
	max-width: min(720px, 100%);
	margin: 16px 0 0;
	color: rgba(255, 255, 255, .82);
	text-align: center;
	font-size: 14px;
}

.nikolka-lightbox-close,
.nikolka-lightbox-prev,
.nikolka-lightbox-next {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	font-family: var(--font-heading);
	font-size: 34px;
	line-height: 1;
	transition: color .2s ease, background .2s ease, border-color .2s ease;
	backdrop-filter: blur(12px);
}

.nikolka-lightbox-close:hover,
.nikolka-lightbox-prev:hover,
.nikolka-lightbox-next:hover {
	background: rgba(255, 255, 255, .2);
}

.nikolka-lightbox-close:active,
.nikolka-lightbox-prev:active,
.nikolka-lightbox-next:active {
	transform: none;
}

.nikolka-lightbox-close:focus-visible,
.nikolka-lightbox-prev:focus-visible,
.nikolka-lightbox-next:focus-visible {
	outline: 3px solid rgba(255, 255, 255, .72);
	outline-offset: 3px;
}

.nikolka-lightbox-close {
	position: absolute;
	top: 24px;
	right: 24px;
}

.nikolka-lightbox-prev {
	justify-self: center;
}

.nikolka-lightbox-next {
	justify-self: center;
}

.photo-report-more {
	padding-top: 28px;
}

.photo-report-more .archive-card {
	overflow: hidden;
	border-radius: 8px;
}

.photo-report-more .archive-card-media {
	border-radius: 0;
}

.empty-state {
	padding: 36px;
	text-align: center;
}

.post-list {
	display: grid;
	gap: 18px;
}

.content-card {
	padding: 24px;
}

/* Contacts page */
body:has(.contact-page) .text-page {
	width: min(100% - 48px, 1320px);
	max-width: 1320px;
}

body:has(.contact-page) .inner-section {
	padding-top: 56px;
}

.contact-page {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
	gap: 22px;
}

.contact-hero-card,
.contact-methods article,
.contact-next article {
	border: 1px solid rgba(16, 34, 70, .18);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
}

.contact-hero-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 420px;
	padding: 42px;
	background:
		linear-gradient(135deg, rgba(255, 244, 237, .94), rgba(255, 255, 255, .98) 54%, rgba(232, 243, 255, .82));
}

.contact-hero-card h2 {
	max-width: 560px;
	margin-bottom: 18px;
	font-size: clamp(38px, 4vw, 58px);
	line-height: 1.02;
}

.contact-hero-card p:not(.eyebrow) {
	max-width: 540px;
	margin-bottom: 30px;
	color: #334462;
	font-size: 20px;
	line-height: 1.58;
}

.contact-hero-card .hero-actions {
	margin-top: auto;
}

.contact-methods {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.contact-methods article {
	position: relative;
	min-height: 196px;
	padding: 28px;
	overflow: hidden;
}

.contact-methods article::after {
	content: "";
	position: absolute;
	right: -46px;
	bottom: -58px;
	width: 150px;
	height: 150px;
	border: 1px solid rgba(31, 118, 232, .14);
	border-radius: 50%;
	background: rgba(232, 243, 255, .52);
}

.contact-methods span {
	display: block;
	margin-bottom: 34px;
	color: rgba(16, 34, 70, .38);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .08em;
}

.contact-methods h2,
.contact-next h2 {
	position: relative;
	z-index: 1;
	margin-bottom: 12px;
	font-size: 28px;
	line-height: 1.08;
}

.contact-methods p,
.contact-next p {
	position: relative;
	z-index: 1;
	margin-bottom: 0;
	color: #334462;
	font-size: 17px;
	line-height: 1.7;
}

.contact-methods a,
.contact-next a {
	position: relative;
	z-index: 1;
	color: var(--ink);
	font-weight: 800;
}

.contact-methods a:hover,
.contact-next a:hover {
	color: var(--blue);
}

.contact-address {
	grid-column: span 2;
}

.contact-next {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.contact-next article {
	padding: 30px;
}

.contact-next .link-arrow {
	margin-top: 20px;
	text-transform: uppercase;
}

/* Editorial visual direction */
body {
	background: #eef7ff;
}

body::before {
	content: none;
}

.container {
	width: min(100% - 48px, 1240px);
}

.site-header {
	background: rgba(255, 255, 255, .94);
	border-bottom: 2px solid rgba(16, 34, 70, .9);
	box-shadow: 0 1px 0 rgba(16, 34, 70, .12);
}

.header-inner {
	min-height: 88px;
}

.menu {
	gap: clamp(12px, 2vw, 28px);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.menu a {
	padding: 14px 0;
}

.menu .sub-menu {
	top: 100%;
	border-color: rgba(16, 34, 70, .24);
	border-radius: 6px;
	box-shadow: 0 18px 34px rgba(16, 34, 70, .1);
}

.menu .sub-menu a {
	border-radius: 4px;
	text-transform: none;
}

.button {
	border-radius: 4px;
	box-shadow: none;
	text-transform: uppercase;
	transform: none;
}

.button-primary,
.button-primary:hover,
.button-secondary,
.button-secondary:hover {
	box-shadow: none;
}

.button-outline {
	background: transparent;
}

.button-outline:hover {
	background: var(--blue);
}

.hero {
	background: #f7f9fc;
	border-bottom: 1px solid rgba(16, 34, 70, .16);
}

.hero::after {
	height: 210px;
	background: linear-gradient(180deg, rgba(247, 249, 252, 0) 0%, rgba(247, 249, 252, .5) 68%, #f7f9fc 100%);
}

.hero-bg::before {
	background:
		radial-gradient(ellipse at 49% 43%, rgba(247,249,252,.88) 0%, rgba(247,249,252,.72) 25%, rgba(247,249,252,.22) 50%, rgba(247,249,252,0) 76%),
		linear-gradient(180deg, rgba(247,249,252,0) 58%, rgba(247,249,252,.42) 92%, #f7f9fc 100%),
		linear-gradient(90deg, rgba(247,249,252,.32) 0%, rgba(247,249,252,.14) 24%, rgba(247,249,252,.1) 70%, rgba(247,249,252,0) 100%);
}

.hero h1 {
	max-width: 560px;
	font-size: clamp(46px, 3.7vw, 60px);
	line-height: 1.04;
}

h1 {
	max-width: 720px;
	font-size: 64px;
	line-height: 1.02;
}

h2 {
	font-size: 42px;
	line-height: 1.08;
}

.eyebrow {
	color: #245d9f;
	font-size: 12px;
	text-transform: uppercase;
}

.section,
.programs-section,
.featured-project,
.gallery-section,
.final-cta {
	position: relative;
}

.section::before,
.programs-section::before,
.featured-project::before,
.gallery-section::before,
.final-cta::before {
	content: none;
}

.section-title,
.eyebrow.center {
	text-align: left;
}

.metrics-panel,
.program-card,
.featured-grid,
.news-card,
.cta-panel,
.rich-card,
.archive-card,
.empty-state,
.page-lead,
.people-grid article,
.contact-grid article,
.requisites-card,
.donation-panel,
.page-cta,
.stats-grid article,
.inner-hero-note,
.document-list a,
.content-card {
	border-color: rgba(16, 34, 70, .2);
	border-radius: 6px;
	box-shadow: none;
}

.metrics-panel {
	background: #fff;
	border-top: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
}

.metric {
	border-color: rgba(16, 34, 70, .18);
}

.metric strong,
.stats-grid strong {
	color: var(--ink);
}

.about-grid {
	align-items: start;
}

.about-grid > img,
.featured-image,
.news-thumb,
.gallery-tile,
.program-card,
.program-card img,
.cta-panel > img {
	border-radius: 6px;
}

.programs-section .section-title {
	max-width: 780px;
	font-size: 48px;
}

.program-grid {
	gap: 18px;
}

.program-card,
.program-card:first-child,
.program-card:nth-child(2),
.program-card:nth-child(3) {
	background: #fff;
}

.program-card h3 {
	color: var(--ink);
}

.accent-orange h3,
.accent-blue h3,
.accent-green h3 {
	color: var(--ink);
}

.program-card:hover,
.gallery-tile:hover {
	box-shadow: none;
	transform: translateY(-2px);
}

.featured-grid {
	background: #fff;
	border: 1px solid rgba(16, 34, 70, .2);
}

.news-card {
	overflow: hidden;
	border-top: 3px solid var(--ink);
	background: #fff;
}

.gallery-section h2 {
	font-size: 48px;
}

.gallery-tile {
	border-color: rgba(16, 34, 70, .12);
	box-shadow: none;
}

.inner-hero {
	background: #f7f9fc;
	border-top: 1px solid rgba(16, 34, 70, .18);
	border-bottom: 2px solid rgba(16, 34, 70, .85);
}

.inner-hero::after {
	display: none;
}

.inner-hero h1 {
	font-size: 58px;
}

.page-lead,
.donation-panel,
.requisites-card,
.page-cta,
.cta-panel {
	background: #fff;
}

.archive-grid {
	gap: 16px;
}

.archive-card {
	border-top: 3px solid var(--ink);
}

.post-type-archive-news .archive-card {
	overflow: hidden;
	border-radius: 8px;
}

.post-type-archive-news .archive-card-media {
	border-radius: 0;
}

.document-list a::after {
	color: var(--ink);
	text-transform: uppercase;
}

.site-footer {
	border-top: 2px solid var(--ink);
	background: #fff;
}

@media (max-width: 1050px) {
	body:has(.contact-page) .text-page {
		width: min(100% - 40px, 900px);
		max-width: 900px;
	}

	.contact-page,
	.contact-next {
		grid-template-columns: 1fr;
	}

	.contact-address {
		grid-column: auto;
	}

	h1 {
		font-size: 46px;
	}

	h2 {
		font-size: 34px;
	}

	.header-inner {
		grid-template-columns: auto 1fr;
	}

	.header-cta {
		display: none;
	}

	.menu {
		justify-content: end;
		gap: 18px;
	}

	.metrics-panel,
	.news-grid,
	.footer-grid,
	.archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.inner-hero-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.news-detail-hero-grid {
		grid-template-columns: 1fr;
	}

	.news-detail-lead {
		margin-top: 22px;
		max-width: 760px;
	}

	.gallery-page-hero-grid {
		grid-template-columns: 1fr;
	}

	.gallery-page-featured {
		min-height: 360px;
	}

	.gallery-page-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-auto-rows: 118px;
	}

	.gallery-photo-tile,
	.gallery-photo-tile.is-wide,
	.gallery-photo-tile.is-landscape,
	.gallery-photo-tile.is-square {
		grid-column: span 2;
		grid-row: span 2;
	}

	.gallery-photo-tile.is-portrait {
		grid-column: span 2;
		grid-row: span 3;
	}

	.gallery-photo-tile.is-featured {
		grid-column: span 4;
		grid-row: span 3;
	}

	.news-media-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-auto-rows: 118px;
	}

	.news-media-item,
	.news-media-item.is-wide,
	.news-media-item.is-landscape,
	.news-media-item.is-square {
		grid-column: span 2;
		grid-row: span 2;
	}

	.news-media-item.is-portrait {
		grid-column: span 2;
		grid-row: span 3;
	}

	.news-media-item.is-primary {
		grid-column: span 4;
		grid-row: span 3;
	}

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

	.photo-report-lead {
		margin-top: 22px;
		max-width: 760px;
	}

	.photo-report-gallery {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-auto-rows: 118px;
	}

	.photo-report-shot,
	.photo-report-shot.is-wide,
	.photo-report-shot.is-landscape,
	.photo-report-shot.is-square {
		grid-column: span 2;
		grid-row: span 2;
	}

	.photo-report-shot.is-portrait {
		grid-column: span 2;
		grid-row: span 3;
	}

	.photo-report-shot.shot-large {
		grid-column: span 4;
		grid-row: span 3;
	}

	.inner-hero-note {
		max-width: 520px;
	}

	.metric:nth-child(2) {
		border-right: 0;
	}

	.metric:nth-child(-n+2) {
		border-bottom: 1px solid var(--line);
	}

	.container.hero-content {
		width: min(100% - 48px, 560px);
		margin-inline: auto;
		padding: 92px 0 140px;
	}

	.hero h1 {
		font-size: 46px;
	}

	.program-grid,
	.featured-grid {
		grid-template-columns: 1fr;
	}

	.gallery-strip {
		grid-template-columns: repeat(8, minmax(0, 1fr));
		grid-auto-rows: 90px;
	}

	.tile-1,
	.tile-3 {
		grid-column: span 4;
		grid-row: span 3;
	}

	.tile-2,
	.tile-4,
	.tile-5,
	.tile-6,
	.tile-7 {
		grid-column: span 4;
		grid-row: span 2;
	}

	.program-card,
	.program-card:first-child {
		grid-column: auto;
		grid-row: auto;
	}

	.program-card:first-child {
		min-height: 0;
	}

	.featured-copy {
		margin: 0 28px 28px;
		padding: 0;
	}

	.featured-image {
		height: auto;
	}

	.cta-panel {
		grid-template-columns: minmax(280px, .82fr) minmax(330px, 1fr);
		min-height: 330px;
	}

	.cta-panel > img {
		min-height: 330px;
	}

	.cta-panel > div {
		padding: 48px 42px;
	}

	.cta-panel h2 {
		font-size: 36px;
	}
}

@media (max-width: 760px) {
	body:has(.contact-page) .text-page {
		width: min(100% - 28px, 1200px);
		max-width: none;
	}

	.contact-page,
	.contact-methods,
	.contact-next {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.contact-hero-card,
	.contact-methods article,
	.contact-next article {
		padding: 24px;
	}

	.contact-hero-card {
		min-height: 0;
	}

	.contact-hero-card h2 {
		font-size: 34px;
	}

	.contact-hero-card p:not(.eyebrow) {
		font-size: 17px;
	}

	.contact-hero-card .hero-actions,
	.contact-hero-card .button {
		width: 100%;
	}

	.contact-methods span {
		margin-bottom: 24px;
	}

	.container {
		width: min(100% - 28px, 1200px);
	}

	.site-header {
		position: static;
	}

	.header-inner {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 10px 0 16px;
	}

	.brand {
		justify-self: center;
	}

	.menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px 18px;
		font-size: 13px;
	}

	.menu .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		width: 100%;
		padding: 6px;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.menu li:hover > .sub-menu,
	.menu li:focus-within > .sub-menu {
		display: grid;
		transform: none;
	}

	.inner-hero {
		padding: 44px 0 38px;
	}

	.inner-hero h1 {
		font-size: 36px;
	}

	.inner-hero p:not(.eyebrow) {
		font-size: 16px;
	}

	.inner-hero-note {
		display: none;
	}

	.hero {
		min-height: 0;
	}

	.hero-bg {
		position: relative;
		height: 300px;
		background-position: center right;
	}

	.hero-bg::before {
		background: linear-gradient(180deg, rgba(255,255,255,0) 0, #fff 98%);
	}

	.container.hero-content {
		width: min(100% - 28px, 1200px);
		margin-inline: auto;
		padding: 32px 0 90px;
	}

	h1 {
		font-size: 35px;
	}

	h2 {
		font-size: 30px;
	}

	.metrics {
		margin-top: -46px;
	}

	.metrics-panel,
	.about-grid,
	.news-grid,
	.footer-grid,
	.cta-panel,
	.page-grid,
	.people-grid,
	.contact-grid,
	.partner-grid,
	.archive-grid,
	.stats-grid {
		grid-template-columns: 1fr;
	}

	.metric {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.metric:last-child {
		border-bottom: 0;
	}

	.section {
		padding: 54px 0;
	}

	.photo-report-hero {
		padding: 42px 0 28px;
	}

	.photo-report-copy time {
		margin: 18px 0 12px;
	}

	.photo-report-copy h1 {
		font-size: 36px;
		line-height: 1.04;
	}

	.photo-report-copy p {
		font-size: 17px;
	}

	.photo-report-lead {
		margin-top: 4px;
	}

	.photo-report-lead img {
		border-radius: 8px;
	}

	.photo-report-section {
		padding: 42px 0 58px;
	}

	.photo-report-layout {
		gap: 38px;
	}

	.photo-report-story {
		padding-top: 22px;
	}

	.photo-report-story .entry-content > p:first-child {
		font-size: 17px;
	}

	.photo-report-gallery-head h2 {
		font-size: 30px;
	}

	.photo-report-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 118px;
		gap: 10px;
	}

	.photo-report-shot,
	.photo-report-shot.is-wide,
	.photo-report-shot.is-landscape,
	.photo-report-shot.is-portrait,
	.photo-report-shot.is-square,
	.photo-report-shot.shot-large {
		grid-column: span 2;
		grid-row: span 2;
	}

	.photo-report-shot.is-portrait {
		grid-row: span 3;
	}

	.nikolka-lightbox {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.nikolka-lightbox-stage img {
		max-height: calc(100dvh - 104px);
		border-radius: 14px;
	}

	.nikolka-lightbox-close,
	.nikolka-lightbox-prev,
	.nikolka-lightbox-next {
		width: 44px;
		height: 44px;
		font-size: 30px;
	}

	.nikolka-lightbox-close {
		top: 14px;
		right: 14px;
	}

	.nikolka-lightbox-prev,
	.nikolka-lightbox-next {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	.nikolka-lightbox-prev:hover,
	.nikolka-lightbox-next:hover {
		transform: translateY(-50%);
	}

	.nikolka-lightbox-prev:active,
	.nikolka-lightbox-next:active {
		transform: translateY(-50%);
	}

	.nikolka-lightbox-prev {
		left: 12px;
	}

	.nikolka-lightbox-next {
		right: 12px;
	}

	.inner-section {
		padding-top: 42px;
	}

	.news-detail-hero {
		padding: 42px 0 28px;
	}

	.news-detail-copy time {
		margin: 18px 0 12px;
	}

	.news-detail-copy h1 {
		font-size: 36px;
		line-height: 1.04;
	}

	.news-detail-lead {
		margin-top: 4px;
	}

	.news-detail-copy p,
	.news-detail-article .entry-content > p:first-child {
		font-size: 17px;
	}

	.news-detail-section {
		padding: 42px 0 58px;
	}

	.news-detail-layout {
		gap: 38px;
	}

	.news-media-section h2 {
		font-size: 30px;
	}

	.news-media-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 118px;
		gap: 10px;
	}

	.news-media-item,
	.news-media-item.is-wide,
	.news-media-item.is-landscape,
	.news-media-item.is-portrait,
	.news-media-item.is-square,
	.news-media-item.is-primary {
		grid-column: span 2;
		grid-row: span 2;
	}

	.news-media-item.is-portrait {
		grid-row: span 3;
	}

	.news-detail-nav {
		grid-template-columns: 1fr;
	}

	.gallery-page-hero {
		padding: 42px 0 30px;
	}

	.gallery-page-copy h1 {
		font-size: 38px;
		line-height: 1.04;
	}

	.gallery-page-copy > p:not(.eyebrow) {
		font-size: 17px;
	}

	.gallery-page-featured {
		min-height: 280px;
		padding: 20px;
	}

	.gallery-page-featured strong {
		font-size: 24px;
	}

	.gallery-page-section {
		padding: 42px 0 58px;
	}

	.gallery-page-head h2 {
		font-size: 30px;
	}

	.gallery-page-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.gallery-photo-tile,
	.gallery-photo-tile.is-featured,
	.gallery-photo-tile.is-wide,
	.gallery-photo-tile.is-landscape,
	.gallery-photo-tile.is-portrait,
	.gallery-photo-tile.is-square {
		grid-column: auto;
		grid-row: auto;
		aspect-ratio: 16 / 10;
	}

	.gallery-photo-tile.is-portrait {
		aspect-ratio: 4 / 5;
	}

	.gallery-photo-tile span {
		right: 14px;
		bottom: 14px;
		left: 14px;
		font-size: 14px;
	}

	.page-lead,
	.rich-card,
	.people-grid article,
	.contact-grid article,
	.requisites-card,
	.donation-panel,
	.page-cta {
		padding: 22px;
	}

	.page-lead p {
		font-size: 17px;
	}

	.timeline-list article,
	.steps-list article {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.requisites-card dl {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.program-card {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.program-card img {
		width: 100%;
		height: 220px;
		min-height: 220px;
	}

	.program-card:first-child {
		grid-template-rows: auto;
	}

	.program-card:first-child img {
		height: 250px;
		min-height: 250px;
	}

	.featured-image {
		height: auto;
	}

	.program-card > div {
		padding: 24px;
	}

	.program-card:first-child h3,
	.program-card h3 {
		font-size: 24px;
	}

	.section-head {
		display: block;
	}

	.gallery-strip {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 104px;
		gap: 12px;
	}

	.gallery-section {
		padding: 58px 0 60px;
	}

	.gallery-section h2 {
		font-size: 30px;
	}

	.gallery-section .section-head .link-arrow {
		margin-top: 14px;
	}

	.gallery-tile {
		padding: 14px;
		border-radius: 14px;
		font-size: 13px;
	}

	.tile-1 {
		grid-column: span 2;
		grid-row: span 3;
		font-size: 18px;
	}

	.tile-2,
	.tile-3,
	.tile-4,
	.tile-5,
	.tile-6,
	.tile-7 {
		grid-column: span 1;
		grid-row: span 2;
	}

	.cta-panel {
		min-height: 0;
	}

	.cta-panel > img {
		height: 235px;
		min-height: 235px;
		object-position: left center;
	}

	.cta-panel > div {
		padding: 30px 24px 34px;
	}

	.cta-panel h2 {
		font-size: 30px;
	}

	.cta-panel p {
		font-size: 16px;
	}

	.cta-panel .button {
		width: 100%;
		min-width: 0;
	}
}

/* Imported static pages */
.static-page-content {
	width: min(100% - 48px, 1320px);
	max-width: 1320px;
}

body:has(.static-page-content) .inner-hero {
	padding: 54px 0 42px;
}

body:has(.static-page-content) .inner-hero h1 {
	margin-bottom: 14px;
	font-size: clamp(48px, 5vw, 68px);
}

body:has(.static-page-content) .inner-hero p:not(.eyebrow) {
	max-width: 620px;
	font-size: 19px;
}

body:has(.static-page-content) .inner-section {
	padding-top: 54px;
}

.static-page-content .entry-content {
	display: grid;
	gap: 34px;
}

.static-page-content .page-lead {
	position: relative;
	max-width: 1160px;
	margin: 0 0 10px;
	padding: 0 0 0 34px;
	border: 0;
	border-left: 4px solid var(--orange);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.static-page-content .page-lead::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 12px;
	bottom: 8px;
	width: 1px;
	background: rgba(16, 34, 70, .22);
}

.static-page-content .page-lead p {
	max-width: 980px;
	color: #1c2f52;
	font-family: var(--font-heading);
	font-size: clamp(20px, 2vw, 25px);
	font-weight: 650;
	line-height: 1.45;
	text-wrap: pretty;
}

.static-page-content .page-lead p + p {
	margin-top: 14px;
	color: #41516d;
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 450;
	line-height: 1.7;
}

.static-page-content .page-grid {
	counter-reset: static-card;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

.static-page-content .page-grid > .content-card,
.static-page-content .rich-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 245px;
	padding: 30px;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .16);
	border-radius: 10px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 251, 255, .9)),
		#fff;
	box-shadow: none;
}

.static-page-content .page-grid > .content-card {
	counter-increment: static-card;
	grid-column: span 6;
}

.static-page-content .page-grid > .content-card:first-child {
	grid-column: span 7;
}

.static-page-content .page-grid > .content-card:nth-child(2) {
	grid-column: span 5;
}

.static-page-content .page-grid > .content-card:nth-child(3) {
	grid-column: span 5;
}

.static-page-content .page-grid > .content-card:nth-child(4) {
	grid-column: span 7;
}

.static-page-content .page-grid > .content-card::before {
	content: counter(static-card, decimal-leading-zero);
	display: block;
	margin-bottom: 24px;
	color: rgba(16, 34, 70, .35);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .08em;
}

.static-page-content .page-grid > .content-card::after {
	content: "";
	position: absolute;
	right: -42px;
	bottom: -54px;
	width: 150px;
	height: 150px;
	border: 1px solid rgba(31, 118, 232, .14);
	border-radius: 50%;
	background: rgba(232, 243, 255, .52);
}

.static-page-content .page-grid > .content-card h2,
.static-page-content .rich-card h2 {
	position: relative;
	z-index: 1;
	max-width: 470px;
	margin-bottom: 16px;
	color: var(--ink);
	font-size: clamp(24px, 2vw, 31px);
	line-height: 1.08;
	text-wrap: balance;
}

.static-page-content .page-grid > .content-card p,
.static-page-content .rich-card p {
	position: relative;
	z-index: 1;
	max-width: 58ch;
	color: #40506c;
	font-size: 16px;
	line-height: 1.68;
}

.static-page-content .page-grid > .content-card .link-arrow {
	position: relative;
	z-index: 1;
	width: fit-content;
	margin-top: auto;
	padding-top: 22px;
	color: var(--ink);
	text-transform: uppercase;
	letter-spacing: .02em;
}

.static-page-content .page-grid > .content-card .link-arrow::after,
.static-page-content .document-list a::after {
	color: var(--orange);
}

.static-page-content .timeline-list,
.static-page-content .steps-list {
	gap: 0;
	border-top: 1px solid rgba(16, 34, 70, .2);
}

.static-page-content .timeline-list article,
.static-page-content .steps-list article {
	grid-template-columns: 78px minmax(0, 1fr);
	padding: 28px 0;
	border: 0;
	border-bottom: 1px solid rgba(16, 34, 70, .18);
	border-radius: 0;
	background: transparent;
}

.static-page-content .timeline-list article > p:empty,
.static-page-content .steps-list article > p:empty {
	display: none;
}

.static-page-content .timeline-list article > span,
.static-page-content .steps-list article > span {
	grid-column: 1;
	grid-row: 1;
}

.static-page-content .timeline-list article > div,
.static-page-content .steps-list article > div {
	grid-column: 2;
	min-width: 0;
}

.static-page-content .timeline-list span,
.static-page-content .steps-list span {
	width: 54px;
	height: 54px;
	border: 1px solid rgba(16, 34, 70, .22);
	border-radius: 6px;
	color: var(--ink);
	background: #fff;
}

.static-page-content .timeline-list h2,
.static-page-content .steps-list h2 {
	max-width: 620px;
	font-size: clamp(25px, 2vw, 32px);
	line-height: 1.08;
}

.static-page-content .timeline-list p,
.static-page-content .steps-list p {
	max-width: 720px;
}

.static-page-content .people-grid,
.static-page-content .partner-grid {
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 22px;
}

.static-page-content .people-grid article,
.static-page-content .partner-grid article {
	grid-column: span 4;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .16);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
}

.static-page-content .people-grid article {
	padding: 24px;
}

.static-page-content .partner-grid article {
	padding: 22px;
}

.static-page-content .partner-grid article:has(img) {
	grid-column: span 6;
}

.static-page-content .profile-card img {
	margin: -24px -24px 22px;
	width: calc(100% + 48px);
}

.static-page-content .partner-grid img {
	margin: -22px -22px 20px;
	width: calc(100% + 44px);
}

.static-page-content .people-grid h2,
.static-page-content .partner-grid h2 {
	font-size: 24px;
	line-height: 1.08;
}

.static-page-content .document-list {
	gap: 0;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .18);
	border-radius: 10px;
	background: #fff;
}

.static-page-content .document-list a {
	align-items: center;
	padding: 22px 24px;
	border: 0;
	border-bottom: 1px solid rgba(16, 34, 70, .12);
	border-radius: 0;
	background: transparent;
	font-size: 17px;
	line-height: 1.35;
}

.static-page-content .document-list a:last-child {
	border-bottom: 0;
}

.static-page-content .document-list a:hover {
	background: #f7fbff;
	color: var(--blue);
}

.static-page-content .requisites-card,
.static-page-content .donation-panel,
.static-page-content .page-cta,
.static-page-content .stats-grid article {
	border: 1px solid rgba(16, 34, 70, .18);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
}

.static-page-content .page-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	margin-top: 4px;
	padding: 34px;
	background:
		linear-gradient(135deg, rgba(255, 244, 237, .92), rgba(255, 255, 255, .98) 58%, rgba(232, 243, 255, .82));
}

.static-page-content .page-cta h2 {
	max-width: 640px;
	margin-bottom: 8px;
	font-size: clamp(28px, 2.4vw, 38px);
	line-height: 1.02;
}

.static-page-content .page-cta p {
	max-width: 620px;
	margin-bottom: 0;
}

.static-page-content .page-cta .button {
	justify-self: end;
	white-space: nowrap;
}

.static-page-content .content-media {
	border: 0;
	border-radius: 10px;
	background: transparent;
}

.static-page-content .content-media img {
	aspect-ratio: 21 / 8;
	border-radius: 10px;
}

.static-page-content .stats-grid {
	gap: 22px;
}

.static-page-content .stats-grid article {
	padding: 30px;
}

.static-page-content .stats-grid strong {
	color: var(--ink);
	font-size: clamp(36px, 4vw, 54px);
}

@media (max-width: 1050px) {
	.static-page-content {
		width: min(100% - 40px, 900px);
		max-width: 900px;
	}

	.static-page-content .page-grid,
	.static-page-content .people-grid,
	.static-page-content .partner-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.static-page-content .page-grid > .content-card,
	.static-page-content .page-grid > .content-card:first-child,
	.static-page-content .page-grid > .content-card:nth-child(2),
	.static-page-content .page-grid > .content-card:nth-child(3),
	.static-page-content .page-grid > .content-card:nth-child(4),
	.static-page-content .people-grid article,
	.static-page-content .partner-grid article,
	.static-page-content .partner-grid article:has(img) {
		grid-column: span 1;
	}

	.static-page-content .page-cta {
		grid-template-columns: 1fr;
	}

	.static-page-content .page-cta .button {
		justify-self: start;
	}
}

@media (max-width: 680px) {
	body:has(.static-page-content) .inner-hero {
		padding: 36px 0 32px;
	}

	body:has(.static-page-content) .inner-hero h1 {
		font-size: 40px;
	}

	body:has(.static-page-content) .inner-section {
		padding-top: 38px;
	}

	.static-page-content {
		width: min(100% - 28px, 1200px);
		max-width: none;
	}

	.static-page-content .entry-content {
		gap: 26px;
	}

	.static-page-content .page-lead {
		padding-left: 22px;
	}

	.static-page-content .page-lead::before {
		left: 8px;
	}

	.static-page-content .page-grid,
	.static-page-content .people-grid,
	.static-page-content .partner-grid,
	.static-page-content .stats-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.static-page-content .page-grid > .content-card,
	.static-page-content .rich-card,
	.static-page-content .page-cta,
	.static-page-content .requisites-card,
	.static-page-content .donation-panel,
	.static-page-content .stats-grid article {
		padding: 24px;
	}

	.static-page-content .page-grid > .content-card {
		min-height: 0;
	}

	.static-page-content .page-grid > .content-card::before {
		margin-bottom: 24px;
	}

	.static-page-content .timeline-list article,
	.static-page-content .steps-list article {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.static-page-content .timeline-list article > span,
	.static-page-content .steps-list article > span,
	.static-page-content .timeline-list article > div,
	.static-page-content .steps-list article > div {
		grid-column: auto;
	}

	.static-page-content .document-list a {
		display: grid;
		gap: 10px;
		padding: 18px;
	}

	.static-page-content .document-list a::after {
		justify-self: start;
	}
}

/* Native forms and fully imported source pages. */
.source-page-content {
	display: grid;
	gap: 28px;
}

.source-page-content > div,
.source-page-content > section {
	display: grid;
	gap: 18px;
}

.source-page-content h2,
.source-page-content h3,
.source-page-content h4 {
	margin-top: 18px;
}

.source-page-content img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	border-radius: 18px;
}

.source-page-content ul,
.source-page-content ol {
	display: grid;
	gap: 10px;
	padding-left: 24px;
}

.source-page-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.nikolka-form {
	display: grid;
	gap: 28px;
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid rgba(31, 118, 232, .2);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 22px 60px rgba(16, 34, 70, .09);
}

.nikolka-form h2 {
	margin: 0;
	font-size: clamp(28px, 4vw, 44px);
}

.nikolka-form-section {
	display: grid;
	gap: 14px;
}

.nikolka-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.nikolka-field {
	display: grid;
	gap: 9px;
	font-weight: 700;
	color: var(--ink);
}

.nikolka-field input,
.nikolka-field select,
.nikolka-field textarea,
.nikolka-choice-grid input[type="number"] {
	width: 100%;
	min-height: 52px;
	padding: 13px 15px;
	border: 1px solid #c7d8ee;
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	font: inherit;
}

.nikolka-field textarea {
	resize: vertical;
}

.nikolka-field input:focus,
.nikolka-field select:focus,
.nikolka-field textarea:focus,
.nikolka-choice-grid input[type="number"]:focus {
	border-color: var(--blue);
	outline: 3px solid rgba(31, 118, 232, .16);
	outline-offset: 1px;
}

.nikolka-fieldset,
.nikolka-quiz-question {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 18px;
}

.nikolka-fieldset legend,
.nikolka-quiz-question legend {
	padding: 0 8px;
	font-family: var(--font-heading);
	font-weight: 800;
	color: var(--ink);
}

.nikolka-check-grid,
.nikolka-quiz-list {
	display: grid;
	gap: 12px;
}

.nikolka-check {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-weight: 500;
	color: var(--ink);
}

.nikolka-check input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--blue);
	flex: 0 0 auto;
}

.nikolka-choice-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.nikolka-choice-grid label {
	position: relative;
	display: grid;
	min-height: 58px;
	place-items: center;
	border: 1px solid #c7d8ee;
	border-radius: 14px;
	background: var(--soft);
	font-weight: 800;
	cursor: pointer;
}

.nikolka-choice-grid input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nikolka-choice-grid label:has(input[type="radio"]:checked) {
	border-color: var(--blue);
	background: var(--blue);
	color: #fff;
}

.nikolka-choice-grid .is-custom {
	display: grid;
	grid-column: span 2;
	grid-template-columns: auto 1fr;
	gap: 14px;
	padding: 8px 12px;
	cursor: text;
}

.nikolka-choice-grid .is-custom input {
	min-height: 40px;
}

.nikolka-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.nikolka-form button:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.nikolka-form-note {
	margin: -8px 0 0;
	color: var(--muted);
	font-size: 14px;
}

.nikolka-form-message {
	margin-bottom: 22px;
	padding: 16px 18px;
	border-radius: 14px;
	font-weight: 700;
}

.nikolka-form-message.is-success {
	background: #e4f7ee;
	color: #0f6e4c;
}

.nikolka-form-message.is-notice {
	background: #e8f3ff;
	color: #175cae;
}

.nikolka-form-message.is-error {
	background: #fff0ec;
	color: #a33b20;
}

.nikolka-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.trust-section {
	background: var(--ink);
	color: #fff;
}

.trust-section .eyebrow,
.trust-section h2 {
	color: #fff;
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, .24);
	border-left: 1px solid rgba(255, 255, 255, .24);
}

.trust-grid a {
	display: grid;
	align-content: start;
	gap: 14px;
	min-height: 260px;
	padding: 30px;
	border-right: 1px solid rgba(255, 255, 255, .24);
	border-bottom: 1px solid rgba(255, 255, 255, .24);
	color: #fff;
	transition: background .2s ease, color .2s ease;
}

.trust-grid a:hover {
	background: #fff;
	color: var(--ink);
}

.trust-grid span {
	color: #84bbff;
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 800;
}

.trust-grid h3 {
	margin: 22px 0 0;
	font-size: 24px;
}

.trust-grid p {
	margin: 0;
	color: #c7d6ed;
}

.trust-grid a:hover p {
	color: var(--muted);
}

.faq-list {
	display: grid;
	gap: 12px;
}

.faq-list details {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.faq-list summary {
	position: relative;
	padding: 20px 58px 20px 22px;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 800;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 22px;
	transform: translateY(-50%);
	color: var(--blue);
	font-size: 28px;
	line-height: 1;
}

.faq-list details[open] summary::after {
	content: "−";
}

.faq-list details p {
	margin: 0;
	padding: 0 22px 22px;
	color: var(--muted);
}

@media (max-width: 1050px) {
	.trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.nikolka-form-grid,
	.nikolka-choice-grid {
		grid-template-columns: 1fr;
	}

	.trust-grid {
		grid-template-columns: 1fr;
	}

	.trust-grid a {
		min-height: 0;
	}

	.nikolka-choice-grid .is-custom {
		grid-column: auto;
		grid-template-columns: 1fr;
	}

	.nikolka-form-actions .button {
		width: 100%;
	}
}

/* Curated page system */
.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 12px 16px;
	color: #fff;
	background: var(--ink);
	border-radius: 6px;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
}

:where(a, button, input, select, textarea, summary):focus {
	scroll-margin-top: 100px;
}

:target {
	scroll-margin-top: 112px;
}

.menu .current-menu-item > a,
.menu .current-menu-ancestor > a {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-color: var(--orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
}

.page-on-this-page {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 20px 34px;
	padding: 22px 24px;
	border: 1px solid rgba(16, 34, 70, .18);
	border-left: 4px solid var(--blue);
	background: #fff;
}

.page-on-this-page strong {
	font-family: var(--font-heading);
	font-size: 15px;
}

.page-on-this-page div {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.page-on-this-page a {
	font-size: 14px;
	font-weight: 650;
	text-decoration: underline;
	text-decoration-color: rgba(31, 118, 232, .35);
	text-underline-offset: 4px;
}

.curated-program-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.curated-program-card {
	display: grid;
	grid-template-rows: 260px minmax(0, 1fr);
	min-height: 520px;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .18);
	background: #fff;
}

.curated-program-card:nth-child(1),
.curated-program-card:nth-child(4) {
	grid-row: auto;
}

.curated-program-card:nth-child(1) .curated-program-media,
.curated-program-card:nth-child(4) .curated-program-media {
	min-height: 0;
}

.curated-program-media {
	display: block;
	min-height: 0;
	overflow: hidden;
	background: #eaf4ff;
}

.curated-program-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.curated-program-card:hover .curated-program-media img {
	transform: scale(1.025);
}

.curated-program-card > div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 28px;
}

.curated-program-card h2 {
	margin-bottom: 12px;
	font-size: clamp(25px, 2.2vw, 34px);
	line-height: 1.08;
	text-wrap: balance;
}

.curated-program-card h2 a {
	color: inherit;
}

.curated-program-card p {
	max-width: 48ch;
	color: var(--muted);
}

.curated-program-card .link-arrow {
	margin-top: auto;
	padding-top: 24px;
}

.related-pages {
	padding-top: 38px;
	border-top: 1px solid rgba(16, 34, 70, .2);
}

.related-pages > h2,
.document-section > h2 {
	margin-bottom: 22px;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.05;
}

.related-pages-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.related-pages-grid > a {
	display: flex;
	flex-direction: column;
	min-height: 190px;
	padding: 24px;
	color: var(--ink);
	border-top: 3px solid var(--blue);
	background: #fff;
	transition: transform .2s ease, background-color .2s ease;
}

.related-pages-grid > a:hover {
	transform: translateY(-3px);
	background: #f8fbff;
}

.related-pages-grid strong {
	font-family: var(--font-heading);
	font-size: 22px;
	line-height: 1.12;
}

.related-pages-grid span:not(.related-pages-action) {
	margin-top: 12px;
	color: var(--muted);
	font-size: 14px;
}

.related-pages-action {
	margin-top: auto;
	padding-top: 18px;
	color: var(--blue);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.document-groups,
.document-group,
.document-section {
	display: grid;
	gap: 24px;
}

.document-groups {
	gap: 46px;
}

.document-group > h2 {
	font-size: clamp(25px, 2.4vw, 34px);
}

.static-page-content .document-list a {
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
}

.document-action {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	color: var(--blue);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.static-page-content .document-list a::after {
	content: none;
}

.requisites-card {
	position: relative;
}

.copy-status {
	min-height: 24px;
	margin-bottom: 12px;
	color: var(--blue);
	font-size: 14px;
	font-weight: 700;
}

.static-page-content .requisites-card dl {
	grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr);
}

.static-page-content .requisites-card dd {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	min-width: 0;
	font-variant-numeric: tabular-nums;
}

.static-page-content .requisites-card dd > span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.copy-detail {
	flex: 0 0 auto;
	min-height: 34px;
	padding: 6px 10px;
	color: var(--blue);
	border: 1px solid rgba(31, 118, 232, .4);
	border-radius: 4px;
	background: #fff;
	font: inherit;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease;
}

.copy-detail:hover,
.copy-detail.is-copied {
	color: #fff;
	background: var(--blue);
}

.static-page-content .content-media img,
.content-media-natural img,
.letter-gallery img {
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
}

.static-page-content .content-media {
	padding: 0;
	overflow: hidden;
	background: #fff;
}

.letter-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.letter-gallery a {
	display: grid;
	place-items: center;
	min-height: 380px;
	padding: 18px;
	background: #fff;
	border: 1px solid rgba(16, 34, 70, .16);
}

.letter-gallery img {
	max-height: 680px;
}

.story-content {
	max-width: 820px;
	padding: 40px;
	background: #fff;
	border-left: 4px solid var(--orange);
}

.story-content p {
	max-width: 66ch;
	font-size: 18px;
	line-height: 1.75;
}

.story-content .story-lead {
	color: var(--ink);
	font-family: var(--font-heading);
	font-size: clamp(24px, 2.5vw, 34px);
	font-weight: 700;
	line-height: 1.3;
	text-wrap: pretty;
}

.curated-news-grid .archive-card {
	display: flex;
	flex-direction: column;
}

.curated-news-grid time {
	margin: 22px 24px 0;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}

.curated-news-grid .link-arrow {
	margin-top: auto;
}

.contact-methods > section {
	position: relative;
	padding: 28px;
	overflow: hidden;
	border: 1px solid rgba(16, 34, 70, .18);
	background: #fff;
}

.contact-methods > section > span {
	display: block;
	margin-bottom: 36px;
	color: var(--blue);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 800;
}

.contact-methods > section h2 {
	font-size: 25px;
}

.entry-content table {
	font-variant-numeric: tabular-nums;
}

@media (max-width: 1050px) {
	.curated-program-grid,
	.related-pages-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.curated-program-card,
	.curated-program-card:nth-child(1),
	.curated-program-card:nth-child(4) {
		grid-template-rows: 240px minmax(0, 1fr);
		grid-row: auto;
		min-height: 490px;
	}

	.curated-program-card .curated-program-media,
	.curated-program-card:nth-child(1) .curated-program-media,
	.curated-program-card:nth-child(4) .curated-program-media {
		min-height: 0;
	}
}

@media (max-width: 680px) {
	.page-on-this-page {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.page-on-this-page div {
		display: grid;
		gap: 12px;
	}

	.curated-program-grid,
	.related-pages-grid,
	.letter-gallery {
		grid-template-columns: 1fr;
	}

	.curated-program-card > div,
	.related-pages-grid > a,
	.story-content {
		padding: 22px;
	}

	.curated-program-card,
	.curated-program-card:nth-child(1),
	.curated-program-card:nth-child(4) {
		grid-template-rows: 210px minmax(0, 1fr);
		min-height: 440px;
	}

	.related-pages-grid > a {
		min-height: 160px;
	}

	.static-page-content .requisites-card dl {
		grid-template-columns: 1fr;
	}

	.static-page-content .requisites-card dt {
		padding-bottom: 5px;
		border-bottom: 0;
	}

	.static-page-content .requisites-card dd {
		padding-top: 0;
		flex-direction: column;
	}

	.static-page-content .document-list a {
		grid-template-columns: 1fr;
	}

	.letter-gallery a {
		min-height: 260px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
