.section-gallery-slider-wrapper {
	display:flex;
	width: 100%;
	overflow: hidden;
	max-width: 100vw;
}

.c-real-estate-main__content-section .section-gallery-slider-wrapper {
	max-width: calc(100vw - 3rem);
}

.section-gallery-slider {
	width: 100%;
	overflow: visible !important;
}

.section-gallery-slider__header {
	display: flex;
	flex-direction: column;
}

.section-gallery-slider__title {
	margin: 0;
	font-size: var(--wp--custom--typography--font-size--gigantic);
}

.section-gallery-slider__description {
	margin-top: 1rem;
	font-size: 1.25rem;
	line-height: 1.6;
}

.section-gallery-slider__description p {
	margin: 0;
}

@media (min-width: 768px) {
	.section-gallery-slider__header {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 2rem;
	}
}

.section-gallery-slider__wrapper {
	position: relative;
	margin-top: 2rem;
}

.section-gallery-slider__controls {
	position: absolute;
	top: -2rem;
	right: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.5rem;
    transform: translateY(-100%);
}

@media (max-width: 768px) {
	.section-gallery-slider__controls {
		top: -1rem;
	}
}

.section-gallery-slider__button {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid var(--wp--preset--color--primary-light);
	background: transparent;
	color: var(--wp--preset--color--primary-light);
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 768px) {
	.section-gallery-slider__button {
		width: 2.5rem;
		height: 2.5rem;
	}
}

.section-gallery-slider__button:hover,
.section-gallery-slider__button:focus-visible {
	background-color: var(--wp--preset--color--primary);
	color: #fff;
	border-color: var(--wp--preset--color--primary);
	outline: none;
}

.section-gallery-slider__button.swiper-button-disabled {
	pointer-events: none;
	cursor: initial;
	opacity: 0.2;
}

.section-gallery-slider__swiper {
	overflow: visible !important;
	width: 100%;
	max-width: 100%;
	padding-inline: 0;
}

.section-gallery-slider__slide {
	height: auto;
	opacity: 0.25;
	transition: opacity 1.5s ease;
}

.section-gallery-slider__slide.swiper-slide-active {
	opacity: 1;
}

.section-gallery-slider__figure {
	position: relative;
	margin: 0;
}

.section-gallery-slider__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	object-position: center;
}

@media (max-width: 767px) {
	.section-gallery-slider__swiper {
		padding-inline: 0;
	}
}
