/* Shared newsletter signup — follows the site's sage, terracotta and cream palette. */
.newsletter-signup {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--footer-text, #f5f0e8);
  background: var(--sage, #4a5a50);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.newsletter-signup-copy { max-width: 34rem; }
.newsletter-signup-kicker {
  margin: 0 0 0.35rem;
  color: var(--terracotta, #bd6338);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.newsletter-signup h2 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.05;
}
.newsletter-signup-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.5;
}
.newsletter-signup-form { flex: 1 1 25rem; max-width: 31rem; }
.newsletter-signup-label {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
}
.newsletter-signup-controls { display: flex; gap: 0.55rem; }
.newsletter-signup input {
  min-width: 0;
  flex: 1 1 auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0.72rem 0.8rem;
  color: #1a1a1a;
  background: var(--cream, #f5f0e8);
  font: inherit;
  font-size: 0.88rem;
}
.newsletter-signup button {
  flex: 0 0 auto;
  border: 1px solid var(--terracotta, #bd6338);
  border-radius: 6px;
  padding: 0.72rem 1rem;
  color: #fff;
  background: var(--terracotta, #bd6338);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.newsletter-signup button:hover:not(:disabled) { background: var(--terracotta-dark, #9a4e2b); transform: translateY(-1px); }
.newsletter-signup button:focus-visible,
.newsletter-signup input:focus-visible {
  outline: 3px solid #e8c7a9;
  outline-offset: 2px;
}
.newsletter-signup button:disabled { cursor: wait; opacity: 0.65; transform: none; }
.newsletter-signup-status {
  min-height: 1.2em;
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.4;
}
.newsletter-signup-status.is-loading { color: #e8c7a9; }
.newsletter-signup-status.is-success { color: #d9efcf; }
.newsletter-signup-status.is-error { color: #ffd2c4; }

/* Standalone articles shell. */
.articles-body .newsletter-signup {
  max-width: 900px;
  margin: 2rem auto 3rem;
  border: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.articles-body .newsletter-signup-copy > p:last-child { color: rgba(255, 255, 255, 0.78); }

/* V2 feed shell. */
.v2-feed .newsletter-signup {
  width: auto;
  margin: 2rem 16px 0;
}

@media (max-width: 700px) {
  .newsletter-signup { align-items: stretch; flex-direction: column; gap: 1.1rem; padding: 1.25rem; }
  .newsletter-signup-form { max-width: none; }
  .newsletter-signup-controls { flex-direction: column; }
  .newsletter-signup input,
  .newsletter-signup button { width: 100%; min-height: 46px; }
  .articles-body .newsletter-signup { margin: 1.5rem 16px 2rem; }
  .v2-feed .newsletter-signup { margin-right: 16px; margin-left: 16px; }
}
