/* ═══════════════════════════════════════════════
   BLOG INDEX PAGE — Additional styles
   Only rules not already defined in main.css.
   Loaded exclusively on home.php (blog posts page).
═══════════════════════════════════════════════ */

/* ── Layout utility (shared with page templates) ─ */
.wrap { width: var(--w); margin: 0 auto; }

/* ════════════════════════════════════════════════
   BLOG HERO
════════════════════════════════════════════════ */
.blog-hero {
  background: var(--ink);
  padding: clamp(72px,9vw,108px) 0 clamp(56px,7vw,80px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.blog-hero::before {
  content: 'BLOG';
  position: absolute;
  font-family: var(--ff-head);
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.06em;
  line-height: 1;
  user-select: none;
}
.blog-hero-inner {
  width: var(--w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.blog-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ember);
  color: var(--fire);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--r4);
  border: 1px solid rgba(240,98,12,0.2);
  margin-bottom: 26px;
}
.blog-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.038em;
  margin-bottom: 18px;
}
.blog-hero h1 em {
  color: var(--fire);
  font-style: italic;
  font-weight: 300;
}
.blog-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.42);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.72;
}
/* Search form */
.blog-search-form {
  display: flex;
  max-width: 490px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r2);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.25s;
}
.blog-search-form:focus-within {
  border-color: rgba(240,98,12,0.45);
  background: rgba(255,255,255,0.06);
}
.blog-search-form input[type="search"] {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  outline: none;
}
.blog-search-form input::placeholder { color: rgba(255,255,255,0.28); }
.blog-search-form button {
  background: var(--fire);
  color: #fff;
  border: none;
  padding: 0 22px;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.blog-search-form button:hover { background: var(--fire2); }
/* Hero stats strip */
.blog-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
@media(max-width:540px) { .blog-hero-stats { gap: 20px; } }
.bhs-item { text-align: center; }
.bhs-n {
  display: block;
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--fire);
  line-height: 1;
}
.bhs-l {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.32);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 5px;
}
.bhs-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   CORNERSTONE GUIDES
════════════════════════════════════════════════ */
.cornerstone-section {
  background: var(--chalk);
  padding: clamp(56px,7vw,88px) 0;
}
.cs-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cs-heading {
  font-family: var(--ff-head);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.cs-badge {
  background: var(--ember);
  color: var(--fire);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r4);
  border: 1px solid rgba(240,98,12,0.2);
  white-space: nowrap;
}
.cs-line {
  flex: 1;
  height: 1px;
  background: var(--line2);
}
.cs-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--fire);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: gap 0.2s;
}
.cs-view-all:hover { gap: 10px; }
.cs-view-all::after { content: '→'; }
.cs-sub {
  font-size: 0.82rem;
  color: #8A8580;
  margin-bottom: 28px;
}
.cornerstone-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
}
@media(max-width:860px) { .cornerstone-grid { grid-template-columns: 1fr; } }

/* Featured (large dark) card */
.cs-featured {
  background: var(--ink);
  border-radius: var(--r3);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  text-decoration: none;
  transition: transform 0.28s var(--ease);
}
.cs-featured:hover { transform: translateY(-4px); }
.cs-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #1a3a6b 0%, var(--ink) 65%);
  z-index: 0;
}
.cs-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}
.cs-featured > * { position: relative; z-index: 1; }
.cs-tag {
  display: inline-block;
  background: rgba(240,98,12,0.85);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r4);
  margin-bottom: 14px;
}
.cs-featured h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.cs-featured .cs-excerpt {
  color: rgba(255,255,255,0.55);
  font-size: 0.87rem;
  line-height: 1.62;
  margin-bottom: 22px;
  max-width: 480px;
}
.cs-feat-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cs-feat-date { font-size: 0.68rem; color: rgba(255,255,255,0.3); }
.cs-feat-time {
  font-size: 0.68rem;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.38);
  padding: 3px 9px;
  border-radius: var(--r4);
}
.cs-read-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fire);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: gap 0.2s;
}
.cs-read-link:hover { gap: 11px; }
.cs-read-link::after { content: '→'; }

/* Side cards */
.cs-side { display: flex; flex-direction: column; gap: 16px; }
.cs-card {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  transition: all 0.22s var(--ease);
  position: relative;
  overflow: hidden;
}
.cs-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--fire);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease);
}
.cs-card:hover::before { transform: scaleY(1); }
.cs-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(8,17,31,0.1);
  transform: translateX(4px);
}
.cs-card .cs-tag {
  background: var(--ember);
  color: var(--fire);
}
.cs-card h3 {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
}
.cs-card .cs-card-excerpt {
  font-size: 0.82rem;
  color: #7A7570;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.cs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #aaa;
  padding-top: 10px;
  border-top: 1px solid var(--line2);
}
.cs-time-sm {
  background: var(--mist);
  padding: 3px 9px;
  border-radius: var(--r4);
  font-size: 0.65rem;
  color: #8A8580;
  font-weight: 500;
}

/* ════════════════════════════════════════════════
   BLOG MAIN SECTION (tabs + grid + sidebar)
════════════════════════════════════════════════ */
.blog-main-section {
  background: var(--chalk);
  padding: clamp(40px,5vw,60px) 0 clamp(64px,8vw,100px);
  border-top: 1px solid var(--line2);
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 304px;
  gap: 52px;
  align-items: start;
}
@media(max-width:960px) { .blog-layout { grid-template-columns: 1fr; } }

/* ── Category tab bar ──────────────────────── */
.blog-cats {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line2);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 28px;
}
.blog-cats::-webkit-scrollbar { display: none; }
.blog-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #7A7570;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.2s;
  /* button reset — so <button> and <a> look identical */
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  cursor: pointer;
  outline-offset: 2px;
  -webkit-appearance: none;
  appearance: none;
}
.cat-count {
  background: var(--mist);
  color: #8A8580;
  font-size: 0.62rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 600;
}
.blog-cat-link:hover:not(.active) { color: var(--ink); }
.blog-cat-link.active {
  color: var(--fire);
  border-bottom-color: var(--fire);
}
.blog-cat-link.active .cat-count {
  background: var(--ember);
  color: var(--fire);
}

/* ── Blog post grid ──────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media(max-width:860px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:480px) { .blog-grid { grid-template-columns: 1fr; } }

/* Blog card — accessible full-card-link pattern */
.blog-card {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.22s var(--ease);
  position: relative;
}
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(8,17,31,0.1);
  transform: translateY(-4px);
  border-color: transparent;
}
/* Stretch title link to cover whole card */
.blog-card h3 a {
  text-decoration: none;
  color: inherit;
}
.blog-card h3 a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--r2);
}
/* Keep interactive elements above the stretched link */
.blog-tag, .blog-card-footer, .blog-author { position: relative; z-index: 1; }

/* Card image area */
.blog-card-img {
  height: 176px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
  display: block;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bci-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
}

/* Card body */
.blog-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-tag {
  display: inline-block;
  background: var(--mist);
  color: #6A6560;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--r4);
  margin-bottom: 10px;
  text-decoration: none;
}
.blog-card h3 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  flex: 1;
}
.blog-card-excerpt {
  font-size: 0.8rem;
  color: #7A7570;
  line-height: 1.62;
  margin-bottom: 14px;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
  margin-top: auto;
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-author-meta { font-size: 0.68rem; color: #9A9590; }
.blog-read-time {
  background: var(--mist);
  padding: 3px 9px;
  border-radius: var(--r4);
  font-size: 0.62rem;
  color: #8A8580;
  font-weight: 600;
  white-space: nowrap;
}

/* No posts state */
.blog-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  background: #fff;
  border-radius: var(--r2);
  border: 1px solid var(--line2);
}
.blog-no-posts h3 {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.blog-no-posts p { color: #8A8580; font-size: 0.9rem; }

/* Pagination */
.blog-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 12px 0;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r1);
  border: 1px solid var(--line2);
  font-family: var(--ff-body);
  font-size: 0.82rem;
  color: #6A6560;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
  background: #fff;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
}
.blog-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
}

/* ════════════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════════════ */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px;
}
@media(max-width:960px) { .blog-sidebar { position: static; } }

/* Base sidebar widget */
.sw {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  padding: 22px;
}
.sw-title {
  font-family: var(--ff-head);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line2);
  letter-spacing: -0.01em;
}

/* CTA widget */
.sw-cta {
  background: linear-gradient(145deg, var(--ink2), var(--ink3));
  border-color: rgba(240,98,12,0.2);
  text-align: center;
}
.sw-cta .sw-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.08);
}
.sw-cta p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 18px;
}
.sw-cta-btn {
  display: block;
  background: var(--fire);
  color: #fff;
  padding: 12px;
  border-radius: var(--r1);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 18px rgba(240,98,12,0.35);
}
.sw-cta-btn:hover { background: var(--fire2); transform: translateY(-2px); }

/* Author/About widget */
.sw-about { text-align: center; }
.sw-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire), var(--ink3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 3px solid rgba(240,98,12,0.2);
}
.sw-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sw-about-name {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 3px;
}
.sw-about-role {
  font-size: 0.68rem;
  color: #9A9590;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}
.sw-about p {
  font-size: 0.8rem;
  color: #7A7570;
  line-height: 1.62;
  margin-bottom: 16px;
}
.sw-about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--fire);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}
.sw-about-link:hover { gap: 9px; }
.sw-about-link::after { content: '→'; }

/* Popular posts */
.pop-post {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line2);
  text-decoration: none;
  transition: padding-left 0.2s;
}
.pop-post:hover { padding-left: 4px; }
.pop-post:last-child { border-bottom: none; padding-bottom: 0; }
.pop-num {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--line2);
  line-height: 1;
  min-width: 30px;
  flex-shrink: 0;
  transition: color 0.2s;
}
.pop-post:hover .pop-num { color: var(--fire); }
.pop-post-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  display: block;
}
.pop-post-meta {
  font-size: 0.68rem;
  color: #aaa;
  margin-top: 3px;
  display: block;
}

/* Topic/tag cloud */
.topic-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-tag {
  display: inline-block;
  background: var(--mist);
  color: #6A6560;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--r4);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.topic-tag:hover {
  border-color: var(--fire);
  color: var(--fire);
  background: var(--ember);
}

/* ════════════════════════════════════════════════
   NEWSLETTER SECTION
════════════════════════════════════════════════ */
.newsletter-section {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,98,12,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-section::after {
  content: '';
  position: absolute;
  left: -60px; bottom: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,43,71,0.8) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-inner {
  width: var(--w);
  margin: 0 auto;
  padding: clamp(56px,7vw,88px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media(max-width:760px) { .newsletter-inner { grid-template-columns: 1fr; gap: 36px; } }
.nl-h {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.nl-h em { color: var(--fire); font-style: italic; font-weight: 300; }
.nl-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.72;
  margin-bottom: 0;
}
.nl-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.22);
}
.nl-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--fire);
  flex-shrink: 0;
}
.nl-form { display: flex; flex-direction: column; gap: 12px; }
.nl-input {
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r1);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.nl-input:focus { border-color: rgba(240,98,12,0.5); background: rgba(255,255,255,0.07); }
.nl-input::placeholder { color: rgba(255,255,255,0.22); }
.nl-submit {
  padding: 14px 20px;
  background: var(--fire);
  color: #fff;
  border: none;
  border-radius: var(--r1);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(240,98,12,0.35);
}
.nl-submit:hover { background: var(--fire2); transform: translateY(-1px); }
.nl-note {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.18);
  text-align: center;
}

/* ── Reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .blog-card, .cs-featured, .cs-card,
  .blog-card-img img, .pop-post { transition: none; }
  .blog-card:hover, .cs-featured:hover { transform: none; }
}

/* ── Newsletter alerts ──────────────────────────────── */
.nl-alert {
  padding: 14px 20px;
  border-radius: var(--r1);
  font-size: .95rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.5;
}
.nl-alert-success {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.35);
  color: #6ee7b7;
}
.nl-alert-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}
