html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, iframe, table {
  max-width: 100% !important;
}

img {
  height: auto !important;
}

.page2,
.sivi-section,
.sivi-section-wrapper,
.sivi-subsection,
.component,
.component-html,
.public-mode {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.sivi-section,
.sivi-section-wrapper {
  height: auto !important;
  min-height: 0 !important;
  position: static !important;
  overflow: visible !important;
}

.sivi-subsection {
  width: min(100% - 32px, 980px) !important;
  margin-inline: auto !important;
  position: static !important;
  inset: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.c179,
.component.c179,
.component-html.c179 {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.c179 > div,
.component-html > div {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  position: static !important;
  inset: auto !important;
}

.page2 {
  height: auto !important;
  min-height: 100vh !important;
  position: static !important;
  overflow: visible !important;
}

p, li, h1, h2, h3, h4, h5, a {
  overflow-wrap: anywhere;
}

.lead-card {
  scrollbar-width: thin;
}

.contact-form .iti__country-list {
  width: min(400px, calc(100vw - 48px)) !important;
}

.iti--container {
  z-index: 2200000 !important;
}

.iti--container .iti__country-list {
  max-width: calc(100vw - 20px) !important;
  max-height: min(300px, 45vh) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

@media (max-width: 767px) {
  body {
    margin: 0;
  }

  .sivi-subsection {
    width: min(100% - 24px, 980px) !important;
  }

  h1 {
    font-size: clamp(27px, 8vw, 38px) !important;
    line-height: 1.12 !important;
  }

  h2 {
    font-size: clamp(23px, 6.5vw, 31px) !important;
    line-height: 1.18 !important;
  }

  h3 {
    font-size: clamp(20px, 5.5vw, 27px) !important;
    line-height: 1.22 !important;
  }

  p, li, h4, h5 {
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  .lead-modal {
    padding: 8px !important;
    align-items: flex-start !important;
    overflow-y: auto;
  }

  .lead-card {
    width: 100% !important;
    max-height: none !important;
    min-height: 0;
    margin: 8px 0;
    padding: 44px 16px 20px !important;
    border-radius: 8px !important;
  }

  .lead-title {
    font-size: 23px !important;
  }

  .lead-subtitle {
    font-size: 14px !important;
  }

  .contact-form .form-input {
    font-size: 16px !important;
  }
}

@media (max-width: 380px) {
  .sivi-subsection {
    width: min(100% - 16px, 980px) !important;
  }

  .lead-card {
    padding-inline: 12px !important;
  }

  .contact-form .submit-btn {
    font-size: 14px !important;
  }
}
