/* ==========================================================================
   EREM 2026 - personnalisations du thème RT-Theme 19
   ========================================================================== */

/* --- Sélecteur de langue : drapeaux à droite de la loupe ----------------- */
#tools > ul > li.search { width: 20%; }
#tools > ul > li.languages-flags { width: 80%; }

#tools .erem-flags {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 15px;
	min-height: 40px; /* = hauteur de l'icône loupe (padding 10px + ligne) */
}
#tools .erem-flags a,
#tools .erem-flags .current {
	display: inline-flex;
	line-height: 0;
}
#tools .erem-flags a {
	opacity: .55;
	transition: opacity .2s ease;
}
#tools .erem-flags a:hover,
#tools .erem-flags a:focus { opacity: 1; }
#tools .erem-flags .current { cursor: default; } /* langue en cours : non cliquable */
#tools .erem-flags img { display: block; width: 26px; height: 16px; } /* SVG : net à toute taille */

/* Sécurité : masque le sélecteur WPML s'il réapparaît dans le menu */
#navigation .wpml-ls-menu-item { display: none !important; }
