.gallery-slider-gutenberg-block {
	display: flex;
	flex-direction: column;
	gap: 5rem;
	margin: 6.25rem auto;
	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: space-between;
	width: min(90%, 1410px);
	margin: 50px auto 0;
	padding-top: 24px;
	border-top: 1px solid var(--primary, #414349);
}
.gallery-slider-gutenberg-block .swiper .navigation .swiper-pagination {
	position: static;
	width: initial;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 2.52px;
	text-transform: uppercase;
}
.gallery-slider-gutenberg-block .swiper .navigation .swiper-button {
	position: static;
	margin: 0;
	top: 0;
	left: 0;
	cursor: pointer;
	display: flex;
}
.gallery-slider-gutenberg-block
	.swiper
	.navigation
	.swiper-button:hover
	svg
	path {
	stroke: var(--primary-blue);
}
.gallery-slider-gutenberg-block .swiper .navigation .swiper-button::after {
	display: none;
}

.gallery-slider-gutenberg-block .picture {
	aspect-ratio: 690/400;
}

.fancybox__container {
	--fancybox-bg: rgba(41, 58, 70, 0.8) !important;
}
.fancybox__content {
	aspect-ratio: 1440/836;
	width: min(1440px, 90%) !important;
	height: auto !important;
}
.fancybox__nav {
	width: min(1440px, 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(1440px, 90%)) / 2) - 82px) !important;
	--f-button-prev-pos: calc(((100% - min(1440px, 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(1440px, 90%)) / 2)) !important;
		--f-button-prev-pos: calc(((100% - min(1440px, 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;
	}
}
