/* =========================================================
   CAMBODIAN ADVANTAGE
   DEVELOPMENT → UNIT CARDS
   ========================================================= */

.ca-development-units {
	width: 100%;
	margin: 0;
	padding: 0;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.ca-development-units__header {
	margin-bottom: 28px;
}

.ca-development-units__eyebrow {
	margin-bottom: 6px;

	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;

	color: #b86f1d;
}

.ca-development-units__title {
	margin: 0 0 8px;

	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.1;
	font-weight: 750;

	color: #10192b;
}

.ca-development-units__intro {
	max-width: 680px;
	margin: 0;

	font-size: 16px;
	line-height: 1.6;

	color: #667085;
}


/* =========================================================
   UNIT GRID
   ========================================================= */

.ca-development-units__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}


/* =========================================================
   UNIT CARD
   ========================================================= */

.ca-development-unit-card {
	overflow: hidden;

	background: #ffffff;

	border: 1px solid #e4e7ec;
	border-radius: 18px;

	box-shadow:
		0 1px 2px rgba(16, 24, 40, 0.04),
		0 8px 24px rgba(16, 24, 40, 0.05);

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.ca-development-unit-card:hover {
	transform: translateY(-3px);

	border-color: #cfd5df;

	box-shadow:
		0 2px 4px rgba(16, 24, 40, 0.05),
		0 14px 32px rgba(16, 24, 40, 0.09);
}

.ca-development-unit-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;

	color: inherit;
	text-decoration: none !important;
}


/* =========================================================
   IMAGE
   ========================================================= */

.ca-development-unit-card__image {
	position: relative;

	width: 100%;
	aspect-ratio: 16 / 10;

	overflow: hidden;

	background: #f2f4f7;
}

.ca-development-unit-card__image img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.35s ease;
}

.ca-development-unit-card:hover
.ca-development-unit-card__image img {
	transform: scale(1.025);
}


/* =========================================================
   CONTENT
   ========================================================= */

.ca-development-unit-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;

	padding: 22px 24px 24px;
}

.ca-development-unit-card__title {
	margin: 0 0 18px;

	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;

	color: #101828;
}


/* =========================================================
   UNIT METRICS
   ========================================================= */

.ca-development-unit-card__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));

	margin-bottom: 20px;

	border-top: 1px solid #eaecf0;
	border-bottom: 1px solid #eaecf0;
}

.ca-development-unit-card__metric {
	padding: 14px 10px 14px 0;
}

.ca-development-unit-card__metric +
.ca-development-unit-card__metric {
	padding-left: 14px;

	border-left: 1px solid #eaecf0;
}

.ca-development-unit-card__metric-label {
	display: block;

	margin-bottom: 4px;

	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;

	color: #98a2b3;
}

.ca-development-unit-card__metric strong {
	display: block;

	font-size: 15px;
	font-weight: 650;

	color: #344054;
}


/* =========================================================
   PRICE
   ========================================================= */

.ca-development-unit-card__price {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;

	gap: 12px;

	margin-top: auto;
	margin-bottom: 18px;
}

.ca-development-unit-card__price span {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;

	color: #98a2b3;
}

.ca-development-unit-card__price strong {
	font-size: 24px;
	line-height: 1;
	font-weight: 750;

	color: #b45f25;
}


/* =========================================================
   INVESTMENT METRICS
   ========================================================= */

.ca-development-unit-card__investment {
	margin: 0;
	padding: 0;

	border-top: 1px solid #eaecf0;
}

/*
 * PHP currently outputs Price / sqm and Estimated Rent
 * as separate investment containers.
 * Remove the duplicate border between them.
 */

.ca-development-unit-card__investment +
.ca-development-unit-card__investment {
	border-top: 0;
}

.ca-development-unit-card__investment-row {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	align-items: center;

	gap: 14px;

	padding: 10px 0;
}

.ca-development-unit-card__investment-row span {
	display: block;

	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;

	color: #98a2b3;
}

.ca-development-unit-card__investment-row strong {
	display: block;

	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;

	color: #101828;

	text-align: right;
	white-space: nowrap;
}


/* =========================================================
   CTA
   ========================================================= */

.ca-development-unit-card__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;

	width: 100%;

	margin-top: 12px;
	padding: 12px 16px;

	font-size: 14px;
	font-weight: 700;

	color: #ffffff;
	background: #10192b;

	border-radius: 10px;

	transition: background 0.2s ease;
}

.ca-development-unit-card:hover
.ca-development-unit-card__cta {
	background: #1d2939;
}

.ca-development-unit-card__cta span {
	font-size: 18px;
	line-height: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

	.ca-development-units__grid {
		grid-template-columns: 1fr;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

	.ca-development-units__header {
		margin-bottom: 22px;
	}

	.ca-development-units__title {
		font-size: 29px;
	}

	.ca-development-units__intro {
		font-size: 15px;
	}

	.ca-development-unit-card {
		border-radius: 14px;
	}

	.ca-development-unit-card__content {
		padding: 19px;
	}

	.ca-development-unit-card__title {
		font-size: 20px;
	}

	.ca-development-unit-card__metrics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ca-development-unit-card__metric {
		padding-right: 7px;
	}

	.ca-development-unit-card__metric +
	.ca-development-unit-card__metric {
		padding-left: 9px;
	}

	.ca-development-unit-card__metric-label {
		font-size: 9px;
	}

	.ca-development-unit-card__metric strong {
		font-size: 13px;
	}

	.ca-development-unit-card__price strong {
		font-size: 22px;
	}

	.ca-development-unit-card__investment-row {
		grid-template-columns: 95px minmax(0, 1fr);

		gap: 10px;

		padding: 9px 0;
	}

	.ca-development-unit-card__investment-row span {
		font-size: 10px;
	}

	.ca-development-unit-card__investment-row strong {
		font-size: 13px;
	}
}

/* UNIT METRIC LABELS */

.ca-development-unit-card__metric-label {
	display: block;
	margin-bottom: 6px;

	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;

	color: #8b96aa;
}


/* UNIT METRIC VALUES */

.ca-development-unit-card__metric strong {
	display: block;

	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;

	color: #1d2939;
}


/* INVESTMENT LABELS */

.ca-development-unit-card__investment-row span {
	display: block;

	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.055em;
	text-transform: uppercase;

	color: #8b96aa;
}


/* INVESTMENT VALUES */

.ca-development-unit-card__investment-row strong {
	display: block;

	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;

	color: #101828;

	text-align: right;
	white-space: nowrap;
}


/* GIVE INVESTMENT ROWS A LITTLE MORE BREATHING ROOM */

.ca-development-unit-card__investment-row {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	align-items: center;

	gap: 14px;
	padding: 12px 0;
}


/* CTA TEXT */

.ca-development-unit-card__cta {
	font-size: 15px;
}