/* =========================================================
   CCG – CTA WITH LIST (WPBakery element)
   Heading, text and buttons beside a ticked list. Also the
   "Plan the whole trip" section on the single villa page,
   which loads this file before villa.css.

   Colours come from the villa page's tokens (.ccg-villa),
   with fallbacks for anywhere else.
   ========================================================= */

/* ---------- Shared with the whole villa page ----------
   Icons, small headings and buttons. The villa page uses these
   everywhere, not just in this section, so changes here show up
   there too. Its button sizes (--sm, --block, --glass) are in villa.css. */

.villa-icon {
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	flex: none;
	fill: none;
	stroke: var(--v-eyebrow, #c2a477);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* .ccg-villa / .villa-trip: beat the "p" resets (villa.css's loads after this file) */
body .villa-eyebrow,
.ccg-villa .villa-eyebrow,
.villa-trip .villa-eyebrow {
	font-size: var(--eyebrow-text);
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	color: var(--v-eyebrow, #c2a477);
}

/* Same look as the homepage buttons (Salient "see-through-2" + form submit),
   driven by the child theme's --button-* variables. */
.villa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	padding: var(--button-padding);
	border: var(--button-border, 2px solid);
	border-color: var(--light-fade, rgb(255 255 255 / 15%));
	border-radius: 0;
	background: transparent;
	color: #fff !important;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .25s, border-color .25s, color .25s;
}
.villa-btn .villa-icon {width: 1.15em;height: 1.15em;margin: -0.2rem 0.2rem -0.2rem 0px;}
.villa-btn:hover {background: #fff;border-color: #fff;color: #000 !important;}
.villa-btn--primary {background: transparent;border-color: #ffffff26;color: #fff !important;}
.villa-btn--primary:hover {background: #fff !important;border-color: #fff !important;color: #000 !important;}

/* ---------- The section ---------- */

.villa-trip,
.villa-trip *,
.villa-trip *::before,
.villa-trip *::after { box-sizing: border-box; }

.villa-trip {
	display: grid;
	gap: 40px;
	padding: 3.25rem;
	border-radius: var(--v-radius, var(--border-radius-value, 1rem));
	background: radial-gradient(120% 140% at 100% 0%, rgba(194, 164, 119, .14), transparent 55%), var(--v-surface, var(--nectar-extra-color-3, #0b0b0b));
	color: var(--v-text, #fff);
	font-size: 1rem;
	line-height: 1.55;
}

/* Salient adds margins, padding and bullets to these */
.villa-trip h2,
.villa-trip h3,
.villa-trip h4,
.villa-trip p,
.villa-trip ul,
.villa-trip li {
	margin: 0;
	padding: 0;
	color: inherit;
}
.villa-trip ul,
.villa-trip li { list-style: none; }
.villa-trip :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (min-width: 1150px) {
	.villa-trip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
}

/* !important: Salient's heading typography (".row .col h2") would win inside WPBakery columns */
.villa-trip .villa-trip__title {margin-top: 0.95rem;font-size: 1.9rem !important;font-weight: 400 !important;line-height: 1.1 !important;}
.villa-trip .villa-trip__text {margin-top: 12.5px;max-width: 55ch;color: rgba(255, 255, 255, .75);margin-bottom: -2.5px;max-width: 520px;}
.villa-trip__actions {display: flex;flex-wrap: wrap;gap: 10px;margin-top: 20px;}
.villa-trip__services { display: grid; gap: 0 32px; }

@media (min-width: 691px) {
.villa-trip__services { grid-template-columns: 1fr 1fr; } }
.villa-trip .villa-trip__services li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--v-line, rgba(255, 255, 255, .12));
	font-size: 0.9rem;
	line-height: 1.2;
}
.villa-trip__services .villa-icon { color: var(--v-eyebrow, #c2a477); }

@media (max-width: 1150px) {
	.villa-trip__actions {
	    flex-direction: column;
	}
}

@media (max-width: 690px) {
	.villa-trip__actions .villa-btn {
	    width: 100%;
	}
	.villa-trip .villa-trip__services li:last-child {
		border-bottom: 0px;
		padding-bottom: 0px;
	}
	.villa-trip {
		gap: 0.75rem;
		background: var(--nectar-extra-color-3);
		border: navajowhite;
		padding: 2.25rem 1.6rem 2rem;
	}
}

@media (max-width: 479px) {
	.villa-trip .villa-trip__title {
	    max-width: 19ch;
	}
}

@media (prefers-reduced-motion: reduce) {
	.villa-trip * { transition: none !important; }
}
