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

.wp-block-fusio-nesc-featured-publication-link {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 20px;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

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

.nesc-fpub__link,
.nesc-fpub__link:hover,
.nesc-fpub__link:focus,
.nesc-fpub__link:visited {
	color: #fff;
	text-decoration: none;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

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

.nesc-fpub__subtitle a {
	position: relative;
	z-index: 2;
}

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

/* ─── Image area (left) ──────────────────────── */

.wp-block-fusio-nesc-featured-publication-link .nesc-fpub__image {
	flex: 0 0 28%;
	max-width: 28%;
	min-height: 260px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.nesc-fpub__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #2c4a56;
	color: #99b5bd;
	font-family: "Roboto", sans-serif;
	font-size: 0.85rem;
	font-style: italic;
}

/* ─── Text area (right) ─────────────────────── */

.wp-block-fusio-nesc-featured-publication-link .nesc-fpub__text {
	flex: 1 1 0% !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2rem 2.5rem;
	min-width: 0;
	box-sizing: border-box;
}

.nesc-fpub__date {
	font-family: "Figtree", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	color: #fff;
	margin: 0 0 0.6rem;
	line-height: 1.4;
}

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

.nesc-fpub__subtitle {
	font-family: "Figtree", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	color: #fff;
	line-height: 1.6;
	margin: 0;
}

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

@media (max-width: 600px) {
	.wp-block-fusio-nesc-featured-publication-link .nesc-fpub__image {
		flex: 0 0 35%;
		max-width: 35%;
		min-height: 220px;
	}

	.wp-block-fusio-nesc-featured-publication-link .nesc-fpub__text {
		padding: 1.25rem 1.25rem;
	}

	.nesc-fpub__title {
		font-size: 1.3rem;
	}

	.nesc-fpub__subtitle {
		font-size: 0.9rem;
	}
}
