.realcestas-home-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #fdfbf7;
	margin-bottom: 38px;
	touch-action: pan-y;
	user-select: none;
}

.realcestas-home-slider__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.realcestas-home-slider__track {
	position: relative;
	width: 100%;
	max-height: 630px;
	aspect-ratio: 1640 / 624;
}

.realcestas-home-slider.is-dragging {
	cursor: grabbing;
}

.realcestas-home-slider__slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 520ms ease;
}

.realcestas-home-slider__slide.is-active {
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
}

.realcestas-home-slider__link,
.realcestas-home-slider picture,
.realcestas-home-slider img {
	display: block;
	width: 100%;
	height: 100%;
}

.realcestas-home-slider__content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	color: #fff;
	font-family: 'Marcellus SC', Georgia, serif;
	pointer-events: none;
}

.realcestas-home-slider__content-inner {
width: 65%;
margin-inline: auto;
margin-top: -15%;
margin-left: 7%;
}

.realcestas-home-slider__content h2 {
margin: 0 0 12px;
color: #978d69;
font-size: 50px;
font-weight: 500;
line-height: 1.1;
}

.realcestas-home-slider__content p {
margin: 0 0 24px;
font-size: 30px;
font-weight: 400;
line-height: 1.45;
color: #978d69;
}

.realcestas-home-slider__button {
display: inline-flex;
align-items: center;
padding: 10px 20px;
border-radius: 8px;
background: #968e67;
color: #fff;
font-weight: 500;
font-family: 'Marcellus SC', Georgia, serif;
text-decoration: none;
pointer-events: auto;
}

.realcestas-home-slider__button:hover,
.realcestas-home-slider__button:focus-visible {
background: #837c59;
color: #fff;
}

.realcestas-home-slider__link {
	-webkit-user-drag: none;
	user-select: none;
}

.realcestas-home-slider img {
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.realcestas-home-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: #0a3d62;
	font-size: 20px;
	cursor: pointer;
	transform: translateY(-50%);
}

.realcestas-home-slider__arrow--previous {
	left: 16px;
}

.realcestas-home-slider__arrow--next {
	right: 16px;
}

.realcestas-home-slider__arrow:hover {
	background: #ffffff;
	color: #f56600;
}

.realcestas-home-slider__arrow:focus-visible {
	outline: 2px solid #0a3d62;
	outline-offset: 3px;
}

.realcestas-home-slider__bullets {
	position: absolute;
	left: 50%;
	bottom: 18px;
	z-index: 5;
	display: flex;
	gap: 7px;
	align-items: center;
	justify-content: center;
	transform: translateX(-50%);
}

.realcestas-home-slider__bullet {
	width: 10px;
	height: 10px;
	padding: 0;
	background: #ffffff;
	border: 1px solid #f56600;
	border-radius: 2px;
	cursor: pointer;
}

.realcestas-home-slider__bullet.is-active {
	background: #f56600;
}

@media (max-width: 900px) {
	.realcestas-home-slider__content { align-items: flex-end; padding-bottom: 28px; }

.realcestas-home-slider__content-inner {
width: 100%;
margin: 265px 30px;
}

.realcestas-home-slider__content h2 {
font-size: 30px;
}
.realcestas-home-slider__content p {
margin-bottom: 14px;
font-size: 18px;
max-width: 300px;
}

.realcestas-home-slider__button{
font-size: 14px;
padding: 7px 18px;
}


	.realcestas-home-slider__track {
		aspect-ratio: 4 / 5;
	}

	.realcestas-home-slider {
		display: grid;
		grid-template-columns: 1fr auto auto auto 1fr;
		align-items: center;
		margin-bottom: 20px;
	}

	.realcestas-home-slider__viewport {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.realcestas-home-slider__arrow {
		position: static;
		grid-row: 2;
		margin: 4px 0;
		background: transparent;
		font-size: 14px;
		transform: none;
	}

	.realcestas-home-slider__arrow--previous {
		grid-column: 2;
	}

	.realcestas-home-slider__arrow--next {
		grid-column: 4;
	}

	.realcestas-home-slider img {
		border-radius: 10px;
	}

	.realcestas-home-slider__bullets {
		position: static;
		grid-column: 3;
		grid-row: 2;
		flex-wrap: wrap;
		gap: 8px;
		transform: none;
	}

	.realcestas-home-slider__bullet {
		width: 12px;
		height: 12px;
		border: 0;
		border-radius: 50%;
		background: #d1d5db;
	}

	.realcestas-home-slider__bullet.is-active {
		background: #f56600;
	}
}

@media (prefers-reduced-motion: reduce) {
	.realcestas-home-slider__slide {
		transition: none;
	}
}
