/* Actualités — SYSTEL. Repris du gabarit style22 du hub-child (cartes blanches
   décalées), couleurs par tokens du thème. */
.systel-actus {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Disposition « décalée » de la home : grille 10 colonnes × 5 rangées. */
.systel-actus--decale {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	grid-template-rows: repeat(5, 125px);
}
.systel-actus--decale .systel-actus__item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; z-index: 1; }
.systel-actus--decale .systel-actus__item:nth-child(2) { grid-column: 7 / 11; grid-row: 2 / 4; }
.systel-actus--decale .systel-actus__item:nth-child(3) { grid-column: 2 / 6; grid-row: 4 / 6; }
/* Au-delà de 3 : retour à une grille régulière sous les trois premières. */
.systel-actus--decale .systel-actus__item:nth-child(n + 4) { grid-column: span 5; grid-row: auto; }

.systel-actus--grille {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: var(--sp-6, 1.5rem);
}

.systel-actu {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px 36px;
	color: var(--night);
	background-color: var(--white);
	border-radius: 15px;
	transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s;
}
.systel-actu:hover { transform: translateY(-4px); }

.systel-actu__date {
	font-family: var(--ff-display);
	font-size: clamp(16px, 2vw, 24px);
	font-weight: 500;
	background: linear-gradient(180deg, var(--blue) 30%, var(--blue-deep) 70%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	align-self: flex-start;
}

.systel-actu__bas {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-4, 1rem);
	margin-top: auto;
}
.systel-actu__titre {
	margin: 0;
	font-family: var(--ff-display);
	font-size: clamp(20px, 2vw, 32px);
	font-weight: 400;
	line-height: 1.2;
	text-wrap: balance;
}
.systel-actu__titre a { color: inherit; text-decoration: none; }
/* Lien étiré : toute la carte est cliquable, un seul lien annoncé. */
.systel-actu__titre a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.systel-actu__titre a:focus-visible { outline: none; }
.systel-actu:has(a:focus-visible) { outline: 3px solid var(--blue-deep); outline-offset: 3px; }

.systel-actu__fleche {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	color: var(--white);
	background: var(--night);
	border-radius: 50%;
	transition: transform 0.3s var(--ease-out, ease);
}
.systel-actu__fleche .icon { width: 20px; height: 20px; }
.systel-actu:hover .systel-actu__fleche { transform: rotate(45deg); }

.systel-actus__vide { text-align: center; }

@media (width <= 880px) {
	.systel-actus--decale { display: flex; flex-direction: column; gap: 20px; }
	.systel-actu { min-height: 9rem; padding: 16px; border-radius: 10px; gap: 26px; }
}
