/**
 * Approved Destination card — sitewide.
 */

.eaks-dest-card {
	--eaks-dest-forest: #1c5c38;
	--eaks-dest-forest-hover: #2a8950;
	--eaks-dest-gold: #c99812;
	--eaks-dest-ink: #1c2f28;
	--eaks-dest-muted: #5a6b64;
	--eaks-dest-line: #e4e7e5;
	--eaks-dest-sans: inherit;
	--eaks-dest-heading: inherit;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--eaks-dest-line);
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(11, 31, 24, 0.04);
	font-family: var(--eaks-dest-sans);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eaks-dest-card:hover {
	transform: translateY(-4px);
	border-color: rgba(201, 152, 18, 0.45);
	box-shadow: 0 14px 28px rgba(11, 31, 24, 0.1);
}

.eaks-dest-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
}

.eaks-dest-card__link:hover,
.eaks-dest-card__link:focus,
.eaks-dest-card__link:focus-visible {
	text-decoration: none !important;
	color: inherit;
}

.eaks-dest-card__link *:not(.eaks-dest-card__title),
.eaks-dest-card__link:hover *:not(.eaks-dest-card__title),
.eaks-dest-card__link:focus *:not(.eaks-dest-card__title) {
	text-decoration: none !important;
}

.eaks-dest-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #d9ddd9;
}

.eaks-dest-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s ease;
}

.eaks-dest-card:hover .eaks-dest-card__media img {
	transform: scale(1.06);
}

.eaks-dest-card__badge {
	position: absolute;
	left: 0.7rem;
	bottom: 0.7rem;
	z-index: 1;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	background: rgba(11, 31, 24, 0.82);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	backdrop-filter: blur(4px);
}

.eaks-dest-card__body {
	padding: 1rem 1.05rem 1.1rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.45rem;
}

.eaks-dest-card__title {
	margin: 0;
	font-family: var(--eaks-dest-heading);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--eaks-dest-forest);
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: currentColor;
}

.eaks-dest-card:hover .eaks-dest-card__title,
.eaks-dest-card__link:hover .eaks-dest-card__title,
.eaks-dest-card__link:focus .eaks-dest-card__title {
	color: var(--wpex-hover-heading-link-color, var(--eaks-dest-forest-hover));
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.eaks-dest-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--eaks-dest-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.eaks-dest-card__meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.85rem;
	margin-top: 0.15rem;
}

.eaks-dest-card__meta {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 13px;
	color: var(--eaks-dest-ink);
}

.eaks-dest-card__meta .ticon {
	color: var(--eaks-dest-gold);
	font-size: 13px;
}

.eaks-dest-card__more {
	margin-top: auto;
	padding-top: 0.75rem;
	font-size: 14px;
	font-weight: 700;
	color: #111;
	letter-spacing: 0;
}

.eaks-dest-card:hover .eaks-dest-card__more {
	color: var(--eaks-dest-forest);
}

.wpex-card-destination_1 {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.wpex-card-destination_1 .eaks-dest-card {
	height: 100%;
}

.eaks-dest-card-grid {
	display: grid;
	gap: 1.35rem;
	grid-template-columns: repeat(var(--eaks-dest-cols, 3), minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.eaks-dest-card-grid {
		grid-template-columns: repeat(min(3, var(--eaks-dest-cols, 3)), minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.eaks-dest-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.eaks-dest-card-grid {
		grid-template-columns: 1fr;
	}
}
