/*
 Theme Name:   GP QANTA
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
.margin-b-zero{
	margin-bottom:0;
}
.gp-icon {
  display: block;
}

.search .site-content{
	max-width:1000px;
	padding-top:60px;
	padding-bottom:60px;
}

/*************GSAP***********************
/* Effets de base */
.anim-fade,
.anim-left,
.anim-right,
.anim-scale,
.anim-rotate,
.anim-stagger > * {
  will-change: transform, opacity;
}

/***/


.wp-block-cover{
	padding: 0 !important;
}

.img-filtre-bleu {
  position: relative;
  overflow: hidden;
}

.img-filtre-bleu img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter .4s ease;
}

/* Overlay visible garanti */
.img-filtre-bleu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.05); /* couleur + opacité */
  pointer-events: none;
  z-index: 2;
  transition: opacity .4s ease;
}

/* Image doit être derrière l’overlay */
.img-filtre-bleu img {
  position: relative;
  z-index: 1;
}

/* Hover → couleur native + pas d’overlay */
.img-filtre-bleu:hover img {
  filter: none;
}

.img-filtre-bleu:hover::before {
  opacity: 0;
}



.wp-block-quote {
	border-left:.25px solid #000;
	padding:0 0 0 20px;
}
.main-navigation ul ul {
  padding: 10px;
}
.wpml-ls-item{
	margin-left: 40px;
}
@media (max-width: 1024px) {
.wpml-ls-item{
	margin-left: 0px;
}}
/****NEWS***/
.masonry {
  display: block !important;      /* important : écrase le grid GB */
  columns: 2;
  column-gap: 2rem;
}

.masonry > * {
  break-inside: avoid;
  margin: 0 0 2rem;
  width: 100%;
}
/* Cas SANS image mise en avant */
.article-card:not(:has(.card-thumb)) {
  background: #f2f2f2;
  padding: 30px;
}
.blocarticle:hover h2{
	color:#878787;
}
.blocarticle:hover img{
	opacity:0.8;
}

/* responsive */
@media (max-width: 1024px) {
  .masonry { columns: 2; }
}
@media (max-width: 640px) {
  .masonry { columns: 1; }
	.home .site-header .header-image {
  width: 140px;
}
}
