/* ============================================================
   SKS Newsletter — dark slate signup band
   Mirrors ui/home ui/index.html `.newsletter-section`
   ============================================================ */

.sks-news {
  /* Parchment gradient — same three stops as the .cf-handoff "Found your
     clan?" band in sks-clan-finder-page.css so the two sections feel like
     they're from the same family. */
  background-color: var(--sks-news-bg, #E8DFD0);
  background-image: linear-gradient(135deg, #E8C9A8 0%, #E8DFD0 50%, #D4AF7A 100%);
  color: #1E2D3B;
  padding: 60px 48px;
}

.sks-news__wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ── Header text ── Color palette flipped for the light warm-tan band. */
.sks-news__eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B8520A;       /* amber on parchment reads as the section's accent */
  font-weight: 600;
  margin: 0 0 10px;
  font-family: 'Jost', sans-serif;
}

.sks-news__heading {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: #1E2D3B;       /* slate on parchment — primary readable text */
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.sks-news__sub {
  font-size: 14.5px;
  color: rgba(30, 45, 59, 0.72);   /* slate at ~72% for the supporting copy */
  line-height: 1.6;
  margin: 0 0 24px;
  font-weight: 300;
  font-family: 'Jost', sans-serif;
}

/* ── Form ── */
.sks-news__form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  align-items: stretch;
}

.sks-news__input {
  flex: 1;
  padding: 13px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  border: 1px solid rgba(30, 45, 59, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);   /* slightly-transparent white sits cleanly on the warm bg */
  color: #1E2D3B;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.sks-news__input::placeholder {
  color: rgba(30, 45, 59, 0.45);
}

.sks-news__input:focus {
  outline: none;
  background: #fff;
  border-color: #B8520A;
  box-shadow: 0 0 0 3px rgba(184, 82, 10, 0.15);
}

.sks-news__submit {
  padding: 13px 24px;
  background: #B8520A;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.sks-news__submit:hover {
  background: #D4681A;
}

.sks-news__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Fine print ── */
.sks-news__fine {
  font-size: 11.5px;
  color: rgba(30, 45, 59, 0.55);
  margin: 14px 0 0;
  line-height: 1.5;
  font-family: 'Jost', sans-serif;
}

.sks-news__fine a {
  color: #B8520A;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.sks-news__fine a:hover {
  color: #D4681A;
}

/* ── Success / error states ── */
.sks-news__message {
  margin: 14px 0 0;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
  line-height: 1.5;
}

.sks-news__message--success {
  color: #0E5C2C;          /* darker green for readability on the warm tan band */
}

.sks-news__message--error {
  color: #8B1F1F;          /* darker crimson, same reason */
}

/* Screen-reader only label */
.sks-news__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ── */
@media screen and (max-width: 960px) {
  .sks-news {
    padding: 48px 24px;
  }

  .sks-news__heading {
    font-size: 24px;
  }
}

@media screen and (max-width: 749px) {
  .sks-news {
    padding: 36px 16px;
  }

  .sks-news__heading {
    font-size: 22px;
  }

  .sks-news__sub {
    font-size: 13.5px;
    margin-bottom: 20px;
  }

  .sks-news__form {
    flex-direction: column;
    gap: 8px;
  }

  .sks-news__submit {
    width: 100%;
  }
}
