/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
*/

.hide-overflow{
    overflow: hidden !important;
}

/* ImmoWP */
body .iwp__items .iwp__item .iwp__item-header .iwp__item-meta{
    top: 0;
    left: 0;
    padding: 0;
}

body .iwp__items .iwp__item .iwp__item-header .iwp__item-meta ul li{
    border-radius: 0;
    line-height: normal;
}

body .iwp__items .iwp__item .iwp__item-header .iwp__item-meta ul li.iwp__heart{
    background-color: var( --e-global-color-blocksy_palette_4 );
    font-size: 18px;
    font-style: italic;
    font-family: 'Barlow', sans-serif;
    text-transform: none;
    letter-spacing: 0.5px;
    margin: 15px 0px 0px 15px;
    border-radius: 20px;
}

body .iwp__items .iwp__item .iwp__item-header,
body .iwp__items .iwp__item .iwp__item-header img{
    height: 280px;
}

body .iwp__items .iwp__item{
    width: 92%;
    box-shadow: none;
    margin: auto;
    border-radius: 30px;
    overflow: hidden;
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-text .description{
    display: none;
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-overview div span{
    color: white;
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-overview div svg{
    fill: white;
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-text{
    padding: 15px 0;
    position: relative;
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-text .price{
    /*position: absolute;
    top: 0px;
    right: 0;
    background-color:  var( --e-global-color-blocksy_palette_3 );
    padding: 10px 12px;*/
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-text .price span{
    color: #000;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    letter-spacing: 0.5px;
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-text h3{
    text-transform: none;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    letter-spacing: 0.5px;
    /*max-width: 61%;*/
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-text .localisation{
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Barlow', sans-serif;
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-text .localisation span{
    font-size: 20px;
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-overview{
    /*display: none;*/
    background: #000;
}

body .iwp__items.iwp__items-carousel .swiper-button-prev,
body .iwp__items.iwp__items-carousel .swiper-button-next{
    display: block;
    background: transparent;
    border: 1px solid var(--e-global-color-blocksy_palette_3);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    background-image: url('./img/arrow-right-blue.svg')!important;
    background-position: center center;
    background-repeat: no-repeat;
    top: auto;
    bottom: -60px;
}

body .iwp__items.iwp__items-carousel .swiper-button-prev:hover,
body .iwp__items.iwp__items-carousel .swiper-button-next:hover{
    background-color: white;
}

body .iwp__items.iwp__items-carousel .swiper-button-prev{
    left: calc(50% - 50px);
}

body .iwp__items.iwp__items-carousel .swiper-button-next{
    right: calc(50% - 50px);
}

/* Correction décalage 20px */
@media screen and (min-width: 992px){
    .swiper-wrapper > div{
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}


@media screen and (max-width: 768px){
    body .iwp__items .iwp__item{
        width: 100%;
        box-shadow: none;
    }
}


/* Offres d'emploi */
.liste-offre-emplois{
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.liste-offre-emplois .offre-emploi-item{
    padding: 35px 25px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.liste-offre-emplois .offre-emploi-item:first-child{
    /*border-top: 0;*/
}

.liste-offre-emplois .offre-emploi-item h3{
    /*font-size: 20px;*/
}

.liste-offre-emplois .offre-emploi-item a{
    color: var( --e-global-color-blocksy_palette_3 );
}

.liste-offre-emplois .offre-emploi-item > div > div{
    padding-bottom: 20px;
}

.liste-offre-emplois .offre-emploi-item-intitule{
    font-weight: bold;
}

.liste-offre-emplois .offre-emploi-item-entoure{
    color: var( --e-global-color-blocksy_palette_5 );
}

.container-single-form-candidature{
    background-color: var( --e-global-color-blocksy_palette_6 );
    padding: 70px 40px;
    border-radius: 5px;
    text-align: left;
}

.container-single-form-candidature form{
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.container-single-form-candidature form label{
    text-align: left;
}

.container-single-form-candidature form p{
    margin-bottom: 20px;
}

.single-offredemplois-content{
    padding-top: 70px;
}

.single-offredemplois-content h1{
    margin-bottom: 50px;
    color: var( --e-global-color-blocksy_palette_1 );
    text-shadow: none;
}

.single-offredemplois-content h2{
    color: var( --e-global-color-blocksy_palette_3 );
}

.single-offredemplois-content h3{
    color: var( --e-global-color-blocksy_palette_1 );
}

.single-offresdemploi .container{
    max-width: 950px;
}


.carousel-emploi .slick-dots li.slick-active button:before,
.carousel-emploi .slick-dots li button:before{
    color: white;
}




/* IMMOWP */
body .iwp__items {
    /*grid-template-columns: repeat(2, 1fr);*/
}

body .iwp__property-listing__header{
    margin: 50px 0;
}


@media screen and (max-width: 576px){
    body .iwp__property-listing__header .main-theme-button{
        margin: 20px 0!important;
    }

    body .iwp__property-listing__header .header-left{
        margin-bottom: 20px;
    }

    body .iwp__property-listing__header .header-right{
        width: 100%;
    }
}


body.page-id-961 .iwp__items .iwp__item .iwp__item-header img,
body.page-id-961 .iwp__items .iwp__item .iwp__item-header{
    height: 300px;
}


body .iwp__items .iwp__item .iwp__item-content .iwp__item-text{
    padding: 30px 30px 30px 30px;
    background: white;
    min-height: 200px;
}

body .iwp__items .iwp__item .iwp__item-content .iwp__item-text h3 {
    color: #000;
}

/* icones CTA */
body .iwp__items .iwp__item.item-alerte-email .fa{
    font-size: 50px;
    display: block;
    margin-bottom: 30px;
}

/* CTA alerte email */
body .iwp__items .iwp__item.item-alerte-email .elementor-button:before, body .iwp__items .iwp__item.item-alerte-email .main-theme-button:before{
    border: 1px solid white;
}

body .iwp__items .iwp__item.item-alerte-email.item-cta-estimer .elementor-button:before, body .iwp__items .iwp__item.item-alerte-email.item-cta-estimer .main-theme-button:before{
    border: 1px solid var( --e-global-color-blocksy_palette_5 );
}

body .iwp__items .iwp__item.item-alerte-email{
    position: relative;
    height: 100%;
    min-height: 300px;
    box-shadow: none;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;    /* Centre verticalement */
    background-color: var( --e-global-color-blocksy_palette_9 );
}

body .iwp__items .iwp__item.item-alerte-email p,
body .iwp__items .iwp__item.item-alerte-email .fa{
    color: #000;
}

/* CTA Estimer */
body .iwp__items .iwp__item.item-alerte-email.item-cta-estimer {
    background: var( --e-global-color-blocksy_palette_3 );
    border-radius: 30px;
}

body .iwp__items .iwp__item.item-alerte-email.item-cta-estimer .background-alerte-email {
    background: transparent;
    height: auto;
    position: relative;
}

body .iwp__items .iwp__item.item-alerte-email.item-cta-estimer .background-alerte-email p{
    color: var( --e-global-color-blocksy_palette_8 );
}

.background-alerte-email {
    width: 100%;
    border-radius: 3px;
    text-align: center;
    color: white;
    font-size: 16px;
}

.background-alerte-email a {

}

body .iwp__items .iwp__item.item-alerte-email.item-cta-estimer .background-alerte-email a{

}

.background-alerte-email a:hover {

}

body .background-alerte-email p {
    /*margin-top: 20px;*/
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    font-size: 18px;
}

body .background-alerte-email img {
    margin-top: -40%;
    width: auto;
    height: 300px;
}

/* Bloc alerte email page de détail de bien */
body .iwp__sidebar-others .background-alerte-email img {
    margin-top: -50%;
}

body .iwp__sidebar-others .background-alerte-email a {
    padding: 8px 20px;
    border-radius: 3px;
}

@media screen and (max-width: 768px){
    body .iwp__items {
        grid-template-columns: repeat(1, 1fr);
    }

    body .iwp__items .iwp__item.item-alerte-email{
        min-height: 400px;
    }

    body .background-alerte-email img {
        margin-top: -30%;
    }
    body .iwp__property-listing__header{
        margin-top: 25px;
    }
}

body .iwp__header-gallery div.figure-item {
    border-radius: 30px;
}


/* BLog classique listing */
body.blog #main,
body.category #main,
body.single-iwp_gestion_immo #main{
    background-color:  var(--theme-palette-color-6);
}


body.blog h3.widget-title,
body .ct-sidebar .widget-title,
body .ct-sidebar .wp-block-heading{
    /*display: none;*/
    font-size: 26px;
    color: var(--theme-palette-color-1)!important;
}

body.blog .widget_categories ul li a,
body.category .widget_categories ul li a{
    display: block;
    margin-bottom: 10px;
    background: var(--theme-palette-color-3);
    padding: 10px 30px;
    border-radius: 0px;
    color: var(--theme-palette-color-8);
    font-weight: 600;
}

body.blog .widget_categories ul li a:hover,
body.category .widget_categories ul li a:hover{
    background: var(--theme-palette-color-5);
}

body.single-post .ct-widget.widget_categories {
    display: none !important;
}

/* LuckyWP */
body .lwptoc {
    width: 100%;
    margin: 0;
}

body .lwptoc .lwptoc_i{
    width: 100%;
    background: white;
    padding: 30px;
}

body .lwptoc .lwptoc_title{
    color: var(--theme-palette-color-1);
    font-size: 26px;
    font-weight: 600!important;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
}

body .lwptoc-light .lwptoc_i a,
body .lwptoc-light .lwptoc_i a:hover{
    color: var(--theme-palette-color-3);
}


/* Design listing blog page d'accueil */
.custom-recent-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.post-item {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.post-item:hover {
    /*transform: translateY(-4px);*/
}

.post-thumbnail img {
    width: 100%;
    height: 308px !important;
    object-fit: cover;
    border-radius: 1rem !important;
    display: block;
}

.post-content {
    padding: 1.2rem 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-title {
    margin: 0 0 0.5rem;
    font-size: 20px;
}

.post-title a {
    color: #111827;
    text-decoration: none;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-date {
    color: #6b7280; /* gris doux */
    margin-bottom: 0.8rem;
}

.post-excerpt {
    flex-grow: 1;
    color: #374151;
    margin-bottom: 1rem;
}

/* Bouton blog */
body.blog .ct-custom-hero-section .wp-block-button__link{
    display: none !important;
}


#header {
    z-index: 1000 !important;
}














/**/
