/* Styles propres au contenu d'aventurierdigital.com, repris du child theme
   BuddyBoss (buddyboss-theme-child-1.0.0/style.css) le 2026-09-17.

   Tri fait à la reprise : seules les règles encore utiles sont là
   (classe présente dans le contenu publié, une carte WP Grid Builder ou
   le rendu d'un plugin actif). Écartées : règles propres au thème
   BuddyBoss (panel, profil, inscription), plugins désactivés (CookieYes,
   Frontend Admin), formulaires ACF front (remplacés par ad-membre) et
   classes absentes du contenu (bloc-*-buddyboss, checklist, barre
   objectif). Le masquage global des titres (.entry-header) est remplacé
   par le réglage « Masquer automatiquement le titre des pages Elementor ». */

/* ---------- Titres (règles globales historiques du child theme) ---------- */

body h2 {
	color: black !important;
}

body h3 {
	color: black !important;
	text-align: center;
}

/* ---------- Titre de section Elementor avec filets de part et d'autre
   (classe CSS « titre-section » sur un widget Titre) ---------- */

.titre-section .elementor-heading-title {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 100%;
	margin: 0;
	text-align: center;
}

.titre-section .elementor-heading-title::before,
.titre-section .elementor-heading-title::after {
	content: "";
	display: block;
	flex: 1 1 auto;
	height: 2px;
	background: linear-gradient(to right, transparent, #f59e0b, transparent);
	opacity: .6;
}

/* ---------- Formulaires de profil natifs ad-membre (.show-form) ---------- */

.show-form .avtr-mp-checkbox-list {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px 24px;
	align-items: start;
}

@media (max-width: 700px) {
	.show-form .avtr-mp-checkbox-list {
		grid-template-columns: 1fr !important;
	}
}

.show-form .avtr-mp-checkbox-list label {
	display: flex;
	align-items: center;
	width: auto !important;
	margin: 0 !important;
}

.show-form .avtr-mp-fields > .avtr-mp-field {
	padding: 8px 0 !important;
	border-top: none !important;
	background: none !important;
	box-shadow: none !important;
}

.show-form .avtr-mp-form-submit {
	margin-top: 18px;
}

.show-form .avtr-mp-field .avtr-mp-label label {
	margin: 0 0 3px;
	padding: 0;
	color: var(--ad-primary-color) !important;
	font-weight: 500;
}

/* ---------- WP Grid Builder : champ « slug public » masqué sur les cartes
   (carte « Utilisateur ») ---------- */

.wp-grid-builder .wpgb-card .slug-public-hidden,
.wp-grid-builder .wpgb-card [class*=wpgb-block-].slug-public-hidden,
.slug-public-hidden {
	position: absolute !important;
	top: -9999px !important;
	left: -9999px !important;
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ---------- Suggestions d'adresse Google (champ localisation) au-dessus des
   fenêtres modales ---------- */

.pac-container {
	z-index: 999999 !important;
}
