/* @group Our amenities
------------------------------------ */
.our-amenities {
	position: relative;
	isolation: isolate;
	color: var(--beige);
}
.our-amenities h2 {
	color: var(--white);
}
.our-amenities h2,
.our-amenities h3,
.our-amenities p {
	margin: 0 0 2rem;
}
.our-amenities h3 {
	border-color: var(--beige);
	color: var(--beige);
}
.our-amenities .col-content {
	margin: 9.6rem 0 4rem;
}
.our-amenities .main-figure {
	position: relative;
}
.our-amenities .main-figure .shape-left,
.our-amenities .main-figure::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 3;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
/* .our-amenities .main-figure::after {
	width: 9.8rem;
	height: 9.8rem;
	background-image: url('../../img/layout/frontpage/our-amenities-shape-right.svg');
	left: auto;
	top: auto;
	right: 0;
	bottom: -1.6rem;
} */
.our-amenities .main-figure figure:not(.outer-under) {
	width: calc(100% - 2.1rem);
	height: 32.4rem;
}
.our-amenities .col-figure .outer-figure {
	position: absolute;
	z-index: -1;
	top: 2.1rem;
	left: 3rem;
	width: calc(100% - 3rem);
	height: 31.9rem;
}

@media only screen and (min-width: 961px) {
	.our-amenities .outer-images {
		position: absolute;
		display: flex;
		align-items: flex-start;
		justify-content: flex-start;
		top: 0;
		left: 21vh;
		z-index: 2;
	}
	.our-amenities h2 {
		max-width: 47vh;
	}
	.our-amenities .outer-images figure:first-child {
		width: 26.9vh;
		height: 35vh;
	}
	.our-amenities .outer-images figure:last-child {
		overflow: visible;
		width: 22.4vh;
		height: 23vh;
		margin: 18.4vh 0 0 32.5vh;
	}
	.our-amenities .outer-images figure:last-child::before {
		content: '';
		width: 8.9vh;
		height: 8.9vh;
		position: absolute;
		top: -8.9vh;
		left: -8.9vh;
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
		background-image: url('../../img/layout/frontpage/square-desktop.svg');
	}
	.our-amenities .col-content {
		margin-top: 20vh;
		margin-left: 26.6vh;
		width: 57vh;
	}
	.our-amenities .col-content .box {
		margin: 0 0 0 11.6vh;
	}
	.our-amenities .col-figure {
		margin-left: 6.4vh;
		width: 129vh;
		margin-top: 8.9vh;
	}
	.our-amenities .col-figure .outer-figure {
		width: 124vh;
		height: 89vh;
		top: 6.2vh;
		right: -4.5vh;
		left: unset;
	}
	.our-amenities .main-figure .shape-left {
		width: 26.8vh;
		height: 26.8vh;
		left: -17.9vh;
		top: 67.6vh;
	}
	/* .our-amenities .main-figure::after {
		width: 17.9vh;
		height: 17.9vh;
		background-image: url('../../img/layout/frontpage/our-amenities-shape-right.svg');
		left: auto;
		right: -15.7vh;
		top: 46.2vh;
		bottom: auto;
	} */
	.our-amenities .main-figure figure:not(.outer-under) {
		width: 100%;
		height: 86vh;
	}
	.our-amenities .main-figure .outer-under {
		position: absolute;
		top: 64.1vh;
		right: -19.96vh;
		width: 40.6vh;
		height: 26.3vh;
		z-index: 2;
	}
}
@media only screen and (min-width: 961px) and (max-width: 1440px) {
}
@media only screen and (min-width: 0) and (max-width: 960px) {
	.our-amenities .main-figure .shape-left {
		display: none;
	}
	.our-amenities .col-figure {
		padding: 0;
	}
	.our-amenities .col-content,
	.our-amenities .col-figure {
		flex: 0 1 100%;
		max-width: 100%;
	}
	.our-amenities .col-content {
		order: -1;
		margin: 8rem 0 4rem;
	}
}

/* @end */

/* @group amenities slider
------------------------------------ */

.amenities-slider {
	position: relative;
}
.amenities-slider .splide__arrows {
	display: flex;
	justify-content: flex-end;
}
.amenities-slider .splide__arrows .splide__arrow {
	position: static;
	transform: none;
}
.amenities-slider .splide__arrows .splide__arrow--prev:not(:hover) {
	background-color: var(--off-white);
	color: var(--rust);
}
.amenities-slider .splide__arrows .splide__arrow--next:hover {
    background-color: var(--off-white);
    color: var(--rust);
}

@media only screen and (min-width: 961px) {
	.amenities-slider .splide__arrows .splide__arrow {
		width: 8.95vh;
		height: 8.95vh;
	}
	.amenities-slider .splide__arrows {
		position: relative;
		right: 0;
		bottom: 9vh;
	}
}
@media only screen and (min-width: 961px) and (max-width: 1440px) {
}
@media only screen and (min-width: 0) and (max-width: 960px) {
	.amenities-slider .splide__slide {
		padding-right: 2rem;
	}
	.amenities-slider .splide__arrows {
		display: flex;
		justify-content: flex-end;
		position: absolute;
		bottom: 0;
		right: 2rem;
	}
}

/* @end */

/* Animations */
.our-amenities .outer-images figure:first-child img,
.our-amenities .outer-images figure:last-child img,
.our-amenities .outer-images figure:last-child::before,
.our-amenities .col-content h2,
.our-amenities .col-content h3,
.our-amenities .col-content p,
.our-amenities .col-content .bttn,
.our-amenities .col-figure .outer-figure,
.our-amenities .col-figure .main-figure figure:not(.outer-under),
.our-amenities .col-figure .main-figure .outer-under,
.our-amenities .col-figure .main-figure .shape-left rect,
.our-amenities .col-figure .main-figure::after {
	opacity: 0;
}

.our-amenities .outer-images.animateActive figure:first-child img,
.our-amenities .outer-images.animateActive figure:last-child img,
.our-amenities .outer-images.animateActive figure:last-child::before,
.our-amenities .col-content.animateActive h2,
.our-amenities .col-content.animateActive h3,
.our-amenities .col-content.animateActive p,
.our-amenities .col-content.animateActive .bttn,
.our-amenities .col-figure.animateActive .outer-figure,
.our-amenities .col-figure.animateActive .main-figure figure:not(.outer-under),
.our-amenities .col-figure.animateActive .main-figure .outer-under,
.our-amenities .col-figure.animateActive .main-figure .shape-left rect,
.our-amenities .col-figure.animateActive .main-figure::after {
	animation: fade var(--fade-animation) forwards;
}

.our-amenities .outer-images.animateActive figure:first-child img {
	animation-delay: 0.3s;
}
.our-amenities .outer-images.animateActive figure:last-child img {
	animation-delay: 0.7s;
}
.our-amenities .outer-images.animateActive figure:last-child::before {
	animation-delay: 0.9s;
}

.our-amenities .col-content h2 {
	animation-delay: 0.5s;
}
.our-amenities .col-content.animateActive h3 {
	animation-delay: 0.7s;
}
.our-amenities .col-content.animateActive p {
	animation-delay: 0.9s;
}
.our-amenities .col-content.animateActive .bttn {
	animation-delay: 1.1s;
}

.our-amenities .col-figure.animateActive .main-figure figure:not(.outer-under) {
	animation-delay: 0.3s;
}
.our-amenities .col-figure.animateActive .main-figure .outer-under {
	animation-delay: 0.5s;
}
.our-amenities .col-figure.animateActive .outer-figure {
	animation-delay: 0.7s;
}
.our-amenities .col-figure.animateActive .main-figure::after {
	animation-delay: 1.1s;
}

.our-amenities .col-figure .main-figure .shape-left rect:nth-child(1) {
	animation-delay: 1s;
}
.our-amenities .col-figure .main-figure .shape-left rect:nth-child(2) {
	animation-delay: 1.3s;
}
.our-amenities .col-figure .main-figure .shape-left rect:nth-child(3) {
	animation-delay: 1.6s;
}
.our-amenities .col-figure .main-figure .shape-left rect:nth-child(4) {
	animation-delay: 1.9s;
}
