:root {
	--eeg-navy: #09253B;
	--eeg-navy-light: #15455C;
	--eeg-white: #FFFFFF;
	--eeg-charcoal: #333333;
	--eeg-red: #AA3D42;
	--eeg-ink: #111111;
	--eeg-muted: #565656;
	--eeg-yellow: #FFCC03;
}

.eeg-topbar {
	width: 100%;
	height: 50px;
	background-color: var(--eeg-navy-light);
	color: var(--eeg-white);
	font-family: Roboto, Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
}

.eeg-topbar__inner {
	display: flex;
	align-items: center;
	width: calc(100% - 40px);
	max-width: 1400px;
	height: 100%;
	margin-inline: auto;
}

.eeg-topbar__label {
	margin-right: 18px;
}

.eeg-topbar__contact {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	line-height: 1.2;
	text-decoration: none;
}

.eeg-topbar__contact + .eeg-topbar__contact {
	margin-left: 22px;
}

.eeg-topbar__contact:hover,
.eeg-topbar__contact:focus {
	color: inherit;
	text-decoration: underline;
}

.eeg-topbar__icon {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	fill: none;
	stroke: currentColor;
}

.eeg-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	background-color: var(--eeg-white);
	font-family: Roboto, Arial, sans-serif;
}

.eeg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: calc(100% - 40px);
	max-width: 1400px;
	min-height: 71px;
	margin-inline: auto;
	padding-block: 8px;
}

.eeg-header__branding,
.eeg-header__branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.eeg-header__branding .custom-logo,
.eeg-header__logo {
	display: block;
	width: 191px;
	max-width: 100%;
	height: auto;
}

.eeg-header__site-name {
	color: var(--eeg-charcoal);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
}

.eeg-header__nav {
	display: flex;
	align-items: center;
}

.eeg-header__language-switcher {
	display: flex;
	align-items: center;
	margin-inline-start: 18px;
}

.eeg-header__language-switcher .trp-language-switcher {
	width: auto;
	min-width: 84px;
}

.eeg-header__mobile-language-switcher {
	display: none;
}

.eeg-header__menu {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eeg-header__menu > li {
	margin: 0;
	padding: 0;
}

.eeg-header__menu > li > .eeg-header__menu-link {
	position: relative;
	display: block;
	padding-block: 8px;
	color: var(--eeg-charcoal);
	font-family: Roboto, Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
}

.eeg-header__menu > li > .eeg-header__menu-link::after {
	position: absolute;
	right: 0;
	bottom: 4px;
	left: 0;
	height: 1px;
	background-color: var(--eeg-red);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 250ms ease;
}

.eeg-header__menu > li > .eeg-header__menu-link:hover::after,
.eeg-header__menu > li > .eeg-header__menu-link:focus-visible::after,
.eeg-header__menu > .current-menu-item > .eeg-header__menu-link::after,
.eeg-header__menu > .current_page_item > .eeg-header__menu-link::after,
.eeg-header__menu > .current-menu-ancestor > .eeg-header__menu-link::after,
.eeg-header__menu > .current_page_ancestor > .eeg-header__menu-link::after {
	transform: scaleX(1);
}

.eeg-header__menu-link:focus-visible,
.eeg-header__toggle:focus-visible,
.eeg-header__site-name:focus-visible,
.eeg-header__branding .custom-logo-link:focus-visible {
	outline: 2px solid var(--eeg-red);
	outline-offset: 3px;
}

.eeg-header__toggle,
.eeg-header__mobile-nav {
	display: none;
}

.eeg-header__toggle {
	position: relative;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 11px 8px;
	border: 0;
	background: transparent;
	color: var(--eeg-charcoal);
	cursor: pointer;
}

.eeg-header__toggle-line {
	position: absolute;
	left: 8px;
	display: block;
	width: 28px;
	height: 2px;
	background-color: currentColor;
	transition: opacity 200ms ease, transform 200ms ease, top 200ms ease;
}

.eeg-header__toggle-line:nth-child(1) { top: 13px; }
.eeg-header__toggle-line:nth-child(2) { top: 21px; }
.eeg-header__toggle-line:nth-child(3) { top: 29px; }

.eeg-header__toggle[aria-expanded="true"] .eeg-header__toggle-line:nth-child(1) {
	top: 21px;
	transform: rotate(45deg);
}

.eeg-header__toggle[aria-expanded="true"] .eeg-header__toggle-line:nth-child(2) {
	opacity: 0;
}

.eeg-header__toggle[aria-expanded="true"] .eeg-header__toggle-line:nth-child(3) {
	top: 21px;
	transform: rotate(-45deg);
}

.eeg-header__mobile-nav[hidden] {
	display: none;
}

.eeg-page-content {
	width: 100%;
	margin: 0;
	padding: 0;
}

.eeg-404 {
	position: relative;
	display: grid;
	min-height: clamp(480px, 62vh, 680px);
	overflow: hidden;
	background: linear-gradient(135deg, #fdfbf8 0%, #f3f7f8 100%);
	place-items: center;
}

.eeg-404__inner {
	position: relative;
	z-index: 1;
	width: min(720px, calc(100% - 40px));
	padding: 80px 0;
	text-align: center;
}

.eeg-404__code {
	margin: 0 0 4px;
	color: var(--eeg-red);
	font-family: "Roboto Slab", Georgia, serif;
	font-size: clamp(88px, 15vw, 170px);
	font-weight: 700;
	letter-spacing: -0.06em;
	line-height: 0.9;
}

.eeg-404__title {
	margin: 24px 0 16px;
	color: var(--eeg-navy);
	font-family: "Roboto Slab", Georgia, serif;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 600;
	line-height: 1.15;
}

.eeg-404__text {
	max-width: 560px;
	margin: 0 auto 32px;
	color: var(--eeg-muted);
	font-family: Roboto, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

.eeg-404__button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	border: 1px solid var(--eeg-red);
	background-color: var(--eeg-red);
	color: var(--eeg-white);
	font-family: Roboto, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.eeg-404__button:hover {
	background-color: transparent;
	color: var(--eeg-red);
	transform: translateY(-2px);
}

.eeg-404__button:focus-visible {
	outline: 2px solid var(--eeg-navy);
	outline-offset: 4px;
}

.eeg-404__decoration {
	position: absolute;
	border: 1px solid rgb(9 37 59 / 12%);
	border-radius: 50%;
}

.eeg-404__decoration--one {
	top: -170px;
	right: -130px;
	width: 430px;
	height: 430px;
}

.eeg-404__decoration--two {
	bottom: -230px;
	left: -180px;
	width: 520px;
	height: 520px;
	background-color: rgb(21 69 92 / 4%);
}

.eeg-page-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--eeg-page-hero-height, 314px);
	overflow: hidden;
	background-color: var(--eeg-navy);
}

.eeg-page-hero__media,
.eeg-page-hero__media picture,
.eeg-page-hero__image,
.eeg-page-hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.eeg-page-hero__media picture {
	display: block;
}

.eeg-page-hero__image {
	display: block;
	object-fit: cover;
	object-position: var(--eeg-page-hero-image-position, center center);
}

.eeg-page-hero__overlay {
	background-color: var(--eeg-navy);
	opacity: var(--eeg-page-hero-overlay-opacity, 0.3);
}

.eeg-page-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 24px 40px;
	text-align: center;
}

.eeg-page-hero--title-top .eeg-page-hero__content {
	align-self: flex-start;
}

.eeg-page-hero--title-bottom .eeg-page-hero__content {
	align-self: flex-end;
}

.eeg-page-hero__title {
	margin: 0;
	color: var(--eeg-white);
	font-family: "Roboto Slab", Georgia, serif;
	font-size: 70px;
	font-weight: 700;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.eeg-page-hero__divider {
	width: 172px;
	height: 2px;
	margin-top: 20px;
	background-color: var(--eeg-red);
}

.eeg-footer {
	width: 100%;
	background-color: var(--eeg-ink);
	color: var(--eeg-muted);
	font-family: Roboto, Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.eeg-footer__main {
	width: 100%;
	padding: 56px 0 24px;
}

.eeg-footer__container {
	width: calc(100% - 40px);
	max-width: 1400px;
	margin-inline: auto;
}

.eeg-footer__grid {
	display: grid;
	gap: 56px;
	width: 100%;
}

.eeg-footer__grid--1 {
	grid-template-columns: minmax(0, 1fr);
	max-width: 430px;
}

.eeg-footer__grid--2 {
	grid-template-columns: 1.4fr 0.8fr;
	max-width: 670px;
}

.eeg-footer__grid--3 {
	grid-template-columns: 1.4fr 0.8fr 0.8fr;
	max-width: 900px;
}

.eeg-footer__grid--4 {
	grid-template-columns: 1.4fr repeat(3, 0.8fr);
	max-width: 1120px;
}

.eeg-footer__column,
.eeg-footer-widget {
	min-width: 0;
}

.eeg-footer__brand,
.eeg-footer__contact,
.eeg-footer__meta {
	display: flex;
	flex-direction: column;
}

.eeg-footer__logo {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 220px;
	margin-bottom: 20px;
	color: var(--eeg-white);
	text-decoration: none;
}

.eeg-footer__logo-image {
	display: block;
	width: auto;
	max-width: 220px;
	height: auto;
}

.eeg-footer__site-name {
	font-family: "Roboto Slab", Georgia, serif;
	font-size: 20px;
	line-height: 1.25;
}

.eeg-footer__contact {
	gap: 14px;
}

.eeg-footer__contact-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	color: var(--eeg-white);
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: opacity 180ms ease;
}

.eeg-footer__contact-item:hover {
	color: var(--eeg-white);
	opacity: 0.8;
}

.eeg-footer__contact-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	color: var(--eeg-yellow);
	fill: none;
	stroke: currentColor;
}

.eeg-footer__meta {
	gap: 2px;
	margin-top: 14px;
	color: var(--eeg-muted);
	font-size: 14px;
}

.eeg-footer__socials {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.eeg-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: var(--eeg-footer-social-color, var(--eeg-yellow));
	text-decoration: none;
	transition: color 180ms ease;
}

.eeg-footer__social-link:hover {
	color: var(--eeg-white);
}

.eeg-footer-widget + .eeg-footer-widget {
	margin-top: 28px;
}

.eeg-footer .eeg-footer-widget__title,
.eeg-footer .widget-title,
.eeg-footer .wp-block-heading {
	margin: 0 0 20px;
	color: var(--eeg-white);
	font-family: "Roboto Slab", Georgia, serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
}

.eeg-footer-widget,
.eeg-footer-widget p,
.eeg-footer-widget address {
	color: var(--eeg-muted);
	font-family: Roboto, Arial, sans-serif;
	font-size: 14px;
}

.eeg-footer-widget p:last-child {
	margin-bottom: 0;
}

.eeg-footer-widget img {
	max-width: 100%;
	height: auto;
}

.eeg-footer-widget figure {
	margin: 0;
}

.eeg-footer__nav ul,
.eeg-footer-widget ul,
.eeg-footer-widget ol,
.eeg-footer-widget .menu,
.eeg-footer-widget .wp-block-navigation__container {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eeg-footer__nav li,
.eeg-footer-widget li,
.eeg-footer-widget .menu-item,
.eeg-footer-widget .wp-block-navigation-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eeg-footer__nav a,
.eeg-footer-widget a {
	color: var(--eeg-muted);
	font-family: Roboto, Arial, sans-serif;
	font-size: 14px;
	text-decoration: none;
	transition: color 180ms ease;
}

.eeg-footer__nav a:hover,
.eeg-footer-widget a:hover {
	color: var(--eeg-white);
}

.eeg-footer__logo:focus-visible,
.eeg-footer__contact-item:focus-visible,
.eeg-footer__social-link:focus-visible,
.eeg-footer__nav a:focus-visible,
.eeg-footer-widget a:focus-visible {
	border-radius: 1px;
	outline: 2px solid var(--eeg-yellow);
	outline-offset: 3px;
}

.eeg-footer__bottom {
	margin-top: 52px;
}

.eeg-footer__divider {
	width: 100%;
	height: 1px;
	background-color: var(--eeg-muted);
	opacity: 0.55;
}

.eeg-footer__copyright {
	margin: 0;
	padding-top: 22px;
	color: var(--eeg-muted);
	font-family: Roboto, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

@media (max-width: 1024px) {
	.eeg-page-hero {
		min-height: var(--eeg-page-hero-height-tablet, 260px);
	}

	.eeg-page-hero__title {
		font-size: 54px;
	}

	.eeg-topbar {
		display: none;
	}

	.eeg-header__nav {
		display: none;
	}

	.eeg-header__language-switcher {
		display: none;
	}

	.eeg-header__toggle {
		display: block;
	}

	.eeg-header__mobile-nav {
		display: block;
		width: 100%;
		background-color: var(--eeg-white);
	}

	.eeg-header__mobile-menu {
		display: flex;
		flex-direction: column;
		width: calc(100% - 40px);
		max-width: 1400px;
		margin: 0 auto;
		padding: 0 0 12px;
		list-style: none;
	}

	.eeg-header__mobile-language-switcher {
		display: block;
		width: calc(100% - 40px);
		max-width: 1400px;
		margin: 0 auto;
		padding: 8px 0 16px;
	}

	.eeg-header__mobile-menu li {
		margin: 0;
		padding: 0;
	}

	.eeg-header__mobile-menu .eeg-header__menu-link {
		display: block;
		padding: 13px 0;
		border-top: 1px solid rgba(51, 51, 51, 0.12);
		color: var(--eeg-charcoal);
		font-family: Roboto, Arial, sans-serif;
		font-size: 13px;
		font-weight: 400;
		line-height: 1.4;
		text-decoration: none;
	}

	.eeg-footer__grid--3,
	.eeg-footer__grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 760px;
	}
}

@media (min-width: 768px) {
	.eeg-page-hero--mobile-image-only .eeg-page-hero__media {
		display: none;
	}
}

@media (max-width: 767px) {
	.eeg-page-hero {
		min-height: var(--eeg-page-hero-height-mobile, 220px);
	}

	.eeg-page-hero__image {
		object-position: var(--eeg-page-hero-image-position-mobile, center center);
	}

	.eeg-page-hero__content {
		padding-inline: 24px;
	}

	.eeg-page-hero__title {
		font-size: 42px;
	}
}

@media (max-width: 640px) {
	.eeg-footer__main {
		padding-top: 48px;
	}

	.eeg-footer__grid,
	.eeg-footer__grid--1,
	.eeg-footer__grid--2,
	.eeg-footer__grid--3,
	.eeg-footer__grid--4 {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		max-width: none;
	}

	.eeg-footer__bottom {
		margin-top: 44px;
	}
}
