/* /newsletter/ · Archetype D · Editorial feed
 *
 * Most styling comes from the shared sub_filter bundle:
 *   /shared/fcc-tokens.css         (design tokens)
 *   /shared/fcc-sections.css       (.sec-mast, .sec-meta-strip, .sec-subnav, .sec-body, .sec-head, .sec-footer)
 *   /shared/fcc-archetypes.css     (.feed-lead, .feed-body, .feed-list, .feed-side)
 *
 * The accent (#b9a583) is set sitewide by fcc-section-accent.js +
 * fcc-sections.css for data-section="newsletter".
 *
 * This file: page-specific tweaks + the inline subscribe-form styling
 * (the form lives inside .feed-lead .copy for the archetype to render).
 */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink, #fff);
  padding: 6px 10px;
  z-index: 1000;
  font: 11px var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Lead title — keep ink at rest. */
.feed-lead h3 {
  /* The newsletter lead doesn't link out; just style the heading. */
}

.feed-lead .byline {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.feed-lead .byline a { color: var(--accent); text-decoration: none; }
.feed-lead .byline a:hover { text-decoration: underline; }

/* Subscribe form — lives inside .feed-lead .copy. Uses serif input/button
   to match the editorial type system rather than a generic UI form. */
.nl-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 0;
}
.nl-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 12px 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: -0.005em;
  outline: 0;
  border-radius: 0;
}
.nl-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-wash);
}
.nl-form button {
  background: var(--accent);
  color: var(--accent-ink, #fff);
  border: 1px solid var(--accent);
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
}
.nl-form button:hover { filter: brightness(1.05); }
.nl-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.nl-status {
  margin: 14px 0 0;
  min-height: 1.4rem;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
}
.nl-status.ok  { color: var(--accent); font-weight: 600; }
.nl-status.err { color: #c43c5c; font-weight: 600; }

/* Sidebar prose blurb (re-used across blocks). */
.feed-side-blurb {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.feed-side-blurb a { color: var(--accent); text-decoration: none; }
.feed-side-blurb a:hover { text-decoration: underline; }

/* Narrow viewports — collapse grids */
@media (max-width: 880px) {
  .feed-lead,
  .feed-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feed-lead .art { aspect-ratio: 2/1; }
  .feed-list .entry {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
  .sec-meta-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .nl-form input[type="email"] { flex-basis: 100%; }
}
