/* ==========================================================================
   THEME-NEWSLETTER  —  Subscription form
   ========================================================================== */

.theme-newsletter__header {
  background: var(--brand-blue);
  padding: var(--section-pad-y) var(--section-pad-x);
}

.theme-newsletter__header .container {
  max-width: var(--container);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.theme-newsletter__title {
  font-family: var(--sans-condensed);
  font-size: var(--h1);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

.theme-newsletter__body {
  background: #fff;
  padding: clamp(48px, 8vw, 123px) 0 64px;
}

.theme-newsletter__body .container {
  max-width: 1383px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.theme-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.theme-newsletter__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-newsletter__field label {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
}

.theme-newsletter__field input {
  font-family: var(--sans);
  font-size: 18px;
  padding: 14px 16px;
  border: 1px solid #D9D9D9;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  color: var(--brand);
  transition: border-color .2s;
}

.theme-newsletter__field input:focus {
  outline: none;
  border-color: var(--brand);
}

.theme-newsletter__submit {
  margin-top: 8px;
  text-align: center;
}

.theme-newsletter .btn-layout.green,
.theme-newsletter .btn-layout.blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans-alt);
  font-size: var(--body-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  background: var(--brand-blue);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s;
}

.theme-newsletter .btn-layout.green:hover,
.theme-newsletter .btn-layout.blue:hover {
  background: var(--brand);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .theme-newsletter__header {
    padding: 36px 0;
  }

  .theme-newsletter__title {
    font-size: 40px;
  }

  .theme-newsletter__body {
    padding: 36px 0 48px;
  }

  .theme-newsletter__field label {
    font-size: 16px;
  }

  .theme-newsletter__field input {
    font-size: 16px;
    padding: 12px 14px;
  }
}

@media (max-width: 520px) {
  .theme-newsletter__title {
    font-size: 32px;
  }

  .theme-newsletter .btn-layout.green {
    font-size: 16px;
    padding: 12px 28px;
  }
}
