/* =========================================================================
   RH Featured Properties Carousel — v4.7
   Fully self-scoped under .rh-featured so no theme CSS (and none of your
   Custom CSS) can reach in, and it can't leak out either.
   Responsive: 4 cards desktop / 3 small desktop / 2 tablet / 1 mobile.
   ========================================================================= */

.rh-featured,
.rh-featured * {
	box-sizing: border-box !important;
}

.rh-featured {
	--rh-brand: #E46400;
	--rh-brand-dark: #C85700;
	--rh-ink: #111111;
	--rh-muted: #6B7280;
	--rh-line: #ECECEC;
	--rh-gap: 22px;
	--rh-per: 4;

	position: relative !important;
	display: block !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 6px 0 10px !important;
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

.rh-featured-viewport {
	overflow: hidden !important;
	width: 100% !important;
	padding: 8px 4px 14px !important;
}

.rh-featured-track {
	display: flex !important;
	align-items: stretch !important;
	gap: var(--rh-gap) !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	transition: transform .45s cubic-bezier(.22, .61, .36, 1) !important;
	will-change: transform;
}

.rh-featured-slide {
	flex: 0 0 calc((100% - (var(--rh-per) - 1) * var(--rh-gap)) / var(--rh-per)) !important;
	max-width: calc((100% - (var(--rh-per) - 1) * var(--rh-gap)) / var(--rh-per)) !important;
	display: flex !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* ------------------------------- Card ---------------------------------- */

.rh-featured .rh-fc {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	background: #fff !important;
	border: 1px solid #EFEFF1 !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06) !important;
}

.rh-featured .rh-fc:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 16px 34px rgba(0, 0, 0, .14) !important;
	border-color: #E9E1DA !important;
}

.rh-featured .rh-fc-media {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	aspect-ratio: 16 / 10 !important;
	overflow: hidden !important;
	background: #F4F4F5 !important;
	line-height: 0 !important;
}

.rh-featured .rh-fc-media img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	border-radius: 0 !important;
	transition: transform .5s ease !important;
}

.rh-featured .rh-fc:hover .rh-fc-media img {
	transform: scale(1.06) !important;
}

.rh-featured .rh-fc-noimg {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	font-size: .8rem !important;
	color: #9CA3AF !important;
	line-height: 1.4 !important;
}

.rh-featured .rh-fc-badge {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	padding: 6px 12px !important;
	border-radius: 999px !important;
	background: var(--rh-brand) !important;
	color: #fff !important;
	font-size: .68rem !important;
	font-weight: 700 !important;
	letter-spacing: .02em !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
	box-shadow: 0 4px 12px rgba(228, 100, 0, .35) !important;
}

.rh-featured .rh-fc-body {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	padding: 18px 18px 16px !important;
	text-align: left !important;
}

.rh-featured .rh-fc-price {
	margin: 0 0 4px !important;
	font-size: 1.32rem !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	color: var(--rh-brand) !important;
}

.rh-featured .rh-fc-qual {
	display: inline !important;
	margin-left: 6px !important;
	font-size: .72rem !important;
	font-weight: 600 !important;
	color: var(--rh-muted) !important;
}

.rh-featured .rh-fc-title {
	margin: 0 0 4px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	color: var(--rh-ink) !important;
	display: -webkit-box !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden !important;
}

.rh-featured .rh-fc-title a {
	color: inherit !important;
	text-decoration: none !important;
	transition: color .15s ease !important;
}

.rh-featured .rh-fc-title a:hover {
	color: var(--rh-brand) !important;
}

.rh-featured .rh-fc-loc {
	margin: 0 0 12px !important;
	font-size: .8rem !important;
	line-height: 1.45 !important;
	color: var(--rh-muted) !important;
	display: -webkit-box !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden !important;
}

.rh-featured .rh-fc-rooms {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
	list-style: none !important;
}

.rh-featured .rh-fc-rooms li {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	margin: 0 !important;
	padding: 6px 10px !important;
	background: #FAFAFB !important;
	border: 1px solid var(--rh-line) !important;
	border-radius: 9px !important;
	font-size: .72rem !important;
	color: var(--rh-muted) !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}

.rh-featured .rh-fc-rooms li strong {
	color: var(--rh-ink) !important;
	font-weight: 700 !important;
}

.rh-featured .rh-fc-rooms svg {
	width: 14px !important;
	height: 14px !important;
	flex: 0 0 14px !important;
	color: var(--rh-brand) !important;
}

.rh-featured .rh-fc-foot {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	margin-top: auto !important;
	padding-top: 14px !important;
	border-top: 1px solid var(--rh-line) !important;
}

.rh-featured .rh-fc-type {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	min-width: 0 !important;
	font-size: .74rem !important;
	font-weight: 600 !important;
	color: var(--rh-muted) !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.rh-featured .rh-fc-type svg {
	width: 14px !important;
	height: 14px !important;
	flex: 0 0 14px !important;
	color: var(--rh-brand) !important;
}

.rh-featured .rh-fc-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	flex: 0 0 auto !important;
	padding: 10px 16px !important;
	border-radius: 10px !important;
	background: var(--rh-brand) !important;
	background-image: none !important;
	color: #fff !important;
	font-size: .78rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: background-color .18s ease, transform .18s ease !important;
}

.rh-featured .rh-fc-btn:hover,
.rh-featured .rh-fc-btn:focus {
	background: var(--rh-brand-dark) !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
}

.rh-featured .rh-fc-btn svg {
	width: 13px !important;
	height: 13px !important;
	transition: transform .18s ease !important;
}

.rh-featured .rh-fc-btn:hover svg {
	transform: translateX(3px) !important;
}

/* ------------------------------ Controls -------------------------------- */

.rh-featured-nav {
	position: absolute !important;
	top: 38% !important;
	z-index: 4 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	padding: 0 !important;
	border: 1px solid #E7E8EC !important;
	border-radius: 50% !important;
	background: #fff !important;
	background-image: none !important;
	color: var(--rh-ink) !important;
	cursor: pointer !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12) !important;
	transition: background-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease !important;
}

.rh-featured-nav:hover {
	background: var(--rh-brand) !important;
	border-color: var(--rh-brand) !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
}

.rh-featured-nav svg {
	width: 18px !important;
	height: 18px !important;
}

.rh-featured-prev { left: -18px !important; }
.rh-featured-next { right: -18px !important; }

.rh-featured-nav[disabled] {
	opacity: .35 !important;
	pointer-events: none !important;
}

.rh-featured.is-static .rh-featured-nav,
.rh-featured.is-static .rh-featured-dots {
	display: none !important;
}

.rh-featured-dots {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	margin-top: 6px !important;
}

.rh-featured-dots button {
	width: 8px !important;
	height: 8px !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: #D8D9DE !important;
	background-image: none !important;
	cursor: pointer !important;
	transition: width .2s ease, background-color .2s ease !important;
}

.rh-featured-dots button.is-active {
	width: 22px !important;
	border-radius: 999px !important;
	background: var(--rh-brand) !important;
}

/* ----------------------------- Breakpoints ------------------------------ */

@media (max-width: 1200px) {
	.rh-featured { --rh-per: 3; }
}

@media (max-width: 900px) {
	.rh-featured { --rh-per: 2; --rh-gap: 18px; }
	.rh-featured-prev { left: 2px !important; }
	.rh-featured-next { right: 2px !important; }
}

@media (max-width: 600px) {
	.rh-featured { --rh-per: 1; --rh-gap: 14px; }
	.rh-featured .rh-fc-foot { flex-direction: column !important; align-items: stretch !important; }
	.rh-featured .rh-fc-btn { justify-content: center !important; }
}

@media (prefers-reduced-motion: reduce) {
	.rh-featured-track,
	.rh-featured .rh-fc,
	.rh-featured .rh-fc-media img { transition: none !important; }
}

/* ==========================================================================
   v4.8 — summary text + drag affordance
   ========================================================================== */
.rh-featured .rh-fc-summary {
	margin: 8px 0 0 !important;
	font-size: 13.5px !important;
	line-height: 1.55 !important;
	color: #6b7787 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3 !important;
	line-clamp: 3 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	min-height: 42px !important;
}

.rh-featured .rh-fc-loc {
	margin: 4px 0 0 !important;
	font-size: 13px !important;
	color: #8b97a6 !important;
}

.rh-featured .rh-featured-track {
	cursor: grab !important;
	touch-action: pan-y !important;
}

.rh-featured.is-dragging .rh-featured-track {
	cursor: grabbing !important;
	user-select: none !important;
}

.rh-featured.is-dragging .rh-fc,
.rh-featured.is-dragging .rh-fc * {
	pointer-events: none !important;
}

.rh-featured .rh-fc {
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
}

.rh-featured .rh-fc-body {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
}

.rh-featured .rh-fc-foot {
	margin-top: auto !important;
}


/* Spacing tweak (v4.9) ---------------------------------------------------- */
.rh-featured .rh-fc-summary {
	margin-bottom: 10px !important;
}
