/* =========================================================
   "Buildings for sale" — property cards
   Overrides inline Fusion Builder styles, hence !important.
   ========================================================= */

#buildings-for-sale {
	--card-accent: #86c423;
	--card-accent-dark: #6fa51a;
	--card-text: #1f2937;
	--card-muted: #6b7280;
	--card-line: #eef0f3;
	--card-radius: 14px;
}

/* Equal-height cards in each row */
#buildings-for-sale > .fusion-builder-row {
	align-items: stretch !important;
}

#buildings-for-sale .fusion_builder_column_1_3 {
	margin-bottom: 32px !important;
}

/* Card shell */
#buildings-for-sale .fusion_builder_column_1_3 > .fusion-column-wrapper {
	height: 100%;
	display: flex !important;
	flex-direction: column;
	background: #fff;
	border: 0 !important;
	border-radius: var(--card-radius);
	padding: 0 !important;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}

#buildings-for-sale .fusion_builder_column_1_3 > .fusion-column-wrapper:hover {
	transform: translateY(-4px);
	box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 16px 40px rgba(16, 24, 40, .14);
}

/* Photo: full-bleed, same height for every card */
#buildings-for-sale .fusion_builder_column_1_3 .fusion-imageframe {
	display: block !important;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 0;
}

#buildings-for-sale .fusion_builder_column_1_3 .fusion-imageframe a,
#buildings-for-sale .fusion_builder_column_1_3 .fusion-imageframe img {
	display: block;
	width: 100%;
	height: 100%;
}

#buildings-for-sale .fusion_builder_column_1_3 .fusion-imageframe img {
	object-fit: cover;
	transition: transform .5s ease;
}

#buildings-for-sale .fusion_builder_column_1_3 > .fusion-column-wrapper:hover .fusion-imageframe img {
	transform: scale(1.05);
}

#buildings-for-sale .fusion_builder_column_1_3 .fusion-separator {
	display: none !important;
}

/* Title */
#buildings-for-sale .fusion_builder_column_1_3 .fusion-title {
	margin: 20px 20px 6px !important;
}

#buildings-for-sale .fusion_builder_column_1_3 .fusion-title .title-sep-container {
	display: none !important;
}

#buildings-for-sale .fusion_builder_column_1_3 .fusion-title h3 {
	color: var(--card-text) !important;
	font-size: 17px !important;
	line-height: 1.35 !important;
	font-weight: 700 !important;
	letter-spacing: .02em;
}

#buildings-for-sale .fusion_builder_column_1_3 .fusion-text:empty {
	display: none;
}

/* Location */
#buildings-for-sale .fusion_builder_column_1_3 .map {
	margin: 0 20px 18px !important;
}

#buildings-for-sale .fusion_builder_column_1_3 .map a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--card-muted) !important;
	font-size: 14px !important;
	text-decoration: none;
}

#buildings-for-sale .fusion_builder_column_1_3 .map a:hover {
	color: var(--card-accent-dark) !important;
}

/* Replace the broken font icon with an SVG pin */
#buildings-for-sale .fusion_builder_column_1_3 .map a i {
	display: none;
}

#buildings-for-sale .fusion_builder_column_1_3 .map a::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background-color: var(--card-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Footer row: price + WhatsApp, pinned to the bottom of the card */
/* Avada sets an inline `width:104% !important` on this row, so instead of
   fighting it we shift it back by 2% and compensate with padding. */
#buildings-for-sale .fusion_builder_column_1_3 > .fusion-column-wrapper > .fusion-builder-row-inner {
	box-sizing: border-box !important;
	margin: auto 0 0 -2% !important;
	padding: 14px calc(20px + 2%) !important;
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid var(--card-line);
	background: #fafbfc;
}

#buildings-for-sale .fusion_builder_column_1_3 .fusion-builder-row-inner > .fusion-layout-column {
	width: auto !important;
	margin: 0 !important;
	position: static !important;
}

#buildings-for-sale .fusion_builder_column_1_3 .fusion-builder-row-inner .fusion-column-wrapper {
	margin: 0 !important;
	float: none !important;
}

#buildings-for-sale .fusion_builder_column_1_3 .text-one {
	margin: 0;
	color: var(--card-text);
	font-size: 15px;
	line-height: 1.4;
}

#buildings-for-sale .fusion_builder_column_1_3 .text-one b {
	color: var(--card-accent-dark);
	font-size: 17px;
}

#buildings-for-sale .fusion_builder_column_1_3 .text-one .hide {
	display: inline;
	color: var(--card-text);
}

/* WhatsApp button */
#buildings-for-sale .listing-whatsapp.sa-whatsapp {
	position: static !important;
	top: auto !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 4px 12px rgba(37, 211, 102, .35);
	transition: transform .2s ease, box-shadow .2s ease;
}

#buildings-for-sale .listing-whatsapp.sa-whatsapp:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 16px rgba(37, 211, 102, .45);
}

#buildings-for-sale .listing-whatsapp .i-whatsapp {
	width: 22px;
	height: 22px;
	margin: 0;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91C21.95 6.45 17.5 2 12.04 2zm5.8 14.03c-.24.68-1.42 1.3-1.95 1.35-.5.05-.97.23-3.27-.68-2.77-1.09-4.52-3.92-4.66-4.1-.13-.18-1.11-1.48-1.11-2.82s.7-2 .95-2.27c.25-.27.54-.34.72-.34l.52.01c.17.01.39-.06.61.47.24.56.79 1.92.86 2.06.07.14.11.3.02.48-.09.18-.14.3-.27.46l-.41.48c-.14.13-.28.28-.12.56.16.27.71 1.17 1.52 1.89 1.05.93 1.93 1.22 2.2 1.36.27.14.43.11.59-.07.16-.18.68-.79.86-1.06.18-.27.36-.23.61-.14.25.09 1.59.75 1.86.89.27.14.45.2.52.32.07.11.07.66-.17 1.34z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91C21.95 6.45 17.5 2 12.04 2zm5.8 14.03c-.24.68-1.42 1.3-1.95 1.35-.5.05-.97.23-3.27-.68-2.77-1.09-4.52-3.92-4.66-4.1-.13-.18-1.11-1.48-1.11-2.82s.7-2 .95-2.27c.25-.27.54-.34.72-.34l.52.01c.17.01.39-.06.61.47.24.56.79 1.92.86 2.06.07.14.11.3.02.48-.09.18-.14.3-.27.46l-.41.48c-.14.13-.28.28-.12.56.16.27.71 1.17 1.52 1.89 1.05.93 1.93 1.22 2.2 1.36.27.14.43.11.59-.07.16-.18.68-.79.86-1.06.18-.27.36-.23.61-.14.25.09 1.59.75 1.86.89.27.14.45.2.52.32.07.11.07.66-.17 1.34z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 1024px) {
	#buildings-for-sale .fusion_builder_column_1_3 .fusion-title h3 {
		font-size: 16px !important;
	}
}
