/*
Theme Name: ProjetX
Template: twentytwentyfour
Author: Anthony DOUILLARD
Description: ProjetX Corporate Front
Version: 1.0.0
*/

/* Effet de survol uniquement sur les images des articles */
.image-survol img:hover {
    transform: scale(1.1); 
    filter: brightness(0.8); /* Assombrir légèrement */
    transition: all 0.3s ease;
}



.banniere img {
    width: 100%;
    height: auto;
    filter: brightness(50%);
}

.puces-bleues ul li::marker {
  color: #38b6ff;
}





/* Gestion du sticky pour le menu du site */
header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
}

header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}






/* Gestion des chevrons pour le blog  */

/* 1. Le bloc query doit permettre une position relative pour contenir les flèches */
.wp-block-query {
  position: relative;
}

/* 2. Conteneur de pagination en absolu au centre vertical */
.wp-block-query-pagination {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* évite de bloquer les clics inutiles */
  z-index: 10;
}

/* 3. Boutons gauche et droit */
.wp-block-query-pagination a {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.6rem 0.9rem;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.wp-block-query-pagination a:hover {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
}

/* 4. Écarter légèrement les flèches des bords */
.wp-block-query-pagination .wp-block-query-pagination-previous {
  margin-left: 0.5rem;
}

.wp-block-query-pagination .wp-block-query-pagination-next {
  margin-right: 0.5rem;
}



.wp-block-query-pagination {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wp-block-query:hover .wp-block-query-pagination {
  opacity: 1;
}







/* Classe générique hover-effet avec arrondi */
.hover-effet {
    transition: box-shadow 0.4s ease, transform 0.4s ease, background-color 0.4s ease;
    border-radius: 20px; /* assure l'arrondi même en dehors du hover */
    overflow: hidden; /* garantit que tout contenu (ex: ombre interne) respecte l'arrondi */
}

.hover-effet:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px; /* maintenu pendant le hover */
	}




.no-underline a {
  text-decoration: none;
}
