/* BWR Essentials — gabarit unique des actualités. */
.bwr-news {
	--bwr-blue: #004aad;
	--bwr-amber: #ffbd59;
	--bwr-ink: #1f2933;
	--bwr-muted: #5f6b7a;
	--bwr-line: #e3e8ef;
	max-width: 860px;
	margin: 0 auto;
	padding: 24px 0 40px;
	color: var(--bwr-ink);
	text-align: left;
	font-family: vag-rundschrift-d, 'Open Sans', sans-serif;
}

/* Le module Divi « contenu de l'article » a des marges et une justification héritées. */
.et_pb_post_content:has(.bwr-news) { margin: 0 !important; padding: 0 !important; text-align: left !important; }

.bwr-news-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; padding: 0; }
.bwr-news-level {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.4;
}
.bwr-news-topic {
	color: var(--bwr-blue) !important;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 3px solid var(--bwr-amber);
	padding-bottom: 2px;
}

.bwr-news .bwr-news-title {
	font-family: vag-rundschrift-d, sans-serif;
	font-weight: 300;
	font-size: clamp(26px, 4vw, 38px);
	line-height: 1.2;
	color: var(--bwr-blue);
	margin: 0 0 12px;
	padding: 0;
}

.bwr-news-dates {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0 0 22px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--bwr-line);
	color: var(--bwr-muted);
	font-size: 14px;
}
.bwr-news-dates-upd { color: var(--bwr-ink); font-weight: 600; }

.bwr-news-hero { margin: 0 0 22px; }
.bwr-news-hero img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 4px;
}
.bwr-news-hero figcaption { margin-top: 6px; font-size: 13px; color: var(--bwr-muted); }

.bwr-news p.bwr-news-chapeau {
	font-size: 19px;
	line-height: 1.6;
	font-weight: 300;
	color: var(--bwr-ink);
	margin: 0 0 26px;
	padding: 0 0 0 16px;
	border-left: 4px solid var(--bwr-amber);
}

.bwr-news-updates { margin: 0 0 26px; display: flex; flex-direction: column; gap: 14px; }
.bwr-news-update {
	background: #f3f7fd;
	border-left: 4px solid var(--bwr-blue);
	border-radius: 0 4px 4px 0;
	padding: 14px 18px;
}
.bwr-news--vigilance .bwr-news-update:first-child { border-left-color: #f6c700; }
.bwr-news--alerte .bwr-news-update:first-child { border-left-color: #f28c00; }
.bwr-news--urgence .bwr-news-update:first-child { border-left-color: #d7191c; }
.bwr-news p.bwr-news-update-time { margin: 0 0 6px; padding: 0; font-size: 14px; font-weight: 700; color: var(--bwr-blue); }
.bwr-news-update-body p { font-size: 16px; line-height: 1.65; margin: 0 0 .6em; padding: 0; }
.bwr-news-update-body p:last-child { margin-bottom: 0; padding-bottom: 0; }
.bwr-news p.bwr-news-original-label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--bwr-muted);
	margin: 0 0 10px;
	padding: 0;
}

.bwr-news-body { font-size: 17px; line-height: 1.75; }
.bwr-news-body p,
.bwr-news-body li { font-size: 17px; line-height: 1.75; color: var(--bwr-ink); }
.bwr-news-body p { margin: 0 0 1.1em; padding: 0; }
.bwr-news-body h3 {
	font-size: 22px;
	font-weight: 400;
	color: var(--bwr-blue);
	margin: 1.6em 0 .6em;
	padding: 0;
}
.bwr-news-body ul,
.bwr-news-body ol { margin: 0 0 1.1em 1.3em; padding: 0; }
.bwr-news-body ul { list-style: disc; }
.bwr-news-body a { color: var(--bwr-blue); text-decoration: underline; }
.bwr-news-body img { max-width: 100%; height: auto; }

/* Bandeau d'alerte sur l'accueil */
.bwr-alerts { position: relative; z-index: 1; } /* Sous l'en-tête Divi et la barre d'administration. */
.bwr-alert {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px max(20px, calc((100% - 1080px) / 2));
	text-decoration: none !important;
	font-family: vag-rundschrift-d, 'Open Sans', sans-serif;
	font-size: 16px;
	line-height: 1.35;
}
.bwr-alert-level { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; padding: 3px 9px; border: 2px solid currentColor; border-radius: 3px; white-space: nowrap; }
.bwr-alert-title { flex: 1; }
.bwr-alert-more { font-weight: 700; text-decoration: underline; white-space: nowrap; }

@media (max-width: 600px) {
	.bwr-news { padding-top: 12px; }
	.bwr-news p.bwr-news-chapeau { font-size: 17px; }
	.bwr-news-body p, .bwr-news-body li { font-size: 16px; }
	.bwr-alert { flex-wrap: wrap; gap: 6px 10px; }
}
