/*
 * Lav'Club – pleine largeur pour les pages du plugin (laveries, guide, espace client).
 * Beaucoup de thèmes (dont Twenty Seventeen) limitent le contenu à ~740 px :
 * on élargit uniquement les pages qui affichent du contenu Lav'Club (classe body.lvc-wide).
 * Largeur réglable dans Laveries > Réglages & aide (variable --lvc-wide).
 */
body.lvc-wide { --lvc-wide: 1200px; }

/* Twenty Seventeen et thèmes classiques */
body.lvc-wide .site-content .wrap { max-width: calc(var(--lvc-wide) + 5em) !important; }
body.lvc-wide #primary,
body.lvc-wide .content-area,
body.lvc-wide .site-main {
	max-width: var(--lvc-wide) !important;
	width: 100% !important;
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
body.lvc-wide .entry-header,
body.lvc-wide .entry-content,
body.lvc-wide .page-header {
	max-width: none !important;
	width: auto !important;
	float: none !important;
}
body.lvc-wide .lvc-container { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
@media (min-width: 48em) {
	body.lvc-wide .site-content .wrap { padding-left: 2.5em !important; padding-right: 2.5em !important; }
}

/* Fiche d'une laverie : pas de barre latérale, la carte prend la place */
body.lvc-wide.single-laverie #secondary { display: none !important; }

/* Thèmes « blocs » (contenu contraint) */
body.lvc-wide .is-layout-constrained > :is(.lvc-finder, .lvc-guide, .lvc-portal, .lvc-detail),
body.lvc-wide .is-layout-constrained > .wp-block-shortcode,
body.lvc-wide .is-layout-constrained > p:has(> .lvc-finder, > .lvc-guide, > .lvc-portal) {
	max-width: var(--lvc-wide) !important;
}

/* Titres : certains thèmes forcent une graisse très fine sur les h2 */
.lvc-guide h2.lvc-g-h1 { font-weight: 800 !important; }
.lvc-guide h2.lvc-g-h2, .lvc-g-cta h2 { font-weight: 700 !important; }
.lvc-guide h3, .lvc-portal h2, .lvc-portal h3, .lvc-finder h3, .lvc-detail h2, .lvc-detail h3 { font-weight: 700 !important; }
