/* ============================================================
   Filtres Actualites
   Layout vertical : recherche + groupes de boutons empiles
   Palette : #1F327C (meme que realisations-filtres)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;700&display=swap');

/* Conteneur principal ---------------------------------------- */
.actualites-filtres {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

/* Texte visuellement cache (accessibilite) ------------------- */
.actualites-filtres__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Champ de recherche ----------------------------------------- */
.actualites-filtres__search {
	width: 100%;
}

.actualites-filtres__input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 18px;
	font-family: 'Urbanist', sans-serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.5;
	color: #1F327C;
	border: 1px solid #1F327C;
	border-radius: 100px !important;
	background: #fff;
	appearance: none;
	-webkit-appearance: none;
	transition: box-shadow 0.2s;
}

.actualites-filtres__input::placeholder {
	font-family: 'Urbanist', sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #1F327C;
	opacity: 0.5;
}
.actualites-filtres__input::-webkit-input-placeholder { color: #1F327C; opacity: 0.5; }
.actualites-filtres__input::-moz-placeholder          { color: #1F327C; opacity: 0.5; }
.actualites-filtres__input:-ms-input-placeholder      { color: #1F327C; opacity: 0.5; }

.actualites-filtres__input:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(31, 50, 124, 0.25);
}

/* Groupe de filtres (une taxonomie) -------------------------- */
.actualites-filtres__group {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.actualites-filtres__group-label {
	display: none;
}

/* Liste de boutons ------------------------------------------- */
.actualites-filtres__buttons {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	border:none;
}

/* Bouton de filtre ------------------------------------------- */
.actualites-filtres__btn {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0 !important;
	font-family: 'Urbanist', sans-serif;
	font-weight: 400 !important;
	font-size: 15px;
	line-height: 1.6;
	color: #1F327C;
	background: transparent !important;
	border: none !important;
	cursor: pointer;
	margin-bottom:10px !important;

}

.actualites-filtres__btn:hover {
	color: #1F327C;

	font-weight: 700 !important;
}

.actualites-filtres__btn.is-active {
	font-weight: 700 !important;
	color: #1F327C;

}

/* Bouton "Voir plus" injecte par JS -------------------------- */
.af-load-more-injected {
	display: none; /* JS gere la visibilite via syncLoadMoreButton */
	justify-content: center;
	width: 100%;
	margin-top: 2em;
}

.af-load-more-injected .elementor-button {
	cursor: pointer;
	border: 1px solid #1F327C;
	background: transparent;
	color: #1F327C;
	font-family: 'Urbanist', sans-serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.5;
	border-radius: 100px;
	padding: 10px 24px;
	transition: background 0.3s, color 0.3s;
}

.af-load-more-injected .elementor-button:hover {
	background: #1F327C;
	color: #fff;
}

/* Responsive ------------------------------------------------- */
@media (max-width: 767px) {
	.actualites-filtres__btn {
		width: 100%;
	}
}
