/* Desktop geometry for the editable Elementor homepage, mirroring the React hero. */
.ialms-native-header {
  border-bottom: 1px solid #e5e7eb;
  background: #fbfbf8;
}

.ialms-native-header > .elementor-container {
  width: min(100%, 1840px);
  min-height: 76px;
  padding: 0 32px;
}

.ialms-native-header .ialms-native-brand,
.ialms-native-header .ialms-native-nav,
.ialms-native-header .ialms-native-actions {
  align-self: center;
}

.ialms-native-header .ialms-native-actions {
  height: 76px;
}

.ialms-native-header .ialms-native-actions > .elementor-widget-wrap {
  display: flex !important;
  height: 76px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.ialms-native-header .ialms-native-actions > .elementor-widget-wrap > .elementor-widget {
  width: auto !important;
  margin: 0 !important;
}

.ialms-native-header .ialms-native-actions .elementor-widget:nth-child(3) {
  display: none;
}

.ialms-native-header .ialms-native-actions .elementor-button {
  color: #0a3e7b !important;
  font-weight: 800;
}

.ialms-native-header .ialms-native-actions > .elementor-widget-wrap > .elementor-widget:nth-child(2) .elementor-button {
  background: #0a3e7b !important;
  color: #fff !important;
  min-height: 43px;
  padding: 0 17px;
  border-radius: 12px;
}

.ialms-native-hero {
  padding: 0;
}

.ialms-native-hero > .elementor-container {
  display: flex !important;
  width: min(100%, 1840px);
  min-height: 640px;
  padding: 72px 64px 64px;
  gap: 72px;
  align-items: center;
}

.ialms-native-hero .ialms-native-hero-copy {
  width: calc(56% - 36px) !important;
  flex: 0 0 calc(56% - 36px) !important;
  order: 1;
}

.ialms-native-hero .ialms-native-route-column {
  width: calc(44% - 36px) !important;
  flex: 0 0 calc(44% - 36px) !important;
  order: 2;
}

.ialms-native-hero-copy > .elementor-widget-wrap {
  position: relative;
  min-height: 470px;
  padding-bottom: 130px;
  align-content: center;
  align-items: flex-end;
}

.ialms-native-hero-title .elementor-heading-title {
  max-width: 610px;
  color: #0a3e7b;
  font-size: clamp(48px, 4.1vw, 72px);
  line-height: 1.13;
  letter-spacing: -1.5px;
  text-align: right;
}

.ialms-native-hero-description .elementor-widget-container,
.ialms-native-hero-points .elementor-widget-container {
  max-width: 610px;
  text-align: right;
}

.ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-button {
  position: absolute;
  bottom: 54px;
  width: auto !important;
  margin: 0 !important;
}

.ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-button:nth-last-child(3) {
  right: 0;
}

.ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-button:nth-last-child(3) .elementor-button {
  background: #0a3e7b !important;
  color: #fff !important;
  box-shadow: 0 12px 24px -15px rgba(10, 62, 123, .95);
}

.ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-button:nth-last-child(2) {
  right: 186px;
}

.ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-button:nth-last-child(2) .elementor-button {
  background: #fff !important;
  border: 1px solid #d8e0ea;
  color: #0a3e7b !important;
}

.ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-text-editor:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
}

.ialms-native-hero-copy .elementor-widget-button .elementor-button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 15px;
}

.ialms-native-route-column > .elementor-widget-wrap,
.ialms-native-route-widget,
.ialms-native-route-widget .elementor-widget-container {
  width: 100%;
}

.ialms-native-route-widget .ialms-route-card {
  width: min(100%, 520px);
  margin-left: auto;
}

@media (max-width: 820px) {
  .ialms-native-header > .elementor-container {
    min-height: 68px;
    padding: 0 16px;
  }

  .ialms-native-header .ialms-native-actions {
    height: 68px;
  }

  .ialms-native-header .ialms-native-actions > .elementor-widget-wrap {
    height: 68px;
    justify-content: flex-start;
  }

  .ialms-native-hero > .elementor-container {
    display: block !important;
    min-height: 0;
    padding: 55px 16px;
  }

  .ialms-native-hero .ialms-native-hero-copy,
  .ialms-native-hero .ialms-native-route-column {
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  .ialms-native-hero-copy > .elementor-widget-wrap {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    min-height: 0;
    padding-bottom: 0;
    align-items: stretch;
  }

  .ialms-native-hero-title .elementor-heading-title,
  .ialms-native-hero-description .elementor-widget-container,
  .ialms-native-hero-points .elementor-widget-container {
    max-width: none;
  }

  .ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-button {
    position: static;
    width: 100% !important;
    flex: 0 0 auto;
    margin: 12px 0 0 !important;
  }

  .ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-button .elementor-button-wrapper,
  .ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-button .elementor-button {
    display: flex !important;
    width: 100% !important;
  }

  .ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-button .elementor-button {
    align-items: center;
    justify-content: center;
  }

  .ialms-native-hero-copy > .elementor-widget-wrap > .elementor-widget-text-editor:last-child {
    position: static;
  }

  .ialms-native-route-widget .ialms-route-card {
    width: 100%;
    margin: 35px auto 0;
  }
}
