.wp-block-fusio-nesc-publications-downloads {
	max-width: 900px;
}

.nesc-pub-downloads__heading {
	font-family: "Figtree", "Roboto", sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #012155;
	margin: 0 0 1rem;
}

/* ─── Download box ───────────────────────────── */

.nesc-pub-downloads__box {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.5rem;
	background: #012155;
	border-radius: 0.75rem;
	text-decoration: none;
	color: #fff;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 0.75rem;
}

.nesc-pub-downloads__box:hover,
.nesc-pub-downloads__box:focus {
	background: #01306e;
	box-shadow: 0 3px 12px rgba(0, 20, 60, 0.2);
	text-decoration: none;
	color: #fff;
}

.nesc-pub-downloads__box:last-of-type {
	margin-bottom: 0;
}

/* ─── Text ───────────────────────────────────── */

.nesc-pub-downloads__text {
	flex: 1 1 0%;
	min-width: 0;
}

.nesc-pub-downloads__title {
	font-family: "Figtree", "Roboto", sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.2rem;
	line-height: 1.35;
}

.nesc-pub-downloads__meta {
	font-family: "Roboto", sans-serif;
	font-size: 0.85rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	line-height: 1.4;
}

/* ─── Icon ───────────────────────────────────── */

.nesc-pub-downloads__icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s ease;
}

.nesc-pub-downloads__box:hover .nesc-pub-downloads__icon {
	color: #fff;
}

.nesc-pub-downloads__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* ─── Editor preview ─────────────────────────── */

.nesc-pub-downloads__box--preview {
	pointer-events: none;
}

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

@media (max-width: 600px) {
	.nesc-pub-downloads__box {
		padding: 0.9rem 1.1rem;
	}

	.nesc-pub-downloads__title {
		font-size: 0.95rem;
	}

	.nesc-pub-downloads__icon {
		width: 28px;
		height: 28px;
	}
}
