/* "Letters from the Old Country" newsletter signup, shared by every page except the home page
   (the home page keeps its own section styles). Colours come from each page's :root variables. */

/* ===================== FULL SECTION (Magazine + articles) ===================== */
.nl-section {
  background: #EDEDEE;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.nl-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(198,166,100,0.06) 0%, transparent 70%);
}
.nl-inner {
  position: relative; z-index: 2;
  max-width: 640px; margin: 0 auto;
}
.nl-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.nl-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400; line-height: 1.2;
  color: var(--color-charcoal);
  margin: 0 0 1.2rem;
}
.nl-desc {
  font-size: 1rem; color: var(--color-text-light);
  margin: 0 auto 2.5rem; line-height: 1.7;
  font-weight: 300;
}
.nl-form {
  display: flex; flex-wrap: wrap; max-width: 640px; margin: 0 auto 1.5rem;
}
.nl-input {
  flex: 1; min-width: 0; padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-right: none;
  color: var(--color-text);
  font-family: var(--font-body, 'Libre Franklin', Helvetica, Arial, sans-serif);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}
.nl-input::placeholder { color: #aaa; }
.nl-input:focus { border-color: var(--color-gold); }
.nl-input-name { flex: 0 1 36%; }
.nl-btn {
  padding: 1rem 2rem;
  background: var(--color-gold);
  color: var(--color-navy);
  font-family: var(--font-body, 'Libre Franklin', Helvetica, Arial, sans-serif);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--color-gold);
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}
.nl-btn:hover { background: var(--color-gold-light); }
.nl-btn:disabled { opacity: 0.6; cursor: wait; }
.nl-consent {
  flex-basis: 100%;
  display: flex; align-items: flex-start; justify-content: center; gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.82rem; color: var(--color-text-light);
  font-weight: 300; line-height: 1.5; text-align: left;
  cursor: pointer;
}
.nl-consent input {
  flex: none; width: 16px; height: 16px; margin: 0.1rem 0 0;
  accent-color: var(--color-gold);
  cursor: pointer;
}
.nl-consent a {
  color: var(--color-gold-dark);
  text-decoration: underline; text-underline-offset: 2px;
}
.nl-status {
  max-width: 640px; margin: 0 auto 1.2rem;
  padding: 0.9rem 1.2rem;
  background: #fff;
  border-left: 3px solid var(--color-gold);
  font-size: 0.9rem; line-height: 1.6; color: var(--color-text);
  text-align: left;
}
.nl-status.error { border-left-color: #B5533C; }
.nl-note {
  font-size: 0.78rem; color: var(--color-text-light);
  font-weight: 300; margin: 0;
}
@media (max-width: 768px) {
  .nl-section { padding: 4.5rem 1.5rem; }
  .nl-form { flex-direction: column; }
  .nl-input { font-size: 1rem; border-right: 1px solid var(--color-border); }
  .nl-input-name { flex: none; border-bottom: none; }
}

/* ===================== COMPACT FOOTER SIGNUP (dark footers) ===================== */
.footer-nl {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  align-items: flex-start; justify-content: space-between;
  text-align: left;
}
footer > .footer-nl:first-child { border-top: none; padding-top: 0; }  /* contact page: signup opens the footer */
.footer-nl-text { flex: 1 1 260px; }
.footer-nl-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.35rem; font-weight: 400;
  color: #fff;
  margin-bottom: 0.35rem;
}
.footer-nl-sub {
  font-size: 0.82rem; line-height: 1.6;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.footer-nl-box { flex: 1 1 420px; max-width: 540px; }
.footer-nl-form { display: flex; flex-wrap: wrap; }
.footer-nl-input {
  flex: 1; min-width: 0;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  color: #fff;
  font-family: var(--font-body, 'Libre Franklin', Helvetica, Arial, sans-serif);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s;
}
.footer-nl-input::placeholder { color: rgba(255,255,255,0.4); }
.footer-nl-input:focus { border-color: var(--color-gold); }
.footer-nl-btn {
  padding: 0.8rem 1.4rem;
  background: var(--color-gold);
  color: var(--color-navy);
  border: 1px solid var(--color-gold);
  font-family: var(--font-body, 'Libre Franklin', Helvetica, Arial, sans-serif);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}
.footer-nl-btn:hover { background: var(--color-gold-light); }
.footer-nl-btn:disabled { opacity: 0.6; cursor: wait; }
.footer-nl-consent {
  flex-basis: 100%;
  display: flex; align-items: flex-start; gap: 0.55rem;
  margin-top: 0.75rem;
  font-size: 0.76rem; line-height: 1.5;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}
.footer-nl-consent input {
  flex: none; width: 15px; height: 15px; margin: 0.1rem 0 0;
  accent-color: var(--color-gold);
  cursor: pointer;
}
.footer-nl .footer-nl-consent a {
  display: inline; padding: 0; font-size: inherit;
  color: var(--color-gold-light);
  text-decoration: underline; text-underline-offset: 2px;
}
.footer-nl-status {
  margin: 0.8rem 0 0;
  padding: 0.7rem 1rem;
  font-size: 0.82rem; line-height: 1.5;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--color-gold);
}
.footer-nl-status.error { border-left-color: #D9785F; }
@media (max-width: 560px) {
  .footer-nl-form { flex-direction: column; }
  .footer-nl-input { border-right: 1px solid rgba(255,255,255,0.15); border-bottom: none; }
}
