/* Shared outer card for the expert/demo CTA wherever the component is rendered. */
.expert-section-wrap > .expert-container-inner.expert-outer-card {
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 44px;
  padding-bottom: 44px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 101, 157, 0.18);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(13, 65, 94, 0.12);
}

/* Give the inner form subtle contrast while preserving its content and layout. */
.expert-section-wrap > .expert-container-inner.expert-outer-card .expert-form-wrapper {
  background: #f7fafc !important;
  background-color: #f7fafc !important;
  border-color: #e2e8f0;
  border-radius: 20px !important;
  box-shadow: 0 10px 28px rgba(13, 65, 94, 0.14);
  margin-bottom: 0 !important;
}

@media (max-width: 900px) {
  .expert-section-wrap > .expert-container-inner.expert-outer-card {
    width: calc(100% - 32px);
    padding-top: 32px;
    padding-bottom: 32px;
    border-radius: 22px;
  }

  .expert-section-wrap > .expert-container-inner.expert-outer-card .expert-form-wrapper {
    border-radius: 18px !important;
  }
}

@media (max-width: 480px) {
  .expert-section-wrap > .expert-container-inner.expert-outer-card {
    width: calc(100% - 20px);
    padding-top: 24px;
    padding-bottom: 24px;
    border-radius: 18px;
  }

  .expert-section-wrap > .expert-container-inner.expert-outer-card .expert-form-wrapper {
    border-radius: 16px !important;
  }
}
