/* ==========================================================================
   Bordeaux Ocean Cup — cohabitation avec Divi
   ========================================================================== */

/* Pages « Bordeaux Ocean Cup » : les conteneurs Divi (section > ligne > colonne > module Code)
   s’effacent de la mise en page ; le HTML de chaque module s’affiche comme dans la maquette.
   Dans le constructeur visuel (body.et-fb), Divi garde ses conteneurs pour pouvoir les éditer. */
.boc-layout:not(.et-fb) .boc-article,
.boc-layout:not(.et-fb) .et-l--post,
.boc-layout:not(.et-fb) .et_builder_inner_content,
.boc-layout:not(.et-fb) .boc-bloc,
.boc-layout:not(.et-fb) .boc-bloc .et_pb_row,
.boc-layout:not(.et-fb) .boc-bloc .et_pb_column,
.boc-layout:not(.et-fb) .boc-bloc .et_pb_module,
.boc-layout:not(.et-fb) .boc-bloc .et_pb_code_inner {
	display: contents;
}

/* Constructeur visuel : pas de marges Divi autour des blocs, pour un aperçu fidèle. */
.et-fb .boc-bloc.et_pb_section,
.et-fb .boc-bloc .et_pb_row {
	padding: 0;
	width: 100%;
	max-width: none;
	background: transparent;
}
.et-fb .boc-bloc .et_pb_module { margin-bottom: 0; }

/* Autres pages (articles, 404…) : l’en-tête Divi n’est pas affiché, pas de décalage en haut. */
#page-container { padding-top: 0 !important; }

/* Autres pages : neutralise les marges que Divi ajoute aux paragraphes et titres
   dans l’en-tête, le pied de page et la barre d’appel mobile. */
body:not(.boc-layout) .site-header p,
body:not(.boc-layout) .site-footer p,
body:not(.boc-layout) .mobile-cta p,
body:not(.boc-layout) .site-header :is(h1, h2, h3, h4),
body:not(.boc-layout) .site-footer :is(h1, h2, h3, h4) {
	padding-bottom: 0;
}
body:not(.boc-layout) .site-footer ul,
body:not(.boc-layout) .site-header ul {
	list-style: none;
}
