/*
Theme Name: Mon Thème FSE
Theme URI: http://example.com
Author: Votre Nom
Author URI: http://example.com
Description: Un thème WordPress vierge utilisant Full Site Editing.
Version: 1.0
*/


@import url('css/bulles.css');
@import url('css/btns-nav.css');




body { overflow-x: hidden; }


.titre_accueil::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
    top: 8px;
    left: 10px;
    border-radius: 50%;
    color: var(--wp--preset--color--emphase);
    background-color: var(--wp--preset--color--emphase);
}















/* **********************************************
                -----------------
                QUERIES DU LAYOUT
                -----------------
*********************************************** */
@media all and (max-width: 768px) {
    body { padding-left: 1.5rem; padding-right: 1.5rem; }
}
 
@media all and (max-width: 1024px) {
    :root { --wp--style--global--content-size: 80%; }
}

@media all and (max-width: 767px) {
    :root {
        --wp--style--global--content-size: 100%;
        --wp--style--global--wide-size: 100%;
    }
}





 /* ***************************************************** */
 /* le trait vertical sur le bloc de présentation accueil */
 /* ***************************************************** */
  .wp-block-columns.presentation > :nth-child(2){
    position: relative; 
  }
 .wp-block-columns.presentation > :nth-child(2){
    position: relative; 
  }
.wp-block-columns.presentation > :nth-child(2)::before {
     content: '';
    position: absolute;
    left: -30px;
    top: -210px;
    width: 7px;
    height: 450px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'7\' height=\'450\' fill=\'%23CE7E92\'%3E%3Crect width=\'7\' height=\'450\'/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: contain; 
  }  






/* **********************************************  
*************************************************  
         MASONRY BOUCLE ARTICLE                 
*************************************************  
************************************************* */
.my_masonry .wp-block-post-template {
    display: flex!important;
    flex-wrap: wrap!important;
    margin: 0 auto!important;
}

.my_masonry .wp-block-post {
    margin: 0px;
    width: 33%; 
    padding: 15px!important;
    box-sizing: border-box!important;
    transition: transform 0.3s;
}

.my_masonry li:hover {
    transform: scale(0.95);
    filter: grayscale(0%);
}


.my_masonry figure {
    margin: 0;
}

.my_masonry figure img {
    border-radius: 20px;
    filter: grayscale(85%);
    transition: filter 0.3s;
}

.my_masonry li:hover img {
    filter: grayscale(0%);
}

.my_masonry .wp-block-post-title {
    margin: 0;
    position: absolute;
    bottom: 39px;
    left: -5px;
    background-color: rgba(234, 233, 220, 0.9);
    color: var(--wp--preset--color--contrast);
    font-weight: 400;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.83rem;
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.75);
    transition: box-shadow 0.3s, transform 0.3s, background-color 0.3s, color 0.3s;
}

.my_masonry li:hover .wp-block-post-title {
    box-shadow: none;
    transform: scale(1.1);
    background-color: var(--wp--preset--color--emphase);
}

.my_masonry .wp-block-post-title a {
    color: var(--wp--preset--color--contrast);
    text-decoration: none;
}
.my_masonry li:hover .wp-block-post-title a {
    color: white;
}

.my_masonry :where(.is-layout-flow) > :first-child {
    margin-block-start: 0px;
}



/* MEDIAS QUERIES */
@media all and (max-width: 767px) {
    .my_masonry .wp-block-post , .my_masonry .wp-block-post-template { width: 100%!important; }
    .my_masonry .wp-block-post { padding:0!important; padding-bottom: 30px!important;}
}






/* *******************************
********************************** 
LE MASONRY DE LA GALERIE GUTENBERG
**********************************
********************************** */
.wp-block-gallery .wp-block-image {
    /* padding: 15px!important; */
    /* width: 35%!important; */
    padding-left: 30px;
    padding-bottom: 30px;
}

.wp-block-gallery figure img {
    border-radius: 10px!important;
}



/* MEDIAS QUERIES */
@media all and (max-width: 767px) {
    .wp-block-gallery .wp-block-image {
        padding-left: 0px;
        padding-bottom: 20px;
        width: 100%!important;
    }


}








/* CONTACT FORM */
/* ************ */
.wpcf7-form-control {
    border: 2px solid white;

    padding: 5px 10px;
    background-color: var(--wp--preset--color--emphase);
    color: white;
    border-radius: var(--wp--custom--border-radius--big);
    font-size: 16px;
}

.wpcf7-form-control:focus {
    outline: 2px solid white;
    box-shadow: 0 0 10px black;
   
}









/* Styles pour le curseur de la loupe */
 .wp-block-gallery .wp-block-image img {
    cursor: zoom-in; 
}

.wp-block-gallery .wp-block-image img:hover {
    cursor: zoom-in; 
} 





/* .lg-backdrop {background-color: var(--wp--preset--color--contrast)!important;} */

/* .lg-inner {margin-bottom: 40px!important;} */
.lg-image  {
  /* box-shadow: 0px 0px 20px rgba(0,0,0,0.75)!important; */
    object-fit: contain!important;
}

/* 

.lg-next,
.lg-prev {
    background-color: var(--wp--preset--color--emphase)!important;
    color: white!important;
    border: 2px solid var(--wp--preset--color--emphase)!important;
    border-radius: 50%!important;
    padding: 10px!important;
    transition: background-color 0.3s, border 0.3s!important;
}

.lg-next:hover, .lg-prev:hover {
    background-color: var(--wp--preset--color--contrast)!important;
    border: 2px solid white!important;
}

.lg-close { color: white!important; transition: transform 0.3s!important; }
.lg-close:hover { transform: rotate(180deg) scale(1.25)!important; }

.lg-counter { color: white!important; } */