.gallery-grid-section {
	display: flex;
	flex-flow: column;
	margin: 32px 16px 0;

	@include desktop {
		align-self: center;
		margin: 80px 0 0;
		width: calc(100% - 32px);
		max-width: $width-desktop;
	}
}

.gallery-grid-section__title {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.03em;

	@include desktop {
		font-size: 38px;
	}
}

.gallery-grid-section__desc {
	margin-top: 10px;
	font-size: 14px;
	line-height: 150%;

	@include desktop {
		margin-top: 16px;
		font-size: 16px;
	}
}

.gallery-grid-section__slider {
	margin-top: 16px;

	@include desktop {
		margin-top: 24px;
	}

	.swiper-slider {
		overflow: hidden;
	}

	@include desktop {
		.swiper-wrapper {
			display: grid !important;
			grid-template-columns: 1fr 1fr 1fr 1fr;
			grid-template-rows: repeat(4, auto);
			gap: 20px;
			grid-template-areas:
				'i1 i1 i2 i2'
				'i1 i1 i2 i2'
				'i1 i1 i3 i4'
				'i1 i1 i3 i4';
			width: 100% !important;
			height: 529px !important;
		}
	}
}

.gallery-grid-section__slide {
	height: 100%;
	border-radius: 20px;
	overflow: hidden;

	@include mobile {
		width: 100%;
		aspect-ratio: 82 / 65;
	}

	@include desktop {
		width: auto !important;
		height: 100% !important;
		margin: unset !important;

		&:nth-child(1) {
			grid-area: i1;
		}
		&:nth-child(2) {
			grid-area: i2;
		}
		&:nth-child(3) {
			grid-area: i3;
		}
		&:nth-child(4) {
			grid-area: i4;
		}
	}

	img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		pointer-events: none;
	}
}
