/* En-tetes photographiques (Envato), en complement de habillage.css. */
.bandeau-reserve {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2400 / 1100;
  max-height: 520px;
}
.bandeau-reserve.has-photo {
  background-color: var(--contrast);
}
.bandeau-reserve .bandeau-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.bandeau-reserve.has-photo:not(.bandeau-photo-seule)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 5, 33, 0.12) 0%, rgba(11, 5, 33, 0.45) 45%, rgba(11, 5, 33, 0.82) 100%);
  z-index: 1;
}
.bandeau-reserve-inner {
  position: relative;
  z-index: 2;
}
.bandeau-reserve.bandeau-photo-seule {
  align-items: stretch;
  margin-bottom: 1.6rem;
}
.one-container .site-main > .bandeau-reserve {
  margin-left: -24px;
  margin-right: -24px;
  width: calc(100% + 48px);
  max-width: none;
}
@media (max-width: 767px) {
  .one-container .site-main > .bandeau-reserve {
    margin-left: -18px;
    margin-right: -18px;
    width: calc(100% + 36px);
  }
}
/* Sur les URL qui ont un bandeau, masquer l'image mise en avant du theme. Elle reste en base pour le partage et le SEO. */
body.prixwc-a-bandeau .featured-image.page-header-image,
body.prixwc-a-bandeau .featured-image.page-header-image-single {
  display: none;
}