/* ==========================================================================
   WOW! Spotlight — one promoted event above the What's Happening cards.
   Half image / half text. The image box holds the same 16:9 crop the event
   cards use, so one wide featured image serves both places.
   ========================================================================== */

.wow-spotlight {
	display: grid;
	/* minmax(0, 1fr) rather than 1fr: a bare 1fr track has an automatic
	   minimum of min-content, so the image's intrinsic width pushes the
	   media column past half and squeezes the text column under it. */
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	background: #fff;
	border: 1px solid #3b1f59;
	border-radius: 12px;
	overflow: hidden;
	margin: 0 0 32px;
}

/* ---- media half ---- */

.wow-spotlight__media {
	display: block;
	/* Pin the width to the track. Without this the element relies on the
	   default justify-self: stretch, which Divi suppresses; the browser then
	   derives width from the stretched height via aspect-ratio (354 x 16/9 =
	   630) and the media spills out of its column and over the copy. */
	width: 100%;
	min-width: 0;
	justify-self: stretch;
	align-self: stretch;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #e8e8e8;
}

.wow-spotlight__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
}

.wow-spotlight__media--placeholder {
	background: #e8e8e8;
}

/* ---- text half ---- */

.wow-spotlight__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 32px 40px;
}

/* Divi wraps shortcode output in a paragraph; keep its margins off ours. */
.wow-spotlight__body > *:last-child {
	margin-bottom: 0;
}

.wow-spotlight__label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #3b1f59;
	margin: 0 0 10px;
}

.wow-spotlight__title {
	font-size: 1.9rem;
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 10px;
}

.wow-spotlight__date {
	font-size: 0.95rem;
	color: #666;
	margin: 0 0 14px;
}

.wow-spotlight__excerpt {
	font-size: 1rem;
	line-height: 1.55;
	color: #444;
	margin: 0 0 24px;
}

.wow-spotlight__button {
	display: inline-block;
	align-self: flex-start;
	background-color: #FF0158;
	color: #fff !important;
	text-decoration: none;
	padding: 11px 30px;
	border-radius: 50px;
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}

.wow-spotlight__button:hover {
	background-color: #ee9b00;
}

/* ---- stacked ---- */

@media (max-width: 800px) {
	.wow-spotlight {
		grid-template-columns: 1fr;
	}
	.wow-spotlight__body {
		padding: 24px;
	}
	.wow-spotlight__title {
		font-size: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wow-spotlight__button {
		transition: none;
	}
}
