/*
 * Hero de la page d'accueil (pcherobanner). Chargé uniquement sur l'accueil, avec un numéro de version
 * dans l'URL : un déploiement n'est jamais masqué par le cache navigateur (custom.css : 1 an, sans version).
 * Couleurs = variables du thème : $primary #ff0000, $black, $white.
 */

/* Puces au ras du bas de la bannière (thème : 20px + 16px de marge) */
#index #carousel .carousel-indicators {
  bottom: 8px;
  margin-bottom: 0;
}

/* Flèches précédente / suivante */
#carousel .pchb-arrow {
  position: absolute;
  top: 50%;
  z-index: 16;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, .45);
  color: #fff;
  text-decoration: none;
  transform: translateY(-50%);
  transition: background-color .2s;
}
#carousel .pchb-arrow i {
  font-size: 32px;
  line-height: 1;
}
#carousel .pchb-arrow:hover,
#carousel .pchb-arrow:focus {
  background-color: #ff0000;
  color: #fff;
}
#carousel .pchb-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#carousel .pchb-arrow--prev { left: 16px; }
#carousel .pchb-arrow--next { right: 16px; }

@media (max-width: 767px) {
  #carousel .pchb-arrow { width: 32px; height: 32px; }
  #carousel .pchb-arrow i { font-size: 24px; }
  #carousel .pchb-arrow--prev { left: 8px; }
  #carousel .pchb-arrow--next { right: 8px; }
}
