.photo-gallery {
	--gallery-height: clamp(360px, 40vw, 660px);
	--gallery-accent: #73cff0;
	position: relative;
	width: 100%;
	overflow: hidden;
}

.photo-gallery__swiper {
	width: 100%;
	height: var(--gallery-height);
	overflow: visible;
}

.photo-gallery__slide {
	position: relative;
	height: 100%;
	overflow: hidden;
	background: #eef3f5;
}

.photo-gallery__slide::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(255, 255, 255, .58);
	content: "";
	pointer-events: none;
	transition: opacity .35s ease;
}

.photo-gallery__slide.swiper-slide-active::after {
	opacity: 0;
}

.photo-gallery__link {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.photo-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
}

.photo-gallery__button {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: grid;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	place-items: center;
	transform: translateY(-50%);
	transition: background-color .2s ease, opacity .2s ease;
}

.photo-gallery__button:hover,
.photo-gallery__button:focus-visible {
	background: rgba(255, 255, 255, .18);
	outline: none;
}

.photo-gallery__button.swiper-button-disabled {
	opacity: .35;
	cursor: default;
}

.photo-gallery__button svg {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.photo-gallery__button--prev {
	left: 24px;
}

.photo-gallery__button--next {
	right: 24px;
}

.photo-gallery__more {
	margin-top: 18px;
	text-align: right;
}

.photo-gallery__more a {
	color: inherit;
	text-decoration: none;
}

.photo-gallery__more a:hover {
	color: var(--gallery-accent);
}

@media (max-width: 767px) {
	.photo-gallery {
		--gallery-height: clamp(280px, 72vw, 460px);
	}

	.photo-gallery__button {
		width: 46px;
		height: 46px;
	}

	.photo-gallery__button svg {
		width: 26px;
		height: 26px;
	}

	.photo-gallery__button--prev {
		left: 14px;
	}

	.photo-gallery__button--next {
		right: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.photo-gallery__slide::after,
	.photo-gallery__button {
		transition: none;
	}
}
