:root {
	--fesr-title: #818181;
	--fesr-text: #19191a;
	--fesr-white: #ffffff;
	--fesr-news-bg: #e6f5fb;
	--fesr-progress-bg: #05263e;
	--fesr-progress-subtitle: #abdce9;
	--fesr-priority-1: #193cb6;
	--fesr-priority-2: #009487;
	--fesr-priority-3: #00a5f5;
	--fesr-priority-4: #ff1585;
	--fesr-priority-5: #ff3800;
	--fesr-priority-6: #05aa6a;
	--fesr-territory-bg: #f5f5f5;
	--fesr-territory-1: #193cb6;
	--fesr-territory-2: #009487;
	--fesr-territory-3: #00a2ee;
	--fesr-ois-bg: #05263e;
	--fesr-border: #d8d8d8;
	--fesr-muted: #5b5b5b;
	--fesr-link: #0066cc;
	--fesr-focus: #ffcc00;
	--fesr-shadow: 0 3px 14px rgba(5, 38, 62, 0.12);
}

.fesr-home-template .it-header-navbar-wrapper,
.fesr-home-template .menu-main {
	background-color: var(--fesr-progress-bg);
}

.fesr-home,
.fesr-home * {
	box-sizing: border-box;
}

.fesr-home {
	overflow: hidden;
	color: var(--fesr-text);
	background: var(--fesr-white);
	font-family: "Titillium Web", sans-serif;
}

.fesr-home img,
.fesr-home video,
.fesr-home iframe {
	display: block;
	max-width: 100%;
}

.fesr-container {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.fesr-section {
	padding: 72px 0;
}

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

.fesr-section-heading h2,
.fesr-section-heading-stacked p {
	margin: 0;
}

.fesr-section-heading h2 {
	color: var(--fesr-title);
	font-size: clamp(1.75rem, 2.1vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
}

.fesr-section-heading-stacked {
	display: block;
}

.fesr-section-heading-stacked p {
	margin-top: 12px;
	color: var(--fesr-muted);
	font-size: 1.05rem;
}

.fesr-section-link,
.fesr-card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--fesr-link);
	font-weight: 600;
	text-decoration: none;
}

.fesr-section-link:hover,
.fesr-card-link:hover {
	color: #004d99;
	text-decoration: underline;
}

.fesr-icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex: 0 0 auto;
}

.fesr-home a:focus-visible,
.fesr-home button:focus-visible,
.fesr-carousel-viewport:focus-visible {
	outline: 3px solid var(--fesr-focus);
	outline-offset: 3px;
}

.fesr-empty-state {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--fesr-border);
	background: rgba(255, 255, 255, 0.7);
	color: var(--fesr-muted);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Hero */
.fesr-hero {
	position: relative;
	display: grid;
	min-height: 540px;
	isolation: isolate;
	color: var(--fesr-white);
	background: var(--fesr-progress-bg);
}

.fesr-hero-media,
.fesr-hero-shade {
	position: absolute;
	inset: 0;
}

.fesr-hero-media {
	z-index: -2;
}

.fesr-hero-poster,
.fesr-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fesr-hero-video {
	z-index: 1;
}

.fesr-hero-shade {
	z-index: -1;
	background: linear-gradient(90deg, rgba(5, 38, 62, 0.86) 0%, rgba(5, 38, 62, 0.62) 48%, rgba(5, 38, 62, 0.34) 100%);
}

.fesr-hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding-block: 72px;
}

.fesr-hero h1 {
	max-width: 790px;
	margin: 0 0 12px;
	color: var(--fesr-white);
	font-size: clamp(2.25rem, 4.2vw, 4.25rem);
	font-weight: 700;
	line-height: 1.05;
}

.fesr-hero p {
	max-width: 760px;
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.7rem);
	line-height: 1.35;
}

.fesr-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.fesr-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 22px;
	border: 2px solid var(--fesr-white);
	border-radius: 3px;
	color: var(--fesr-white);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.fesr-button:hover {
	color: var(--fesr-progress-bg);
	background: var(--fesr-white);
	text-decoration: none;
}

.fesr-button-primary {
	border-color: var(--fesr-link);
	background: var(--fesr-link);
}

.fesr-button-primary:hover {
	border-color: var(--fesr-white);
}

/* News carousel */
.fesr-news {
	background: var(--fesr-news-bg);
}

.fesr-carousel {
	position: relative;
}

.fesr-carousel-viewport {
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.fesr-carousel-viewport::-webkit-scrollbar {
	display: none;
}

.fesr-carousel-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 3);
	gap: 24px;
}

.fesr-carousel-item {
	scroll-snap-align: start;
}

.fesr-news-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	border: 1px solid rgba(5, 38, 62, 0.1);
	background: var(--fesr-white);
	box-shadow: var(--fesr-shadow);
}

.fesr-news-card-media {
	display: block;
	aspect-ratio: 377 / 220;
	overflow: hidden;
}

.fesr-news-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fesr-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 180px;
	padding: 24px;
	color: var(--fesr-muted);
	background: linear-gradient(135deg, #eef1f4, #dce3e8);
	font-weight: 600;
	text-align: center;
}

.fesr-card-placeholder .fesr-icon {
	width: 48px;
	height: 48px;
}

.fesr-news-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
}

.fesr-news-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 12px;
	margin-bottom: 16px;
	color: var(--fesr-muted);
	font-size: 0.87rem;
}

.fesr-news-meta span {
	padding: 3px 9px;
	border-radius: 2px;
	color: var(--fesr-white);
	background: var(--fesr-priority-2);
	font-weight: 600;
}

.fesr-news-card h3 {
	margin: 0 0 12px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
}

.fesr-news-card h3 a {
	color: var(--fesr-progress-bg);
	text-decoration: none;
}

.fesr-news-card h3 a:hover {
	text-decoration: underline;
}

.fesr-news-card p {
	margin: 0 0 22px;
	color: #3f3f40;
	line-height: 1.5;
}

.fesr-news-card .fesr-card-link {
	margin-top: auto;
}

.fesr-carousel-controls {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

.fesr-carousel.is-ready .fesr-carousel-controls {
	display: flex;
}

.fesr-carousel-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 2px solid var(--fesr-link);
	border-radius: 50%;
	color: var(--fesr-link);
	background: transparent;
	box-shadow: none;
}

.fesr-carousel-button:hover:not(:disabled) {
	color: var(--fesr-white);
	background: var(--fesr-link);
}

.fesr-carousel-button:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.fesr-carousel-indicators {
	display: flex;
	gap: 7px;
}

.fesr-carousel-indicator {
	width: 10px;
	height: 10px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #9bb2c3;
	box-shadow: none;
}

.fesr-carousel-indicator[aria-current="true"] {
	background: var(--fesr-link);
}

/* Programme progress */
.fesr-progress {
	color: var(--fesr-white);
	background: var(--fesr-progress-bg);
}

.fesr-progress-label {
	display: inline-block;
	margin: 0 0 36px;
	padding: 8px 18px;
	border: 2px solid var(--fesr-progress-subtitle);
	border-radius: 999px;
	color: var(--fesr-white);
	font-size: 1.15rem;
	font-weight: 600;
}

.fesr-progress-grid {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(260px, 340px) minmax(180px, 1fr);
	grid-template-areas:
		"stat1 total stat3"
		"stat2 total stat4";
	align-items: center;
	gap: 36px 70px;
}

.fesr-progress-stat {
	display: flex;
	flex-direction: column;
}

.fesr-progress-stat-1 { grid-area: stat1; }
.fesr-progress-stat-2 { grid-area: stat2; }
.fesr-progress-stat-3 { grid-area: stat3; }
.fesr-progress-stat-4 { grid-area: stat4; }

.fesr-progress-stat-3,
.fesr-progress-stat-4 {
	text-align: right;
}

.fesr-progress-stat strong {
	font-size: clamp(2.75rem, 5vw, 4.5rem);
	line-height: 1;
}

.fesr-progress-stat span,
.fesr-progress-total small {
	margin-top: 9px;
	color: var(--fesr-progress-subtitle);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
}

.fesr-progress-stat small {
	margin-top: 6px;
	color: var(--fesr-white);
	font-size: 1.25rem;
}

.fesr-progress-total {
	grid-area: total;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(100%, 330px);
	aspect-ratio: 1;
	margin-inline: auto;
	padding: 30px;
	border: 7px solid var(--fesr-progress-subtitle);
	border-radius: 50%;
	text-align: center;
}

.fesr-progress-total strong {
	font-size: clamp(3rem, 5vw, 4.75rem);
	line-height: 1;
}

.fesr-progress-total span {
	margin-top: 10px;
	font-size: 1.5rem;
	line-height: 1.1;
}

.fesr-progress-total small {
	font-size: 1.15rem;
}

.fesr-progress-updated {
	margin: 34px 0 0;
	color: var(--fesr-progress-subtitle);
	font-size: 0.95rem;
	text-align: center;
}

/* Calls */
.fesr-calls-grid,
.fesr-territory-grid,
.fesr-ois-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.fesr-call-card {
	margin: 0;
	box-shadow: var(--fesr-shadow);
}

.fesr-call-card a {
	display: block;
	background: #eef1f4;
}

.fesr-call-image {
	width: 100%;
	height: auto;
	transition: filter 180ms ease;
}

.fesr-call-card a:hover .fesr-call-image {
	filter: brightness(1.04);
}

/* Priorities */
.fesr-priorities {
	padding-top: 28px;
}

.fesr-priorities-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 24px;
}

.fesr-priority-card {
	--priority-color: var(--fesr-priority-1);
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	min-height: 160px;
	border: 1px solid var(--fesr-border);
	color: var(--priority-color);
	background: var(--fesr-white);
	box-shadow: var(--fesr-shadow);
	text-decoration: none;
}

.fesr-priority-2 { --priority-color: var(--fesr-priority-2); }
.fesr-priority-3 { --priority-color: var(--fesr-priority-3); }
.fesr-priority-4 { --priority-color: var(--fesr-priority-4); }
.fesr-priority-5 { --priority-color: var(--fesr-priority-5); }
.fesr-priority-6 { --priority-color: var(--fesr-priority-6); }

a.fesr-priority-card:hover {
	color: var(--priority-color);
	box-shadow: 0 7px 20px rgba(5, 38, 62, 0.2);
	text-decoration: none;
	transform: translateY(-2px);
}

.fesr-priority-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: var(--priority-color);
}

.fesr-priority-icon img {
	width: 60px;
	height: 68px;
	object-fit: contain;
}

.fesr-priority-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 22px 20px 15px;
}

.fesr-priority-heading {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: var(--fesr-text);
}

.fesr-priority-heading h3 {
	margin: 0;
	color: inherit;
	font-size: 1.13rem;
	font-weight: 700;
	line-height: 1.18;
}

.fesr-priority-heading small {
	margin-top: 3px;
	font-size: 0.9rem;
	line-height: 1.15;
}

.fesr-priority-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding-top: 11px;
	border-top: 1px solid var(--fesr-border);
	color: var(--fesr-title);
}

.fesr-priority-footer .fesr-icon {
	width: 23px;
	height: 23px;
	color: var(--priority-color);
}

/* Video gallery */
.fesr-video-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	grid-template-rows: repeat(2, auto);
	align-items: start;
	gap: 24px 30px;
}

.fesr-video-item {
	min-width: 0;
}

.fesr-video-item-1 {
	grid-row: 1 / 3;
}

.fesr-video-item h3 {
	margin: 0 0 10px;
	color: #3f3f40;
	font-size: 1.05rem;
	font-weight: 600;
}

.fesr-video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--fesr-progress-bg);
	box-shadow: var(--fesr-shadow);
}

.fesr-video-frame iframe,
.fesr-video-frame video,
.fesr-video-placeholder,
.fesr-video-placeholder img {
	width: 100%;
	height: 100%;
}

.fesr-video-frame iframe {
	border: 0;
}

.fesr-video-placeholder {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--fesr-white);
	background: linear-gradient(135deg, #173f59, var(--fesr-progress-bg));
}

.fesr-video-placeholder img {
	position: absolute;
	inset: 0;
	object-fit: cover;
	opacity: 0.42;
}

.fesr-video-placeholder span {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

/* Territory projects */
.fesr-territory {
	background: var(--fesr-territory-bg);
}

.fesr-territory-card {
	--territory-color: var(--fesr-territory-1);
	display: flex;
	min-width: 0;
	flex-direction: column;
	border: 1px solid var(--fesr-border);
	border-top: 9px solid var(--territory-color);
	background: var(--fesr-white);
	box-shadow: var(--fesr-shadow);
}

.fesr-territory-card-2 { --territory-color: var(--fesr-territory-2); }
.fesr-territory-card-3 { --territory-color: var(--fesr-territory-3); }

.fesr-territory-body {
	flex: 1;
	padding: 25px 24px 22px;
}

.fesr-territory-body h3 {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.25;
}

.fesr-territory-body p {
	margin: 14px 0 0;
	color: var(--fesr-muted);
}

.fesr-territory-image {
	width: 100%;
	aspect-ratio: 335 / 146;
	object-fit: cover;
}

.fesr-territory-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 62px;
	padding: 14px 20px;
}

.fesr-territory-footer > span {
	color: var(--fesr-muted);
	font-size: 0.78rem;
	font-weight: 600;
}

/* Strategic operations */
.fesr-ois-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}

.fesr-ois-card {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr);
	min-height: 240px;
	overflow: hidden;
	color: var(--fesr-white);
	background: var(--fesr-ois-bg);
}

.fesr-ois-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 28px;
}

.fesr-ois-icon {
	width: 58px;
	height: 58px;
	object-fit: contain;
}

.fesr-ois-card h3 {
	margin: 20px 0 16px;
	color: var(--fesr-white);
	font-size: 1.35rem;
	line-height: 1.2;
}

.fesr-ois-card a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--fesr-white);
	font-weight: 600;
}

.fesr-ois-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Territorial strategies */
.fesr-strategies {
	padding-bottom: 0;
}

.fesr-strategies-link {
	display: block;
	overflow: hidden;
}

.fesr-strategies-image {
	width: 100%;
	height: auto;
}

.fesr-strategies-link:hover .fesr-strategies-image {
	filter: brightness(1.08);
}

@media (max-width: 991.98px) {
	.fesr-carousel-track {
		grid-auto-columns: calc((100% - 24px) / 2);
	}

	.fesr-progress-grid {
		grid-template-columns: 1fr minmax(240px, 300px) 1fr;
		gap: 32px 28px;
	}

	.fesr-progress-stat small {
		font-size: 1.05rem;
	}

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

	.fesr-calls-grid,
	.fesr-territory-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.fesr-container {
		width: min(calc(100% - 32px), 680px);
	}

	.fesr-section {
		padding: 52px 0;
	}

	.fesr-section-heading {
		align-items: flex-start;
		margin-bottom: 28px;
	}

	.fesr-hero {
		min-height: 500px;
	}

	.fesr-hero-content {
		padding-block: 56px;
	}

	.fesr-hero h1 {
		font-size: clamp(2.1rem, 10vw, 3.2rem);
	}

	.fesr-hero-actions {
		width: 100%;
	}

	.fesr-button {
		flex: 1 1 210px;
	}

	.fesr-carousel-track {
		grid-auto-columns: 100%;
	}

	.fesr-progress-label {
		margin-bottom: 30px;
	}

	.fesr-progress-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas:
			"total total"
			"stat1 stat3"
			"stat2 stat4";
		gap: 34px 24px;
	}

	.fesr-progress-total {
		width: min(290px, 82vw);
	}

	.fesr-progress-stat-3,
	.fesr-progress-stat-4 {
		text-align: right;
	}

	.fesr-progress-stat strong {
		font-size: clamp(2.5rem, 12vw, 4rem);
	}

	.fesr-calls-grid,
	.fesr-priorities-grid,
	.fesr-territory-grid,
	.fesr-ois-grid,
	.fesr-video-grid {
		grid-template-columns: 1fr;
	}

	.fesr-video-grid {
		grid-template-rows: auto;
	}

	.fesr-video-item-1 {
		grid-row: auto;
	}

	.fesr-priority-card {
		min-height: 145px;
	}

	.fesr-ois-card {
		min-height: 220px;
	}
}

@media (max-width: 479.98px) {
	.fesr-section-heading {
		flex-direction: column;
		gap: 12px;
	}

	.fesr-hero-actions {
		flex-direction: column;
	}

	.fesr-button {
		width: 100%;
		flex-basis: auto;
	}

	.fesr-progress-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"total"
			"stat1"
			"stat2"
			"stat3"
			"stat4";
	}

	.fesr-progress-stat,
	.fesr-progress-stat-3,
	.fesr-progress-stat-4 {
		align-items: center;
		text-align: center;
	}

	.fesr-priority-card {
		grid-template-columns: 88px minmax(0, 1fr);
	}

	.fesr-priority-content {
		padding: 18px 16px 13px;
	}

	.fesr-ois-card {
		grid-template-columns: minmax(0, 1.25fr) minmax(115px, 0.75fr);
	}

	.fesr-ois-content {
		padding: 22px 18px;
	}

	.fesr-territory-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

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

	.fesr-hero-video {
		display: none;
	}
}
