:root {
	--blue: #0062a1;
	--blue-dark: #004a7a;
	--ink: #3e4448;
	--yellow: #ffd200;
	--paper: #f6f7f8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section { scroll-margin-top: 100px; }

body {
	margin: 0;
	color: var(--ink);
	font-family: Raleway, "Segoe UI", sans-serif;
	background: #fff;
	line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); }

h1, h2, h3, .button {
	font-family: "Open Sans", "Segoe UI", sans-serif;
}

#top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 4vw;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.brand img { height: 74px; width: auto; display: block; }

.site-nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; }

.site-nav a {
	color: var(--blue-dark);
	font-weight: 600;
	text-decoration: none;
}

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

.nav-toggle, .nav-burger { display: none; }

.hero {
	position: relative;
	min-height: 68vh;
	display: flex;
	align-items: flex-end;
	padding: 4rem 4vw;
	color: #fff;
	overflow: hidden;
	background: #123044;
}

.hero-slides span {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	opacity: 0;
	animation: hero-fade 24s infinite;
}

.hero-slides span:nth-child(1) { animation-name: hero-fade-first; }
.hero-slides span:nth-child(2) { animation-delay: 6s; }
.hero-slides span:nth-child(3) { animation-delay: 12s; }
.hero-slides span:nth-child(4) { animation-delay: 18s; }

.hero-slides span::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 30, 55, 0.12) 20%, rgba(0, 30, 55, 0.55));
}

@keyframes hero-fade-first {
	0% { opacity: 1; }
	20% { opacity: 1; }
	25% { opacity: 0; }
	95% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes hero-fade {
	0% { opacity: 0; }
	4% { opacity: 1; }
	20% { opacity: 1; }
	25% { opacity: 0; }
	100% { opacity: 0; }
}

.hero-text { position: relative; z-index: 1; max-width: 760px; }

.eyebrow {
	margin: 0 0 0.4rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.hero h1 {
	margin: 0 0 0.4rem;
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.1;
}

.hero p { font-size: 1.15rem; }

.button {
	display: inline-block;
	margin-top: 0.6rem;
	padding: 0.75rem 1.2rem;
	background: var(--yellow);
	color: #243000;
	font-weight: 700;
	text-decoration: none;
}

.wrap { width: min(1100px, calc(100% - 8vw)); margin: 0 auto; }

.about, .dates, .partners, .contact, .inner { padding: 4.2rem 0; }

.about {
	background: var(--blue);
	color: #fff;
}

.about a, .contact a { color: var(--yellow); }

.dates { background: var(--paper); }

.partners { background: #fff; }

.contact {
	background:
		linear-gradient(rgba(0, 49, 80, 0.82), rgba(0, 49, 80, 0.82)),
		url("../../../images/resource/header2.jpg") center / cover no-repeat;
	color: #fff;
}

h2 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }

.prose h4 { margin-bottom: 0.3rem; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 1.6rem; }

.filters button {
	border: 1px solid var(--blue);
	background: #fff;
	color: var(--blue);
	border-radius: 999px;
	padding: 0.35rem 0.8rem;
	font: inherit;
	cursor: pointer;
}

.filters button.is-active,
.filters button:hover {
	background: var(--blue);
	color: #fff;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}

.card { background: #fff; box-shadow: 0 8px 24px rgba(0, 40, 70, 0.08); }

.card a { color: inherit; text-decoration: none; display: block; height: 100%; }

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

.card-body { padding: 0.9rem 1rem 1.1rem; }

.card-tag {
	margin: 0 0 0.3rem;
	color: var(--blue);
	font-size: 0.82rem;
	font-weight: 700;
}

.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; line-height: 1.3; }

.card p { margin: 0; }

.card[hidden] { display: none; }

.site-footer {
	padding: 1.4rem 4vw 1.8rem;
	background: #123044;
	color: #d7e4ee;
	text-align: center;
	font-size: 0.95rem;
}

.site-footer a { color: var(--yellow); }

.site-footer p { margin: 0.2rem 0; }

.inner { width: min(860px, calc(100% - 8vw)); margin: 0 auto; }

.back a { font-weight: 700; text-decoration: none; }

.article-info,
.tags,
.pagenavigation,
.com-content-article__pagination { display: none; }

.page-header h1 { margin: 0.2rem 0 0.8rem; font-size: clamp(1.7rem, 3vw, 2.2rem); }

.item-image { float: none !important; margin: 0 0 1.2rem; }

.item-image img {
	display: block;
	width: 100%;
	max-height: 440px;
	object-fit: cover;
}

.content-links ul { margin: 0 0 1rem; padding: 0; list-style: none; }

.content-links a {
	display: inline-block;
	padding: 0.6rem 1rem;
	background: var(--yellow);
	color: #243000;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 980px) {
	.cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.nav-burger {
		display: inline-flex;
		align-items: center;
		padding: 0.45rem 0.7rem;
		border: 1px solid var(--blue);
		color: var(--blue);
		font-weight: 700;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		padding: 0.6rem 4vw 1rem;
		background: #fff;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
	}

	.nav-toggle:checked ~ .site-nav { display: flex; }

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

	.hero { min-height: 78vh; }
}
