.gallery-slider-gutenberg-block {
	width: 100vw;
	display: flex;
	flex-direction: column;
	gap: 5rem;
	margin-left: calc((100vw - 100%) * -0.5);
	padding: 81px 0;
	background: #ebe4e9;
	container: gallery-slider/inline-size;
}

.gallery-slider-gutenberg-block .container {
	width: var(--container-width);
	margin: 0 auto;
}
.gallery-slider-gutenberg-block .title {
	font-size: 2.25rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.111;
}

.gallery-slider-gutenberg-block .swiper {
	width: 100%;
	/* padding-bottom: 7.5rem; */
}
.gallery-slider-gutenberg-block .swiper .navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
	margin-top: 60px;
}

.gallery-slider-gutenberg-block .swiper .navigation .swiper-button::after {
	display: none;
}

.gallery-slider-gutenberg-block .picture {
	aspect-ratio: 930/540;
}

.fancybox__container {
	/* --fancybox-bg: rgba(41, 58, 70, 0.8) !important; */
	--fancybox-bg: rgb(181, 145, 162, 0.8) !important;
}
.fancybox__content {
	/* aspect-ratio: 1440/836; */
	aspect-ratio: 1170/660;
	width: min(1170px, 90%) !important;
	height: auto !important;
}
.fancybox__nav {
	width: min(1170px, 90%) !important;
	margin: 0 auto;
}
.fancybox__content > .f-button.is-close-btn {
	--f-button-svg-width: 40px !important;
	--f-button-svg-height: 40px !important;
	--f-button-height: 40px !important;
	--f-button-width: 40px !important;
	--f-button-color: #fff !important;
	--f-button-hover-color: #828282 !important;
	top: -50px !important;
	right: -50px !important;
}
.fancybox__content .fancybox-image {
	object-fit: cover;
}
.fancybox__nav {
	--f-button-next-pos: calc(((100% - min(1170px, 90%)) / 2) - 82px) !important;
	--f-button-prev-pos: calc(((100% - min(1170px, 90%)) / 2) - 82px) !important;
}
.fancybox__toolbar.is-absolute {
	top: initial !important;
	bottom: 0;
	font-family: "Montserrat", sans-serif;
}

@media (max-width: 1279px) {
	.fancybox__content > .f-button.is-close-btn {
		right: 0 !important;
		background: transparent;
	}
	.fancybox__nav {
		--f-button-next-pos: calc(((100% - min(1170px, 90%)) / 2)) !important;
		--f-button-prev-pos: calc(((100% - min(1170px, 90%)) / 2)) !important;
	}
	.fancybox__toolbar.is-absolute {
		bottom: 2rem;
	}
}
@media (max-width: 767px) {
	.fancybox__content > .f-button.is-close-btn {
		top: -50px !important;
	}
}

@container gallery-slider (max-width: 767px) {
	.gallery-slider-gutenberg-block .swiper .navigation {
		margin-top: 24px;
	}
}
