/* Sprint C — gabarit actualité + filtres page Actualités (charte #1F2F5C) */

:root {
	--bt2-blue: #1F2F5C;
	--bt2-blue-hover: #0F1A38;
	--bt2-actu-muted: #5A6A88;
	--bt2-actu-line: #D5DEEE;
	--bt2-actu-wash: #F3F6FC;
}

/* ----- Article layout ----- */
.bt2-actu {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--bt2-blue);
	max-width: 920px;
	margin: 0 auto;
	padding: 24px 16px 64px;
}

.bt2-actu__hero {
	margin: 0 0 28px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--bt2-actu-wash);
	aspect-ratio: 1200 / 630;
}

.bt2-actu__hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.bt2-actu__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bt2-actu-muted);
}

.bt2-actu__cat {
	color: var(--bt2-blue);
	text-decoration: none;
}

.bt2-actu__cat:hover,
.bt2-actu__cat:focus {
	color: var(--bt2-blue-hover);
	text-decoration: underline;
}

.bt2-actu__title {
	margin: 0 0 18px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(1.6rem, 2.4vw, 2.15rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--bt2-blue);
	text-transform: lowercase;
}

.bt2-actu__title::first-letter {
	text-transform: uppercase;
}

.bt2-actu__chapeau {
	margin: 0 0 28px;
	padding: 18px 20px;
	border-left: 4px solid var(--bt2-blue);
	background: var(--bt2-actu-wash);
	border-radius: 0 10px 10px 0;
	font-size: 1.125rem;
	line-height: 1.55;
	color: var(--bt2-blue);
}

.bt2-actu__chapeau p:last-child {
	margin-bottom: 0;
}

.bt2-actu__body {
	font-size: 1.05rem;
	line-height: 1.65;
	color: #243352;
}

.bt2-actu__body img {
	max-width: 100%;
	height: auto;
}

.bt2-actu__empty-chapeau {
	display: none;
}

/* ----- Filtres page Actualités ----- */
.bt2-actu-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: center;
	margin: 0 auto 28px;
	padding: 0 12px;
	max-width: 960px;
	font-family: Arial, Helvetica, sans-serif;
}

.bt2-actu-filters__btn {
	appearance: none;
	border: 1px solid #C9D7EE;
	background: #FFFFFF;
	color: var(--bt2-blue);
	font: 700 14px/1.2 Arial, Helvetica, sans-serif;
	padding: 10px 16px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bt2-actu-filters__btn:hover,
.bt2-actu-filters__btn:focus {
	background: var(--bt2-actu-wash);
	border-color: var(--bt2-blue);
	outline: none;
}

.bt2-actu-filters__btn.is-active {
	background: var(--bt2-blue);
	border-color: var(--bt2-blue);
	color: #FFFFFF;
}

.bt2-actu-panel[hidden],
.sppb-section.bt2-actu-panel[hidden] {
	display: none !important;
}

/* Hide filtered panels before JS init (keep --all visible) */
.sppb-section.bt2-actu-panel:not(.bt2-actu-panel--all) {
	display: none;
}

/* Soft style for SPPB article cards on Actualités */
.bt2-actu-page .sppb-addon-article {
	border: 1px solid var(--bt2-actu-line);
	border-radius: 12px;
	overflow: hidden;
	background: #FFFFFF;
	box-shadow: 0 1px 3px rgba(31, 47, 92, 0.05);
}

.bt2-actu-page .sppb-addon-article h3,
.bt2-actu-page .sppb-addon-article h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--bt2-blue);
	text-transform: lowercase;
}

.bt2-actu-page .sppb-addon-article h3::first-letter,
.bt2-actu-page .sppb-addon-article h4::first-letter {
	text-transform: uppercase;
}

.bt2-actu-page .alert-warning {
	border: 1px solid var(--bt2-actu-line);
	background: var(--bt2-actu-wash);
	color: var(--bt2-actu-muted);
	font-family: Arial, Helvetica, sans-serif;
	border-radius: 10px;
}
