/* ============================================================
   NEWSLETTER
   ============================================================ */

/* Full-width brand band with a soft maroon gradient. */
.newsletter-band {
  background: linear-gradient(120deg, var(--maroon-900), var(--maroon-800));
  color: var(--cream);
  padding: 56px 0;
}

/* Two-column layout: copy on the left, form on the right.
   flex-wrap lets the form drop below the copy on narrow screens. */
.newsletter-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.newsletter-copy h2 {
  font-size: 26px;
  color: var(--white);
  margin-top: 10px;
  font-weight: 700;
}

.newsletter-copy p {
  margin-top: 8px;
  color: rgba(249, 241, 228, .75);
  font-size: 14px;
  max-width: 420px;
}

/* Form row: input + submit button, wrapping on narrow screens.
   align-items: flex-start keeps the button top-aligned even when the
   error message below the input makes the input-wrap taller. */
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Wraps the input and its error message so they share a column. */
.newsletter-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Input uses a "glass" look — translucent white over the maroon band.
   min-width: 260px keeps it usable but lets flex-wrap trigger on small screens. */
.newsletter-form input {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(249, 241, 228, .35);
  background: rgba(249, 241, 228, .08);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  min-width: 260px;
}

/* Muted placeholder so it doesn't compete with typed text. */
.newsletter-form input::placeholder {
  color: rgba(249, 241, 228, .55);
}

/* Gold border on focus — same accent used elsewhere for active states. */
.newsletter-form input:focus {
  border-color: var(--gold);
}

/* Red-tinted border when JS marks the input as invalid. */
.newsletter-form input.has-error {
  border-color: #E27C7C;
}

/* Inline error message. min-height reserves space so the form doesn't
   jump when an error appears or is cleared. */
.newsletter-error {
  font-size: 12px;
  color: var(--gold-light);
  padding-left: 6px;
  min-height: 14px;
}