/* Compact newsletter band for the real homepage. The legacy block has a second
   image/content row which makes the CTA unnecessarily tall; the title row is
   the complete call to action on the homepage. */
html body.home:not(.bv-accueil-preview) .bv-newsletter-cta {
  width: calc(100% + var(--wp--style--root--padding-left, 50px) + var(--wp--style--root--padding-right, 50px)) !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: calc(-1 * var(--wp--style--root--padding-left, 50px)) !important;
  padding: 0 !important;
  background: #faf8f3 !important;
}

html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__top {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 52px clamp(24px, 4vw, 56px) !important;
  background: #faf8f3 !important;
}

html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__top-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: 1200px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
}

html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__title {
  display: block !important;
  align-self: center !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__kicker {
  display: block !important;
  width: auto !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  color: #cbb27c !important;
  font-size: clamp(28px, 3.4vw, 48px) !important;
  font-weight: 600 !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
  /* « RESTEZ » est saisi en capitales : casse de phrase, comme les autres
     titres du site (majuscule initiale : regle ::first-letter du site). */
  text-transform: lowercase !important;
}

html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__heading {
  display: block !important;
  width: auto !important;
  max-width: 18ch !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #10264c !important;
  font-size: clamp(36px, 4.4vw, 58px) !important;
  font-weight: 600 !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
  text-transform: none !important;
}

html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__cta-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: center !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  background: #1d3d77 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 12px 20px rgba(16,38,76,.18) !important;
}

/* The old lower image/text row is the source of the excessive empty height. */
html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__bottom { display: none !important; }

html body.home:not(.bv-accueil-preview) .wp-block-post-content:has(.bv-newsletter-cta),
html body.home:not(.bv-accueil-preview) .wp-block-post-content :is(.wp-block-group, .wp-block-columns, .wp-block-column):has(.bv-newsletter-cta) {
  min-height: 0 !important;
}

@media (max-width: 700px) {
  html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__top { padding: 40px 20px !important; }
  html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__top-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__cta-wrap { justify-content: flex-start !important; }
  html body.home:not(.bv-accueil-preview) .bv-newsletter-cta__cta { white-space: normal !important; }
}

