.gp-home-slideshow {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	aspect-ratio: 21 / 9;
	min-height: min(32vw, 320px);
	overflow: hidden;
}

.gp-home-slideshow::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(to top, rgba(10, 13, 18, 0.62) 0%, transparent 48%);
}

.gp-home-slideshow__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.gp-home-slideshow__img.is-on {
	opacity: 1;
	z-index: 1;
}

.gp-home-slideshow__dots {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}

.gp-home-slideshow__dots span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(248, 251, 255, 0.38);
	transition: transform 0.35s ease, background 0.35s ease;
}

.gp-home-slideshow__dots span.is-active {
	background: var(--gp-gold, #ffd36a);
	transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
	.gp-home-slideshow__img {
		transition: none;
		opacity: 0;
	}

	.gp-home-slideshow__img:first-child {
		opacity: 1;
		z-index: 1;
	}

	.gp-home-slideshow__dots span {
		transition: none;
	}

	.gp-home-hero__slide {
		animation: none;
		opacity: 0;
	}

	.gp-home-hero__slide:first-child {
		opacity: 1;
	}
}

.gp-home-hero.grid-container {
	padding-top: 34px;
	padding-bottom: 34px;
	color: var(--gp-text-heading);
}

.gp-home-slideshow + .gp-home-hero.grid-container {
	padding-top: 24px;
	border-top: 1px solid rgba(248, 251, 255, 0.08);
}

.gp-home-hero.grid-container:not(.gp-home-hero--solo) {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 36px;
	align-items: start;
}

.gp-home-hero--solo {
	display: block;
}

.gp-home-hero__content {
	max-width: 36em;
}

.gp-home-hero--solo .gp-home-hero__content {
	max-width: none;
}

.gp-home-hero__h1-line {
	display: block;
}

.gp-home-hero__content h1 {
	font-size: clamp(40px, 3.2vw, 48px);
	line-height: 1.12;
	margin: 0 0 16px;
}

.gp-home-hero--solo .gp-home-hero__content h1 {
	font-size: 56px;
	line-height: 1.08;
}

.gp-home-hero__content p {
	margin: 0 0 18px;
	color: var(--gp-text-muted);
	font-size: 17px;
	line-height: 1.5;
}

.gp-home-hero__content ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-home-hero__content li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 12px;
}

.gp-home-hero__content li:last-child {
	margin-bottom: 0;
}

.gp-home-hero__content li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #f6c35c;
	font-weight: 700;
}

.gp-home-hero__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 2px;
}

.gp-home-hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	animation: gp-home-hero-fade 10s infinite;
}

.gp-home-hero__slide--2 {
	animation-delay: 5s;
}

@keyframes gp-home-hero-fade {
	0%,
	45% {
		opacity: 1;
	}

	50%,
	95% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@media (max-width: 1024px) {
	.gp-home-hero.grid-container:not(.gp-home-hero--solo) {
		display: block;
	}

	.gp-home-hero__content {
		max-width: none;
	}

	.gp-home-hero__content h1 {
		font-size: clamp(34px, 4vw, 40px);
	}

	.gp-home-hero--solo .gp-home-hero__content h1 {
		font-size: 38px;
	}

	.gp-home-hero__media {
		margin-top: 20px;
	}
}

@media (max-width: 767px) {
	.gp-home-slideshow {
		aspect-ratio: 16 / 10;
		min-height: min(52vw, 240px);
	}

	.gp-home-slideshow__img {
		object-position: 12% top;
	}

	.gp-home-slideshow__dots {
		bottom: 10px;
	}

	.gp-home-hero.grid-container {
		padding: 20px 16px;
	}

	.gp-home-slideshow + .gp-home-hero.grid-container {
		padding-top: 16px;
	}

	.gp-home-hero__content h1 {
		font-size: 28px;
		line-height: 1.15;
		margin-bottom: 14px;
	}

	.gp-home-hero__content p {
		font-size: 15px;
		line-height: 1.45;
		margin-bottom: 14px;
	}

	.gp-home-hero__content li {
		font-size: 15px;
		line-height: 1.45;
		margin-bottom: 10px;
	}

	.gp-home-hero__media {
		margin-top: 16px;
	}

	.gp-home-hero__slide {
		animation: none;
		opacity: 1;
	}

	.gp-home-hero__slide--2 {
		display: none;
	}
}
