/* 8.39.46 — shared editorial rhythm; preserve full-bleed media and explicit overrides. */
:root,.mt-original-root{--mt-rhythm:32px;--mt-section-rhythm:var(--mt-rhythm)}
@media(min-width:761px) and (max-width:1024px){:root,.mt-original-root{--mt-rhythm:26px}}
@media(max-width:760px){:root,.mt-original-root{--mt-rhythm:20px}}
html body main{--section-spacing:var(--mt-rhythm);--mt760-section-space:var(--mt-rhythm);--mt760-section-space-mobile:var(--mt-rhythm)}
html body main.agency-managed-page{--section-spacing:var(--mt-rhythm)}
html body main > .section:not(:is(.hero,.partners,.page-header,[class*="hero"],[class*="edge-media"],[class*="full-bleed"],.branding-system,.branding-signal,.branding-compound)),
html body main .agency-section-frame:not([class*="pro-padding"]):not([class*="pro-mobile-padding"]):not([class*="pro-tablet-padding"]):not([class*="spacing-compact"]):not([class*="spacing-spacious"]) > .section:not(:is(.hero,.partners,.page-header,[class*="hero"],[class*="edge-media"],[class*="full-bleed"],.branding-system,.branding-signal,.branding-compound)),
html body main.mt-seo-page .section:not(.hero),html body .mtpm-page .mtpm-section:not(.mtpm-hero){padding-block:var(--mt-rhythm-start,var(--mt-rhythm)) var(--mt-rhythm-end,var(--mt-rhythm))!important}
html body main.agency-about-page .mt-about-story-sequence .agency-section-frame > .section{padding-block:0!important}
html body main .branding-system{padding-block-start:var(--mt-rhythm-start,var(--mt-rhythm))!important}
html body main .branding-signal__inner,html body main .branding-compound>.container{padding-block:var(--mt-rhythm-start,var(--mt-rhythm)) var(--mt-rhythm-end,var(--mt-rhythm))!important}
.mt-original-root.mt-original-healthcare .section:not(.hero),.mt-original-root.mt-original-ecommerce .mt-ec-extension .section:not(.hero){padding-block:var(--mt-rhythm-start,var(--mt-rhythm)) var(--mt-rhythm-end,var(--mt-rhythm))!important}
.mt-original-root.mt-original-healthcare .sec-conversion{padding-block:0!important}
.mt-original-root.mt-original-healthcare .sec-conversion .conversion-content,.mt-original-root.mt-original-ecommerce :is(.purchase-layout,.assessment-layout,.catalogue-copy,.conversion-copy,.cta-content){padding-block:var(--mt-rhythm-start,var(--mt-rhythm)) var(--mt-rhythm-end,var(--mt-rhythm))!important}
/* Font roles for non-semantic text and labels in the reference layouts. */
html:not([dir=rtl]) body :is(main,.site-header,.site-footer) :is(a,small,figcaption,dt,dd,[role=button],.step-title,.step-caption,.card-title,.section-label,.section-index,.text-link),
.mt-original-root.ltr-page :is(a,small,figcaption,dt,dd,[role=button],.step-title,.step-caption,.card-title,.section-label,.section-index,.text-link){font-family:var(--mt-brand-en)!important;font-kerning:normal}
html[dir=rtl] body :is(main,.site-header,.site-footer) :is(a,[role=button],.step-title,.card-title,.section-label,.section-index,.text-link),
.mt-original-root.rtl-page :is(a,[role=button],.step-title,.card-title,.section-label,.section-index,.text-link){font-family:var(--mt-brand-ar-heading)!important;letter-spacing:normal!important}
html[dir=rtl] body :is(main,.site-header,.site-footer) :is(small,figcaption,dt,dd,.step-caption),.mt-original-root.rtl-page :is(small,figcaption,dt,dd,.step-caption){font-family:var(--mt-brand-ar-copy)!important;letter-spacing:normal!important}

/* Compact About chapter rhythm and remove only section-boundary decoration. */
html body main.agency-about-page .mt-about-story-sequence{padding-block:var(--mt-rhythm-start,var(--mt-rhythm)) var(--mt-rhythm-end,var(--mt-rhythm))!important}
html body main.agency-about-page .mt-about-story-sequence>.agency-section-frame+.agency-section-frame{margin-block-start:var(--mt-rhythm)!important}
html body main.agency-about-page > :is(.agency-section-frame,.mt-about-growth-group,.mt-about-story-sequence),
html body main.agency-about-page :is(.mt-about-growth-group,.mt-about-story-sequence) > .agency-section-frame{border-block-start:0!important;border-block-end:0!important}
html body main.agency-about-page .agency-section-frame--divider-accent::before,
html body main.agency-about-page .agency-section-frame > .section::before,
html body main.agency-about-page .agency-section-frame > .section::after{content:none!important;display:none!important}

/* About MVV: compact aligned rows, original eight-of-twelve desktop span. */
html body main.agency-about-page .mt-about-mvv .mt-about-mvv__grid {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:none!important;
  grid-auto-rows:auto!important;
  min-height:0!important;
  gap:clamp(12px,1.5vw,20px)!important;
}
html body main.agency-about-page .mt-about-mvv .mt-about-mvv__grid > .mt-about-mvv__card {
  grid-column:1/-1!important;
  grid-row:auto!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  justify-self:stretch!important;
  align-self:stretch!important;
}
html body main.agency-about-page .mt-about-mvv .mt-about-mvv__titleline h2 {
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
}

/* 8.39.73 — restore the original desktop card width without restoring stagger or empty rows. */
@media (min-width:901px) {
  html body main.agency-about-page .mt-about-mvv .mt-about-mvv__grid {
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    column-gap:clamp(14px,1.25vw,20px)!important;
  }
  html body main.agency-about-page .mt-about-mvv .mt-about-mvv__grid > .mt-about-mvv__card {
    grid-column:1 / 9!important;
  }
}
