/* ────────────────────────────────────────────────────────
   Dateka – Featured Guide Widget
   ──────────────────────────────────────────────────────── */

.dateka-featured-guide {
	display: flex;
	background-color: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 39, 85, 0.08);
	border: 1px solid rgba(0, 39, 85, 0.06);
}

/* ── Media column ── */

.dateka-featured-guide__media {
	flex: 0 0 42%;
	max-width: 42%;
	min-height: 320px;
	position: relative;
	overflow: hidden;
}

.dateka-featured-guide__media a {
	display: block;
	width: 100%;
	height: 100%;
}

.dateka-featured-guide__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 400ms ease;
}

.dateka-featured-guide:hover .dateka-featured-guide__media img {
	transform: scale(1.03);
}

/* Placeholder when no thumbnail */
.dateka-featured-guide__placeholder {
	width: 100%;
	height: 100%;
	min-height: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, var(--dateka-navy, #002755) 0%, #001a3d 100%);
	color: var(--dateka-gold, #C99048);
}

/* ── Content column ── */

.dateka-featured-guide__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px;
}

/* ── Eyebrow ── */

.dateka-featured-guide__eyebrow {
	color: var(--dateka-gold, #C99048);
	font-family: var(--e-global-typography-text-font-family, "Roboto Mono", monospace);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

/* ── Title ── */

.dateka-featured-guide__title {
	color: var(--dateka-navy, #002755);
	font-family: var(--e-global-typography-primary-font-family, Montserrat, Arial, sans-serif);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 16px;
}

.dateka-featured-guide__title a {
	color: inherit !important;
	text-decoration: none !important;
}

.dateka-featured-guide__title a:hover {
	color: var(--dateka-gold, #C99048) !important;
}

/* ── Excerpt ── */

.dateka-featured-guide__excerpt {
	color: var(--dateka-blue, #456183);
	font-family: var(--e-global-typography-text-font-family, "Roboto Mono", monospace);
	font-size: 0.875rem;
	line-height: 1.7;
	margin-bottom: 24px;
}

/* ── Actions (buttons) ── */

.dateka-featured-guide__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: auto;
}

.dateka-featured-guide__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--e-global-typography-text-font-family, "Roboto Mono", monospace);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 14px 24px;
	border-radius: 6px;
	text-decoration: none !important;
	transition: background-color 200ms ease, color 200ms ease, transform 160ms ease;
	cursor: pointer;
}

.dateka-featured-guide__button--primary {
	background-color: var(--dateka-gold, #C99048);
	color: #ffffff !important;
}

.dateka-featured-guide__button--primary:hover,
.dateka-featured-guide__button--primary:focus-visible {
	background-color: var(--dateka-gold-accent, #D4AF37);
	color: var(--dateka-navy, #002755) !important;
	transform: translateY(-1px);
}

.dateka-featured-guide__button--secondary {
	background-color: transparent;
	border: 1px solid var(--dateka-navy, #002755);
	color: var(--dateka-navy, #002755) !important;
}

.dateka-featured-guide__button--secondary:hover,
.dateka-featured-guide__button--secondary:focus-visible {
	background-color: var(--dateka-navy, #002755);
	color: #ffffff !important;
}

.dateka-featured-guide__button:focus-visible {
	outline: 3px solid var(--dateka-gold-accent, #D4AF37);
	outline-offset: 3px;
}

/* ── Editor empty state ── */

.dateka-featured-guide--empty {
	border: 2px dashed #ccd0d4;
	box-shadow: none;
}

.dateka-featured-guide__notice {
	padding: 40px;
	text-align: center;
	width: 100%;
	color: #50575e;
	font-size: 0.875rem;
}

.dateka-featured-guide__notice strong {
	color: var(--dateka-navy, #002755);
}

/* ── Tablet ── */

@media (max-width: 1024px) {
	.dateka-featured-guide__content {
		padding: 32px;
	}
}

/* ── Mobile ── */

@media (max-width: 767px) {
	.dateka-featured-guide {
		flex-direction: column;
	}

	.dateka-featured-guide__media {
		flex: none;
		max-width: 100%;
		min-height: 220px;
		max-height: 280px;
	}

	.dateka-featured-guide__content {
		padding: 28px 24px;
	}

	.dateka-featured-guide__title {
		font-size: 1.25rem;
	}

	.dateka-featured-guide__actions {
		flex-direction: column;
	}

	.dateka-featured-guide__button {
		width: 100%;
		text-align: center;
	}
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
	.dateka-featured-guide__media img,
	.dateka-featured-guide__button {
		transition: none;
	}
}
