/* --- Renturia property lightbox --- */
.rlb-open { overflow: hidden; }

.rlb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(12, 14, 16, 0.93);
	padding: clamp(12px, 4vw, 48px);
}
.rlb.is-open { display: flex; }

.rlb__stage {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.rlb__img {
	max-width: 100%;
	max-height: calc(100vh - 110px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
	user-select: none;
}

.rlb__close,
.rlb__nav {
	position: absolute;
	background: rgba(255, 255, 255, .10);
	color: #fff;
	border: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: background .15s ease;
}
.rlb__close:hover,
.rlb__nav:hover { background: rgba(255, 255, 255, .25); }
.rlb__close:focus-visible,
.rlb__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.rlb__close {
	top: clamp(10px, 2vw, 22px);
	right: clamp(10px, 2vw, 22px);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 28px;
}

.rlb__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	font-size: 34px;
}
.rlb__prev { left: clamp(8px, 2vw, 24px); }
.rlb__next { right: clamp(8px, 2vw, 24px); }
.rlb__nav[hidden] { display: none; }

.rlb__counter {
	position: absolute;
	bottom: clamp(10px, 2vw, 22px);
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
	letter-spacing: .04em;
	background: rgba(0, 0, 0, .35);
	padding: 4px 12px;
	border-radius: 999px;
}

@media (max-width: 600px) {
	.rlb__nav { width: 42px; height: 42px; font-size: 28px; }
}

/* --- Gallery trigger affordances --- */
.property-gallery__main .property-gallery__link,
.property-gallery__thumbs .property-gallery__link {
	display: block;
	position: relative;
	height: 100%;
	cursor: zoom-in;
	overflow: hidden;
}
.property-gallery__main .property-gallery__link img,
.property-gallery__thumbs .property-gallery__link img {
	transition: transform .35s ease;
}
.property-gallery__main .property-gallery__link:hover img,
.property-gallery__thumbs .property-gallery__link:hover img {
	transform: scale(1.04);
}
.property-gallery__link:focus-visible {
	outline: 3px solid var(--orange, #e2725b);
	outline-offset: -3px;
}
.property-gallery__more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(12, 14, 16, .55);
	color: #fff;
	font-size: clamp(20px, 4vw, 30px);
	font-weight: 700;
	letter-spacing: .02em;
	pointer-events: none;
}
.property-gallery__hidden { display: none; }