/* Responsive and readable property advertisements, scoped to their native components. */
body.post-type-archive-property .qodef-title-holder,
body.tax-property-type .qodef-title-holder,body.tax-property-city .qodef-title-holder,
body.tax-property-status .qodef-title-holder,body.tax-property-neighborhood .qodef-title-holder{
 height:auto!important;min-height:0!important;background:#f6f4ef!important;background-image:none!important;
}
body:is(.post-type-archive-property,.tax-property-type,.tax-property-city,.tax-property-status,.tax-property-neighborhood) .qodef-title-wrapper,
body:is(.post-type-archive-property,.tax-property-type,.tax-property-city,.tax-property-status,.tax-property-neighborhood) .qodef-title-inner{
 position:static!important;height:auto!important;display:block!important;
}
body:is(.post-type-archive-property,.tax-property-type,.tax-property-city,.tax-property-status,.tax-property-neighborhood) .qodef-title-inner>.qodef-grid{
 width:auto!important;max-width:1200px!important;margin:auto!important;padding:28px 24px!important;box-sizing:border-box;
}
body:is(.post-type-archive-property,.tax-property-type,.tax-property-city,.tax-property-status,.tax-property-neighborhood) h1.qodef-page-title{
 font-size:34px!important;line-height:1.22!important;max-width:100%!important;margin:0!important;color:#1f2244!important;
}
body .qodef-property-list-holder.natiive-catalogue-grid.qodef-pl-gallery.qodef-pl-layout-standard{
 float:none!important;width:100%!important;max-width:1250px!important;box-sizing:border-box;margin:0 auto!important;padding:28px 24px!important;
}
body .qodef-property-list-holder.natiive-catalogue-grid.qodef-pl-gallery.qodef-pl-layout-standard .qodef-pl-inner{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;
}
body .qodef-property-list-holder.natiive-catalogue-grid.qodef-pl-gallery.qodef-pl-layout-standard article .qodef-pli-image{aspect-ratio:3/2!important}
body .qodef-property-list-holder.natiive-catalogue-grid.qodef-pl-gallery.qodef-pl-layout-standard article .qodef-pli-image img{aspect-ratio:auto!important;object-fit:cover!important}
.natiive-catalogue-filters{margin:0 0 20px;border:1px solid #e4ded0;border-radius:6px;background:#fbfaf7}
.natiive-catalogue-filters>summary{cursor:pointer;padding:15px 18px;min-height:48px;box-sizing:border-box;color:#1f2244;font-size:16px;font-weight:500}
.natiive-catalogue-filters[open]>.qodef-property-list-filter-part{padding:16px 18px!important;box-sizing:border-box}
.natiive-catalogue-count{margin:0 0 18px!important;color:#555967;font-size:15px!important}
.natiive-catalogue-filters :is(input,select){color:#1f2244!important}
.natiive-catalogue-filters .select2-selection__rendered{color:#4d5260!important}
.natiive-catalogue-filters .qodef-filter-type-holder ul{display:flex!important;flex-wrap:wrap;gap:8px 16px!important}
.natiive-catalogue-filters .qodef-filter-type-holder li{margin:0!important;min-height:44px}
.natiive-catalogue-filters :is(.qodef-property-filter-button,.qodef-property-save-search,.qodef-property-reset-filter){background:#1f2244!important;border-color:#1f2244!important}
body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .natiive-energy-cost{
 font-size:16px!important;line-height:1.5!important;color:#474b58!important;margin:10px 0 0!important;
}
body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation :is(.natiive-card-legal,.natiive-card-copro,.natiive-card-risks){font-size:14px!important;line-height:1.55!important;overflow-wrap:anywhere}
body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .natiive-card-legal p{margin:5px 0!important}
body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .qodef-property-price-label{font-size:14px!important;line-height:1.5!important;display:block!important;margin-top:3px}
body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .qodef-pli-title{font-size:20px!important;line-height:1.3!important}
body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .natiive-card-copro{padding-top:8px!important;border-top:1px solid #eee9dd}
body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .natiive-card-risks a{color:#1f2244;text-decoration:underline;text-underline-offset:3px}
.natiive-catalogue-filters summary:focus-visible{outline:2px solid #917a26;outline-offset:3px}
body:is(.post-type-archive-property,.tax-property-type,.tax-property-city,.tax-property-status,.tax-property-neighborhood) .natiive-estimate-fixed{position:static!important;display:table!important;margin:20px auto!important;max-width:calc(100% - 32px)}
body.single-property.natiive-property-presentation-page .natiive-property-key-facts dt{color:#606473!important}
body.single-property.natiive-property-presentation-page .natiive-property-anchor{scroll-margin-top:130px}
@media(max-width:1100px){
 body .qodef-property-list-holder.natiive-catalogue-grid.qodef-pl-gallery.qodef-pl-layout-standard .qodef-pl-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767px){
 body.single-property.natiive-property-presentation-page .qodef-property-title-section{margin-top:18px!important;margin-bottom:18px!important}
 body.single-property.natiive-property-presentation-page .natiive-property-key-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:12px 0 0!important;gap:4px!important}
 body.single-property.natiive-property-presentation-page .natiive-property-key-facts>div{padding:4px 2px 8px!important;grid-template-rows:28px auto auto!important}
 body.single-property.natiive-property-presentation-page .natiive-property-key-facts .natiive-illustration{width:28px!important;height:28px!important;margin:0!important}
 body.single-property.natiive-property-presentation-page .natiive-property-key-facts dd{font-size:13px!important;line-height:1.4!important;overflow-wrap:anywhere}
 body.single-property.natiive-property-presentation-page .natiive-property-key-facts dt{font-size:11px!important}
 body.single-property.natiive-property-presentation-page .natiive-property-anchor{scroll-margin-top:20px}
}
@media(max-width:700px){
 body:is(.post-type-archive-property,.tax-property-type,.tax-property-city,.tax-property-status,.tax-property-neighborhood) h1.qodef-page-title{font-size:28px!important;line-height:1.24!important}
 body:is(.post-type-archive-property,.tax-property-type,.tax-property-city,.tax-property-status,.tax-property-neighborhood) .qodef-title-inner>.qodef-grid{padding:24px 18px!important}
 body .qodef-property-list-holder.natiive-catalogue-grid.qodef-pl-gallery.qodef-pl-layout-standard{padding:22px 14px!important}
 body .qodef-property-list-holder.natiive-catalogue-grid.qodef-pl-gallery.qodef-pl-layout-standard .qodef-pl-inner{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 .natiive-catalogue-filters>summary{padding:13px 14px}
 .natiive-catalogue-filters[open]>.qodef-property-list-filter-part{padding:12px 14px!important}
 .natiive-catalogue-filters .qodef-filter-type-holder ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px!important}
}
@media(prefers-reduced-motion:reduce){.natiive-property-presentation-page *{scroll-behavior:auto!important}}

body.single-property.natiive-property-presentation-page .natiive-gallery-mosaic .nl-inline-stage img{object-fit:contain!important;background:#f7f5ee}
body.single-property.natiive-property-presentation-page .nnp-school-more>summary,body.single-property.natiive-property-presentation-page .nnp-more>summary{min-height:44px!important;padding:12px 0!important;box-sizing:border-box}
body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard .natiive-card-risks a{pointer-events:auto!important;display:inline-flex;align-items:center;min-height:44px}
.natiive-gallery-projection{position:absolute;left:8px;bottom:8px;z-index:2;padding:5px 9px;font:500 12px/1.4 inherit;color:#fff;background:#1f2244;border-radius:3px}

body:is(.post-type-archive-property,.tax-property-type,.tax-property-city,.tax-property-status,.tax-property-neighborhood) .qodef-title-image{display:none!important}
body:is(.post-type-archive-property,.tax-property-type,.tax-property-city,.tax-property-status,.tax-property-neighborhood) :is(.qodef-title-wrapper,.qodef-title-inner){transform:none!important;top:auto!important;bottom:auto!important}
body.single-property.natiive-property-presentation-page .natiive-top-contact .natiive-visit-primary{background:#1f2244!important;border-color:#1f2244!important;color:#fff!important}

html body.single-property.natiive-property-presentation-page .nl-inline .natiive-gallery-mosaic .nl-inline-stage button.nl-inline-open img{object-fit:contain!important;background:#f7f5ee}
html body.single-property.natiive-property-presentation-page #natiive-public-neighbourhood details>summary{min-height:44px!important;padding:12px 0!important;box-sizing:border-box}

html body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .natiive-energy-cost{font-size:16px!important;line-height:1.5!important}
html body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .qodef-property-price-label{display:inline!important;font-size:inherit!important}
html body .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation.property-status-for-rent .qodef-property-price-label{display:block!important;font-size:14px!important}

/* The current public Annonces page is a page shortcode, not the property archive. */
body.page-id-618 .natiive-page-banner{
 min-height:0!important;height:auto!important;margin:0!important;padding:28px 32px!important;
}
body.page-id-618 .natiive-page-banner h1{font-size:clamp(28px,3vw,40px)!important;line-height:1.2!important;margin:6px 0 10px!important}
body.page-id-618 .natiive-page-banner .natiive-banner-description{margin:0 0 12px!important;font-size:17px!important}
body.page-id-618 .natiive-catalogue-search{max-width:1200px;margin:24px auto 0!important;padding:0 24px!important;box-sizing:border-box}
body.page-id-618 .natiive-catalogue-search>h2{font-size:24px!important;line-height:1.3!important;margin:0 0 16px!important}
body.page-id-618 .natiive-catalogue-search form{gap:16px!important;align-items:end!important;margin:0!important}
body.page-id-618 .natiive-catalogue-search :is(input,select,button){min-height:48px!important;box-sizing:border-box}
body.page-id-618 .natiive-catalogue-search :is(select,input){color:#1f2244!important;font-size:16px!important;max-width:100%}
body.page-id-618 .qodef-property-list-holder.natiive-catalogue-grid{padding-top:22px!important}
body.page-id-618 .natiive-catalogue-count{margin:0 0 18px!important}
body.page-id-618 .natiive-client-entry{
 max-width:1200px!important;margin:30px auto!important;padding:22px 24px!important;
 gap:18px!important;box-sizing:border-box;min-height:0!important;
}
body.page-id-618 .natiive-client-entry h2{font-size:23px!important;line-height:1.3!important;margin:0 0 8px!important}
body.page-id-618 .natiive-client-entry p{margin:0!important;font-size:15px!important;line-height:1.5!important}
body.page-id-618 .natiive-client-entry .natiive-client-eyebrow{margin:0 0 6px!important;font-size:11px!important}
body.page-id-618 .natiive-estimate-fixed{position:static!important;display:table!important;margin:20px auto!important;max-width:calc(100% - 32px)}
body.page-id-618 .qodef-property-list-holder article .qodef-pli-image{position:relative}
body.page-id-618 .qodef-property-list-holder article .qodef-pli-image .natiive-card-projection{
 position:absolute!important;left:10px!important;bottom:10px!important;z-index:3;max-width:calc(100% - 20px);
 padding:6px 10px!important;margin:0!important;border:0!important;border-radius:3px;
 background:#1f2244!important;color:#fff!important;font-size:12px!important;line-height:1.4!important;
}
body.page-id-618 .qodef-property-list-holder article .qodef-property-id{margin:0 0 8px!important;font-size:12px!important;line-height:1.4!important;font-weight:500!important}
body.page-id-618 .qodef-property-list-holder article .qodef-pli-title{min-height:78px!important}
body.page-id-618 .qodef-property-list-holder article .qodef-item-address{min-height:24px!important}
body.page-id-618 .qodef-property-list-holder article .natiive-card-facts{min-height:24px!important}
@media(max-width:1100px) and (min-width:701px){
 body.page-id-618 .qodef-property-list-holder article .qodef-pli-title{min-height:78px!important}
}
@media(max-width:700px){
 body.page-id-618 .natiive-page-banner{padding:22px 18px!important}
 body.page-id-618 .natiive-catalogue-search{margin-top:20px!important;padding:0 14px!important}
 body.page-id-618 .natiive-catalogue-search>h2{font-size:22px!important}
 body.page-id-618 .natiive-catalogue-search form{gap:12px!important}
 body.page-id-618 .natiive-client-entry{margin:22px 14px!important;padding:18px!important}
 body.page-id-618 .natiive-client-entry h2{font-size:21px!important}
 body.page-id-618 .qodef-property-list-holder article .qodef-pli-title{min-height:0!important}
}

/* Allow the active page to use its viewport instead of the theme's fixed mobile width. */
body.page-id-618 .qodef-container-inner{width:100%!important;max-width:1250px!important;box-sizing:border-box}
body.page-id-618 .natiive-page-banner{width:100%!important;max-width:100%!important;left:0!important;right:auto!important;transform:none!important;box-sizing:border-box}
body.page-id-618 .natiive-catalogue-grid>.qodef-property-list-items-part{margin:0!important}
body.page-id-618 .natiive-annonce-filters>summary{display:none}
body.page-id-618 .natiive-annonce-filters>summary:focus-visible{outline:2px solid #917a26;outline-offset:3px}
@media(max-width:700px){
 body.page-id-618 .qodef-content-inner{padding-top:20px!important}
 body.page-id-618 .natiive-page-banner{padding:18px!important}
 body.page-id-618 .natiive-page-banner h1{margin:0 0 10px!important}
 body.page-id-618 .natiive-page-banner .natiive-banner-description{margin:0!important}
 body.page-id-618 .natiive-page-banner :is(.natiive-banner-kicker,.natiive-banner-breadcrumb){display:none!important}
 body.page-id-618 .natiive-annonce-filters{border:1px solid #e4ded0;border-radius:5px;background:#fbfaf7}
 body.page-id-618 .natiive-annonce-filters>summary{display:list-item;cursor:pointer;padding:14px 16px;min-height:48px;box-sizing:border-box;font-size:16px;line-height:1.4;color:#1f2244}
 body.page-id-618 .natiive-annonce-filters[open] form{padding:12px 14px!important}
 body.page-id-618 .natiive-catalogue-search form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}
 body.page-id-618 .natiive-catalogue-search label{min-width:0!important}
 body.page-id-618 .natiive-catalogue-search :is(label:nth-of-type(3),button,.natiive-search-reset){grid-column:1/-1}
 body.page-id-618 .natiive-catalogue-grid .natiive-catalogue-count{margin-bottom:12px!important}
}
@media(max-width:339px){body.page-id-618 .natiive-catalogue-search form{grid-template-columns:minmax(0,1fr)}}

/* Match the native card renderer's specificity to align comparison titles. */
html body.page-id-618 .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .qodef-pli-title{min-height:78px!important}
@media(max-width:700px){html body.page-id-618 .qodef-property-list-holder.qodef-pl-gallery.qodef-pl-layout-standard article.natiive-card-presentation .qodef-pli-title{min-height:0!important}}

/* Keep the mobile header breakpoint consistent with its fixed action bar. */
@media(max-width:767px){
 body.single-property.natiive-property-presentation-page .qodef-property-title-inner{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"status" "title" "price" "facts"!important;grid-template-rows:auto auto auto auto!important;align-items:start!important}
 body.single-property.natiive-property-presentation-page .qodef-property-title-section .qodef-title-center-right{text-align:left!important}
 body.single-property.natiive-property-presentation-page .qodef-property-title-section .natiive-top-contact{flex-direction:row!important;flex-wrap:wrap!important;align-items:stretch!important;height:auto!important;min-height:0!important}
 body.single-property.natiive-property-presentation-page .qodef-property-title-section .natiive-top-contact a{flex:1 1 140px!important;height:auto!important;min-height:44px!important;max-width:100%!important;line-height:1.35!important}
}
@media(min-width:768px){
 body.single-property.natiive-property-presentation-page .qodef-property-title-inner{grid-template-rows:min-content minmax(min-content,1fr) auto!important}
 body.single-property.natiive-property-presentation-page .qodef-property-title-section .natiive-top-contact a{flex:0 0 auto!important;height:auto!important;min-height:44px!important;line-height:1.35!important}
}

/* Show the complete adviser portrait and use the agency action colours. */
body.single-property.natiive-property-presentation-page .qodef-contact-property-widget .qodef-contact-image{width:100%!important;max-width:160px!important;height:auto!important;margin:0 auto 20px!important}
body.single-property.natiive-property-presentation-page .qodef-contact-property-widget .qodef-contact-image img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:8px}
body.single-property.natiive-property-presentation-page .qodef-contact-property-widget .natiive-visit-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;margin-top:18px!important}
body.single-property.natiive-property-presentation-page .qodef-contact-property-widget .natiive-visit-actions a{flex:1 1 140px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:44px!important;margin:0!important;padding:10px 14px!important;line-height:1.35!important;font-size:14px!important;text-align:center!important;border-radius:4px}
body.single-property.natiive-property-presentation-page .natiive-visit-actions a.natiive-visit-primary{background:#1f2244!important;border:1px solid #1f2244!important;color:#fff!important}
body.single-property.natiive-property-presentation-page .natiive-visit-actions a.natiive-visit-secondary{background:#fff!important;border:1px solid #917a26!important;color:#1f2244!important}
body.single-property.natiive-property-presentation-page .natiive-visit-actions a.natiive-visit-primary:hover{background:#303457!important;color:#fff!important}
body.single-property.natiive-property-presentation-page .natiive-visit-actions a.natiive-visit-secondary:hover{background:#f5f3ed!important;color:#1f2244!important}
