/* ==========================================================================
   Newsletter page
   ========================================================================== */

/* Opt-in hero sits at the very top of the page, so it needs to clear the
   fixed 72px nav on top of its own 96px top padding. */
.av-page-newsletter .optin {
  padding-top: 168px;
}

.av-page-newsletter .optin h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.03em;
  max-width: 540px;
  line-height: 1.15;
  margin-bottom: 12px;
  position: relative;
}

.nl-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.nl-post-card {
  display: block;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.nl-post-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 132, 197, 0.08);
}

.nl-post-card-img {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.nl-post-card-img-placeholder {
  background: linear-gradient(135deg, #1a2035 0%, #0d1420 100%);
}

.nl-post-card-body { padding: 18px 20px 20px; }

.nl-post-card-body h3 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.35;
  color: var(--dark);
}

.nl-post-card-body p {
  font-size: 0.73rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 12px;
  font-weight: 300;
}

.nl-post-card-meta { font-size: 0.65rem; color: var(--gray); }

.nl-view-all {
  display: block;
  text-align: center;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.nl-view-all:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .nl-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .av-page-newsletter .optin { padding-top: 140px; }
  .nl-posts-grid { grid-template-columns: 1fr; }
}
