/*
 * Libertin Débutant — confort de lecture, maillage et club privé.
 *
 * Chargé volontairement en dernier (voir functions.php) : WordPress imprime
 * ses propres styles en ligne — Neve, styles globaux, bibliothèque de blocs —
 * après la feuille du thème, et ceux-ci écrasaient sinon ces règles.
 */

/* =======================================================================
   1. Styles de base des blocs ajoutes
   ======================================================================= */

/* ---------- Bloc « autres clubs à proximité » ---------- */
.ld-voisins { margin: 2.5em 0 1em; padding-top: 1.4em; border-top: 2px solid #eee; }
.ld-voisins h2 { font-size: 1.15rem; margin: 0 0 .7em; }
.ld-voisins ul { list-style: none; margin: 0 0 1em; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .35em .9em; }
.ld-voisins li { margin: 0; }
.ld-voisins li a { display: block; padding: .45em 0; }
.ld-voisins-tous { font-size: .92rem; margin: 0; }

/* ---------- Barre et bloc du club privé moi-libertine ---------- */
.mlb-bar{display:block;background:linear-gradient(90deg,#c9a24b,#e3c27a 50%,#c9a24b);color:#2a1207;text-align:center;padding:12px 14px;font-size:.9rem;line-height:1.6;text-decoration:none;letter-spacing:.02em;font-weight:500}
.mlb-bar strong{color:#8b1a1a;font-weight:700}
.mlb-bar .mlb-go{display:inline-block;background:#160b0f;color:#f0e3cd;padding:5px 16px;border-radius:20px;text-decoration:none;white-space:nowrap;margin-left:10px;font-weight:700;font-size:.82rem}
.mlb-bar .mlb-m{font-family:Georgia,serif;font-style:italic;color:#160b0f;margin-right:8px;font-size:1.05rem;font-weight:700}
.mlb-block{background:#160b0f;border:2px solid #d9b56a;border-radius:14px;padding:30px 28px;margin:38px 0;color:#e6d7c3;box-shadow:0 8px 28px rgba(22,11,15,.35)}
.mlb-eyebrow{font-size:.68rem;letter-spacing:3px;text-transform:uppercase;color:#160b0f;background:#d9b56a;display:inline-block;padding:4px 12px;border-radius:20px;font-weight:700;margin:0 0 14px}
.mlb-title{color:#f5ead6;font-size:1.45rem;margin:0 0 16px;line-height:1.3;font-weight:700}
.mlb-block p{font-size:.95rem;line-height:1.75;margin:0 0 13px;color:#e6d7c3}
.mlb-block p strong{color:#f5ead6}
.mlb-offer{background:rgba(217,181,106,.14);border-left:4px solid #d9b56a;padding:15px 18px;border-radius:0 8px 8px 0;margin:0 0 20px}
.mlb-offer p{margin:0;font-size:.95rem;color:#f5ead6}
.mlb-offer strong{color:#e3c27a}
.mlb-btn{display:inline-block;background:linear-gradient(180deg,#e3c27a,#c9a24b);color:#160b0f !important;padding:14px 34px;border-radius:30px;font-weight:700;font-size:1rem;text-decoration:none;box-shadow:0 4px 14px rgba(217,181,106,.35)}
.mlb-micro{font-size:.74rem;color:#a8927a;margin:12px 0 0}
.mlb-row td{background:#160b0f !important;border-top:2px solid #d9b56a;border-bottom:2px solid #d9b56a;vertical-align:middle !important;color:#e6d7c3}
.mlb-row td:first-child{border-left:2px solid #d9b56a;border-radius:10px 0 0 10px}
.mlb-row td:last-child{border-right:2px solid #d9b56a;border-radius:0 10px 10px 0}
.mlb-row .mlb-logo{font-family:Georgia,serif;font-size:1.5rem;color:#f5ead6;text-decoration:none;display:block;line-height:1.3}
.mlb-row .mlb-logo em{color:#d9b56a;font-size:2rem}
.mlb-row .mlb-badge{display:inline-block;background:#d9b56a;color:#160b0f;font-size:.62rem;letter-spacing:2px;text-transform:uppercase;font-weight:700;padding:3px 10px;border-radius:14px;margin-top:6px}
.mlb-row .mlb-tbl-btn{display:inline-block;background:linear-gradient(180deg,#e3c27a,#c9a24b);color:#160b0f !important;padding:10px 18px;border-radius:24px;font-weight:700;font-size:.85rem;text-decoration:none;margin-top:8px}
.mlb-row .mlb-tbl-offer{font-size:.8rem;color:#f5ead6;line-height:1.5;margin:0}
.mlb-row .mlb-tbl-offer strong{color:#e3c27a}

/* =======================================================================
   2. Confort de lecture — place apres les blocs de base pour que les
      ajustements mobiles l'emportent sur leurs valeurs par defaut.
   ======================================================================= */

/* Corps de texte : 15 px était sous le seuil de confort sur mobile. */
body,
.nv-content-wrap,
.entry-content,
.nv-single-page-wrap { font-size: 16px; }
.nv-content-wrap p,
.entry-content p,
.nv-single-page-wrap p,
.nv-content-wrap li,
.entry-content li { font-size: 1rem; line-height: 1.7; }

/* Zones tactiles : les liens du pied de page et du menu étaient sous 32 px. */
.site-footer a,
.nav-ul a,
.header-menu-sidebar a { display: inline-block; padding-block: 6px; }

@media (max-width: 768px) {
	/* En-tête : le logo occupait 133 px et repoussait le contenu sous la ligne
	   de flottaison. On récupère une centaine de pixels d'écran utile. */
	.site-logo img,
	.neve-site-logo { max-height: 56px !important; width: auto !important; }
	.site-logo,
	.builder-item--logo { padding-block: 4px !important; }
	.header .builder-item { padding-block: 2px !important; }

	/* Barre promotionnelle : trois lignes et 105 px de haut. */
	.mlb-bar { font-size: .82rem; line-height: 1.45; padding: 9px 12px; }
	.mlb-bar .mlb-go { margin-left: 6px; padding: 4px 12px; font-size: .76rem; }
	.mlb-bar .mlb-m { font-size: .95rem; margin-right: 5px; }

	/* Titres : évite les débordements sur les noms de clubs longs. */
	h1 { font-size: 1.65rem; line-height: 1.25; overflow-wrap: break-word; }
	h2 { font-size: 1.3rem; line-height: 1.3; }

	/* La page d'accueil fixe ses tailles en rem dans le HTML (0,88 à 0,95 rem),
	   ce qui donnait 14,7 px sur mobile. On remonte au seuil de confort sans
	   toucher aux mentions volontairement discrètes. */
	.home .nv-content-wrap p:not([class*="micro"]):not(.mlb-micro),
	.home .nv-content-wrap li { font-size: 1rem !important; line-height: 1.65 !important; }
	.home .nv-content-wrap span[style*="0.82rem"],
	.home .nv-content-wrap span[style*="0.85rem"] { font-size: .92rem !important; }

	/* Les tableaux comparatifs doivent défiler dans leur cadre,
	   jamais faire déborder la page. */
	.entry-content table,
	.nv-content-wrap table { display: block; overflow-x: auto; max-width: 100%; }
}

/* La page d'accueil affichait deux H1 : celui du thème et celui du contenu.
   On masque le premier — un seul titre, et 86 px d'écran regagnés. */
.home .nv-page-title-wrap,
.home .nv-big-title { display: none; }

/* La carte des clubs a besoin d'une hauteur réservée, sinon son apparition
   décale le contenu qui suit. */
#map, #map_canvas { min-height: 300px; background: #f2eeec; }

/* La description des fiches de club n'est pas un paragraphe : elle a besoin
   de sa propre regle pour atteindre le seuil de confort. */
#club_sort_description,
#club_mot_patron,
#club_regles,
#club_contact { font-size: 16px; line-height: 1.7; }
#club_sort_description p,
#club_mot_patron p { font-size: 1rem; line-height: 1.7; }
