/*
Theme Name: Immobilière Hock
Description: Agence immobilière spécialisée dans l'achat et la vente de bien immobilier sur le plateau de Herve.
Author: Localisy Web Agency
Version: 1.0
*/

.cards--large .cards__item + .cards__item {
    margin-top: 4rem;
}
#search-filter-form-92 .chosen-choices {
    display: inline-block !important;
    height: auto !important;
    overflow: auto !important;
}

#search-filter-form-95 .chosen-choices {
    display: inline-block !important;
    height: auto !important;
    overflow: auto !important;
}


.search-filter-reset:hover {
    color: white;
}

.search-choice {
    border: none !important;
    background-color: #F4F4F4 !important;
    background-image: none !important;
}

.chosen-container {
    width: 100% !important;
}

.search-choice span {
    padding: 0.5rem 1rem !important;
    background-color: transparent !important;
    font-size: 11px !important;
    padding-right: 25px !important;
    color: black;
}

#search-filter-form-92 .chosen-container .chosen-results {
    display: grid;
    grid-template-columns: 1fr;
}

#search-filter-form-92 .chosen-results li {
    padding: 0.3rem !important;
}

#search-filter-form-95 .chosen-container .chosen-results {
    display: grid;
    grid-template-columns: 1fr;
}

#search-filter-form-95 .chosen-results li {
    padding: 0.3rem !important;
}


.wpfront-notification-bar a.wpfront-button {
    text-shadow: none;
}

.wpfront-message {
    font-weight: 700
}

.estate-top__flag {
    padding: 10px 30px
}
.estate-top__flag span {
    font-size: 20px;
    font-weight: 700;
}

.searchandfilter label {
    width: 100%;
}


.aligncenter,.alignleft,.alignright {
    display: block;
    padding: 0;
}

.aligncenter {
    float: none;
    margin: .5em auto 1em !important;
}

.alignright {
    float: right;
    margin: .5em 0 1em 1em !important;
}

.alignleft {
    float: left;
    margin: .5em 1em 1em 0 !important;
}

#cookie-law-info-bar {
    padding: 40px 30px !important;
    border-radius: 10px;
}

.cli-wrapper h5 {
    font-size: 20px;
    font-weight: 700;
}

.cli-bar-message {
    margin: 20px 0px;
    font-size: 14px;
    line-height: 1.7;
}

#wt-cli-accept-btn {
    border-radius: 5px !important;
}

.seo-blocks__content .btn {
    margin-top: 2rem;
}

.features__form {
    box-shadow: 0px 0px 20px rgba(1, 1, 1, 0.3);
    padding: 50px 5%;
    border-radius: 10px;
    max-width: 1000px;
}

.form__title {
    font-weight: 700;
    margin-bottom: 30px;
    font-style: underline;
    font-size: 28px;
}

.features__form label {
    font-weight: 700;
}

.estate-table {
    width: 100%;
}

.estate-table th, td {
    text-align: center;
    padding: 10px 0px;
    border-bottom: 1px solid #F4F4F4;
}

.estate-table tr:first-child {
    background-color: #383e41;
    color: white;
}
.estate-table tr:nth-child(even) {
    background-color: white;
}
.estate-table td:first-child {
    text-align: left;
    padding-left: 40px;
}
.estate-table th:first-child {
    text-align: left;
    padding-left: 40px;
}

.pagination {
    font-size: 16px;
    font-weight: 400;
    margin-top: 40px;
}

.post-content .btn {
    padding: 10px 20px;
    border-radius: 10px;
    color: #FFF;
    cursor: pointer;
    background: rgb(179, 58, 205);
    background: #dddb02;
    font-size: 14px;
    transition: all 0.2s ease-in-out 0s;
    -webkit-appearance: none;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    border: none;
    line-height: 2;
    display: inline-block;
}

.post-content .btn:hover {

}

.wp-pagenavi {
    line-height: 2.5;
}

.sf-field-taxonomy-estate_cities ul {
    background-color: white;
    max-height: 80px;
    overflow: scroll;
    padding: 10px 10px !important;
    border-radius: 5px;
    gap: 5px !important;
}

.sf-field-taxonomy-estate_cities li {
    display: flex !important;
}

.sf-field-taxonomy-estate_cities label {
    font-weight: 400;
}


.gform_wrapper.gravity-theme .gf_progressbar_percentage {
    background-color: #dddb02 !important;
}

.gform-page-footer input {
    margin-top: 20px;
    border: none;
    color: #FFF !important;
    font-size: 16px;
    transition: all 0.2s ease-in-out 0s;
    background: #dddb02 !important;
    padding: 10px 40px;
    display: block;
    cursor: pointer;
    border-radius: 5px;
    -webkit-appearance: none !important;
}


.gform-page-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.gfield-choice-input {
    width: auto !important;
    -webkit-appearance: auto !important;
}

.gchoice label {
    margin-left: 10px !important;
}

.no-results span {
    display: none;
}

.gallery__item img {
    object-fit: cover;
}

@media(max-width: 768px) {
    .team__item {
        width: 100%;
    }
}

.estate-top__energy {
    min-width: 90px;
}

@media(max-width: 550px) {

    .page-header {

    }
    .agent__title {
        top: 2rem;
    }

    .agent__title .title {
        font-size: 20px;
    }

    .agent__contact a {
        font-size: 12px;
    }

    .agent__contact .contact {
        padding: 0 1rem;
    }

    .agent__content ul {
        grid-template-columns: 1fr;
    }

    #reviews .heading {
        padding-bottom: 4rem;

    }

    .reviews__list .slick-prev {
        right: auto;
        left: calc(50% - 25px);
        transform: translatex(-50%) translateY(-50%);
    }
    .reviews__list .slick-next {
        right: auto;
        left: calc(50% + 25px);
        transform: translatex(-50%) translateY(-50%);
    }

    #gallery .heading {
        padding-bottom: 3rem;

    }

    .gallery__slider .slick-prev {
        right: auto;
        left: calc(50% - 25px);
        transform: translatex(-50%) translateY(-50%);
    }
    .gallery__slider .slick-next {
        right: auto;
        left: calc(50% + 25px);
        transform: translatex(-50%) translateY(-50%);
    }

    .properties__list {
        grid-template-columns: 1fr;
    }

    #properties-map .heading {
        padding-top: 0 !important;
    }
}




/* Section SEO projet immo */


section.pi .heading__desc p {
    color: rgb(0, 0, 0);
    opacity: 0.7;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 300;
}

section.pi {
    background: transparent !important;
}


.pi-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 */
    gap: 40px;
    align-items: stretch; /* 🔥 égalise les hauteurs */
}

.pi-col {
    min-width: 0;
}

.pi-col--left { order: 1; }
.pi-col--right { order: 2; display: flex; }
.pi-col--right .pi-slick { flex: 1; }

/* -------------------------- */
/* Titre + contenu            */
/* -------------------------- */
.heading__subtitle {
    margin-bottom: 15px;
}

.heading__desc {
    line-height: 1.6;
}

/* -------------------------- */
/* Slick Gallery adaptable    */
/* -------------------------- */
.pi-slick {
    visibility: hidden;
    width: 100%;
    height: 100%;
}

/* Slide wrapper */
.pi-slick .pi-slide {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;

    /* 🔥 Espace entre les slides */
    margin: 0 10px;
}

/* 🔧 empêche Slick de rogner le margin */
.pi-slick .slick-list {
    margin: 0 -10px;
}

.pi-slick .pi-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Dots */
.pi-slick .slick-dots {
    margin-top: 12px;
    text-align: center;
    position: static;
}

.pi-slick .slick-arrow {
    display: none !important;
}

/* -------------------------- */
/* Responsive                 */
/* -------------------------- */
@media (max-width: 900px) {
    .pi-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pi-col--right {
        display: block;
    }

    .pi-slick {
        height: auto;
    }

    .pi-slick .pi-slide {
        aspect-ratio: 4 / 3;
        height: auto;
        margin: 0 8px; /* léger gap sur mobile */
    }

    .pi-slick .slick-list {
        margin: 0 -8px;
    }
}





/* Fix icone recherche blog */


#search-filter-form-6115 .sf-field-search label::after {
    display: none !important;
    content: none !important;
}



#search-filter-form-6115 .sf-field-search input.sf-input-text {
    /* loupe simple en SVG inline */
    background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
    <circle cx='11' cy='11' r='7' stroke='%23888' stroke-width='2' fill='none'/>\
    <line x1='16' y1='16' x2='22' y2='22' stroke='%23888' stroke-width='2'/>\
  </svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 20px 20px !important;
    padding-right: 46px !important;
    height: 48px;
    box-sizing: border-box;
}