.ks-newsletter-section {
  --input-btn-height: 72px;
  --input-btn-width: 139px;
  --component-max-height: 405px;
  background: var(--primary-color);
  font-family: var(--font-family);
  position: relative;
  max-height: var(--component-max-height);
}

.ks-newsletter-section > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-height: var(--component-max-height);
}

/* 左侧文字与表单 */
.ks-news-left {
}

.ks-news-letter_form form {
  max-width: 439px;
}
.ks-news-letter_form .inqury_title_text {
  --title-text-color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--font-title-size);
  font-style: var(--font-style);
  font-weight: var(--font-title-weight);
  line-height: var(--line-height); /* 150% */
  text-transform: capitalize;
  text-align: left;
}

.ks-news-letter_form .inqury_title_box .inqury_titl_desc {
  --title-text-color: var(--text-color);
  color: var(--text-color) !important;
  text-align: left;
  font-family: var(--font-family) !important;
  font-size: var(--font-desc-title-size) !important;
  font-style: var(--font-style) !important;
  line-height: var(--line-height) !important; /* 150% */
}

.ks-news-letter_form form {
  position: relative;
}

.ks-news-letter_form .input-label {
  display: none;
}

.ks-news-letter_form .char-count {
  display: none;
}

.ks-news-letter_form .input-wrap {
  padding: 0px !important;
}

.ks-news-letter_form .input-wrap:nth-of-type(2) {
  position: absolute !important;
  right: 0px;
  left: 0px;
  height: var(--input-height) !important;
}

.ks-news-letter_form
  .input-wrap:nth-of-type(2)
  .text-center
  button[type='submit'] {
  position: absolute;
  right: 0px;
  top: 0px;
  height: var(--input-btn-height) !important;
  background: var(--second-color);
  width: var(--input-btn-width) !important;
}

.ks-news-letter_form form .text-wrap {
  padding: 0px !important;
}

.ks-news-letter_form form .crmForm-error {
  color: #ff0000 !important;
  font-size: 16px;
  margin-top: 10px !important;
}

.ks-news-letter_form form .input-wrap input {
  padding-right: var(--input-btn-width) !important;
  height: var(--input-btn-height) !important;
}

.ks-news-right {
  max-width: 540px;
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
}

.ks-news-right .ks-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: -13%;
}

@media (max-width: 1024px) {
  .ks-news-right {
    max-width: 400px;
  }
}

@media (max-width: 992px) {
  .ks-newsletter-section {
    padding: 30px 0px;
  }
  .ks-news-left {
    width: 100%;
  }

  .inqury-form.form {
    width: 100% !important;
    max-width: 100% !important;
  }
  .ks-news-right {
    display: none;
  }
}

@media screen and (max-width: 552px) {
  .ks-news-letter_form .inqury_title_box {
    padding: 0px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .inqury_title_box.text-center * {
    text-align: center !important;
  }

  .ks-news-letter_form .container .row > div {
    padding: 0px !important;
  }
}
