/* ===== NEWSLETTER PAGE ===== */

.nl { width: 100%; }

/* Hero — two columns */
.nl-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.nl-hero-left {
  background: var(--dark);
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nl-hero-left .field-label { color: var(--accent); }

.nl-hero-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
  margin: 14px 0 16px;
}

.nl-hero-title em { color: var(--accent); }

.nl-hero-sub {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.55;
  margin-bottom: 20px;
}

.nl-hero-note {
  font-size: 0.78rem;
  color: #64748B;
  font-style: italic;
}

.nl-hero-right {
  background: var(--slate-bg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nl-form-card {
  width: 100%;
  max-width: 380px;
}

.nl-form-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 16px;
}

/* Info — three columns */
.nl-info {
  background: var(--white);
  padding: 64px 48px;
  border-bottom: 1px solid var(--slate-border);
}

.nl-info-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.nl-info-heading {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nl-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nl-info-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 9px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.nl-info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 1px;
}

.nl-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.nl-info-tags span {
  padding: 4px 9px;
  border: 1px solid var(--slate-border);
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nl-info-belief {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 0;
}

/* Topics */
.nl-topics {
  background: var(--slate-bg);
  padding: 56px 48px;
}

.nl-topics-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.nl-topics-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 24px;
}

.nl-topics-list span {
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}

/* Latest posts */
.nl-posts {
  background: var(--white);
  padding: 64px 48px;
  border-bottom: 1px solid var(--slate-border);
}

.nl-posts-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.nl-post-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--slate-border);
  border-radius: 4px;
  color: var(--dark) !important;
  transition: all var(--transition);
}

.nl-post-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(147, 51, 234, 0.06);
}

.nl-post-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.nl-post-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--dark);
  margin: 0 0 8px;
}

.nl-post-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 auto;
  padding-bottom: 16px;
}

.nl-post-date {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

/* Final CTA */
.nl-cta-final {
  background: var(--dark);
  padding: 64px 48px;
  text-align: center;
}

.nl-cta-final-inner {
  max-width: 500px;
  margin: 0 auto;
}

.nl-cta-final-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 8px;
}

.nl-cta-final p {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-bottom: 24px;
}

.nl-cta-final-form {
  max-width: 380px;
  margin: 0 auto;
}

/* Simple newsletter layout */
.nl-simple {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: 80px 48px;
  background:
    linear-gradient(135deg, rgba(147, 51, 234, 0.03) 0%, transparent 50%),
    linear-gradient(225deg, rgba(15, 23, 42, 0.03) 0%, transparent 50%),
    var(--slate-bg);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50% + 48px);
  padding-right: calc(50vw - 50% + 48px);
}

.nl-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.nl-simple-left {
  padding-right: 56px;
  border-right: 1px solid var(--slate-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nl-simple-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--dark);
  margin: 14px 0 20px;
}

.nl-simple-title em {
  color: var(--accent);
}

.nl-simple-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.nl-simple-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nl-simple-link:hover {
  opacity: 0.7;
}

.nl-simple-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.nl-simple-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nl-simple-feature i {
  color: var(--accent);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

.nl-simple-right {
  background: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: 4px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  margin-left: 56px;
  align-self: center;
}

.nl-simple-form h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.nl-simple-form-desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 16px;
}

/* Newsletter page container fix */
.container-fluid:has(.nl-simple) > .row > .col {
  padding: 0;
  max-width: 100%;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .nl-hero { grid-template-columns: 1fr; }
  .nl-hero-left { padding: 64px 32px; }
  .nl-hero-right { padding: 40px 32px; }
  .nl-info-inner { grid-template-columns: 1fr; gap: 32px; }
  .nl-info { padding: 48px 32px; }
  .nl-topics { padding: 48px 32px; }
  .nl-topics-list { grid-template-columns: 1fr; }
  .nl-posts { padding: 48px 32px; }
  .nl-posts-grid { grid-template-columns: 1fr; }
  .nl-cta-final { padding: 48px 32px; }
}

@media (max-width: 800px) {
  .nl-simple {
    padding: 60px 24px;
  }

  .nl-simple-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nl-simple-left {
    padding-right: 0;
    border-right: none;
  }

  .nl-simple-right {
    margin-left: 0;
  }
}
