/* Switcher : un seul <li> contenant les deux groupes (profils sp + pc) */
.mdm-switcher {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-left: auto;
}

/* Groupes par profil. Mobile-first : Smartphone visible, PC masqué.
   La media query (min-width) qui inverse est injectée en inline-style
   depuis la constante PHP MDM_MOBILE_BP (cf. class-switcher::enqueue_css). */
.mdm-switcher-grp {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.mdm-switcher-pc {
	display: none;
}

.mdm-switcher a.mdm-view-link {
	font-style: italic;
	opacity: 0.6;
	text-decoration: none;
	color: inherit;
	padding: inherit;
	font-size: inherit;
	background: none;
	border: none;
}

.mdm-switcher a.mdm-view-link:hover {
	opacity: 1;
}

.mdm-switcher a.mdm-view-link.mdm-active {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 4px;
	pointer-events: none;
}


/* Fallback : si rendu dans le contenu via render() */
.mdm-switcher-fallback {
	display: flex;
	gap: 8px;
	margin: 12px 0 20px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
}
