.mm-hero {
  position: relative;
  overflow: hidden;
  background: var(--mm-hero-bg, #f5f5f5);
  padding-block: 64px;
}
@media screen and (max-width: 991px) {
  .mm-hero {
    display: flex;
    flex-direction: column-reverse;
  }
}
@media screen and (min-width: 992px) {
  .mm-hero {
    display: flex;
    align-items: center;
    min-height: var(--mm-hero-min-height, 680px);
    padding-block: 48px;
  }
}
.mm-hero > .mm-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.mm-hero__content {
  max-width: 100%;
}
@media screen and (min-width: 992px) {
  .mm-hero__content {
    max-width: var(--mm-hero-content-width, 672px);
  }
}
.mm-hero__content > * + * {
  margin-top: 24px;
}
.mm-hero__content > p {
  margin-bottom: 0;
}
.mm-hero__content > h1 + p, .mm-hero__content > .mm-display + p {
  margin-top: 16px;
}
.mm-hero__content > * + .wp-block-buttons,
.mm-hero__content > * + .mm-buttons {
  margin-top: 48px;
}
.mm-hero__content > .mm-eyebrow + * {
  margin-top: 12px;
}
.mm-hero__content h1, .mm-hero__content .mm-display {
  font-size: 60px;
  line-height: 1.08;
}
@media screen and (max-width: 991px) {
  .mm-hero__content h1, .mm-hero__content .mm-display {
    font-size: 44px;
  }
}
@media screen and (max-width: 768px) {
  .mm-hero__content h1, .mm-hero__content .mm-display {
    font-size: 34px;
  }
}
.mm-hero__content p {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.35px;
  max-width: 672px;
}
@media screen and (min-width: 769px) {
  .mm-hero__content p {
    font-size: 15px;
  }
}

.mm-hero__media {
  position: relative;
  margin-top: 0;
  margin-bottom: 48px;
  margin-inline: 0;
}
.mm-hero__media img {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (min-width: 992px) {
  .mm-hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--mm-hero-media-width, 59%);
    margin: 0;
    z-index: 1;
    pointer-events: none;
  }
  .mm-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: var(--mm-hero-media-position, right center);
  }
}

@media screen and (min-width: 992px) {
  .mm-hero--media-left .mm-hero__media {
    right: auto;
    left: 0;
  }
  .mm-hero--media-left .mm-hero__media img {
    object-position: left center;
  }
  .mm-hero--media-left .mm-hero__content {
    margin-left: auto;
  }
}

@media screen and (min-width: 992px) {
  .mm-hero--media-contained .mm-hero__media {
    right: max(0px, (100vw - 1440px) / 2);
  }
}

.mm-hero.is-dark {
  --mm-heading: #ffffff;
  --mm-text: #ffffff;
  color: #ffffff;
}
.mm-hero.is-dark h1, .mm-hero.is-dark .mm-display {
  color: #ffffff;
}

@media screen and (min-width: 992px) and (max-width: 1439px) {
  .mm-hero__content {
    max-width: min(var(--mm-hero-content-width, 672px), 50vw - 48px);
  }
  .mm-hero__content h1, .mm-hero__content .mm-display {
    font-size: clamp(40px, 4.2vw, 60px);
  }
  .mm-hero__media {
    width: min(var(--mm-hero-media-width, 59%), max(54%, 82vw - 285px));
  }
}
