/* Digitalux 1.4.5: the same soft corners on the website and in the editor. */
:root,.editor-styles-wrapper{--mm-radius-card:20px;--mm-radius-image:20px;--mm-radius-button:12px;--mm-radius-input:10px}
/* Target components only: full-width bands, hero and logos keep their shape. */
.button,.editor-styles-wrapper .button,
.mm-block-content .wp-block-button__link,.editor-styles-wrapper .wp-block-button__link,
.mm-mobile-actions a,.mm-lightbox button{border-radius:var(--mm-radius-button)}
.property-card{border-radius:var(--mm-radius-card);overflow:hidden}
.property-card .property-image{border-radius:var(--mm-radius-card) var(--mm-radius-card) 0 0}
.badge,.location-option{border-radius:999px}
.location-filter,.mm-news-card,.mm-review,.mm-lightbox{border-radius:var(--mm-radius-card)}
.contact-form{border-radius:var(--mm-radius-card)}
.contact-form input:not([type=checkbox]):not([type=radio]),.contact-form select,.contact-form textarea,
.location-filter input[type=search]{border-radius:var(--mm-radius-input)}
.mm-photo-gallery>a{border-radius:var(--mm-radius-image);overflow:hidden}
.mm-photo-gallery img,.detail-image,.gallery-image,.mm-portrait,.about-brand,
.mm-about-image img,.mm-home-media,.mm-home-video,.mm-news-card img,.mm-article-image,
.mm-block-content .wp-block-image:not(.mm-contact-logo) img,
.editor-styles-wrapper .wp-block-image:not(.mm-contact-logo) img{border-radius:var(--mm-radius-image)}
.detail-grid>div:last-child{padding:clamp(24px,3vw,36px);background:#fff;border:1px solid #e1ddd6;border-radius:var(--mm-radius-card);min-width:0}
.mm-faq details{padding:20px 24px;margin-bottom:12px;background:#fff;border:1px solid #e1ddd6;border-radius:var(--mm-radius-card)}
.mm-documents li{padding:16px 20px;margin-bottom:10px;border:1px solid #e1ddd6;border-radius:var(--mm-radius-input);background:#fff;overflow-wrap:anywhere}
/* Imported homepages use a native paragraph, including centrally linked blocks.
   The legacy hero already has a separate line span, so it is excluded here. */
.hero-content p.eyebrow:not(.hero-kicker .eyebrow){display:flex;align-items:center;gap:16px}
.hero-content p.eyebrow:not(.hero-kicker .eyebrow)::before{content:"";display:block;flex:0 0 48px;width:48px;height:1px;background:#b89a5a}
/* Never round or crop the edge-to-edge hero or identity marks. */
.mm-block-content .mm-page-hero .wp-block-image img,.editor-styles-wrapper .mm-page-hero .wp-block-image img,
.logo,.footer-brand,.mm-contact-logo img{border-radius:0}
@media(max-width:767px){
 .mm-faq details{padding:18px 20px}
 .detail-grid>div:last-child{padding:24px 20px}
}

/* Compact property search with an optional multiple-municipality panel. */
.property-card{box-shadow:0 5px 20px #1b2d550a}
.property-card:hover{box-shadow:0 10px 28px #1b2d5514}
.mm-visually-hidden,.mm-search-status legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.location-filter.mm-search-bar{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:start;gap:16px;padding:20px 24px;margin-top:0;box-shadow:0 5px 20px #1b2d5508}
.mm-search-tabs{display:flex;border:1px solid #d6d5d1;border-radius:12px;padding:4px;gap:4px;min-height:52px}
.mm-search-tabs label{position:relative;cursor:pointer;flex:1;white-space:nowrap}
.mm-search-tabs input{position:absolute;opacity:0;width:1px;height:1px}
.mm-search-tabs span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 16px;border:1px solid transparent;border-radius:9px;font-size:12px;font-weight:500}
.mm-search-tabs input:checked+span{background:#1b2d55;color:#f2efeb}
.mm-search-tabs input:focus-visible+span{outline:2px solid #b89a5a;outline-offset:2px}
.mm-search-place{min-width:0;position:relative}
.mm-search-bar input[type=search]{width:100%;min-height:52px;margin:0;font:inherit}
.mm-location-picker summary{font-size:11px;cursor:pointer;margin-top:5px;min-height:24px;width:fit-content;color:#586174}
.mm-location-count{font-weight:600;color:#1b2d55}
.mm-location-panel{position:absolute;top:100%;left:0;right:0;min-width:260px;z-index:25;padding:20px;background:#fff;border:1px solid #d6d5d1;border-radius:16px;box-shadow:0 12px 32px #1b2d5524}
.mm-location-panel .location-help{margin:0;font-size:12px}
.mm-location-panel .location-options{margin-top:12px;max-height:230px;overflow:auto;display:flex;flex-direction:column;gap:8px}
.mm-location-panel .location-option{border-radius:10px;flex-shrink:0}
.mm-location-clear{display:inline-block;margin-top:12px;font-size:12px;text-decoration:underline;min-height:32px}
.mm-search-bar .location-actions{margin:0;display:block}
.mm-search-bar .location-actions .button{min-height:52px;white-space:nowrap}
@media(max-width:900px){.location-filter.mm-search-bar{grid-template-columns:minmax(0,1fr) auto}.mm-search-status{grid-column:1/-1}.mm-search-tabs span{padding-inline:10px}}
@media(max-width:480px){
 .location-filter.mm-search-bar{grid-template-columns:minmax(0,1fr);padding:16px;gap:12px}
 .mm-search-status{grid-column:auto}.mm-search-bar .location-actions .button{width:100%}
 .mm-location-panel{position:static;min-width:0;margin-top:8px;box-shadow:none;padding:16px}
}

/* Independent, editable footer menu: parents are columns, children are links. */
.mm-footer-sitemap{padding-block:52px;border-bottom:1px solid #ffffff26}
.mm-footer-menu,.mm-footer-menu .sub-menu{list-style:none;margin:0;padding:0}
.mm-footer-menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:32px}
.mm-footer-menu>li>a{font-size:14px;font-weight:600;color:#e3cc98;display:inline-block;margin-bottom:18px}
.mm-footer-menu .sub-menu a{font-size:12px;display:inline-block;padding:6px 0;color:#f2efeb}
.mm-footer-menu .sub-menu .sub-menu{padding-left:14px}
.mm-footer-with-sitemap .footer-grid{grid-template-columns:1fr 1fr;gap:64px;padding-block:48px}
@media(max-width:767px){.mm-footer-sitemap{padding-block:36px}.mm-footer-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.mm-footer-with-sitemap .footer-grid{grid-template-columns:1fr;gap:32px}.mm-footer-menu a{overflow-wrap:anywhere}}

/* Editorial news index: translated topic filters, generous imagery and clear titles. */
.mm-news-topic-filter{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 36px;padding:0}
.mm-news-topic{display:inline-flex;align-items:center;min-height:42px;padding:9px 16px;border:1px solid #d8ccb4;border-radius:12px;background:#ece5d7;color:#59451f;font-size:12px;font-weight:600;line-height:1.4;transition:background .2s,color .2s}
.mm-news-topic.is-active,.mm-news-topic:hover{background:#1b2d55;color:#f2efeb;border-color:#1b2d55;opacity:1}
.mm-news-grid.mm-news-editorial{gap:32px;align-items:stretch}
.mm-news-editorial .mm-editorial-card{padding:0;display:flex;flex-direction:column;background:#fff;box-shadow:0 6px 28px #1b2d5509;border-radius:20px;overflow:hidden}
.mm-news-visual{display:block;aspect-ratio:8/5;overflow:hidden;border-radius:20px;position:relative;background:#1b2d55;flex-shrink:0}
.mm-news-editorial .mm-editorial-card .mm-news-visual img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:20px;margin:0;transition:transform .4s}
.mm-news-visual:hover img{transform:scale(1.025)}
.mm-news-copy{padding:26px;display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}
.mm-news-editorial .mm-editorial-card :is(h2,h3){font-size:clamp(22px,2vw,28px);line-height:1.3;margin:12px 0 16px;overflow-wrap:anywhere}
.mm-news-editorial .mm-editorial-card time{font-size:11px;letter-spacing:.04em;color:#7a7163}
.mm-news-editorial .mm-news-copy>p{margin:0 0 22px;color:#586174;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mm-news-copy .mmp-tags{margin-bottom:24px;gap:7px}
.mm-news-copy .mmp-tags span{padding:6px 10px;font-size:10px;border-radius:8px}
.mm-news-copy .mm-news-read{margin-top:auto;min-height:44px;border-color:#b89a5a}
.mm-news-placeholder{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:32px;height:100%;min-height:180px;background:linear-gradient(135deg,#1b2d55,#2e426b);color:#f2efeb}
.mm-news-placeholder:before{content:"";position:absolute;z-index:-1;width:260px;height:260px;border:1px solid #b89a5a66;border-radius:50%;right:-90px;bottom:-170px}
.mm-news-placeholder:after{content:"";position:absolute;z-index:-1;width:210px;height:210px;border:1px solid #b89a5a33;transform:rotate(45deg);top:-150px;right:-45px}
.mm-news-placeholder-label{color:#dfc58e;font-size:10px;line-height:1.6;letter-spacing:.12em;text-transform:uppercase;margin-bottom:16px;max-width:260px}
.mm-news-placeholder-name{font-family:var(--mm-brand-font,Georgia,serif);font-size:clamp(28px,3vw,44px);line-height:1.2}
.mm-news-placeholder-line{width:48px;height:1px;background:#b89a5a;margin-top:24px}
.mm-news-grid.mm-news-single{grid-template-columns:minmax(0,1fr)}
.mm-news-single .mm-editorial-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);min-height:320px}
.mm-news-single .mm-news-visual{aspect-ratio:auto;min-height:320px;height:100%}
.mm-news-single .mm-news-copy{padding:clamp(28px,4vw,52px)}
.mm-news-single .mm-news-placeholder{padding:clamp(28px,4vw,52px)}
.mm-news-single .mm-editorial-card :is(h2,h3){font-size:clamp(28px,3vw,38px)}
.mm-news-empty{padding:32px;border:1px solid #e1ddd6;border-radius:20px;background:#fff}
.mm-news-empty .button{margin-top:20px}
@media(max-width:900px){.mm-news-grid.mm-news-editorial{grid-template-columns:repeat(2,minmax(0,1fr))}.mm-news-grid.mm-news-single{grid-template-columns:1fr}}
@media(max-width:767px){.mm-news-grid.mm-news-editorial{grid-template-columns:1fr;gap:24px}.mm-news-single .mm-editorial-card{display:flex;min-height:0}.mm-news-single .mm-news-visual{aspect-ratio:8/5;min-height:0;height:auto}.mm-news-single .mm-news-placeholder{min-height:220px}.mm-news-single .mm-news-copy,.mm-news-copy{padding:24px}.mm-news-topic-filter{gap:8px;margin-bottom:28px}.mm-news-topic{padding:8px 12px;font-size:11px}.mm-news-single .mm-editorial-card :is(h2,h3){font-size:28px}}
@media(prefers-reduced-motion:reduce){.mm-news-visual img,.mm-news-topic{transition:none}}

.mm-news-topic{max-width:100%;overflow-wrap:anywhere}
.mm-page-news.mm-visual-restored .mm-block-content .page-heading{padding-block:36px 24px;border-bottom:0}
.mm-page-news .mm-block-content>.section-space{padding-top:20px}

.mm-block-content>.mm-privacy-content{max-width:900px;padding-top:32px}
.mm-privacy-content h2{margin-top:36px}
.mm-privacy-content p{line-height:1.85}
.mm-privacy-content a,.form-privacy a,.footer-bottom a{text-decoration:underline;text-underline-offset:3px}

/* Keep a single article's image inside the frame, independent of source dimensions. */
.mm-news-single .mm-news-visual img,.mm-news-single .mm-news-placeholder{position:absolute;inset:0;width:100%;height:100%}


/* The property type joins the compact offer/location search. */
.location-filter.mm-search-bar{grid-template-columns:auto minmax(165px,.75fr) minmax(200px,1fr) auto}
.mm-search-type{min-width:0}.mm-search-type select{display:block;width:100%;height:52px;min-height:52px;padding:10px 32px 10px 14px;border:1px solid #d6d5d1;border-radius:12px;background:#fff;color:#1b2d55;font:inherit;font-size:12px;cursor:pointer}.mm-search-type select:focus-visible{outline:2px solid #b79b58;outline-offset:3px}
@media(max-width:1050px){.location-filter.mm-search-bar{grid-template-columns:minmax(150px,.7fr) minmax(180px,1fr) auto}.mm-search-status{grid-column:1/-1}}
@media(max-width:600px){.location-filter.mm-search-bar{grid-template-columns:minmax(0,1fr)}.mm-search-status{grid-column:auto}.mm-search-type select{font-size:16px}}
