/* V4 source-owned scoped layer: preserve the accepted component framework. */
@media(min-width:1101px){.nav-panel__list a{font-size:24px;line-height:1.25}.nav-panel__list li:last-child a{font-size:24px}}
.quartier-card__back .card__link{white-space:normal;overflow-wrap:anywhere;max-width:100%;line-height:1.3}
.apimo_search_save:hover > img.apimo_icon--save-search,a:hover > .apimo_search_save > img.apimo_icon--save-search,a:focus-visible > .apimo_search_save > img.apimo_icon--save-search{content:url('../images/save-search-hover.svg')}
.iv-v4-quartier-listing .property-card{animation:iv-v4-card-enter .45s ease-out both}
@keyframes iv-v4-card-enter{from{opacity:.55;translate:0 12px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.iv-v4-quartier-listing .property-card{animation:none}}
.iv-v4-video-slider{width:100%;min-width:0}.iv-v4-video-slide video{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:24px;background:#12272f}
.iv-v4-video-controls:not([hidden]){display:flex;justify-content:center;align-items:center;gap:20px;margin-top:20px}.iv-v4-video-controls button{border:2px solid var(--ink);background:var(--cream);color:var(--ink);border-radius:50%;width:48px;height:48px;font-size:24px;cursor:pointer}.iv-v4-video-controls button:focus-visible{outline:3px solid var(--cream);outline-offset:3px}.iv-v4-video-slide[hidden]{display:none}
.iv-article__back-bottom::after{content:none!important;display:none!important}
.iv-article__layout>.entry-content{min-width:0;background:var(--paper);border-radius:24px;padding:32px}
.iv-article .entry-content>h2{margin-top:40px;padding-top:12px;border-top:2px solid var(--accent)}
.iv-article .entry-content p,.iv-article .entry-content li{line-height:1.75}
.iv-article .entry-content img{display:block;max-width:min(100%,640px);max-height:440px;width:auto;height:auto;object-fit:contain;margin:24px auto;border-radius:18px}
.iv-article .entry-content figure{max-width:100%;margin-inline:0}
.iv-article__cta.iv-article__cta>p{margin-bottom:32px!important}.iv-article__cta .btn{margin-top:8px}.iv-property-pivot.iv-property-pivot>p{margin-bottom:32px!important}.iv-property-pivot>.btn{margin-top:8px}
.iv-article__recent-item{display:flex;gap:14px;align-items:center;padding-block:16px;border-bottom:1px solid rgba(18,39,47,.13)}.iv-article__recent-item:last-child{border-bottom:0}.iv-article__recent-name{overflow-wrap:anywhere;line-height:1.4}.iv-article__recent-thumb{flex-shrink:0;width:72px;height:72px;object-fit:cover;border-radius:12px}
@media(max-width:767px){.iv-article__layout>.entry-content{padding:20px}.iv-article .entry-content img{max-height:340px}.iv-article__layout{gap:28px}}

/* V4-37 only: retain full source group framing, no other slot/layout crop change. */
@media(min-width:768px){.page-id-8202 .section-content__media:has(>img[data-iv-v4-photo="78618"]){align-self:center;height:auto;min-height:0}.page-id-8202 .section-content__media>img[data-iv-v4-photo="78618"]{position:static!important;height:700px!important;max-height:700px!important}.page-id-8202 .section-content__media:has(>img.iv-v4-group-photo){align-self:center;height:auto;min-height:0}.page-id-8202 .section-content__media>img.iv-v4-group-photo{position:static!important;height:auto!important;aspect-ratio:1600/1067;object-fit:cover}}

/* ACC menu: retain contact typography; place extra separation before selection. */
.nav-panel__list .menu-item-13369 { margin-top: 0; }
.nav-panel .nav-panel__selection { margin-top: 48px; }
.nav-panel .nav-panel__selection a { transition: color var(--transition); }
.nav-panel .nav-panel__selection a:hover,
.nav-panel .nav-panel__selection a:focus-visible { color: var(--ink); }
.nav-panel .nav-panel__list .menu-item-13369 > a {
  font-family: var(--font-body);
  font-size: 35px;
  margin-top: 0;
  display: inline;
}
@media (min-width: 1101px) {
  .nav-panel .nav-panel__list .menu-item-13369 > a { font-size: 24px; }
}
@media (max-width: 767px) {
  .nav-panel .nav-panel__selection { margin-top: 44px; }
  .nav-panel .nav-panel__list .menu-item-13369 > a { font-size: 22px; }
}

/* Owner-requested editorial rhythm: only these three quartier records. */
:is(.postid-78542, .postid-78543, .postid-78544) #le-quartier .section-content__body ul > li { list-style-type: disc; }
:is(.postid-78542, .postid-78543, .postid-78544) #le-quartier .section-content__body > p + p { margin-top: var(--space-4); }
.postid-78543 #le-quartier .section-content__body > h2 { margin-top: var(--space-6); }
:is(.postid-78543, .postid-78544) #le-quartier .section-content__media { align-self: start; justify-self: center; width: fit-content; max-width: 100%; height: auto; min-height: 0; aspect-ratio: auto; }
:is(.postid-78543, .postid-78544) #le-quartier .section-content__media > img { position: static; width: auto; height: auto; max-width: 100%; max-height: 420px; object-fit: contain; }
.postid-78543 #le-quartier .section-content__body > figure.section-content__media { max-width: 600px; margin: var(--space-4) auto; }

/* DOCX quartiers: photo frames follow intrinsic media, never adjacent prose. */
:is(.postid-78542, .postid-78541, .postid-78543, .postid-78544, .postid-17352) #le-quartier .section-content__media { align-self: start; justify-self: center; width: fit-content; max-width: 100%; height: auto; min-height: 0; aspect-ratio: auto; }
:is(.postid-78542, .postid-78541, .postid-78543, .postid-78544, .postid-17352) #le-quartier .section-content__media > img { position: static; width: auto; height: auto; max-width: 100%; max-height: 420px; object-fit: contain; }

/* Confirmation estimation à domicile : logo natif, sans ornement du H1. */
body.page-id-14128 .contact-split__title-deco { display: none; }
body.page-id-14128 .contact-split__card-sigle {
  content: url("/wp-content/uploads/2025/03/logo-footer.webp");
  display: block;
  width: calc(74px * 1578 / 741);
  height: 74px;
  max-width: 100%;
  object-fit: contain;
}

/* Quartier editorial owner: visible native markers; full-column bounded photos. */
body.single-quartier #le-quartier .section-content__body ul { list-style: disc outside; padding-left: 1.4em; margin-block: var(--space-3); }
body.single-quartier #le-quartier .section-content__body ol { list-style: decimal outside; padding-left: 1.4em; margin-block: var(--space-3); }
body.single-quartier #le-quartier .section-content__body ul > li { display: list-item; list-style: disc outside; }
body.single-quartier #le-quartier .section-content__body ol > li { display: list-item; list-style: decimal outside; }
body.single-quartier #le-quartier .section-content__media { align-self: start; justify-self: stretch; width: 100%; max-width: 100%; height: auto; min-height: 0; aspect-ratio: auto; }
body.single-quartier #le-quartier .section-content__media > img { position: static; display: block; width: 100%; height: auto; min-height: 0; max-width: 100%; max-height: 420px; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }

/* Sold property gallery: supplied 618x244 artwork at native desktop size.
   Insets belong to the photo; reduce only on mobile, preserving the native ratio.
   Keep thumbnails/cards and gallery controls unchanged; artwork is non-interactive. */
#apimo_gallery .apimo_property_gallery a[data-iv-gallery-index] {
  position: relative;
}
#apimo_gallery .apimo_property_gallery .iv-property-sold-flag {
  left: 24px;
  bottom: 24px;
  width: 250px;
  height: auto;
  max-width: calc(100% - 48px);
}
#apimo_gallery .apimo_property_gallery .iv-property-sold-flag > img {
  content: url("/wp-content/themes/immovendu/assets/images/sold-property-badge-native.webp?v=97ce8b46a8d1f752");
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  border-radius: 0;
}
@media (max-width: 767px) {
  #apimo_gallery .apimo_property_gallery .iv-property-sold-flag {
    left: 12px;
    bottom: 12px;
    width: 60%;
    max-width: 250px;
  }
}

/* Keep the mobile information box below the floated gallery, including its hit area. */
@media(max-width:768px){.single-property-prod #apimo_property_info{clear:both}}
