/* Villa Properties – front-end card grid
   Override any variable in your theme if you want a different look. */
.vlp-grid {
	--vlp-card-bg: #ffffff;
	--vlp-title: #17130f;
	--vlp-stat: #2b3b4a;
	--vlp-icon: #c49a6c;
	--vlp-radius: 4px;
	--vlp-gap: 32px;
	--vlp-shadow: 0 10px 30px rgba(0, 0, 0, .06);
	--vlp-img-ratio: 4 / 3;

	display: grid;
	gap: var(--vlp-gap);
	grid-template-columns: repeat(3, 1fr);
	margin: 0 0 2rem;
}

.vlp-cols-1 { grid-template-columns: 1fr; }
.vlp-cols-2 { grid-template-columns: repeat(2, 1fr); }
.vlp-cols-3 { grid-template-columns: repeat(3, 1fr); }
.vlp-cols-4 { grid-template-columns: repeat(4, 1fr); }

.vlp-card {
	background: var(--vlp-card-bg);
	border-radius: var(--vlp-radius);
	box-shadow: var(--vlp-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform .25s ease, box-shadow .25s ease;
}

a.vlp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

.vlp-card__media {
	width: 100%;
	aspect-ratio: var(--vlp-img-ratio);
	overflow: hidden;
	background: #ece7e1;
}

.vlp-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

a.vlp-card:hover .vlp-card__img {
	transform: scale(1.04);
}

.vlp-card__img--placeholder {
	background: linear-gradient(135deg, #ede7df, #dfd6ca);
}

.vlp-card__body {
	padding: 22px 24px 26px;
}

.vlp-card__title {
	font-family: Georgia, "Playfair Display", "Times New Roman", serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 1.4rem;
	line-height: 1.2;
	margin: 0 0 16px;
	color: var(--vlp-title);
}

.vlp-stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}

.vlp-stat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--vlp-stat);
	font-size: 1rem;
	line-height: 1;
}

.vlp-stat strong {
	font-weight: 600;
}

.vlp-ico {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	stroke: var(--vlp-icon);
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vlp-empty {
	color: #888;
	font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
	.vlp-grid,
	.vlp-cols-3,
	.vlp-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.vlp-grid,
	.vlp-cols-2,
	.vlp-cols-3,
	.vlp-cols-4 { grid-template-columns: 1fr; }
}
