:root {
	--ep-navy: #0c2948;
	--ep-red: #aa1f43;
	--ep-red-dark: #871733;
	--ep-teal: #078f88;
	--ep-yellow: #ffd41c;
	--ep-ink: #121821;
	--ep-muted: #66717e;
	--ep-surface: #f3f4f5;
	--ep-white: #fff;
	--ep-border: #d8dde2;
	--ep-container: 1440px;
	--ep-gutter: clamp(20px, 4vw, 72px);
	--ep-section: clamp(64px, 8vw, 132px);
	--ep-radius: 0;
	--ep-shadow: 0 18px 46px rgba(12, 41, 72, 0.12);
}

@font-face {
	font-family: "Black Ops One";
	src: local("Black Ops One");
	font-display: swap;
}

@font-face {
	font-family: "Poppins";
	src: local("Poppins");
	font-display: swap;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ep-ink);
	background: var(--ep-white);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.55em;
	color: var(--ep-ink);
	font-family: "Black Ops One", Impact, sans-serif;
	font-weight: 400;
	line-height: 1.05;
	text-transform: uppercase;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 5.5vw, 5.8rem);
}

h2 {
	font-size: clamp(2rem, 3.6vw, 3.8rem);
}

h3 {
	font-size: clamp(1.35rem, 2vw, 2.15rem);
}

p {
	margin: 0 0 1.2em;
}

.ep-container {
	width: min(100% - (2 * var(--ep-gutter)), var(--ep-container));
	margin-inline: auto;
}

.ep-main:not(.ep-main--elementor) {
	min-height: 60vh;
	padding-block: var(--ep-section);
}

.ep-main--elementor {
	overflow: clip;
}

.ep-skip-link {
	position: fixed;
	z-index: 9999;
	top: 10px;
	left: 10px;
	padding: 12px 18px;
	color: var(--ep-white);
	background: var(--ep-navy);
	transform: translateY(-150%);
}

.ep-skip-link:focus {
	transform: translateY(0);
}

.ep-site-header {
	position: relative;
	z-index: 100;
	height: 96px;
	border-bottom: 1px solid var(--ep-border);
	background: var(--ep-white);
}

.ep-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(100% - (2 * var(--ep-gutter)), var(--ep-container));
	height: 100%;
	margin-inline: auto;
	gap: 32px;
}

.ep-site-header__brand img {
	width: auto;
	max-width: 220px;
	max-height: 64px;
}

.ep-site-title {
	font-family: "Black Ops One", Impact, sans-serif;
	font-size: 1.3rem;
	text-decoration: none;
	text-transform: uppercase;
}

.ep-primary-navigation ul {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	gap: clamp(18px, 2.5vw, 42px);
	list-style: none;
}

.ep-primary-navigation a {
	display: block;
	padding-block: 14px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}

.ep-primary-navigation a:hover,
.ep-primary-navigation a:focus-visible,
.ep-primary-navigation .current-menu-item > a {
	color: var(--ep-red);
}

.ep-primary-navigation li:last-child > a {
	padding: 11px 22px;
	color: var(--ep-white);
	background: var(--ep-red);
}

.ep-primary-navigation li:last-child > a:hover,
.ep-primary-navigation li:last-child > a:focus-visible {
	background: var(--ep-red-dark);
}

.ep-menu-toggle {
	display: none;
	align-items: center;
	border: 0;
	background: transparent;
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
}

.ep-menu-toggle__icon,
.ep-menu-toggle__icon::before,
.ep-menu-toggle__icon::after {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ep-ink);
}

.ep-menu-toggle__icon {
	position: relative;
	margin-left: 10px;
}

.ep-menu-toggle__icon::before,
.ep-menu-toggle__icon::after {
	position: absolute;
	left: 0;
	content: "";
}

.ep-menu-toggle__icon::before {
	top: -7px;
}

.ep-menu-toggle__icon::after {
	top: 7px;
}

.ep-button,
button.ep-button,
input.ep-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 24px;
	border: 2px solid var(--ep-red);
	color: var(--ep-white);
	background: var(--ep-red);
	font: 700 0.78rem/1 "Poppins", Arial, sans-serif;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ep-button:hover,
.ep-button:focus-visible {
	border-color: var(--ep-red-dark);
	background: var(--ep-red-dark);
}

.ep-button--outline {
	color: var(--ep-ink);
	border-color: currentColor;
	background: transparent;
}

.ep-button--outline:hover,
.ep-button--outline:focus-visible {
	color: var(--ep-white);
	border-color: var(--ep-red);
	background: var(--ep-red);
}

.ep-text-link {
	color: var(--ep-red);
	font-weight: 700;
	text-transform: uppercase;
}

:focus-visible {
	outline: 3px solid var(--ep-yellow);
	outline-offset: 3px;
}

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

.ep-post-card {
	border: 1px solid var(--ep-border);
	background: var(--ep-white);
}

.ep-post-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.ep-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.ep-post-card:hover .ep-post-card__image img {
	transform: scale(1.035);
}

.ep-post-card__content {
	padding: clamp(24px, 3vw, 42px);
}

.ep-post-card__content h2 {
	font-size: clamp(1.3rem, 1.7vw, 2rem);
}

.ep-post-card__content h2 a {
	text-decoration: none;
}

.ep-entry {
	max-width: 920px;
	margin-inline: auto;
}

.ep-entry__image {
	margin-block: 36px;
}

.ep-site-footer {
	padding-block: 28px;
	color: var(--ep-white);
	background: var(--ep-navy);
}

.ep-site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ep-site-footer p {
	margin: 0;
}

.ep-site-footer ul {
	display: flex;
	margin: 0;
	padding: 0;
	gap: 24px;
	list-style: none;
}

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

@media (max-width: 1024px) {
	.ep-menu-toggle {
		display: flex;
	}

	.ep-primary-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 22px var(--ep-gutter) 30px;
		border-top: 1px solid var(--ep-border);
		background: var(--ep-white);
		box-shadow: var(--ep-shadow);
	}

	.is-menu-open .ep-primary-navigation {
		display: block;
	}

	.ep-primary-navigation ul {
		display: block;
	}

	.ep-primary-navigation li:last-child > a {
		margin-top: 10px;
		text-align: center;
	}

	.ep-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.ep-site-header {
		height: 78px;
	}

	.ep-site-header__brand img {
		max-width: 170px;
		max-height: 50px;
	}

	.ep-post-grid {
		grid-template-columns: 1fr;
	}

	.ep-site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.ep-site-footer ul {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
