/* @group Gallery
------------------------------------ */
.gallery {
	position: relative;
	isolation: isolate;
	padding: 8rem 0 6.1rem;
	color: var(--white);
}
.gallery h2,
.gallery h3,
.gallery p {
	margin: 0 0 2rem;
}
.gallery h3 {
	border-color: var(--beige);
	color: var(--beige);
}
.gallery .col-content {
	margin: 0 0 4rem 0;
}
.gallery .outer-image {
	padding: 0 3rem;
}
.gallery .outer-image figure {
	height: 37rem;
}
.gallery .outer-image figure:not(:last-child) {
	margin: 0 0 1.9rem 0;
}
.gallery .col-figure figure {
	width: calc(100% - 3.5rem);
	overflow: visible;
	height: 40rem;
}
.gallery .col-figure figure::before {
	content: '';
	pointer-events: none;
	position: absolute;
	top: 3.7rem;
	left: 2.5rem;
	width: 100%;
	height: 38.5rem;
	background-image: url(../../img/layout/frontpage/update/bg-gallery.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: -1;
}
@media only screen and (min-width: 961px) {
	.gallery {
		padding: 0;
	}
	.gallery .row {
		height: 100%;
	}
	.gallery .outer-image {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		pointer-events: none;
		z-index: -1;
	}
	.gallery .col-content {
		padding-top: 31.8vh;
		margin-inline: 30.5vh 4.5vh;
		width: 51vh;
	}
	.gallery .col-figure {
		margin: 6.26vh 1.5vh 0 0;
		width: 74.7vh;
	}
    .gallery h2 {
        line-height: 1em;
    }
	.gallery .col-figure figure {
		width: 100%;
		height: 83.16vh;
	}
	.gallery .col-figure figure::before {
		width: 73.4vh;
		height: 81.2vh;
		top: 6.3vh;
		right: -4.47vh;
        left: unset;
	}
	.gallery .outer-image figure {
		position: absolute;
	}
	.gallery figure.outer-image--top-left {
		width: 30.8vh;
		height: 30.8vh;
		top: 0;
		left: 24.8vh;
	}
	.gallery figure.outer-image--bottom-left {
		width: 41.6vh;
		height: 41.6vh;
		top: 44.4vh;
		left: 12.3vh;
	}
	.gallery figure.outer-image--top-right {
		width: 37.6vh;
		height: 37.6vh;
		top: 0;
		left: 118.8vh;
	}
	.gallery figure.outer-image--bottom-right {
		width: 30.8vh;
		height: 30.8vh;
		top: 54.2vh;
		left: 132vh;
	}
	.gallery figure.outer-image--center {
		width: 39.8vh;
		height: 26.4vh;
		bottom: 0;
		left: 74.3vh;
	}
	.gallery .col-content .box {
		padding: 0 0 0 6vh;
	}
}
@media only screen and (min-width: 961px) and (max-width: 1440px) {
}
@media only screen and (min-width: 0) and (max-width: 960px) {
	.gallery .col-content,
	.gallery .col-figure {
		flex: 0 1 100%;
		max-width: 100%;
	}
    .gallery .col-figure figure {
        width: 100%;
        height: 37rem;
    }
    .gallery .col-figure figure::before {
        display: none;
    }
    .gallery .col-figure.second {
        margin-top: 2rem;
    }
}

/* @end */

/* Animations */
.gallery .col-content h2,
.gallery .col-content h3,
.gallery .col-content p,
.gallery .col-content .bttn,
.gallery .col-figure figure,
.gallery .col-figure figure::before{
	opacity: 0;
}
.gallery .col-content.animateActive h2,
.gallery .col-content.animateActive h3,
.gallery .col-content.animateActive p,
.gallery .col-content.animateActive .bttn,
.gallery .col-figure.animateActive figure,
.gallery .col-figure.animateActive figure::before {
	animation: fade var(--fade-animation) forwards;
}

.gallery .col-content.animateActive h2 {
	animation-delay: 0.3s;
}
.gallery .col-content.animateActive h3 {
	animation-delay: 0.5s;
}
.gallery .col-content.animateActive p {
	animation-delay: 0.7s;
}
.gallery .col-content.animateActive .bttn {
	animation-delay: 0.9s;
}
.gallery .col-figure.animateActive figure {
	animation-delay: 0.5s;
}
.gallery .col-figure.animateActive figure::before {
	animation-delay: 0.6s;
}