/* Bannière Gutenberg : calque + texte au survol, avec flou progressif (dégradé) */

.wp-block-cover {
  position: relative;
  overflow: hidden;
}

/* On ne touche plus au position de l'image, juste son empilement */
.wp-block-cover .wp-block-cover__image-background {
  z-index: 0;
}

.wp-block-cover::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;

  /* flou + effet verre : saturation et luminosité accentuées */
  backdrop-filter: blur(0px) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(0px) saturate(180%) brightness(1.1);


  /* reflet subtil en haut du calque, comme un bord de verre éclairé */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);

  mask-image: linear-gradient(to bottom, transparent 0%, transparent 33%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 33%, black 100%);

  transition: backdrop-filter 0.5s ease, -webkit-backdrop-filter 0.5s ease;
}

.page-id-154 .wp-block-cover:hover::after,
.wp-block-cover:focus-within::after {
  backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
}

/* Calque de superposition (couleur) : invisible par défaut, position d'origine conservée */
.page-id-154 .wp-block-cover .wp-block-cover__background {
  z-index: 2;
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}

/* Texte : invisible et non cliquable par défaut */
.page-id-154 .wp-block-cover .wp-block-cover__inner-container {
  position: relative;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-id-154 .wp-block-cover:hover .wp-block-cover__background,
.wp-block-cover:focus-within .wp-block-cover__background {
  opacity: 0.1 !important;
}

.page-id-154 .wp-block-cover:hover .wp-block-cover__inner-container,
.wp-block-cover:focus-within .wp-block-cover__inner-container {
  opacity: 1;
  pointer-events: auto;
}



/* SLIDER COLONNES PHOTOGRAPHIE */

.wp-block-columns.team-slider {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: visible;
  gap: 8px;
  cursor: grab;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wp-block-columns.team-slider::-webkit-scrollbar {
  display: none;
}

.wp-block-columns.team-slider.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* Largeur réduite et fixe par défaut ; la hauteur d'origine (728px) n'est jamais touchée */
.wp-block-columns.team-slider > .wp-block-column {
  flex: 0 0 300px !important;
  width: 300px !important;
  max-width: 300px !important;
  overflow: hidden;
  transition: flex-basis 0.45s ease, width 0.45s ease, max-width 0.45s ease;
}

/* Au survol : seule CETTE colonne s'élargit */
.wp-block-columns.team-slider > .wp-block-column:hover {
  flex: 0 0 340px !important;
  width: 340px !important;
  max-width: 340px !important;
  z-index: 5;
  position: relative;
}

.wp-block-columns.team-slider > .wp-block-column .wp-block-cover {
  width: 100% !important;
}

#post-154 .wp-block-cover.has-parallax {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* HEADER FIXED */
header{
width: 100%;
	margin: 0 auto;
	position: fixed;
	z-index: 1000;
	top: 0px;
		}