/* ── Membership Today newsletter (section.nb) ───────────── */

.nb {
  background: #f3f1ec;
  padding: 80px 0 72px;
  font-family: var(--sans);
  color: var(--rich-black);
}

.nb__row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
  box-sizing: border-box;
}

.nb__title {
  margin: 0;
  display: block;
  width: 560px;
  max-width: 100%;
  height: auto;
}

.nb__title svg {
  display: block;
  width: 100%;
  height: auto;
}

.nb__form {
  display: flex;
  align-items: stretch;
  justify-self: end;
  width: min(560px, 100%);
  height: 63px;
  gap: 10px;
  margin-top: 8px;
}

.nb__submit {
  flex: 0 0 auto;
  background: var(--rich-black);
  color: #fffffe;
  border: 1px solid var(--rich-black);
  border-radius: 999px;
  padding: 0 34px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.nb__submit:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.nb__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid rgba(26, 25, 25, 0.3);
  border-radius: 0;
  background: #fffffe;
  color: var(--rich-black);
  padding: 0 22px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.005em;
}

.nb__input::placeholder {
  color: #9f9f9e;
  font-family: var(--sans);
  font-weight: 400;
}

.nb__input:focus {
  outline: 2px solid var(--brand-red);
  outline-offset: -2px;
}

.nb__tagline {
  margin: 64px auto 0;
  max-width: var(--site-max);
  padding: 0 var(--layout-gutter);
  box-sizing: border-box;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rich-black);
}

@media (max-width: 900px) {
  .nb__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb__form {
    justify-self: start;
    width: 100%;
  }

  .nb__title {
    width: 100%;
  }

  .nb__tagline {
    margin-top: 2.5rem;
    font-size: clamp(0.72rem, 2.2vw, 1rem);
    letter-spacing: 0.16em;
  }
}

@media (max-width: 760px) {
  .nb {
    padding: 3.5rem 0 3rem;
  }
}
