/* =========================================================
   DRIVELUX — EXCURSION DESTINATION CARDS
   Shortcode: [dl_excursion_destination_cards]
========================================================= */


/* =========================================================
   01. TOKENS / WRAPPER
========================================================= */

.dlx-excd {
	--dlx-excd-gold: #b57b3b;
	--dlx-excd-gold-dark: #8f5f2a;
	--dlx-excd-gold-soft: rgba(181, 123, 59, .11);
	--dlx-excd-ink: #1d1915;
	--dlx-excd-text: rgba(29, 25, 21, .67);
	--dlx-excd-muted: rgba(29, 25, 21, .50);
	--dlx-excd-line: rgba(29, 25, 21, .10);
	--dlx-excd-paper: #fff;
	--dlx-excd-cream: #f8f3eb;
	--dlx-excd-columns: 2;

	width: 100%;
	color: var(--dlx-excd-ink);
	font-family: inherit;
}

.dlx-excd,
.dlx-excd * {
	box-sizing: border-box;
}

.dlx-excd img,
.dlx-excd svg {
	display: block;
}


/* =========================================================
   02. OPTIONAL SECTION HEADING
========================================================= */

.dlx-excd__header {
	max-width: 860px;
	margin: 0 auto 38px;
	text-align: center;
}

.dlx-excd__kicker {
	margin-bottom: 11px;
	color: var(--dlx-excd-gold-dark);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .22em;
	text-transform: uppercase;
}

.dlx-excd__heading {
	margin: 0;
	color: var(--dlx-excd-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(38px, 4vw, 62px);
	font-weight: 400;
	line-height: .98;
	letter-spacing: -.045em;
}


/* =========================================================
   03. GRID
========================================================= */

.dlx-excd__grid {
	display: grid;
	grid-template-columns: repeat(var(--dlx-excd-columns), minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}


/* =========================================================
   04. CARD
========================================================= */

.dlx-excd-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(250px, 43%) minmax(0, 57%);
	min-height: 356px;
	overflow: hidden;
	color: inherit;
	text-decoration: none !important;
	border: 1px solid var(--dlx-excd-line);
	border-radius: 22px;
	background: var(--dlx-excd-paper);
	box-shadow: 0 16px 46px rgba(29, 22, 16, .07);
	transition:
		transform .3s ease,
		box-shadow .3s ease,
		border-color .3s ease;
}

.dlx-excd-card:hover,
.dlx-excd-card:focus-visible {
	transform: translateY(-5px);
	border-color: rgba(181, 123, 59, .30);
	box-shadow: 0 26px 72px rgba(29, 22, 16, .13);
}

.dlx-excd-card:focus-visible {
	outline: 2px solid rgba(181, 123, 59, .55);
	outline-offset: 4px;
}


/* =========================================================
   05. IMAGE
========================================================= */

.dlx-excd-card__media {
	position: relative;
	min-width: 0;
	min-height: 356px;
	overflow: hidden;
	background:
		radial-gradient(circle at 22% 18%, rgba(181, 123, 59, .24), transparent 38%),
		linear-gradient(135deg, #272019, #0f0d0b);
}

.dlx-excd-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(0deg, rgba(0, 0, 0, .27), transparent 48%),
		linear-gradient(90deg, transparent 72%, rgba(0, 0, 0, .09));
	pointer-events: none;
}

.dlx-excd-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transform: scale(1.01);
	transition: transform .75s cubic-bezier(.2, .7, .2, 1);
}

.dlx-excd-card:hover .dlx-excd-card__media img,
.dlx-excd-card:focus-visible .dlx-excd-card__media img {
	transform: scale(1.055);
}

.dlx-excd-card__location {
	position: absolute;
	left: 18px;
	bottom: 18px;
	z-index: 2;
	display: inline-flex;
	max-width: calc(100% - 36px);
	min-height: 31px;
	align-items: center;
	padding: 7px 11px;
	overflow: hidden;
	color: rgba(255, 255, 255, .92);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .08em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
	border: 1px solid rgba(255, 255, 255, .20);
	border-radius: 999px;
	background: rgba(10, 8, 6, .56);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .20);
	backdrop-filter: blur(8px);
}

.dlx-excd-card.is-no-image .dlx-excd-card__media::before {
	content: "Drivelux";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	transform: translate(-50%, -50%);
	color: rgba(255, 255, 255, .68);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
	font-style: italic;
	letter-spacing: -.03em;
}


/* =========================================================
   06. CONTENT
========================================================= */

.dlx-excd-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	padding: 30px 30px 27px;
}

.dlx-excd-card__eyebrow {
	margin-bottom: 13px;
	color: var(--dlx-excd-gold-dark);
	font-size: 9px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .22em;
	text-transform: uppercase;
}

.dlx-excd-card__title {
	margin: 0 0 15px;
	color: var(--dlx-excd-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(29px, 2.25vw, 40px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -.04em;
}

.dlx-excd-card__description {
	display: -webkit-box;
	overflow: hidden;
	color: var(--dlx-excd-text);
	font-size: 15px;
	line-height: 1.64;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.dlx-excd-card__description p {
	margin: 0;
}


/* =========================================================
   07. FACTS + CTA
========================================================= */

.dlx-excd-card__footer {
	padding-top: 20px;
	border-top: 1px solid var(--dlx-excd-line);
}

.dlx-excd-card__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-bottom: 21px;
}

.dlx-excd-card__fact {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 9px;
	padding: 0 12px;
	border-right: 1px solid var(--dlx-excd-line);
}

.dlx-excd-card__fact:first-child {
	padding-left: 0;
}

.dlx-excd-card__fact:last-child {
	padding-right: 0;
	border-right: 0;
}

.dlx-excd-card__fact-icon {
	display: grid;
	width: 25px;
	height: 25px;
	flex: 0 0 25px;
	place-items: center;
	color: var(--dlx-excd-gold);
}

.dlx-excd-card__fact-icon svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.55;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dlx-excd-card__fact-copy {
	display: block;
	min-width: 0;
}

.dlx-excd-card__fact-copy small,
.dlx-excd-card__fact-copy strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dlx-excd-card__fact-copy small {
	margin-bottom: 2px;
	color: var(--dlx-excd-muted);
	font-size: 9px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.dlx-excd-card__fact-copy strong {
	color: var(--dlx-excd-ink);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
}

.dlx-excd-card__cta {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 12px;
	color: var(--dlx-excd-gold-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
}

.dlx-excd-card__cta svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.45;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .28s ease;
}

.dlx-excd-card:hover .dlx-excd-card__cta svg,
.dlx-excd-card:focus-visible .dlx-excd-card__cta svg {
	transform: translateX(5px);
}


/* =========================================================
   08. RESPONSIVE
========================================================= */

@media (max-width: 1280px) {
	.dlx-excd-card {
		grid-template-columns: minmax(220px, 41%) minmax(0, 59%);
		min-height: 338px;
	}

	.dlx-excd-card__media {
		min-height: 338px;
	}

	.dlx-excd-card__body {
		padding: 27px 25px 24px;
	}

	.dlx-excd-card__title {
		font-size: clamp(27px, 2.15vw, 36px);
	}
}

@media (max-width: 1080px) {
	.dlx-excd__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.dlx-excd-card {
		grid-template-columns: minmax(300px, 45%) minmax(0, 55%);
		min-height: 350px;
	}

	.dlx-excd-card__media {
		min-height: 350px;
	}

	.dlx-excd-card__title {
		font-size: clamp(31px, 4vw, 42px);
	}
}

@media (max-width: 720px) {
	.dlx-excd__header {
		margin-bottom: 28px;
		text-align: left;
	}

	.dlx-excd__heading {
		font-size: clamp(34px, 10vw, 46px);
	}

	.dlx-excd__grid {
		gap: 16px;
	}

	.dlx-excd-card {
		grid-template-columns: 1fr;
		min-height: 0;
		border-radius: 19px;
	}

	.dlx-excd-card__media {
		min-height: 0;
		aspect-ratio: 1.42 / 1;
	}

	.dlx-excd-card__body {
		gap: 24px;
		padding: 23px 21px 22px;
	}

	.dlx-excd-card__title {
		font-size: clamp(29px, 9vw, 38px);
	}

	.dlx-excd-card__description {
		font-size: 14.5px;
		line-height: 1.58;
		-webkit-line-clamp: 5;
	}

	.dlx-excd-card__facts {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.dlx-excd-card__fact,
	.dlx-excd-card__fact:first-child,
	.dlx-excd-card__fact:last-child {
		padding: 0;
		border-right: 0;
	}

	.dlx-excd-card__fact-copy small,
	.dlx-excd-card__fact-copy strong {
		white-space: normal;
	}
}
