/**
 * Carte « actualité » (repris du template .news-card).
 * Couleur d'accent via la variable inline --nc-color (couleur de catégorie).
 */
.news-card {
	display: flex;
	flex-direction: column;
	background: var(--snf-white, #fff);
	border: 1px solid #ECE6DC;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
	text-decoration: none;
	transition: transform .3s, box-shadow .3s;
	--nc-color: var(--snf-green, #00A8E8);
}
.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
}
.news-card:hover .nc-img img {
	transform: scale(1.06);
}

.nc-img {
	position: relative;
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: #e8e2d8;
}
.nc-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
/* Fond dégradé coloré lorsqu'aucune image à la une */
.nc-img--placeholder {
	background: linear-gradient(135deg, var(--nc-color), #1A2A3A);
}
.nc-cat {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-family: var(--fh, 'Josefin Sans', sans-serif);
	font-size: .6rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	padding: 5px 10px;
	border-radius: 4px;
	color: #fff;
	background: var(--nc-color, #00A8E8);
}

.nc-body {
	padding: 20px 20px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.nc-date {
	font-family: var(--fh, 'Josefin Sans', sans-serif);
	font-size: .66rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--snf-muted, #777);
	margin-bottom: 9px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.nc-date::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 2px;
	background: var(--nc-color, #00A8E8);
	border-radius: 2px;
}
.nc-title {
	font-family: var(--fh, 'Josefin Sans', sans-serif);
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--snf-navy, #1A2A3A);
	line-height: 1.3;
	margin-bottom: 9px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nc-excerpt {
	font-size: .85rem;
	color: var(--snf-muted, #777);
	line-height: 1.6;
	flex: 1;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nc-link {
	font-family: var(--fh, 'Josefin Sans', sans-serif);
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--nc-color, #00A8E8);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.nc-link svg {
	transition: transform .25s;
}
.news-card:hover .nc-link svg {
	transform: translateX(4px);
}
