/* Conviés — ajustements « mobile d'abord » (téléphone ≤ 640 px). Chargé après toutes les autres feuilles. */

@media (max-width: 640px) {
	/* Jamais de défilement horizontal (menus déroulants cachés de BuddyBoss qui dépassent). */
	html, body { overflow-x: clip; }

	/* Agenda : les trois filtres tiennent sur une ligne. */
	.conv-agenda-filtres { flex-wrap: nowrap; gap: .35rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.conv-agenda-filtre { flex: 0 0 auto; min-width: 0; padding: .5rem .85rem; font-size: .9rem; white-space: nowrap; }

	/* Membres : titre à gauche, « Filtres » et grille / liste à droite, sur une seule ligne. */
	.bb-rl-members-directory-wrapper .bb-rl-secondary-header { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: .5rem; }
	.bb-rl-members-directory-wrapper .bb-rl-secondary-header .bb-rl-entry-heading { flex: 1; min-width: 0; }
	.bb-rl-members-directory-wrapper .bb-rl-sub-ctrls { margin-left: 0 !important; }
	.bb-rl-members-directory-wrapper #bp-profile-search-form-outer { position: fixed !important; left: 8px !important; right: 8px !important; top: 64px !important; width: auto !important; max-width: none; max-height: calc(100vh - 80px); }
	.conv-recherches { padding: 0 16px; }

	/* Profil : tous les onglets visibles, en bandeau qui défile au doigt (au lieu du menu « Plus »). */
	#object-nav .bb-rl-main-nav-list { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	#object-nav .bb-rl-main-nav-list::-webkit-scrollbar { display: none; }
	#object-nav .bb-rl-main-nav-list > li { flex: 0 0 auto; }
	#object-nav .bb-rl-hideshow.conv-vide { display: none !important; }

	/* Soirées de clubs (The Events Calendar) : marges plus serrées. */
	.tribe-events-single { padding-left: 0; padding-right: 0; }
}
