/* Global responsive helpers */

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

.mph-site-container {
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

.header > .mph-site-container.nav {
  padding-inline: clamp(16px, 4vw, 24px);
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .section {
    padding: clamp(48px, 10vw, 72px) 0;
  }

  h1 {
    font-size: clamp(28px, 7vw, 38px) !important;
  }

  h2 {
    font-size: clamp(24px, 5.5vw, 32px) !important;
  }

  .hero {
    padding: clamp(100px, 22vw, 140px) 0 clamp(48px, 10vw, 72px);
  }

  .hero-wrap {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .hero-form {
    max-width: 100%;
  }

  .JM__ctaWrapper {
    flex-direction: column;
    text-align: center;
  }

  .JM__ctaContent {
    width: 100%;
    padding-left: 0;
    justify-content: center;
  }

  .JM__ctaLine {
    display: none;
  }

  .JM__ctaTitle {
    font-size: clamp(26px, 6vw, 34px) !important;
  }

  .JM__ctaButtons {
    justify-content: center;
  }

  .JM__sectionExpertWrap,
  .JM__sectionExpertWrap.MPH_row_reverse,
  .JM__sectionExpert--stack .JM__sectionExpertWrap,
  .JM__sectionExpert--stack .JM__sectionExpertWrap.MPH_row_reverse {
    grid-template-columns: 1fr !important;
  }

  .feature_content_section .feature-grid {
    grid-template-columns: 1fr !important;
  }

  .MPH__footer_grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .MPH__faq_grid.MPH__faq_grid--split {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .hero-btns,
  .JM__ctaButtons,
  .MPS___btnWrap {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero-btns.center-btn,
  .JM__ctaButtons {
    align-items: center;
  }

  .hero-btns a,
  .JM__ctaButtons a,
  .MPS___btnWrap a {
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
  }

  .logo img {
    width: 140px;
  }
}
