/* Home scoped: unified premium cards for featured properties and developments. */

body.home {
	--rc-home-featured-dark: #0B0B0B;
	--rc-home-featured-green: #1A1A1A;
	--rc-home-featured-accent: #D9A84E;
	--rc-home-featured-blue: #F2F2F2;
	--rc-home-featured-text: rgba(11, 11, 11, 0.7);
	--rc-home-featured-muted: #6F6F6F;
	--rc-home-featured-line: rgba(11, 11, 11, 0.1);
}

body.home .rc-featured-properties,
body.home .rc-home-developments {
	background: linear-gradient(180deg, #F2F2F2 0%, #ffffff 100%);
}

body.home .rc-featured-properties .rc-container,
body.home .rc-home-developments .rc-dev-premium__wrap {
	width: min(1240px, calc(100% - 48px));
}

body.home .rc-featured-properties .rc-section-heading,
body.home .rc-home-developments .rc-dev-premium__intro {
	margin: 0 0 clamp(28px, 4vw, 42px);
	max-width: 760px;
}

body.home .rc-featured-properties .rc-eyebrow,
body.home .rc-home-developments .rc-dev-premium__eyebrow {
	background: transparent;
	border: 0;
	color: var(--rc-home-featured-muted);
	display: block;
	font-size: 0.75rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	line-height: 1.25;
	margin: 0 0 12px;
	padding: 0;
	text-transform: uppercase;
}

body.home .rc-featured-properties .rc-section-heading h2,
body.home .rc-home-developments .rc-dev-premium__intro h2 {
	color: var(--rc-home-featured-dark);
	font-size: clamp(2.15rem, 4vw, 3.55rem);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

body.home .rc-home-developments .rc-dev-premium__intro > p {
	color: var(--rc-home-featured-text);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.7;
	margin: 16px 0 0;
	max-width: 720px;
}

body.home .rc-featured-properties .rc-card-grid,
body.home .rc-home-developments .rc-dev-premium__grid {
	align-items: stretch;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home .rc-featured-properties .rc-property-card,
body.home .rc-home-developments .rc-dev-premium__card {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--rc-home-featured-line);
	border-radius: 8px;
	box-shadow: 0 18px 44px rgba(11, 11, 11, 0.08);
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
}

body.home .rc-featured-properties .rc-property-card__media,
body.home .rc-home-developments .rc-dev-premium__image {
	aspect-ratio: 16 / 10;
	background: var(--rc-home-featured-blue);
	display: block;
	height: auto;
	overflow: hidden;
	position: relative;
}

body.home .rc-featured-properties .rc-property-card__media::after,
body.home .rc-home-developments .rc-dev-premium__image::after {
	background: linear-gradient(180deg, rgba(11, 11, 11, 0), rgba(11, 11, 11, 0.14));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

body.home .rc-featured-properties .rc-property-card__media img,
body.home .rc-home-developments .rc-dev-premium__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

body.home .rc-featured-properties .rc-property-card__status,
body.home .rc-home-developments .rc-dev-premium__badge {
	align-items: center;
	background: rgba(217, 168, 78, 0.18);
	border: 1px solid rgba(217, 168, 78, 0.36);
	border-radius: 999px;
	color: var(--rc-home-featured-dark);
	display: inline-flex;
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	line-height: 1;
	min-height: 28px;
	padding: 0 11px;
	text-transform: uppercase;
	width: fit-content;
}

body.home .rc-featured-properties .rc-property-card__status {
	left: 16px;
	position: absolute;
	top: 16px;
	z-index: 2;
}

body.home .rc-featured-properties .rc-property-card__body,
body.home .rc-home-developments .rc-dev-premium__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: 22px 22px 0;
}

body.home .rc-featured-properties .rc-property-card__chips,
body.home .rc-home-developments .rc-dev-premium__card-top {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
	margin: 0;
}

body.home .rc-home-developments .rc-dev-premium__card > .rc-dev-premium__card-top {
	padding: 20px 22px 0;
}

body.home .rc-home-developments .rc-dev-premium__card > .rc-dev-premium__card-top + .rc-dev-premium__content {
	padding-top: 14px;
}

body.home .rc-featured-properties .rc-property-card__chips span,
body.home .rc-home-developments .rc-dev-premium__type {
	background: transparent;
	border: 0;
	color: var(--rc-home-featured-muted);
	display: block;
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	line-height: 1.35;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

body.home .rc-home-developments .rc-dev-premium__number {
	color: rgba(11, 11, 11, 0.24);
	font-size: 1rem;
	font-weight: 850;
	line-height: 1;
	margin-left: auto;
}

body.home .rc-featured-properties .rc-property-card__title,
body.home .rc-home-developments .rc-dev-premium__content h3 {
	color: var(--rc-home-featured-dark);
	font-size: clamp(1.32rem, 2vw, 1.75rem);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0;
}

body.home .rc-featured-properties .rc-property-card__title a {
	color: inherit;
	text-decoration: none;
}

body.home .rc-featured-properties .rc-property-card__location,
body.home .rc-featured-properties .rc-property-card__zone,
body.home .rc-featured-properties .rc-property-card__description,
body.home .rc-home-developments .rc-dev-premium__content p:not(.rc-dev-premium__type) {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--rc-home-featured-text);
	display: block;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.58;
	margin: 0;
	min-width: 0;
	padding: 0;
}

body.home .rc-featured-properties .rc-property-card__zone {
	color: var(--rc-home-featured-green);
	font-weight: 700;
}

body.home .rc-featured-properties .rc-property-card__price {
	color: var(--rc-home-featured-green);
	font-size: 1.3rem;
	font-weight: 850;
	line-height: 1.16;
	margin: 2px 0 0;
}

body.home .rc-featured-properties .rc-property-card__facts,
body.home .rc-home-developments .rc-dev-premium__specs {
	border: 0;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
	margin: 4px 0 0;
	padding: 0;
}

body.home .rc-featured-properties .rc-property-card__facts div,
body.home .rc-home-developments .rc-dev-premium__specs div {
	align-items: flex-start;
	background: rgba(242, 242, 242, 0.58);
	border: 1px solid rgba(11, 11, 11, 0.07);
	border-radius: 8px;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
	min-height: 62px;
	min-width: 0;
	padding: 11px 12px;
	white-space: normal;
}

body.home .rc-featured-properties .rc-property-card__facts span,
body.home .rc-home-developments .rc-dev-premium__specs span {
	color: rgba(11, 11, 11, 0.58);
	display: block;
	font-size: 0.64rem;
	font-weight: 850;
	letter-spacing: 0.05em;
	line-height: 1.15;
	text-transform: uppercase;
}

body.home .rc-featured-properties .rc-property-card__facts strong,
body.home .rc-home-developments .rc-dev-premium__specs strong {
	color: var(--rc-home-featured-dark);
	display: block;
	font-size: 0.84rem;
	font-weight: 800;
	hyphens: auto;
	line-height: 1.25;
	margin: 0;
	overflow-wrap: anywhere;
	text-align: left;
	white-space: normal;
	word-break: normal;
}

body.home .rc-featured-properties .rc-property-card__actions,
body.home .rc-home-developments .rc-dev-premium__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding: 22px;
}

body.home .rc-featured-properties .rc-property-button,
body.home .rc-home-developments .rc-dev-premium__btn {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	flex: 1 1 150px;
	font-size: 0.82rem;
	font-weight: 850;
	justify-content: center;
	line-height: 1;
	min-height: 44px;
	padding: 0 16px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: normal;
}

body.home .rc-featured-properties .rc-property-button--primary,
body.home .rc-home-developments .rc-dev-premium__btn--dark {
	background: var(--rc-home-featured-dark);
	border: 1px solid var(--rc-home-featured-dark);
	color: #ffffff;
}

body.home .rc-featured-properties .rc-property-button--secondary,
body.home .rc-home-developments .rc-dev-premium__btn--line {
	background: rgba(217, 168, 78, 0.14);
	border: 1px solid rgba(217, 168, 78, 0.34);
	color: var(--rc-home-featured-green);
}

@media (max-width: 1120px) {
	body.home .rc-featured-properties .rc-card-grid,
	body.home .rc-home-developments .rc-dev-premium__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	body.home .rc-featured-properties .rc-container,
	body.home .rc-home-developments .rc-dev-premium__wrap {
		width: min(100% - 34px, 560px);
	}

	body.home .rc-featured-properties .rc-card-grid,
	body.home .rc-home-developments .rc-dev-premium__grid,
	body.home .rc-featured-properties .rc-property-card__facts,
	body.home .rc-home-developments .rc-dev-premium__specs {
		grid-template-columns: 1fr;
	}

	body.home .rc-featured-properties .rc-property-card__body,
	body.home .rc-home-developments .rc-dev-premium__content {
		padding: 20px 20px 0;
	}

	body.home .rc-home-developments .rc-dev-premium__card > .rc-dev-premium__card-top {
		padding: 20px 20px 0;
	}

	body.home .rc-featured-properties .rc-property-card__actions,
	body.home .rc-home-developments .rc-dev-premium__actions {
		flex-direction: column;
		padding: 20px;
	}

	body.home .rc-featured-properties .rc-property-button,
	body.home .rc-home-developments .rc-dev-premium__btn {
		flex-basis: auto;
		width: 100%;
	}
}

/* Existing developments CSS uses !important. These home-scoped declarations
   intentionally match that strength only to remove the old circular/table look. */
body.home .rc-home-developments {
	background: linear-gradient(180deg, #F2F2F2 0%, #ffffff 100%) !important;
	border-bottom: 1px solid rgba(11, 11, 11, 0.08) !important;
	border-top: 1px solid rgba(11, 11, 11, 0.08) !important;
}

body.home .rc-home-developments::before {
	content: none !important;
}

body.home .rc-home-developments .rc-dev-premium__wrap {
	width: min(1240px, calc(100% - 48px)) !important;
}

body.home .rc-home-developments .rc-dev-premium__eyebrow {
	background: transparent !important;
	border: 0 !important;
	color: var(--rc-home-featured-muted) !important;
	display: block !important;
	font-size: 0.75rem !important;
	font-weight: 850 !important;
	letter-spacing: 0.12em !important;
	line-height: 1.25 !important;
	margin: 0 0 12px !important;
	min-height: 0 !important;
	padding: 0 !important;
	text-transform: uppercase !important;
}

body.home .rc-home-developments .rc-dev-premium__intro,
body.home .rc-home-developments .rc-dev-premium__intro h2,
body.home .rc-home-developments .rc-dev-premium__intro > p {
	letter-spacing: 0 !important;
}

body.home .rc-home-developments .rc-dev-premium__intro {
	margin: 0 0 clamp(28px, 4vw, 42px) !important;
	max-width: 760px !important;
}

body.home .rc-home-developments .rc-dev-premium__intro h2 {
	color: var(--rc-home-featured-dark) !important;
	font-size: clamp(2.15rem, 4vw, 3.55rem) !important;
	font-weight: 850 !important;
	line-height: 1 !important;
	margin: 0 !important;
}

body.home .rc-home-developments .rc-dev-premium__intro > p {
	color: var(--rc-home-featured-text) !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	line-height: 1.7 !important;
	margin: 16px 0 0 !important;
	max-width: 720px !important;
}

body.home .rc-home-developments .rc-dev-premium__grid {
	align-items: stretch !important;
	display: grid !important;
	gap: 24px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.home .rc-home-developments .rc-dev-premium__card,
body.home .rc-home-developments .rc-dev-premium__card--featured {
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid var(--rc-home-featured-line) !important;
	border-radius: 8px !important;
	box-shadow: 0 18px 44px rgba(11, 11, 11, 0.08) !important;
	display: flex !important;
	flex-direction: column !important;
	grid-column: auto !important;
	min-height: 100% !important;
	overflow: hidden !important;
	padding: 0 !important;
}

body.home .rc-home-developments .rc-dev-premium__card::after {
	content: none !important;
}

body.home .rc-home-developments .rc-dev-premium__image {
	aspect-ratio: 16 / 10 !important;
	background: var(--rc-home-featured-blue) !important;
	display: block !important;
	height: auto !important;
	overflow: hidden !important;
	position: relative !important;
}

body.home .rc-home-developments .rc-dev-premium__image::after {
	background: linear-gradient(180deg, rgba(11, 11, 11, 0), rgba(11, 11, 11, 0.14)) !important;
	content: "" !important;
	inset: 0 !important;
	pointer-events: none !important;
	position: absolute !important;
}

body.home .rc-home-developments .rc-dev-premium__image img {
	display: block !important;
	filter: none !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
	width: 100% !important;
}

body.home .rc-home-developments .rc-dev-premium__content,
body.home .rc-home-developments .rc-dev-premium__card--featured .rc-dev-premium__content {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	gap: 14px !important;
	min-width: 0 !important;
	padding: 22px 22px 0 !important;
}

body.home .rc-home-developments .rc-dev-premium__card > .rc-dev-premium__card-top,
body.home .rc-home-developments .rc-dev-premium__card-top,
body.home .rc-home-developments .rc-dev-premium__card-top--inside {
	align-items: center !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	justify-content: flex-start !important;
	margin: 0 !important;
}

body.home .rc-home-developments .rc-dev-premium__card > .rc-dev-premium__card-top {
	padding: 20px 22px 0 !important;
}

body.home .rc-home-developments .rc-dev-premium__card > .rc-dev-premium__card-top + .rc-dev-premium__content {
	padding-top: 14px !important;
}

body.home .rc-home-developments .rc-dev-premium__badge {
	background: rgba(217, 168, 78, 0.18) !important;
	border: 1px solid rgba(217, 168, 78, 0.36) !important;
	border-radius: 999px !important;
	color: var(--rc-home-featured-dark) !important;
	font-size: 0.68rem !important;
	font-weight: 850 !important;
	letter-spacing: 0.08em !important;
	line-height: 1 !important;
	min-height: 28px !important;
	padding: 0 11px !important;
	text-transform: uppercase !important;
	width: fit-content !important;
}

body.home .rc-home-developments .rc-dev-premium__number {
	color: rgba(11, 11, 11, 0.24) !important;
	font-size: 1rem !important;
	font-weight: 850 !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	margin-left: auto !important;
}

body.home .rc-home-developments .rc-dev-premium__type {
	background: transparent !important;
	border: 0 !important;
	color: var(--rc-home-featured-muted) !important;
	font-size: 0.72rem !important;
	font-weight: 850 !important;
	letter-spacing: 0.08em !important;
	line-height: 1.35 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-transform: uppercase !important;
}

body.home .rc-home-developments .rc-dev-premium__content h3 {
	color: var(--rc-home-featured-dark) !important;
	font-size: clamp(1.32rem, 2vw, 1.75rem) !important;
	font-weight: 850 !important;
	letter-spacing: 0 !important;
	line-height: 1.08 !important;
	margin: 0 !important;
}

body.home .rc-home-developments .rc-dev-premium__content p:not(.rc-dev-premium__type) {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--rc-home-featured-text) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.58 !important;
	margin: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
}

body.home .rc-home-developments .rc-dev-premium__specs {
	border: 0 !important;
	display: grid !important;
	gap: 10px !important;
	grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)) !important;
	margin: 4px 0 0 !important;
	padding: 0 !important;
}

body.home .rc-home-developments .rc-dev-premium__specs div {
	align-items: flex-start !important;
	background: rgba(242, 242, 242, 0.58) !important;
	border: 1px solid rgba(11, 11, 11, 0.07) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	justify-content: center !important;
	min-height: 62px !important;
	min-width: 0 !important;
	padding: 11px 12px !important;
	white-space: normal !important;
}

body.home .rc-home-developments .rc-dev-premium__specs span {
	color: rgba(11, 11, 11, 0.58) !important;
	display: block !important;
	font-size: 0.64rem !important;
	font-weight: 850 !important;
	letter-spacing: 0.05em !important;
	line-height: 1.15 !important;
	text-align: left !important;
	text-transform: uppercase !important;
}

body.home .rc-home-developments .rc-dev-premium__specs strong {
	color: var(--rc-home-featured-dark) !important;
	display: block !important;
	font-size: 0.84rem !important;
	font-weight: 800 !important;
	hyphens: auto !important;
	line-height: 1.25 !important;
	margin: 0 !important;
	overflow-wrap: anywhere !important;
	text-align: left !important;
	white-space: normal !important;
	word-break: normal !important;
}

body.home .rc-home-developments .rc-dev-premium__actions,
body.home .rc-home-developments .rc-dev-premium__card--featured .rc-dev-premium__actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin-top: auto !important;
	padding: 22px !important;
}

body.home .rc-home-developments .rc-dev-premium__btn {
	align-items: center !important;
	border-radius: 8px !important;
	display: inline-flex !important;
	flex: 1 1 150px !important;
	font-size: 0.82rem !important;
	font-weight: 850 !important;
	justify-content: center !important;
	line-height: 1 !important;
	min-height: 44px !important;
	padding: 0 16px !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	white-space: normal !important;
}

body.home .rc-home-developments .rc-dev-premium__btn--dark {
	background: var(--rc-home-featured-dark) !important;
	border: 1px solid var(--rc-home-featured-dark) !important;
	box-shadow: none !important;
	color: #ffffff !important;
}

body.home .rc-home-developments .rc-dev-premium__btn--line {
	background: rgba(217, 168, 78, 0.14) !important;
	border: 1px solid rgba(217, 168, 78, 0.34) !important;
	box-shadow: none !important;
	color: var(--rc-home-featured-green) !important;
}

/* The institutional color rescue sheet targets .home [class*="card"] with
   !important. These overrides keep only the actual property article as a card. */
body.home .rc-featured-properties .rc-property-card {
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid var(--rc-home-featured-line) !important;
	border-radius: 8px !important;
	box-shadow: 0 18px 44px rgba(11, 11, 11, 0.08) !important;
	color: var(--rc-home-featured-dark) !important;
}

body.home .rc-featured-properties .rc-property-card__media,
body.home .rc-featured-properties .rc-property-card__body,
body.home .rc-featured-properties .rc-property-card__chips,
body.home .rc-featured-properties .rc-property-card__facts,
body.home .rc-featured-properties .rc-property-card__actions {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
}

body.home .rc-featured-properties .rc-property-card__media {
	background: var(--rc-home-featured-blue) !important;
}

body.home .rc-featured-properties .rc-property-card__chips span,
body.home .rc-featured-properties .rc-property-card__location,
body.home .rc-featured-properties .rc-property-card__zone,
body.home .rc-featured-properties .rc-property-card__description,
body.home .rc-featured-properties .rc-property-card__price {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	display: block !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
}

body.home .rc-featured-properties .rc-property-card__chips span {
	color: var(--rc-home-featured-muted) !important;
}

body.home .rc-featured-properties .rc-property-card__location,
body.home .rc-featured-properties .rc-property-card__description {
	color: var(--rc-home-featured-text) !important;
}

body.home .rc-featured-properties .rc-property-card__zone,
body.home .rc-featured-properties .rc-property-card__price {
	color: var(--rc-home-featured-green) !important;
}

body.home .rc-featured-properties .rc-property-card__facts div {
	background: rgba(242, 242, 242, 0.58) !important;
	border: 1px solid rgba(11, 11, 11, 0.07) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	min-width: 0 !important;
	white-space: normal !important;
}

body.home .rc-featured-properties .rc-property-card__facts strong {
	overflow-wrap: anywhere !important;
	white-space: normal !important;
}

@media (max-width: 1120px) {
	body.home .rc-home-developments .rc-dev-premium__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 720px) {
	body.home .rc-home-developments .rc-dev-premium__wrap {
		width: min(100% - 34px, 560px) !important;
	}

	body.home .rc-home-developments .rc-dev-premium__grid,
	body.home .rc-home-developments .rc-dev-premium__specs {
		grid-template-columns: 1fr !important;
	}

	body.home .rc-home-developments .rc-dev-premium__content,
	body.home .rc-home-developments .rc-dev-premium__card--featured .rc-dev-premium__content {
		padding: 20px 20px 0 !important;
	}

	body.home .rc-home-developments .rc-dev-premium__card > .rc-dev-premium__card-top {
		padding: 20px 20px 0 !important;
	}

	body.home .rc-home-developments .rc-dev-premium__actions,
	body.home .rc-home-developments .rc-dev-premium__card--featured .rc-dev-premium__actions {
		flex-direction: column !important;
		padding: 20px !important;
	}

	body.home .rc-home-developments .rc-dev-premium__btn {
		flex-basis: auto !important;
		width: 100% !important;
	}
}
