/* Newsletter sign-up: shared styles for blog sidebar card and full-width band */

/* Sidebar card (blog post pages) */
.nl-card {
  background: linear-gradient(135deg, var(--navy, #0d3b66), #1a4f80);
  border-radius: 14px;
  padding: 28px 24px;
  margin-bottom: 24px;
  color: #fff;
  text-align: center;
}
.nl-card-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 10px;
}
.nl-card-text {
  font-size: .85rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Full-width band (article and blog listing pages) */
.nl-band {
  background: linear-gradient(135deg, var(--navy, #0d3b66), #1a4f80);
  color: #fff;
  padding: 48px 0;
  margin-top: 48px;
}
.nl-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.nl-band-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px;
}
.nl-band-text {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

/* Form (shared by card and band) */
.nl-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.nl-band .nl-form {
  width: auto;
  flex: 0 1 440px;
}
.nl-form input[type="email"] {
  flex: 1 1 160px;
  min-width: 0;
  padding: 11px 14px;
  border: none;
  border-radius: 8px;
  font-size: .9rem;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.nl-form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}
.nl-form button {
  flex: 0 0 auto;
  padding: 11px 18px;
  background: var(--accent, #e8954f);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background .2s, opacity .2s;
}
.nl-form button:hover {
  background: #e2884a;
}
.nl-form button:disabled {
  opacity: .7;
  cursor: wait;
}
.nl-status {
  width: 100%;
  min-height: 1.2em;
  margin: 4px 0 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .9);
  text-align: left;
}
.nl-status.is-error {
  color: #ffd2c2;
}
.nl-status.is-success {
  color: #c9f7d8;
}

@media (max-width: 640px) {
  .nl-band {
    padding: 36px 0;
  }
  .nl-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nl-band .nl-form {
    width: 100%;
    flex-basis: auto;
  }
  .nl-form button {
    width: 100%;
  }
}
