.wp-singular.single.single-post {
background-color: rgba(219, 216, 215, 0.63) !important;
}
.annonce-single {
display: flex;
flex-direction: column;
max-width: 1080px;
margin: 0 auto;
padding: 30px 20px 60px;
} .annonce-breadcrumb {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
font-size: 10px;
}
.annonce-breadcrumb__tag {
padding: 4px 12px;
border: 1px solid white;
background: white;
color: #1a2340;
text-decoration: none;
}
a.annonce-breadcrumb__tag:hover {
border-color: #1a2340;
background: #1a2340;
color: #fff;
}
.annonce-breadcrumb__retour {
margin-left: 3rem;
color: #888;
text-decoration: none;
font-size: 12px;
}
.annonce-breadcrumb__retour:hover {
color: #1a2340;
} .annonce-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 20px;
margin-bottom: 8px;
}
.annonce-header__titre {
font-size: 28px;
}
.annonce-header__block {
display: flex;
flex-direction: column;
align-items: flex-end;
}
.annonce-header__prix {
padding: 10px 20px;
background: #fff;
color: #1a2340;
white-space: nowrap;
font-size: 23px;
font-weight: 600;
}
.annonce-header__ref {
margin-top: 7px;
font-size: 10px;
font-weight: 500;
}
.annonce-localisation {
margin-bottom: 20px;
color: #666;
letter-spacing: 1.5px;
font-size: 13px;
font-weight: 500;
} .annonce-galerie {
display: grid;
grid-template-columns: 68% 30%;
gap: 1rem;
margin-bottom: 40px;
} .annonce-galerie__main {
position: relative;
overflow: hidden;
cursor: pointer;
}
.annonce-galerie__main img {
display: block;
aspect-ratio: 4/3;
width: 100%;
height: 100%;
object-fit: cover;
} .annonce-galerie__secondary {
display: flex;
flex-direction: column;
gap: 1rem;
}
.annonce-galerie__secondary-img { position: relative;
overflow: hidden;
cursor: pointer;
}
.annonce-galerie__secondary-img img {
display: block;
width: 100%;
height: 100%;
aspect-ratio: 4/3;
object-fit: cover;
transition: transform 0.3s ease;
}
.annonce-galerie__secondary-img:hover img {
transform: scale(1.05);
} .annonce-galerie__more {
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 8px;
background: rgba(26, 35, 64, 0.75);
color: #fff;
text-align: center;
letter-spacing: 1px;
font-size: 12px;
cursor: pointer;
} .annonce-lightbox {
display: none;
position: fixed;
inset: 0;
z-index: 99999;
padding: 55px 20px 35px;
background: rgba(0, 0, 0, 0.92);
align-items: center;
justify-content: center;
}
.annonce-lightbox.open {
display: flex;
}
.annonce-lightbox__inner {
position: relative;
width: 90vw;
height: 90vh;
max-width: 768px;
}
.annonce-lightbox__close {
position: absolute;
z-index: 20;
top: -42px;
right: 0;
border: 0;
background: none;
color: #fff;
line-height: 1;
font-size: 30px;
cursor: pointer;
}
.annonce-lightbox__prev::after,
.annonce-lightbox__next::after {
font-size: 24px;
}
.annonce-lightbox__pagination {
bottom: 0 !important;
color: #fff;
font-size: 13px;
} .annonce-body {
display: grid;
grid-template-columns: 68% 30%;
align-items: start;
gap: 1rem;
} .annonce-caract {
display: flex;
flex-wrap: wrap;
gap: 20px;
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 {
color: #1a2340;
font-size: 20px;
font-weight: 700;
}
.annonce-caract__label {
color: #888;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 11px;
} .annonce-description h3 {
margin-bottom: 15px;
padding-bottom: 10px;
color: #1a2340;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
font-size: 16px;
}
.annonce-description__texte {
color: #444;
line-height: 1.8;
font-size: 13px;
font-weight: 500;
}
.annonce-btn-url {
display: inline-block;
margin-top: 12px;
padding: 10px 22px;
border-radius: 3px;
background: #1a2340;
color: #fff;
letter-spacing: 1px;
text-decoration: none;
font-size: 13px;
font-weight: 600;
transition: background 0.2s ease;
}
.annonce-btn-url:hover {
background: #202b4e;
} .annonce-sidebar {
display: flex;
flex-direction: column;
gap: 1rem;
}
.annonce-nego {
padding: 20px;
border: 1px solid #e0e0e0;
background: #fff;
}
.annonce-nego__label {
margin-bottom: 12px;
color: #888;
letter-spacing: 1.5px;
text-transform: uppercase;
font-size: 11px;
}
.annonce-nego__nom {
margin-bottom: 8px;
color: #1a2340;
font-size: 16px;
font-weight: 700;
}
.annonce-nego__contact {
color: #555;
line-height: 1.8;
font-size: 13px;
}
.annonce-nego__contact a {
color: #1a2340;
text-decoration: none;
}
.annonce-nego__contact a:hover {
text-decoration: underline;
} .annonce-dpe {
padding: 10px;
border: 1px solid #e0e0e0;
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 {
display: flex;
position: relative;
flex-direction: column;
justify-content: center;
align-items: center;
height: 35px;
padding: 0 .2rem;
border: 1.5px solid black;
border-right: none;
}
.dpe-barre__data.emission_gaz {
border-left: none;
}
.dpe-barre.data_active .dpe-barre__data {
height: 40px;
}
.dpe-barre__border_inside {
position: absolute;
left: 0;
width: 1.5px;
height: 30px;
border-radius: 2px;
background: black;
}
.dpe-barre__little_title {
position: absolute;
top: -10px;
left: 0;
width: 100%;
text-align: center;
line-height: 1;
font-size: 4.2px;
font-weight: 700;
}
.emission_gaz .dpe-barre__little_title {
top: -5.6px;
}
.dpe-barre__little_main {
color: black;
font-size: 20px;
font-weight: 800;
}
.dpe-barre__little_under {
width: 100%;
text-align: center;
line-height: 1;
font-size: 6px;
font-weight: 600;
}
.dpe-barre__bande {
display: flex;
position: relative;
z-index: 1;
align-items: center;
height: 35px;
padding: 0 8px;
border-radius: 0 3px 3px 0;
clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
color: #fff;
font-size: 11px;
font-weight: 600;
}
.dpe-barre__bande.active {
top: -.3px;
left: -1px;
height: 40px;
}
.dpe-barre__bande.active::after {
content: "";
position: absolute;
z-index: -1;
top: -.5px;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 101%;
clip-path: polygon(1.5px 1.7px, calc(98.9% - 14px) 1.7px, 98.8% 50%, calc(98.8% - 14px) 97%, 1.3% 97%);
}
.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;
} @media (max-width: 900px) {
.annonce-body {
grid-template-columns: 100%;
}
.annonce-galerie {
grid-template-columns: 100%;
}
.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;
}
}
@media (max-width: 650px) {
.annonce-galerie__main img {
max-height: 420px;
}
}
@media (max-width: 600px) {
.annonce-header__titre {
font-size: 22px;
}
.annonce-galerie__secondary {
display: none;
}
.annonce-lightbox {
padding-right: 10px;
padding-left: 10px;
}
.annonce-lightbox__prev,
.annonce-lightbox__next {
width: 42px;
height: 42px;
}
}