/* ==========================================================
   VANGUARD — PAGE GUIDE DU DÉBUTANT
   ========================================================== */

.gw-beginner-page h1,
.gw-beginner-page h2 {
  color: #d8be72;
  text-align: center;
}

.gw-beginner-page h1 {
  margin-bottom: 35px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.15;
}

.gw-beginner-page h2 {
  margin-top: 70px;
  margin-bottom: 25px;
  font-size: clamp(30px, 4vw, 52px);
}

.gw-beginner-page p,
.gw-beginner-page li {
  color: #f1eee6;
  font-size: 18px;
  line-height: 1.8;
}

.gw-beginner-page ul,
.gw-beginner-page ol {
  margin: 28px 0;
  padding: 24px 34px 24px 48px;
  border: 1px solid rgba(216, 190, 114, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.gw-beginner-page a {
  color: #d8be72;
  font-weight: 700;
  text-decoration: none;
}

.gw-beginner-page a:hover,
.gw-beginner-page a:focus-visible {
  color: #f1d47a;
}

.gw-beginner-page img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border: 1px solid rgba(216, 190, 114, 0.35);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.gw-beginner-page hr {
  height: 1px;
  margin: 55px 0;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    #d8be72,
    transparent
  );
}


/* ==========================================================
   VANGUARD — ACCUEIL PLEIN ÉCRAN
   ========================================================== */

/*
 * On retire l’en-tête et le pied de page seulement si la page
 * contient l’accueil Vanguard. La règle :has() évite de toucher
 * aux autres pages du site.
 */

body:has(.vg-home) header.site-header,
body:has(.vg-home) #masthead,
body:has(.vg-home) .wp-site-blocks > header,
body:has(.vg-home) .elementor-location-header,
body:has(.vg-home) footer.site-footer,
body:has(.vg-home) #colophon,
body:has(.vg-home) .wp-site-blocks > footer,
body:has(.vg-home) .elementor-location-footer {
  display: none !important;
}

/* Suppression des espaces ajoutés par le thème */

body:has(.vg-home),
body:has(.vg-home) #page,
body:has(.vg-home) #content,
body:has(.vg-home) main,
body:has(.vg-home) .site-content,
body:has(.vg-home) .entry-content,
body:has(.vg-home) .wp-site-blocks {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* L’accueil occupe tout l’écran */

body:has(.vg-home) .vg-home {
  min-height: 100vh !important;
  min-height: 100svh !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Bouton Ambiance indépendant de l’en-tête */

body:has(.vg-home) .vanguard-ambiance {
  position: fixed !important;
  top: 18px !important;
  left: 50% !important;
  z-index: 999999 !important;
  transform: translateX(-50%) !important;
}


/* ==========================================================
   VERSION MOBILE
   ========================================================== */

@media (max-width: 600px) {
  .gw-beginner-page p,
  .gw-beginner-page li {
    font-size: 16px;
  }

  .gw-beginner-page ul,
  .gw-beginner-page ol {
    padding: 20px 20px 20px 38px;
  }

  body:has(.vg-home) .vanguard-ambiance {
    top: 10px !important;
  }
}
/* Accueil Vanguard : aligner les trois boutons */
.vg-home .vg-home__buttons {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 15px !important;
  width: min(820px, 100%) !important;
  margin: 0 auto !important;
}

.vg-home .vg-home__button {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 15px 18px !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  text-align: center !important;
}

/* Téléphone : boutons les uns sous les autres */
@media (max-width: 820px) {
  .vg-home .vg-home__buttons {
    grid-template-columns: 1fr !important;
    width: min(500px, 100%) !important;
  }
}