/**
 * Page « L'actualité »
 */

.actu :is(h1, h2, h3, h4, h5, h6) {
	font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
	font-weight: 400;
}

.actu {
	--actu-primary: #004e90;
	--actu-blue: #0073ba;
	--actu-heading: #122b54;
	--actu-surface: #e8f4f8;
}

/* Grille articles : mêmes styles que l’accueil (.hp-news dans front-page.css) */
.actu-list.hp-news {
	padding-top: 56px;
	padding-bottom: 80px;
}

.actu-list .hp-news__inner.container {
	max-width: 1200px;
}

.actu-list .hp-news__post-title {
	font-weight: 700 !important;
}

/* Hero */
.actu-hero {
	position: relative;
	overflow: hidden;
	min-height: 280px;
}

.actu-hero__media {
	position: absolute;
	inset: 0;
}

.actu-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top right;
	display: block;
}

.actu-hero__inner.container {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	padding: 100px 20px 100px;
}

.actu-hero__title {
	position: relative;
	max-width: 640px;
	margin: 0;
	padding-top: 22px;
	color: #fff;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.actu-hero__title::before {
	content: "";
	position: absolute;
    top: -0.25em;
    left: -1em;
	width: 48px;
	height: 48px;
	border-top: 4px solid #fff;
	border-left: 4px solid #fff;
}

.actu-list__empty {
	margin: 0;
	color: var(--actu-heading);
	font-size: 18px;
	text-align: center;
}

/* Pagination */
.actu-pagination {
	margin-top: 48px;
	text-align: center;
}

.actu-pagination__links {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.actu-pagination__links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #dde4ea;
	border-radius: 4px;
	color: var(--actu-primary);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.actu-pagination__links .page-numbers:hover,
.actu-pagination__links .page-numbers:focus-visible {
	border-color: var(--actu-blue);
	color: var(--actu-blue);
}

.actu-pagination__links .page-numbers.current {
	background: var(--actu-primary);
	border-color: var(--actu-primary);
	color: #fff;
}

.actu-pagination__links .page-numbers.dots {
	border-color: transparent;
	min-width: auto;
	padding: 0 4px;
}

@media (max-width: 1199px) {
	.actu-hero__inner.container,
	.actu-list .hp-news__inner.container {
		padding-left: 18px;
		padding-right: 18px;
	}
}

@media (max-width: 991px) {
	.actu-hero__title {
		font-size: 34px;
	}

	.actu-hero__inner.container {
		padding-top: 72px;
		padding-bottom: 72px;
	}
}

@media (max-width: 767px) {
	.actu-hero {
		min-height: 220px;
	}

	.actu-hero__title {
		font-size: 28px;
	}

	.actu-hero__inner.container {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.actu-list.hp-news {
		padding-top: 40px;
		padding-bottom: 56px;
	}
}
