/* Natural content heights and equal columns take precedence over earlier 80vh rules. */
.mm-page *, .mm-page *::before, .mm-page *::after { box-sizing: border-box; }
.mm-page main :is(h1,h2,h3,h4,p,strong,small) { overflow-wrap: break-word; }
.mm-page main :is(.mm-inner-hero-grid,.mm-section-heading,.nr-section-head,.lp-meeting-grid)>* { min-width: 0; }

/* Both archive templates inherit luxury absolute-image rules; reset that conflict. */
/* Elementor's archive content shell must grow, otherwise the footer overlaps
   overflowing sections and the clipped page stops scrolling after one screen. */
body.mm-catalog-page .mm-page { height: auto !important; max-height: none !important; overflow-x: clip; overflow-y: visible; }
body.mm-catalog-page .mm-page>main,
body.mm-catalog-page .mm-page>main>.elementor,
body.mm-catalog-page .mm-page>main>.elementor>.mm-editor-shell.e-con,
body.mm-catalog-page .mm-editor-shell>.elementor-widget-mm-page-content,
body.mm-catalog-page .elementor-widget-mm-page-content>.elementor-widget-container {
  --height: auto;
  --min-height: 0;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
body.mm-catalog-page .mm-page>main { display: block; }
.mm-catalog-page .mm-page .mm-inner-hero { height: auto; min-height: 0; padding: 42px 0; overflow: hidden; }
.mm-catalog-page .mm-page .mm-inner-hero-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px,4vw,60px); min-height: 0; align-items: center; }
.mm-catalog-page .mm-page .mm-inner-hero-grid>div:first-child { width: auto; max-width: none; padding: 0; }
.mm-catalog-page .mm-page .mm-inner-hero .mm-hero-media { position: relative; inset: auto; width: 100%; height: auto; margin: 0; border: 1px solid #d4a84b60; border-radius: 16px; }
.mm-catalog-page .mm-page .mm-inner-hero .mm-hero-image { height: clamp(240px,27vw,360px); width: 100%; object-fit: cover; }
.mm-catalog-page .mm-page .mm-inner-hero h1 { max-width: 100%; font-size: clamp(30px,3.4vw,50px); line-height: 1.14; }
.mm-catalog-page .mm-page .mm-section-heading { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: end; }
.mm-catalog-page .mm-page .mc-card { height: auto; min-height: 0; }
.mm-catalog-page .mm-page .mc-card h3 { font-size: 21px; line-height: 1.3; }
.mm-catalog-page .mm-page .mc-card p { font-size: 15px; line-height: 1.6; }
.mm-catalog-page .mm-page .mc-card-body { min-width: 0; height: auto; }

/* Consultation buttons grow with their labels instead of inheriting button heights. */
.mm-luxury-page .mm-page .lp-meeting-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.mm-luxury-page .mm-page .lp-meeting-grid button { display: flex; align-items: flex-start; gap: 16px; width: 100%; min-width: 0; height: auto; min-height: 120px; padding: 22px; white-space: normal; line-height: 1.5; }
.mm-luxury-page .mm-page .lp-meeting-grid button>span { display: block; min-width: 0; flex: 1; }
.mm-luxury-page .mm-page .lp-meeting-grid strong { display: block; font-size: 18px; line-height: 1.35; margin-bottom: 7px; }
.mm-luxury-page .mm-page .lp-meeting-grid small { display: block; font-size: 15px; line-height: 1.55; }
.mm-luxury-page .mm-page .lp-meeting-grid svg { flex: 0 0 36px; width: 36px; height: 36px; }

.nr-home .nr-why, .nr-home .nr-why>.mm-wrap { min-height: 0; height: auto; }
.nr-home .nr-why { padding-block: 38px; }
.nr-home>section.nr-why:not(.nr-feature-strip):not(.nr-final-cta),
.nr-home>section.nr-services:not(.nr-feature-strip):not(.nr-final-cta) { min-height: 0; height: auto; padding-block: 38px; }
.nr-home .nr-services>.mm-wrap { min-height: 0; height: auto; }
.nr-home .nr-services .nr-service-grid, .nr-home .nr-why .nr-value-grid { flex: initial; grid-auto-rows: auto; }
.nr-home .nr-value-grid { align-items: stretch; }
.nr-home .nr-value-grid article { min-height: 0; height: auto; padding: 20px; }
.nr-home .nr-value-grid svg { width: 32px; height: 32px; margin-bottom: 10px; }
.nr-home .nr-value-grid h3 { font-size: 20px; line-height: 1.3; }
.mm-page .nr-home .nr-value-grid p { font-size: 15px; line-height: 1.55; margin-bottom: 0; }
.nr-home .nr-service-grid article { padding: 18px 48px 18px 18px; min-height: 0; height: auto; gap: 14px; }
.nr-home .nr-service-grid article>div { min-width: 0; }
.nr-home .nr-service-grid article>svg { flex: 0 0 34px; width: 34px; height: 34px; }
.nr-home .nr-service-grid h3 { font-size: 20px; line-height: 1.3; }
.mm-page .nr-home .nr-service-grid p { font-size: 15px; line-height: 1.5; margin-bottom: 0; }
.nr-home .nr-contact-grid, .nr-home .nr-leader-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; align-items: stretch; }
.nr-home .nr-contact-grid>*, .nr-home .nr-leader-grid>* { min-width: 0; }
.nr-home .nr-contact-info { display: flex; align-items: center; padding: clamp(24px,3vw,44px); }
.nr-home .nr-contact-info>div { width: 100%; }
.nr-home .nr-contact-image, .nr-home .nr-london-line { display: none !important; }
.nr-home .nr-contact-form, .nr-home .nr-contact-form .mm-appointment-form { min-height: 0; height: auto; }
.nr-home .nr-contact-info p, .nr-home .nr-contact-info address>* { font-size: 16px; line-height: 1.6; }
.nr-home .nr-leader-grid { align-items: center; }
.nr-home .nr-leader-image { width: 100%; height: auto; max-height: 540px; aspect-ratio: 1.15; object-fit: cover; object-position: center 25%; }
.nr-home .nr-leader p { font-size: 17px; line-height: 1.7; }
.nr-home .nr-hero { height: auto; min-height: 560px; overflow: hidden; }
.nr-home .nr-hero-copy { width: 49%; min-width: 0; padding: clamp(32px,5vw,72px) 28px clamp(32px,5vw,72px) 0; }
.home .nr-home .nr-hero h1 { font-size: clamp(36px,3.8vw,62px); line-height: 1.12; max-width: 100%; }
.nr-home .nr-hero-copy>p { font-size: 18px; line-height: 1.6; }
.nr-home .nr-hero .nr-hero-actions { flex-wrap: wrap; }

@media (max-width: 1023px) {
  .nr-home .nr-value-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nr-home .nr-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .mm-catalog-page .mm-page .mm-inner-hero-grid, .mm-catalog-page .mm-page .mm-section-heading,
  .nr-home .nr-contact-grid, .nr-home .nr-leader-grid,
  .mm-luxury-page .mm-page .lp-meeting-grid { grid-template-columns: minmax(0,1fr); }
  .mm-catalog-page .mm-page .mm-inner-hero { padding: 30px 0; }
  .mm-luxury-page .mm-page .lp-meeting-grid button { min-height: 0; padding: 20px; }
  .nr-home .nr-hero { min-height: 0; display: block; }
  .nr-home .nr-hero-copy { width: 100%; padding: 32px 0; }
  .nr-home .nr-hero-art { position: relative; inset: auto; width: 100%; height: 280px; z-index: 0; border-left: 0; }
  .home .nr-home .nr-hero h1 { font-size: clamp(34px,8.5vw,48px); }
}
@media (max-width: 480px) {
  .nr-home .nr-service-grid, .nr-home .nr-value-grid { grid-template-columns: minmax(0,1fr); }
}

/* FAQ questions remain readable on desktop and mobile. */
.mm-page main :is(.nr-accordion,.lp-accordion,.mm-accordion) summary,
.mm-page main .dr-faq .lp-accordion summary { font-size: 16px; line-height: 1.4; }

/* Bound decorative plane artwork, including older Elementor snapshots. */
.mm-page .dr-plan { position: relative; isolation: isolate; overflow: hidden; }
.mm-page .dr-plan .dr-plan-art,
.mm-page .dr-plan>svg {
  position: absolute; inset: auto -15px -8px auto; display: block;
  width: 155px; height: 155px; max-width: 155px; max-height: 155px;
  color: #d9ae62; opacity: .35; transform: rotate(-20deg);
  z-index: -1; pointer-events: none;
}
.mm-page .dr-plan .dr-plan-art svg { display: block; width: 100%; height: 100%; max-width: 155px; max-height: 155px; }
.mm-page .dr-plan>:is(h2,p,a) { position: relative; z-index: 1; }

/* Our Process grows with its content instead of occupying an 80vh frame. */
.mm-page main .nr-home>section.nr-process { height: auto; min-height: 0; padding-block: 28px; }
.nr-home .nr-process>.mm-wrap { height: auto; min-height: 0; display: block; }
.nr-home .nr-process .nr-section-head { margin-bottom: 24px; }
.nr-home .nr-process .nr-process-grid { flex: initial; align-content: start; }
.mm-page main .nr-process :is(h2,h3,p) { color: #fff; }
@media (min-width: 1024px) {
  .nr-home .nr-process-grid { --nr-node-center: 62px; }
  .nr-home .nr-process-grid article { min-height: 0; height: auto; padding: 124px 22px 24px; }
  .nr-home .nr-process-grid .nr-process-icon { top: 20px; }
}
@media (max-width: 767px) {
  .mm-page main .nr-home>section.nr-process { padding-block: 24px; }
  .nr-home .nr-process .nr-section-head { margin-bottom: 20px; }
}

/* Keep large-screen sections at their natural height, with compact edges. */
@media(min-width:1024px){
 .mm-page main .nr-home>section:not(.nr-hero):not(.nr-feature-strip):not(.nr-final-cta){height:auto;min-height:0;display:block;padding-block:30px}
 .mm-page main .nr-home>section>.mm-wrap{height:auto;min-height:0}
 .mm-page main .nr-home .nr-section-head{margin-bottom:22px}
 .mm-page main :is(.mm-inner-section,.lp-section){padding-block:32px}
 .mm-page main .nr-home .nr-about-image{display:block;width:auto;max-width:100%;height:auto;max-height:300px;object-fit:contain;aspect-ratio:auto;justify-self:center}
 .mm-page main .nr-home .nr-about-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:32px}
 .mm-page main .nr-home>section.nr-about:not(.nr-hero):not(.nr-feature-strip):not(.nr-final-cta){padding-block:24px}
 .mm-page main .nr-home .nr-about-grid h2{font-size:clamp(28px,2.2vw,36px);line-height:1.15;margin-bottom:14px}
 .mm-page main .nr-home .nr-about-grid p{font-size:16px;line-height:1.6;margin-bottom:18px}
}

/* Homepage posts stay live in both coded pages and saved editor snapshots. */
.nr-home .nr-blog-section .nr-section-head{grid-template-columns:1fr auto}
.nr-home .nr-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.nr-home .nr-blog-grid .bj-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e5dfd2;border-radius:15px;background:#fff;box-shadow:0 4px 12px #031f3b08}
.nr-home .nr-blog-grid .bj-card-image{display:block;aspect-ratio:1.75;background:#f5f2eb;overflow:hidden}
.nr-home .nr-blog-grid .bj-photo{display:block;width:100%;height:100%;object-fit:contain}
.nr-home .nr-blog-grid .bj-card-copy{display:flex;flex-direction:column;flex:1;padding:21px}
.nr-home .nr-blog-grid .bj-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;line-height:1.4;color:#6a7985;margin-bottom:12px}
.nr-home .nr-blog-grid .bj-meta>span:first-child{color:#805a18;font-weight:800}
.mm-page main .nr-home .nr-blog-grid h2{font-size:23px;line-height:1.2;color:#031f3b;margin:0 0 12px}
.nr-home .nr-blog-grid h2 a{color:inherit;text-decoration:none}
.mm-page main .nr-home .nr-blog-grid p{font-size:15px;line-height:1.6;color:#4c6173;margin:0 0 18px}
.nr-home .nr-blog-grid .bj-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:15px;border-top:1px solid #eee7da;font-size:13px;color:#677785}
.nr-home .nr-blog-grid .bj-card-bottom a{color:#805a18;font-weight:800;text-decoration:none}
@media(max-width:767px){.nr-home .nr-blog-section .nr-section-head{grid-template-columns:1fr;gap:12px}.nr-home .nr-blog-grid{grid-template-columns:1fr;gap:18px}}
