/* Feuille de style de l'extension custom-posts-cards (version 7.0.3), récupérée telle quelle depuis les archives du web (capture du 10/08/2026). */

/* ALL CARDS - style */

.swiper-pagination {
    position: relative !important;
}

.swiper-slide:not(.slide-img-bien) {
    overflow: visible !important;
    padding-bottom: 50px;
}

.all-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.all-card .elementor-widget-html:before {
    content : "";
    position: absolute;
    left: 7%;
    top: -15px;
    height: 1px;
    width: 86%;
    border-top :1px solid #335C6710;
  }

@media all and (min-width: 1025px) {

    div.elementor-element:not(.talk-about-slider)>div>div>.swiper-container:not(.cards-grid) {
        margin-left: 70px !important;
        margin-right: 70px !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    div.elementor-element:not(.talk-about-slider)>div>div>.swiper-container:not(.cards-grid) > .swiper-wrapper {
        overflow: visible;
    }

}

@media all and (min-width: 768px) {

    .swiper-wrapper .all-grid {
        width: 33% !important;
    }

    .swiper-wrapper:not(.boxGrid) .all-grid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .swiper-wrapper.boxGrid .all-grid {
        padding-right: 20px;
    }


    .swiper-container#grid-agents {
        overflow: visible;
    }

    .boxGrid {
       /* padding-left: 20px; */

    }

}

@media all and (min-width: 768px) and (max-width: 1024px) {

    .swiper-wrapper .all-grid {
        width: 50% !important;
    }

}

/* ACTUALITES slider - style */

.swiper-slide.post-slide,
.post-card {
    height: 554px;
}

.post-card a:nth-child(1) {
    height: 480px;
}

.post-card a.lire-plus {
    display: block !important;
    width: max-content;
}

.cards-img-container {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

ul.grid figure,
.post-card figure {
    background-size: cover;
    width: 100%;
    height: 276px;
    border-radius: 15px;
}

.swiper-posts {
    background-image: none !important;
    overflow: hidden !important;
    height: 45px !important;
    width: 45px !important;
    border-radius: 50vh !important;
    background: #8FCFEC !important;
    position: absolute !important;
    cursor: pointer !important;
}

.card-header-post {
    padding: 20px 0px;
    /*position: absolute;
    top: 140px;
    z-index: 1;*/
}

p.post-title {
    font-size: 30px !important;
    line-height: 36px !important;
    color: #335C67;
}

.post-card p:not(.post-title) {
    color: #335C6780;
}

.post-card span {
    color: #335C6750;
}

.post-card div.news__item-inner,
.post-card div.author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-card span.news__date,
.post-card span.news__author__name {
    font-family: 'ReadexPro-Regular' !important;
    font-size: 12px !important;
    line-height: 18px !important;
}

.post-card span.news__author__avatar img {
    border-radius: 100px;
    width: 33px;
    height: 33px;
    margin-left: 15px;
}

.swiper-button-prev.swiper-posts-nav,
.swiper-button-next.swiper-posts-nav,
.swiper-button-prev-img.swiper-posts-nav,
.swiper-button-next-img.swiper-posts-nav {
    background-image: none !important;
    border-radius: 100px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.swiper-button-prev.swiper-posts-nav,
.swiper-button-next.swiper-posts-nav {
    background-color: #335C6710 !important;
    width: 51px !important;
    height: 51px !important;
    top: 40.5% !important;
}

.swiper-button-next-img.swiper-posts-nav {
    right: 0;
}

.swiper-button-prev.swiper-posts-nav,
.swiper-button-prev-img.swiper-posts-nav  {
    transform: rotate(90deg);
}

.swiper-button-next.swiper-posts-nav,
.swiper-button-next-img.swiper-posts-nav  {
    transform: rotate(-90deg);
}

.swiper-button-prev.swiper-posts-nav:after,
.swiper-button-next.swiper-posts-nav:after,
.swiper-button-prev-img.swiper-posts-nav:after,
.swiper-button-next-img.swiper-posts-nav:after {
    display: none;
}

.swiper-button-disabled,
.swiper-posts-nav[disabled="disabled"] {
    opacity: 0.35;
}

/*.swiper-posts-nav:not([disabled="disabled"]):hover {
    background-color: #335C6750 !important;
}*/

.lire-plus {
    border: 1px solid #335C6750;
    background-clip: content-box;
    border-radius: 15px;
    font-family: 'ReadexPro-Medium' !important;
    font-size: 18px !important;
    line-height: 22px !important;
    color: #335C6750 !important;
    padding: 17px 25px;
    height: 59px;
}

.lire-plus.not-empty {
    border-color: #335C67;
}

#swiper-posts .swiper-slide:hover .lire-plus,
#swiper-posts .swiper-slide:active .lire-plus {
    border-color: #335C67;
    color: #335C67 !important;
}

#swiper-posts .swiper-slide:hover .cards-img-bkg,
#swiper-posts .swiper-slide:active .cards-img-bkg {
    transform: scale(1.06);
}

.cards-img-bkg {
    border-radius: 15px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.all-card .elementor-widget-container > p:not(.elementor-heading-title) {
    opacity: 0.8;
}

.conseil-card .elementor-widget-container > p:not(.elementor-heading-title) {
    min-height: 175px;
}

@media all and (min-width: 1025px) {

    p.post-title {
        min-height: 72px;
    }

}

@media all and (max-width: 1370px) {

    .swiper-slide-duplicate-prev {
        opacity: 0.5;
    }

}


@media all and (max-width: 1024px) {

    #swiper-posts .swiper-button-prev,
    #swiper-posts .swiper-button-next {
        display: none !important;
    }

    .post-card span.news__date,
    .post-card span.news__author__name {
        line-height: 11px !important;
    }

    #swiper-posts p.post-title {
        font-size: 18px !important;
        line-height: 22px !important;
    }

    .post-card p {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    p.post-title {
        min-height: 44px;
    }

}

@media all and (max-width: 767px) {

    ul.grid figure,
    .post-card figure {
        height: 175px;
    }

    /*.card-header-post {
        padding: 10px 0px;
    }*/

    #posts-swiper {
        display: block;
        margin-bottom: 40px;
    }

    #posts-swiper .swiper-slide {
        min-width: max-content;
        flex-shrink: 1;
    }

    .card-header-post {
        top: 140px;
    }

    #swiper-posts .swiper-slide.post-slide,
    .post-card {
        height: 413px;
    }

    .post-card a:nth-child(1) {
        height: 0px;
    }

    .swiper-button-prev.swiper-posts-nav,
    .swiper-button-next.swiper-posts-nav {
        display: none !important
    }

    .swiper-slide-duplicate-prev {
        opacity: 1;
    }

    .swiper-slide-next {
        opacity: 0.5;
    }

    .swiper-wrapper .all-grid:not(:nth-last-child(1)) {
        padding-bottom: 40px;
    }

    .conseil-card .elementor-widget-container > p:not(.elementor-heading-title) {
        min-height: 225px;
    }

}

/* AGENTS/AGENCIES/GUIDES - style */

.agent-card.elementor-column:hover>.elementor-element-populated {
    box-shadow: 0px 20px 40px 0px rgb(51 92 103 / 19%);
}

.agent-card .elementor-widget-wrap {
    background-color: #FFFFFF;
    box-shadow: 0px 0px 0px 0px rgb(51 92 103 / 19%);
    transition: background 0.3s, border 0.4s, border-radius 0.4s, box-shadow 0.4s;
    margin: 0px 0px 0px 0px;
    --e-column-margin-right: 20px;
    --e-column-margin-left: 0px;
    border: 1px solid #335C6715;
    border-radius: 25px 25px 25px 25px;
    padding: 10px;
    display: block !important;
}

.swiper-wrapper .agent-card .elementor-widget-wrap {
    margin: 0px 20px 0px 0px;
}

.agent-card .elementor-widget-heading .elementor-widget-container {
    margin: 0px 0px -10px 0px;
    padding: 0px 20px 0px 20px;
}

.agent-card .elementor-widget-text-editor .elementor-widget-container {
    margin: 0px 0px 0px 0px;
    padding: 0px 20px 20px 20px;
}

.agent-card p.elementor-heading-title {
    color: #335C67;
    padding-bottom: 50px;
}

.conseil-card p.elementor-heading-title {
    padding-bottom: 0px;
}

.agent-card h6.elementor-heading-title,
.agent-card p {
    color: #335C67;
}

.agent-card p {
    margin-top: 0;
    margin-bottom: 0.9rem;
}

/* ANNONCES CARDS */

.swiper-annonces-img .swiper-pagination,
.gallery-top .swiper-pagination {
    position: absolute !important;
    bottom: 20px !important;
    width: 100%;
}

.cards-img-container:not(.gallery-top) .swiper-pagination-bullet {
    margin: 0 2px !important;
}

.swiper-pagination-bullet {
    background: #FFFFFF !important;
    opacity: .5 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

@media all and (max-width: 767px) {

    .cards-img-container:not(.gallery-top) .swiper-pagination-bullet {
        width: 5px;
        height: 5px;
    }

    .agent-card.elementor-column:hover {
        box-shadow: 0px 10px 20px 0px rgb(51 92 103 / 19%);
        border-radius: 25px 25px 25px 25px;
    }
    .agent-card.elementor-column:hover>.elementor-element-populated {
        box-shadow: none;
    }

}


/* MAP */
.gm-style .gm-style-iw-c{
    border-radius: 30px !important;
    min-width: 330px !important;
    padding: 12px !important;
    overflow: visible !important;
}
.gm-style-iw-d  {
    overflow: auto !important;
}
.gm-style-iw-d .dialog-close-button:not(:hover) {
    z-index: 3;
    background-color: #ffffff;
    /*right: -20px;
    top: -30px;*/
    opacity: 1;
}
.container-info-map{
    width: 100%;
}
.img-map{
    width: 100%;
    height: 196px;
}
.img-map figure{
    border-radius: 20px;
    /* width: 98%; */
    height: 100%;
}
button.gm-ui-hover-effect{
    visibility: hidden;
}


.btn-search{
    background: #335C6710 !important;
    border: 0px !important;
}
.btn-search:hover{
    background: #335C6710 !important;
}