.wp-singular.single.single-post {
    background-color: rgba(219, 216, 215, 0.63) !important;
}
.annonce-single {
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}
/* Fil d'ariane */
.annonce-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 10px;
}
.annonce-breadcrumb__tag {
    background: white;
    border: 1px solid white;
    padding: 4px 12px;
    color: #333;
    text-decoration: none;
}
a.annonce-breadcrumb__tag:hover {
    background: #1a2340;
    color: #fff;
    border-color: #1a2340;
}
.annonce-breadcrumb__retour {
    color: #888;
    text-decoration: none;
    font-size: 12px;
    margin-left: 3rem;
}
.annonce-breadcrumb__retour:hover {
    color: #1a2340;
}
/* En-tête */
.annonce-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 20px;
}
.annonce-header__titre {
    font-size: 28px;
}
.annonce-header__block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.annonce-header__prix {
    background: #fff;
    color: #1a2340;
    padding: 10px 20px;
    font-size: 23px;
    font-weight: 600;
    white-space: nowrap;
}
.annonce-header__ref {
    font-size: 10px;
    font-weight: 500;
    margin-top: 7px;
}
.annonce-localisation {
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #666;
    font-weight: 500;
    margin-bottom: 20px;
}
/* ============================================================
    GALERIE DEUX COLONNES
    ============================================================ */
.annonce-galerie {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1rem;
    margin-bottom: 40px;
}
/* Grande image principale à gauche */
.annonce-galerie__main {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.annonce-galerie__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Colonne de droite : images secondaires empilées */
.annonce-galerie__secondary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.annonce-galerie__secondary-img {
    /* flex: 1; */
    overflow: hidden;
    /* background: #f5f5f5; */
    cursor: pointer;
    position: relative;
}
.annonce-galerie__secondary-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.annonce-galerie__secondary-img:hover img {
    transform: scale(1.05);
}
/* Badge "voir toutes les photos" sur la dernière image secondaire */
.annonce-galerie__more {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 64, 0.75);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
}
/* Lightbox / slider overlay */
.annonce-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.annonce-lightbox.open {
    display: flex;
}
.annonce-lightbox__inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;

    width: 100%;
}
.annonce-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;

    width: 100%;
}
.annonce-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.annonce-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.3);
}
.annonce-lightbox__nav--prev {
    /* left: -65px; */
    left: 65px;
}
.annonce-lightbox__nav--next {
    /* right: -65px; */
    right: 65px;
}
.annonce-lightbox__close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}
.annonce-lightbox__counter {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: #ccc;
    font-size: 13px;
}
/* Corps principal */
.annonce-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}
/* Caractéristiques */
.annonce-caract {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.annonce-caract__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.annonce-caract__valeur {
    font-size: 20px;
    font-weight: 700;
    color: #1a2340;
}
.annonce-caract__label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Description */
.annonce-description h3 {
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a2340;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}
.annonce-description__texte {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    color: #444;
}
/* Sidebar */
.annonce-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.annonce-nego {
    border: 1px solid #e0e0e0;
    padding: 20px;
    background: #fff;
}
.annonce-nego__label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
}
.annonce-nego__nom {
    font-size: 16px;
    font-weight: 700;
    color: #1a2340;
    margin-bottom: 8px;
}
.annonce-nego__contact {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}
.annonce-nego__contact a {
    color: #1a2340;
    text-decoration: none;
}
.annonce-nego__contact a:hover {
    text-decoration: underline;
}
/* DPE */
.annonce-dpe {
    border: 1px solid #e0e0e0;
    padding: 10px;
    background-color: white;
}
.dpe-barre {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.dpe-barre__border {
    display: flex;
}
.dpe-barre__data.cons_energie {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}
.dpe-barre__data.emission_gaz {
    position: relative;
}
.dpe-barre__data {
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1.5px solid black;
    border-right: none;
    padding: 0 .2rem;
    position: relative;
}
.dpe-barre__data.emission_gaz {
    border-left: none;
}
.dpe-barre.data_active .dpe-barre__data {
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dpe-barre__border_inside {
    width: 1.5px;
    background: black;
    height: 30px;
    position: absolute;
    left: 0;
    border-radius: 2px;
}
.dpe-barre__little_title {
    position: absolute;
    font-size: 4.2px;
    font-weight: 700;
    left: 0;
    text-align: center;
    line-height: 1;
    top: -10px;
    width: 100%;
}
.cons_energie .dpe-barre__little_title {
    top: -10px;
}
.emission_gaz .dpe-barre__little_title {
    top: -5.6px;
}
.dpe-barre__little_main {
    font-size: 20px;
    font-weight: 800;
    color: black;
}
.dpe-barre__little_under {
    font-size: 6px;
    font-weight: 600;
    text-align: center;
    line-height: 1;
    width: 100%;
}
.dpe-barre__bande {
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 0 3px 3px 0;
    height: 35px;
    clip-path: polygon(0 0,
            calc(100% - 15px) 0,
            100% 50%,
            calc(100% - 15px) 100%,
            0 100%);
    z-index: 1;
    position: relative;
}
.dpe-barre__bande.active {
    z-index: 1;
    position: relative;
    background: black;
    height: 40px;
    left: -1px;
    top: 0;
}
.dpe-barre__bande.active::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    clip-path: polygon(1.5px 1.7px, calc(98.9% - 14px) 1.7px, 98.8% 50%, calc(98.7% - 14px) 97%, 1% 97%);
    width: 100%;
    height: 100%;
    left: 0px;
    right: 0px;
    top: 0;
    bottom: 0;
}
.dpe-barre__lettre_in {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 25px;
    font-weight: 700;
}
.dpe-barre__bande.active .dpe-barre__lettre_in {
    -webkit-text-fill-color: white;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
    font-weight: 900;
    font-size: 40px;
}
/* Responsive */
@media (max-width: 900px) {
    .annonce-body {
        grid-template-columns: 1fr;
    }
    .annonce-galerie {
        grid-template-columns: 1fr;
    }
    .annonce-galerie__secondary {
        flex-direction: row;
        height: 150px;
    }
    .annonce-header {
        flex-direction: column;
    }
    .annonce-header__block {
        align-items: flex-start;
    }
    .annonce-header__prix {
        align-self: flex-start;
    }
    .annonce-lightbox__nav--prev {
        left: 5px;
    }
    .annonce-lightbox__nav--next {
        right: 5px;
    }
}
@media (max-width: 600px) {
    .annonce-header__titre {
        font-size: 22px;
    }
    .annonce-galerie__secondary {
        display: none;
    }
}