/* --- EN-TÊTE / HERO (BUREAU) --- */
header,
.header,
.site-header,
.hero-header,
.featured-header,
[style*="background-image"] {
  height: 35vh !important;
  min-height: 220px !important;
  max-height: 350px !important;
  background-position: top center !important;
  background-size: cover !important;
  background-color: #FFFFFF !important;
}

/* Dans le cas où une balise <img> est utilisée */
header img,
.header img,
.site-header img,
.hero-header img,
.featured-header img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: top !important;
}

/* --- EN-TÊTE / HERO (MOBILE <= 768px) --- */
@media (max-width: 768px) {
  header,
  .header,
  .site-header,
  .hero-header,
  .featured-header,
  [style*="background-image"] {
    height: 25vh !important;
    min-height: 160px !important;
    max-height: 220px !important;
    background-position: top center !important;
  }
}

/* --- SUPPRESSION DU SPINNER ET DES ANIMATIONS DE CHARGEMENT --- */
header::before, header::after,
.header::before, .header::after,
.hero-header::before, .hero-header::after,
.site-header::before, .site-header::after,
.featured-header::before, .featured-header::after,
[class*="loader"],
[class*="spinner"] {
  display: none !important;
  background: none !important;
  content: none !important;
  animation: none !important;
}

/* --- MASQUAGE DES BOUTONS UNIQUEMENT DANS LES CARTES DE GALERIES --- */
.card .btn-primary,
.card a.btn,
.card-body .btn,
.gallery-card .btn-primary,
.gallery-card a.btn {
  display: none !important;
}