/* --- Story cards ([mef_stories] shortcode from the Stories CPT plugin) ---
   1200px+    4 across
   768–1199   2 x 2
   under 768  stacked
*/
.mef-stories {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 3.5rem;
}

.mef-story-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8e4de;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(41, 48, 56, 0.06);
}

.mef-story-card__image a {
	display: block;
	border: none;
}

.mef-story-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mef-story-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

/* "Wish 1" */
.entry-content .mef-story-card__label {
	color: #508407;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
	margin: 0 0 6px;
}

.entry-content .mef-story-card__title {
	font-size: 21px;
	line-height: 1.25;
	margin: 0 0 6px;
}

.entry-content .mef-story-card__title a {
	color: inherit;
	border: none;
	text-decoration: none;
}

/* "Video release: 20 November" */
.entry-content .mef-story-card__release {
	color: #6b7280;
	font-size: 13px;
	font-style: italic;
	line-height: 1.4;
	margin: 0 0 16px;
}

.entry-content .mef-story-card__summary p {
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 12px;
}

/* "Read more" after trimmed card text */
.entry-content .mef-story-card__more {
	color: #508407;
	font-weight: 600;
	white-space: nowrap;
}

/* Wish + button pinned to the bottom so they line up across a row */
.mef-story-card__footer {
	margin-top: auto;
	padding-top: 8px;
}

.entry-content .mef-story-card__wish {
	background: #f3f7ec;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 18px;
	padding: 12px 14px;
}

.mef-story-card__wish strong {
	display: block;
	color: #508407;
	margin-bottom: 2px;
}

.entry-content .mef-story-card__button {
	display: block;
	padding: 12px 16px;
	border: 2px solid #508407;
	color: #508407;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.entry-content a.mef-story-card__button:hover,
.entry-content a.mef-story-card__button:focus {
	background-color: #508407;
	color: #fff;
}

/* Scheduled story: "Video coming …" label, not a link */
.entry-content .mef-story-card__button.is-disabled {
	border-color: #d4d6da;
	background: #f7f7f8;
	color: #6b7280;
	cursor: default;
}

/* 4 across: smaller button text, fixed height so 1- and 2-line buttons line up */
@media only screen and (min-width: 1200px) {
	.entry-content .mef-story-card__button {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 60px;
		padding: 12px 8px;
		font-size: 12px;
		letter-spacing: 0.03em;
	}
}

/* 2 x 2 */
@media only screen and (max-width: 1199px) {
	.mef-stories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}

	.mef-story-card__image img {
		aspect-ratio: 16 / 9;
	}

	.mef-story-card__body {
		padding: 26px;
	}

	.entry-content .mef-story-card__title {
		font-size: 23px;
	}

	.entry-content .mef-story-card__summary p,
	.entry-content .mef-story-card__wish {
		font-size: 16px;
	}
}

/* Stacked */
@media only screen and (max-width: 767px) {
	.mef-stories {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.mef-story-card__body {
		padding: 20px;
	}

	.entry-content .mef-story-card__title {
		font-size: 22px;
	}
}
