#header:not(.is-sticky):not(.is-open) {
	z-index: 3;
	position: relative;
}

.home #header:not(.is-sticky):not(.is-open) {
	background: #121A37;
	background: linear-gradient(180deg, rgba(18, 26, 55, 1) 0%, rgba(18, 26, 55, 0) 100%);
}

.home #header:not(.is-sticky) [class*="border"] { border: none; }

main {
	position: relative;
	z-index: 2;
}

.home .page-header { display: none!important; }

.blocks .s17-news-carousel {
	padding: 0 20px;
	height: calc(100vh - 80px);
	color: white;
	margin: 0 auto!important;
	max-width: 768px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: center;
}

.blocks .s17-news-carousel .strapline {
	max-width: 50%;
	margin: 0 0 1em;
	width: 25em;
	position: relative;
	z-index: 2;
}

.blocks .s17-news-carousel .strapline svg {
	width: 100%;
	height: auto;
}

.blocks .s17-news-carousel .items {
	position: relative;
	display: grid;
	grid-template-rows: 100%;
	grid-template-columns: 100%;
	margin-top: 4em;
	max-width: 30em;
	z-index: 2;
}

.blocks .s17-news-carousel .items::before {
	content: "Latest news";
	display: block;
	position: absolute;
	bottom: 100%;
	left: 0;
	white-space: nowrap;
}

.blocks .s17-news-carousel .items .item {
	opacity: 0;
	transition: opacity 0.5s, transform 0.5s;
	grid-row: 1;
	grid-column: 1;
	transform: translate3d(-2em, 0, 0);
	pointer-events: none;
}

.blocks .s17-news-carousel[data-index="0"] .items .item:nth-child(1),
.blocks .s17-news-carousel[data-index="1"] .items .item:nth-child(2),
.blocks .s17-news-carousel[data-index="2"] .items .item:nth-child(3),
.blocks .s17-news-carousel[data-index="3"] .items .item:nth-child(4),
.blocks .s17-news-carousel[data-index="4"] .items .item:nth-child(5) {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.blocks .s17-news-carousel[data-index="0"] .items .item:nth-child(n + 2),
.blocks .s17-news-carousel[data-index="1"] .items .item:nth-child(n + 3),
.blocks .s17-news-carousel[data-index="2"] .items .item:nth-child(n + 4),
.blocks .s17-news-carousel[data-index="3"] .items .item:nth-child(n + 5),
.blocks .s17-news-carousel[data-index="4"] .items .item:nth-child(n + 6) {
	transform: translate3d(2em, 0, 0);
}

.blocks .s17-news-carousel .items .item .btn {
	display: table;
	margin: 1em 0 2em;
	background: #FECC00;
	padding: 0.5em 1.5em;
	font-size: 0.8rem;
	font-weight: bold;
	color: rgb(18 26 55 / var(--tw-text-opacity, 1));
}

.blocks .s17-news-carousel .items .item .btn:hover {
	background: #FFDD80;
}

.s17-news-carousel .images {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 1;
	overflow: hidden;
	margin-top: -80px;
}

.s17-news-carousel .images::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(18, 26, 55, 0.75);
	mix-blend-mode: multiply;
	z-index: 2;
}

.s17-news-carousel .images img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transition: opacity 0.5s;
	z-index: 1;
}

.s17-news-carousel[data-index="0"] .images img:nth-child(1),
.s17-news-carousel[data-index="1"] .images img:nth-child(2),
.s17-news-carousel[data-index="2"] .images img:nth-child(3),
.s17-news-carousel[data-index="3"] .images img:nth-child(4),
.s17-news-carousel[data-index="4"] .images img:nth-child(5) {
	opacity: 1;
	z-index: 2;
}

.blocks .s17-news-carousel .nav {
	white-space: nowrap;
	font-size: 0.8rem;
	cursor: default;
	position: relative;
	z-index: 2;
}

.blocks .s17-news-carousel .nav a {
	display: inline-block;
	width: 11px;
	height: 11px;
	margin: 0 4px 0 0;
	border: 1px solid currentcolor;
	text-decoration: none;
	outline: none;
	background: transparent;
}

.blocks .s17-news-carousel[data-index="0"] .nav a:nth-child(1),
.blocks .s17-news-carousel[data-index="1"] .nav a:nth-child(2),
.blocks .s17-news-carousel[data-index="2"] .nav a:nth-child(3),
.blocks .s17-news-carousel[data-index="3"] .nav a:nth-child(4),
.blocks .s17-news-carousel[data-index="4"] .nav a:nth-child(5) {
	background: currentcolor;
}

@media (max-width: 1023px) {
	body[class*="overflow-hidden"] .blocks .s17-news-carousel { position: relative; overflow: hidden; }
}

@media (min-width: 768px) {
	.blocks .s17-news-carousel {
		padding-left: 30px;
		padding-right: 30px;
		height: calc(100vh - 120px);
	}

	.s17-news-carousel .images {
		margin-top: -120px;
	}
}

@media (min-width: 1024px) {
	.blocks .s17-news-carousel {
		max-width: 1024px;
		height: calc(100vh - 130px);
	}

	.s17-news-carousel .images {
		margin-top: -130px;
	}
}

@media (min-width: 1440px) {
	.blocks .s17-news-carousel {
		max-width: 1440px;
		padding-left: 60px;
		padding-right: 60px;
	}

	.blocks .s17-news-carousel .items {
		max-width: 40em;
	}
}

@media (min-width: 1600px) {
	.blocks .s17-news-carousel {
		max-width: 1600px;
	}
}