/* =========================================================
   CCG – VILLA CARD
   Shared by "Other villas" on the single villa page and the
   Villa Listing element. Colours come from the parent's tokens
   (.ccg-villa / .ccg-villas), with fallbacks for anywhere else.
   ========================================================= */

.villa-tile { min-width: 0; }

.villa-tile h3,
.villa-tile p {
	margin: 0;
	padding: 0;
	color: inherit;
}

.villa-tile__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.villa-tile__media {
	position: relative;
	aspect-ratio: 20 / 20;
	border-radius: var(--v-radius, 1rem);
	overflow: hidden;
	background: var(--v-surface-2, #161616);
}
.villa-tile__media img {
	display: block !important;
	width: 100%;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover;
	-webkit-user-drag: none;
	transition: transform .6s var(--v-ease, cubic-bezier(.2, .7, .2, 1));
}
/* Mouse only: on phones a tap leaves the photo zoomed */
@media (hover: hover) {
	.villa-tile__link:hover .villa-tile__media img { transform: scale(1.04); }
}

.villa-tile__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	padding: .5rem 0.75rem;
	border-radius: 999px;
	background: #ffffff;
	color: #000;
	font-size: 0.75rem;
	line-height: 1;
	font-weight: 500;
}

.villa-tile__body {padding-top: 17.5px;font-size: 0.9rem !important;}

/* !important: Salient's ".row .col h3" typography would win inside WPBakery columns */
.villa-tile h3.villa-tile__title {
	font-size: 1.35rem !important;
	font-weight: 500;
	margin-bottom: 0.45rem !important;
}
.villa-tile p.villa-tile__meta { opacity: 0.74; }
.villa-tile p.villa-tile__price {font-size: 1rem;line-height: 1;margin-top: 0.65rem;}
.villa-tile__price strong { font-weight: 500; }
/* "Price on request" (no price set) in the CCG gold, villa and boat cards */
.villa-tile p.villa-tile__price--request { color: var(--v-eyebrow, var(--nectar-extra-color-2, #c2a477)); }
/* "€100 pp a night for 12 guests" under the price (boats: .boat-tile__pp) */
.villa-tile p.villa-tile__pp {
	margin-top: 0.5rem;
	font-size: 0.8rem;
	line-height: 1.3;
	color: var(--v-eyebrow, #c2a477);
}

@media (prefers-reduced-motion: reduce) {
	.villa-tile__media img { transition: none; }
}





@media (max-width: 690px) {
	.villa-tile__badge {
		top: 0.75rem;
		left: 0.75rem;
		padding: .45rem 0.7rem;
		font-size: .7rem;
	}
}