@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700;800&family=Noto+Sans+Display:wght@400;500;600;700;800&display=swap");

:root {
	--de-color-primary: #0038b8;
	--de-color-accent: #987f28;
	--de-color-surface: #f8f8f8;
	--de-color-text: #2b2b2b;
	--de-color-white: #ffffff;
	--de-container: 1200px;
}

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

body {
	margin: 0;
	font-family: "Geist", "Inter", "Segoe UI", Arial, sans-serif;
	color: var(--de-color-text);
	background: var(--de-color-white);
	line-height: 1.6;
}

body.site-root-layout {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body.site-root-layout > main {
	flex: 1 0 auto;
	width: 100%;
	box-sizing: border-box;
}

/* Clearance for nav card overlapping content (negative margins on .site-header-nav-wrap). Skip homepage hero (`front-page.php` → main.home-page). */
body.site-root-layout > main:not(.home-page) {
	padding-top: clamp(3rem, 6vw, 5.25rem);
}

/* About template: first `.section` already provides vertical padding — avoid double gap under nav */
body.site-root-layout > main.about-page {
	padding-top: 0;
}

.site-footer {
	flex-shrink: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.site-tagline {
	font-family: "Syne", "Geist", "Inter", "Segoe UI", Arial, sans-serif;
}

/* Cyrillic-safe typography for RU content */
html:lang(ru) body {
	font-family: "Noto Sans", "Geist", "Inter", "Segoe UI", Arial, sans-serif;
}

html:lang(ru) h1,
html:lang(ru) h2,
html:lang(ru) h3,
html:lang(ru) h4,
html:lang(ru) h5,
html:lang(ru) h6,
html:lang(ru) .site-title,
html:lang(ru) .site-tagline {
	font-family: "Noto Sans Display", "Noto Sans", "Geist", "Inter", "Segoe UI", Arial, sans-serif;
}

a {
	color: var(--de-color-primary);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.container {
	width: min(100% - 2rem, var(--de-container));
	margin-inline: auto;
}

.site-header {
	background: transparent;
	position: relative;
	z-index: 10;
}

.site-header-top-line {
	height: 10px;
	background: var(--de-color-accent);
}

.site-header-main {
	background: var(--de-color-primary);
	color: var(--de-color-white);
	padding: 0;
	overflow: hidden;
}

.site-header-main:not(.site-header-main--has-media) {
	display: flex;
	flex-direction: column;
	min-height: clamp(6.75rem, 20vw, 9.25rem);
	padding-bottom: 2.5rem;
}

.site-header-main:not(.site-header-main--has-media) .header-main-inner--single {
	margin-top: auto;
	margin-bottom: auto;
	width: 100%;
}

.site-header-main--has-media {
	padding: 0;
	overflow: hidden;
}

.header-main-inner {
	display: grid;
	align-items: center;
	gap: 1rem 1.75rem;
	width: 100%;
}

.header-main-inner--single {
	grid-template-columns: minmax(0, 1fr);
}

.header-main-inner--with-media {
	grid-template-columns: minmax(0, 1fr) minmax(260px, 50vw);
	align-items: stretch;
	column-gap: clamp(0.75rem, 2vw, 1.75rem);
}

.header-main-inner--with-media .site-header-media-col {
	min-height: 0;
}

.site-header-branding-col {
	min-width: 0;
}

.site-header-main--has-media .site-header-branding-col {
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: max(1rem, calc((100vw - var(--de-container)) / 2));
	padding-right: 1rem;
}

.site-header-main--has-media .site-header-branding-col::before {
	content: "";
	flex: 1 1 0;
	min-height: 0;
}

.site-header-main--has-media .site-header-branding-col::after {
	content: "";
	flex: 1 1 0;
	min-height: 2.4rem;
	width: 100%;
	pointer-events: none;
}

.site-header-main--has-media .site-header-branding-inner {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
}

.site-header-branding-inner {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
	max-width: var(--de-container);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.site-header-media-col {
	position: relative;
	min-height: 140px;
	border-radius: 0;
	overflow: hidden;
	align-self: stretch;
	min-width: 0;
}

.site-header-video-wrap {
	position: absolute;
	inset: 0;
}

.site-header-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.site-header-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		var(--de-color-primary) 0%,
		rgba(0, 56, 184, 0.82) 18%,
		rgba(0, 56, 184, 0.35) 48%,
		rgba(0, 56, 184, 0) 78%
	);
	pointer-events: none;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.95rem;
}

.site-logo-wrap img {
	max-height: 62px;
	width: auto;
}

.site-title {
	display: inline-block;
	font-size: 2.1rem;
	font-weight: 700;
	color: var(--de-color-white);
	line-height: 1;
}

.site-title:hover {
	color: var(--de-color-white);
}

.site-tagline {
	margin: 0.3rem 0 0;
	opacity: 0.9;
	font-size: 12px;
}

.site-header-nav-wrap {
	width: 100%;
	margin-top: -1.55rem;
	margin-bottom: -2.4rem;
	position: relative;
	z-index: 3;
}

.site-header-nav-card {
	width: min(100% - 2rem, var(--de-container));
	margin-inline: auto;
	background: var(--de-color-white);
	border-radius: 6px;
	padding: 0 0 0 1.2rem;
	box-shadow: 0 6px 18px rgba(15, 21, 35, 0.12);
}

.site-header-nav-row {
	display: flex;
	align-items: stretch;
	gap: 1rem;
	width: 100%;
	flex-wrap: wrap;
	min-height: 3.35rem;
}

.menu-toggle {
	display: none;
	align-self: center;
	border: 0;
	background: transparent;
	padding: 0.2rem;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--de-color-text);
	margin: 5px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header-nav-card.is-open .menu-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-header-nav-card.is-open .menu-toggle span:nth-child(2) {
	opacity: 0;
}

.site-header-nav-card.is-open .menu-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.primary-nav ul,
.footer-nav ul,
.lang-switcher {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav ul {
	gap: 0.65rem;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: stretch;
	min-height: 100%;
}

.footer-nav ul {
	gap: 0.875rem;
}

.lang-switcher {
	gap: 0.4rem;
	align-items: center;
}

.lang-switcher--in-nav {
	flex-shrink: 0;
	margin-left: auto;
	align-self: center;
	padding-right: 1.2rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.lang-switcher--in-nav a {
	display: inline-block;
	padding: 0.38rem 0.55rem;
	border-radius: 4px;
	background: rgba(43, 43, 43, 0.07);
	color: var(--de-color-text);
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-switcher--in-nav a:hover {
	background: var(--de-color-primary);
	color: var(--de-color-white);
	text-decoration: none;
}

.lang-switcher--in-nav .is-active a {
	font-weight: 700;
	background: var(--de-color-primary);
	color: var(--de-color-white);
}

.primary-nav {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: stretch;
}

.primary-nav > ul {
	flex: 1;
}

.primary-nav > ul > li {
	display: flex;
	align-items: stretch;
}

.primary-nav a {
	color: var(--de-color-text);
	font-weight: 600;
	font-size: 1.03rem;
	text-decoration: none;
}

.primary-nav > ul > li > a {
	display: flex;
	align-items: center;
	padding: 0 0.85rem;
	min-height: 100%;
	border-radius: 0;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-menu-ancestor > a {
	background-color: var(--de-color-primary);
	color: var(--de-color-white);
	text-decoration: none;
}

.hero-section {
	background: linear-gradient(135deg, var(--de-color-primary), #0a4adf);
	color: var(--de-color-white);
	min-height: 700px;
	padding: 8.9rem 0 5.5rem;
	position: relative;
	overflow: hidden;
}

.hero-section-image {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.hero-video-wrap {
	position: absolute;
	inset: 0;
}

.hero-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(0, 56, 184, 0.5) 0%,
		rgba(0, 56, 184, 0.26) 35%,
		rgba(0, 56, 184, 0.1) 60%,
		rgba(0, 56, 184, 0) 100%
	);
}

.hero-section .container {
	position: relative;
	z-index: 1;
}

.hero-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 480px;
}

.hero-section h1 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.15;
	margin: 0 0 1rem;
}

.hero-text {
	max-width: 720px;
	font-size: 1.05rem;
}

.hero-text p {
	margin: 0 0 0.85rem;
}

.hero-text p:last-child {
	margin-bottom: 0;
}

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

.btn {
	display: inline-block;
	border-radius: 6px;
	padding: 0.625rem 1.125rem;
	font-weight: 600;
	border: 2px solid transparent;
	text-decoration: none;
}

.btn:hover {
	text-decoration: none;
	opacity: 0.92;
}

.btn-primary {
	background: var(--de-color-accent);
	color: var(--de-color-white);
}

.btn-outline {
	border-color: var(--de-color-white);
	color: var(--de-color-white);
}

.btn-small {
	padding: 0.45rem 0.8rem;
	font-size: 0.9rem;
}

.section {
	padding: 4rem 0;
}

.section-alt {
	background: var(--de-color-surface);
}

.section h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 2vw, 2.3rem);
}

.section-lead {
	max-width: 820px;
	margin: 0 0 1.5rem;
}

.grid {
	display: grid;
	gap: 1rem;
}

.grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
	background: var(--de-color-white);
	border: 1px solid rgba(43, 43, 43, 0.09);
	border-radius: 14px;
	padding: 1.2rem;
}

.card h3 {
	margin-top: 0;
}

.programs-grid {
	gap: 1.35rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.programs-grid--stack {
	grid-template-columns: minmax(0, 1fr);
}

.program-card {
	background: #f4f4f4;
	border: 1px solid rgba(43, 43, 43, 0.08);
	border-radius: 20px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	min-height: 360px;
}

.program-card-media {
	min-height: 100%;
	background: linear-gradient(140deg, rgba(0, 56, 184, 0.78), rgba(43, 43, 43, 0.66));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: end;
	padding: 1.2rem;
	position: relative;
}

.program-card-media-title {
	margin: 0;
	color: var(--de-color-white);
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.08;
	text-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.program-card-body {
	background: transparent;
	padding: 2rem 1.55rem;
	display: flex;
	flex-direction: column;
}

.program-card-body h3 {
	margin: 0 0 0.65rem;
	font-size: 1.85rem;
	line-height: 1.1;
}

.program-card-body p {
	margin: 0 0 1.2rem;
	color: rgba(43, 43, 43, 0.8);
}

.program-card-body .btn {
	margin-top: auto;
	align-self: flex-start;
}

.programs-archive-page h1,
.team-archive-page > .container > h1,
.events-archive-page > .container > h1 {
	margin: 0 0 1.5rem;
	font-size: clamp(1.5rem, 2vw, 2.3rem);
}

.single-program-header {
	margin-bottom: 1.25rem;
}

.single-program-header h1 {
	margin: 0;
	font-size: clamp(1.75rem, 2.5vw, 2.5rem);
	line-height: 1.2;
}

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

.team-home .section-lead {
	margin-bottom: 2rem;
}

.team-chair-card {
	display: grid;
	grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
	gap: 2rem 2.5rem;
	align-items: start;
	background: #ebebeb;
	border: 1px solid rgba(43, 43, 43, 0.06);
	border-radius: 18px;
	padding: 2rem 2.25rem;
	margin-bottom: 2.25rem;
	box-shadow: 0 8px 28px rgba(15, 21, 35, 0.06);
}

.team-chair-card__photo {
	border-radius: 12px;
	overflow: hidden;
	background: rgba(43, 43, 43, 0.06);
}

.team-chair-card__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

.team-chair-card__name {
	margin: 1rem 0 0.25rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.team-chair-card__role {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--de-color-primary);
}

.team-chair-card__main {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	column-gap: 0.35rem;
}

.team-chair-card__quote {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 4.5rem;
	line-height: 1;
	color: var(--de-color-primary);
	opacity: 0.88;
	margin: 0;
}

.team-chair-card__body {
	min-width: 0;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(43, 43, 43, 0.9);
}

.team-chair-card__body > :first-child {
	margin-top: 0;
}

.team-chair-card__body p {
	margin: 0 0 1rem;
}

.team-chair-card__body p:last-child {
	margin-bottom: 0;
}

.team-members-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.35rem;
}

.team-member-card {
	background: var(--de-color-white);
	border: 1px solid rgba(43, 43, 43, 0.08);
	border-radius: 14px;
	padding: 1.25rem 1.2rem 1.35rem;
	box-shadow: 0 6px 22px rgba(15, 21, 35, 0.07);
}

.team-member-card__photo {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 1rem;
	aspect-ratio: 1;
	background: rgba(43, 43, 43, 0.06);
}

.team-member-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-member-card__name {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.25;
}

.team-member-card__role {
	margin: 0 0 0.6rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--de-color-primary);
}

.team-member-card__bio {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: rgba(43, 43, 43, 0.78);
}

.team-home-empty {
	margin: 0;
	color: rgba(43, 43, 43, 0.65);
}

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

@media (max-width: 640px) {
	.team-chair-card {
		grid-template-columns: 1fr;
		padding: 1.5rem 1.35rem;
	}

	.team-members-grid {
		grid-template-columns: 1fr;
	}
}

.metrics .metric {
	background: var(--de-color-white);
	border-radius: 12px;
	padding: 1rem;
	border-left: 4px solid var(--de-color-primary);
}

.metric-value {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
}

.metric-label {
	margin: 0.25rem 0 0;
}

.meta {
	font-size: 0.875rem;
	color: rgba(43, 43, 43, 0.7);
}

.inline-link {
	font-weight: 600;
}

.pub-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.pub-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: var(--de-color-white);
	border: 1px solid rgba(43, 43, 43, 0.12);
	border-radius: 12px;
	text-decoration: none;
	color: var(--de-color-text);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.pub-card:hover,
.pub-card:focus-visible {
	border-color: rgba(43, 43, 43, 0.22);
	color: var(--de-color-primary);
}

.pub-card__title {
	font-weight: 600;
	line-height: 1.35;
	font-size: clamp(1rem, 2.6vw, 1.125rem);
	margin: 0;
	flex: 1;
	min-width: 0;
}

.pub-card__icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	opacity: 0.55;
	transition: opacity 0.15s ease;
}

.pub-card:hover .pub-card__icon,
.pub-card:focus-visible .pub-card__icon {
	opacity: 0.85;
}

.pub-archive-more {
	margin-top: 1.25rem;
	text-align: center;
}

.cta-section {
	background: var(--de-color-text);
	color: var(--de-color-white);
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.about-page .about-copy {
	max-width: 980px;
}

.about-page .about-copy p {
	margin: 0 0 0.9rem;
}

.about-page .about-copy p:last-child {
	margin-bottom: 0;
}

.about-page .about-grid {
	display: grid;
	gap: 1rem;
}

.about-page .about-two-col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Contacts template: avoid double top gap (main offset + section padding). */
body.site-root-layout > main.contacts-page {
	padding-top: 0;
}

.contacts-section {
	background: var(--de-color-surface);
	padding-top: 3rem;
	padding-bottom: 4rem;
}

.contacts-page-header {
	margin-bottom: 2rem;
}

.contacts-page-header h1 {
	margin: 0 0 0.65rem;
	font-size: clamp(1.75rem, 2.5vw, 2.5rem);
}

.contacts-page__address {
	margin: 0 0 1rem;
	color: rgba(43, 43, 43, 0.72);
	font-size: 1.05rem;
	line-height: 1.45;
	max-width: 640px;
}

.contacts-page__lead {
	margin-bottom: 0;
	max-width: 820px;
}

.contacts-layout {
	display: grid;
	grid-template-columns: minmax(260px, 0.4fr) minmax(0, 1fr);
	gap: 2rem 2.75rem;
	align-items: start;
}

.contacts-aside {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.contacts-card {
	background: var(--de-color-white);
	border: 1px solid rgba(43, 43, 43, 0.08);
	border-radius: 16px;
	padding: 1.45rem 1.5rem;
	box-shadow: 0 4px 18px rgba(15, 21, 35, 0.05);
}

.contacts-kicker {
	margin: 0 0 1.15rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(43, 43, 43, 0.52);
}

.contacts-channel {
	display: grid;
	grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
	gap: 0.5rem 1rem;
	align-items: baseline;
	margin-bottom: 0.85rem;
	font-size: 0.98rem;
}

.contacts-channel:last-child {
	margin-bottom: 0;
}

.contacts-channel__label {
	color: rgba(43, 43, 43, 0.55);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.contacts-channel__value {
	font-weight: 700;
	color: var(--de-color-text);
}

.contacts-channel__value a {
	font-weight: 700;
	color: inherit;
	text-decoration: none;
}

.contacts-channel__value a:hover {
	color: var(--de-color-primary);
}

.contacts-channel__email {
	font-weight: 600;
	color: var(--de-color-primary);
	text-decoration: none;
}

.contacts-channel__email:hover {
	text-decoration: underline;
}

.contacts-channel--linkonly {
	margin-bottom: 0.6rem;
	margin-top: 0.35rem;
}

.contacts-channel--linkonly:last-child {
	margin-bottom: 0;
}

.contacts-channel__boldlink {
	font-weight: 700;
	color: var(--de-color-text);
	text-decoration: none;
}

.contacts-channel__boldlink:hover {
	color: var(--de-color-primary);
}

.contacts-card--note .contacts-note-text {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
	color: rgba(43, 43, 43, 0.85);
}

.contacts-card--note .contacts-note-text p {
	margin: 0 0 0.65rem;
}

.contacts-card--note .contacts-note-text p:last-child {
	margin-bottom: 0;
}

.contacts-social-list--compact {
	list-style: none;
	padding: 0;
	margin: 0.35rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.15rem;
}

.contacts-social-list--compact a {
	font-weight: 600;
	color: var(--de-color-primary);
	text-decoration: none;
}

.contacts-social-list--compact a:hover {
	text-decoration: underline;
}

.contacts-form-title {
	margin: 0 0 1rem;
	font-size: 1.2rem;
	font-weight: 700;
}

.contacts-wpforms-wrap {
	min-height: 120px;
}

/* WPForms inside card — lighter chrome */
.contacts-card--form .wpforms-container {
	margin: 0;
	max-width: none;
	padding: 0;
}

.contacts-card--form .wpforms-field-label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(43, 43, 43, 0.55);
	margin-bottom: 0.35rem;
}

.contacts-card--form .wpforms-field input[type="text"],
.contacts-card--form .wpforms-field input[type="email"],
.contacts-card--form .wpforms-field input[type="tel"],
.contacts-card--form .wpforms-field textarea {
	border-radius: 8px;
	border-color: rgba(43, 43, 43, 0.18);
}

.contacts-card--form .wpforms-submit-container .wpforms-submit {
	border-radius: 999px;
	padding: 0.55rem 1.75rem;
	font-weight: 700;
	background: var(--de-color-text);
	border: none;
	color: var(--de-color-white);
}

.contacts-card--form .wpforms-submit-container .wpforms-submit:hover {
	opacity: 0.92;
	background: var(--de-color-text);
	color: var(--de-color-white);
}

@media (max-width: 960px) {
	.contacts-layout {
		grid-template-columns: 1fr;
	}
}

.single-team-head {
	display: grid;
	grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	margin-bottom: 1.5rem;
}

.single-team-photo__img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}

.single-team-role {
	margin: 0.35rem 0 0;
	color: var(--de-color-primary);
	font-weight: 600;
}

@media (max-width: 640px) {
	.single-team-head {
		grid-template-columns: 1fr;
	}
}

.about-photos-carousel {
	margin-top: 1.75rem;
}

.about-photos-viewport {
	overflow: hidden;
	border-radius: 8px;
	background: var(--de-color-surface);
}

.about-photos-track {
	display: flex;
	width: max-content;
	gap: 0.75rem;
	padding: 0.75rem 0;
	animation: aboutPhotosMarquee 55s linear infinite;
}

.about-photos-carousel.is-paused .about-photos-track {
	animation-play-state: paused;
}

@keyframes aboutPhotosMarquee {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.about-photos-track {
		animation: none;
		flex-wrap: wrap;
		width: 100%;
		max-width: 100%;
		justify-content: center;
	}
}

.about-photos-slide {
	flex: 0 0 auto;
	width: min(280px, 72vw);
	height: 180px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	overflow: hidden;
	cursor: zoom-in;
	background: rgba(43, 43, 43, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-photos-slide:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 24px rgba(15, 21, 35, 0.15);
}

.about-photos-slide:focus-visible {
	outline: 3px solid var(--de-color-primary);
	outline-offset: 2px;
}

.about-photos-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.de-about-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(15, 21, 35, 0.88);
	cursor: zoom-out;
}

.de-about-lightbox.is-hidden {
	display: none;
}

.de-about-lightbox-inner {
	position: relative;
	max-width: min(96vw, 1200px);
	max-height: 92vh;
	cursor: default;
}

.de-about-lightbox-img {
	display: block;
	max-width: min(96vw, 1200px);
	max-height: 88vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
}

.de-about-lightbox-close {
	position: absolute;
	top: -2.5rem;
	right: 0;
	border: 0;
	background: transparent;
	color: var(--de-color-white);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
}

.de-about-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: var(--de-color-white);
	font-size: 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.de-about-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.28);
}

.de-about-lightbox-prev {
	left: -3rem;
}

.de-about-lightbox-next {
	right: -3rem;
}

@media (max-width: 900px) {
	.de-about-lightbox-prev {
		left: 0.25rem;
	}

	.de-about-lightbox-next {
		right: 0.25rem;
	}
}

.site-footer {
	padding: 1.25rem 0;
	background: var(--de-color-surface);
	border-top: 1px solid rgba(43, 43, 43, 0.1);
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.header-main-inner--with-media {
		grid-template-columns: 1fr;
	}

	.site-header-main--has-media .site-header-branding-col {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.site-header-main--has-media .site-header-branding-col::before {
		display: none;
	}

	.site-header-main--has-media .site-header-branding-col::after {
		flex: 0 0 1.75rem;
		min-height: 0;
	}

	.site-header-main:not(.site-header-main--has-media) {
		min-height: 0;
	}

	.site-header-main:not(.site-header-main--has-media) .header-main-inner--single {
		margin-top: 0;
		margin-bottom: 0;
	}

	.site-header-main--has-media .site-header-branding-inner {
		flex: 0 1 auto;
		justify-content: flex-start;
	}

	.site-header-media-col {
		min-height: 200px;
		order: 1;
	}

	.site-header-branding-col {
		order: 0;
	}

	.header-main-inner {
		gap: 1rem;
		align-items: flex-start;
	}

	.site-header-nav-card {
		width: min(95%, var(--de-container));
		padding: 0.65rem 0.9rem;
	}

	.site-header-nav-wrap {
		margin-bottom: -2rem;
	}

	.site-header-nav-row {
		min-height: 0;
	}

	.menu-toggle {
		display: inline-block;
		order: 1;
		margin-bottom: 0;
	}

	.primary-nav {
		display: none;
		flex: 1 0 100%;
		order: 3;
	}

	.site-header-nav-card.is-open .primary-nav {
		display: block;
	}

	.primary-nav ul {
		flex-direction: column;
		gap: 0.55rem;
		padding-top: 0.35rem;
		align-items: stretch;
	}

	.primary-nav > ul > li {
		display: block;
	}

	.primary-nav a {
		display: block;
		padding: 0.2rem 0;
	}

	.primary-nav > ul > li > a {
		display: block;
		min-height: 0;
		padding: 0.35rem 0.5rem;
	}

	.lang-switcher--in-nav {
		margin-left: auto;
		order: 2;
		padding-right: 0;
		padding-top: 0;
		padding-bottom: 0;
	}

	.hero-section {
		min-height: 560px;
		padding: 6.2rem 0 3.8rem;
	}

	.hero-inner {
		min-height: 380px;
	}

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

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

	.program-card-media {
		order: -1;
		min-height: 260px;
	}

	.about-page .about-two-col {
		grid-template-columns: 1fr;
	}
}
