/* ─── Card shell ─────────────────────────────── */

.wp-block-fusio-nesc-featured-news-link {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	background: #fff;
	border-radius: 0.75rem;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 20, 60, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wp-block-fusio-nesc-featured-news-link:hover {
	box-shadow: 0 4px 20px rgba(0, 20, 60, 0.15);
	transform: scale(1.01);
}

/* ─── Stretched link ─────────────────────────── */

.nesc-fnews__link {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

.nesc-fnews__link::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

/* ─── Image area (top) ───────────────────────── */

.nesc-fnews__image {
	width: 100%;
	min-height: 220px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.nesc-fnews__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eef1f4;
	color: #999;
	font-family: "Roboto", sans-serif;
	font-size: 0.85rem;
	font-style: italic;
}

/* ─── Text band (bottom) ────────────────────── */

.nesc-fnews__text {
	padding: 1.5rem 1.75rem 1.75rem;
}

.nesc-fnews__date {
	display: block;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	color: #fff;
	margin: 0 0 0.5rem;
	line-height: 1.4;
}

.nesc-fnews__title {
	font-family: "Figtree", "Roboto", sans-serif;
	font-size: 1.3rem;
	font-weight: 900;
	color: #fff;
	margin: 0;
	line-height: 1.3;
}

.wp-block-fusio-nesc-featured-news-link:hover .nesc-fnews__link {
	text-decoration-color: rgba(255, 255, 255, 0.6);
}

/* ─── Responsive ─────────────────────────────── */

@media (max-width: 600px) {
	.nesc-fnews__image {
		min-height: 220px;
	}

	.nesc-fnews__text {
		padding: 1.25rem 1.25rem 1.5rem;
	}

	.nesc-fnews__title {
		font-size: 1.25rem;
	}
}
