
/* BEGIN: HomePage */
.home-page--title {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1em;
	font-weight: bold;
	font-size: 2em;
	gap: 1em;
	text-transform: uppercase;
	&:before,
	&:after {
		content: "";
		flex: 1;
		height: 1px;
		background: var(--color-gray-74);
	}
}

.home-page--content {
	max-width: 44em;
	text-align: center;
	margin: 0 auto 2em auto;
}

.home-page--bottom-content {
	margin-top: 1em;
	text-align: center;
}

.home-page--content a {
	font-weight: 600;
	margin: 0;
	text-decoration: none
}

/* END: HomePage */

/* BEGIN: home-page-grid-layout */
.home-grid-layout {
	list-style: none;
	padding: 0;
	margin: 0 0 12px 0;
}

.home-grid-layout--item {
	box-shadow: 0 0 0.5em 0 rgba(0,0,0,0.6);
}

.home-grid-layout--trigger {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: inherit;
	overflow: hidden;
	aspect-ratio: 5 / 3;
}

.home-grid-layout--image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 900ms ease;
}

.home-grid-layout--caption {
	position: absolute;
	display: flex;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.2);
	transition: 0.6s;
}

.home-grid-layout--title,
.home-grid-layout--subtitle {
	color: var(--color-white);
	font-weight: normal;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}
.home-grid-layout--trigger:hover .home-grid-layout--image {
	transform: scale(1.2);
}

.home-grid-layout--title {
	position: relative;
	color: var(--color-white);
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	font-size: 1.4em;
	letter-spacing: 0.2ch;
	padding: 0.5em 0;
}

.home-grid-layout--title:before,
.home-grid-layout--title:after {
	position: absolute;
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-white);
	transform: scaleX(0);
	transition: 300ms ease;
}

.home-grid-layout--title:before {
	top: 0;
	transform-origin: 0%;
}

.home-grid-layout--title:after {
	bottom: 0;
	transform-origin: 100%;
}

.home-grid-layout--trigger:hover .home-grid-layout--title:before,
.home-grid-layout--trigger:hover .home-grid-layout--title:after {
	transform: scaleX(1);
}

.home-grid-layout--hero {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 12px;
}

.home-grid-layout--hero > li:first-child {
	grid-row: span 2;
}

.home-grid-layout--hero .home-grid-layout--trigger {
	aspect-ratio: auto;
	height: 100%;
}

.home-grid-layout--hero > li {
	display: flex;
}

.home-grid-layout--hero > li > a {
	flex: 1;
}

.home-grid-layout--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

@media (max-width: 992px) {
	.home-grid-layout--hero {
		grid-template-columns: 1fr 1fr;
	}

	.home-grid-layout--hero > li:first-child {
		grid-row: auto;
	}
}
@media (max-width: 600px) {
	.home-grid-layout--hero,
	.home-grid-layout--split,
	.home-grid-layout--grid {
		grid-template-columns: 1fr;
	}
	.home-page--title {
		text-align: center;
		font-size: 1.8em;
	}
}
/* END: home-grid-layout */

/* Slideshow start */

.slideshow {
	position: relative;
	overflow: hidden;
	max-width: 2080px;
	margin: 0 auto;
	width: 100%;
	background-color: var(--color-white-gray);
}

.slideshow::before {
	content: "";
	display: block;
	max-width: 880px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}

.slideshow__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	opacity: 0;
	transition: opacity 600ms ease;
}

.slideshow__slide--active,
.ht-main-slideshow--image-wrapper__visible {
	opacity: 1;
	z-index: 2;
}

.slideshow__media {
	position: absolute;
	inset: 0;
}

.slideshow__image,
.slideshow__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.slideshow__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: center;
}

.slideshow__overlay-image {
	max-width: 880px;
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

.slideshow__nav {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	cursor: pointer;
	z-index: 5;
	background: none;
	border: 0;
	padding: 0;
}

.slideshow__nav--prev {
	left: 0.5rem;
}

.slideshow__nav--next {
	right: 0.5rem;
}
/* slideshow end */