/* ========================================
   BLOG PAGE — SPECIFIC STYLES
   Shared base styles live in /css/styles.css
   ======================================== */

/* ----------------------------------------
   BLOG HERO / HEADER
   ---------------------------------------- */
.blog-hero {
  padding: calc(var(--nav-height) + var(--nav-top) + var(--space-9xl)) 0 var(--space-7xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero__glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.blog-hero__headline {
  font-family: var(--font-display);
  font-size: var(--font-size-display-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}
.blog-hero__sub {
  font-size: var(--font-size-text-xl);
  line-height: var(--line-height-text-xl);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ----------------------------------------
   TAG PILLS
   ---------------------------------------- */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: var(--font-size-text-xs);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-text-xs);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.tag-pill--product {
  background: var(--accent);
  color: #fff;
}
.tag-pill--creator {
  background: rgba(16,185,129,0.15);
  color: #34D399;
  border: 1px solid rgba(16,185,129,0.2);
}
.tag-pill--ai {
  background: rgba(139,92,246,0.15);
  color: #A78BFA;
  border: 1px solid rgba(139,92,246,0.2);
}
.tag-pill--growth {
  background: rgba(59,130,246,0.15);
  color: #60A5FA;
  border: 1px solid rgba(59,130,246,0.2);
}

/* ----------------------------------------
   FEATURED ARTICLE CARD
   ---------------------------------------- */
.blog-featured {
  padding-bottom: var(--space-7xl);
}
.blog-featured__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.blog-featured__card:hover {
  border-color: rgba(255,107,53,0.25);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.blog-featured__image {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #1c1008 0%, #2d1c0c 30%, #1a1200 60%, #0c0c10 100%);
  overflow: hidden;
  min-height: 360px;
}
.blog-featured__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 40%, rgba(255,107,53,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(245,197,98,0.08) 0%, transparent 50%);
}
.blog-featured__image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-featured__image-mark {
  width: 72px;
  height: 72px;
  background: rgba(255,107,53,0.12);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-featured__image-mark svg {
  width: 32px;
  height: 32px;
  color: rgba(255,107,53,0.5);
}
.blog-featured__content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.blog-featured__tag {
  margin-bottom: var(--space-xl);
}
.blog-featured__title {
  font-family: var(--font-display);
  font-size: var(--font-size-display-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display-sm);
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  letter-spacing: 0;
}
.blog-featured__desc {
  font-size: var(--font-size-text-md);
  line-height: var(--line-height-text-md);
  color: var(--text-secondary);
  margin-bottom: var(--space-4xl);
}
.blog-featured__meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--line-subtle);
}
.blog-featured__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,53,0.3) 0%, rgba(245,197,98,0.2) 100%);
  border: 1px solid rgba(255,107,53,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-soft);
  flex-shrink: 0;
}
.blog-featured__byline {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blog-featured__author {
  font-size: var(--font-size-text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  line-height: var(--line-height-text-sm);
}
.blog-featured__date-read {
  font-size: var(--font-size-text-xs);
  color: var(--text-muted);
  line-height: var(--line-height-text-xs);
}
.blog-featured__read-more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}
.blog-featured__card:hover .blog-featured__read-more { gap: 10px; }
.blog-featured__read-more svg { width: 14px; height: 14px; }

/* ----------------------------------------
   CATEGORY FILTER BAR
   ---------------------------------------- */
.blog-filters {
  padding-bottom: var(--space-4xl);
}
.blog-filters__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.filter-pill {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: var(--font-size-text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-text-sm);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-primary);
}
.filter-pill--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ----------------------------------------
   ARTICLE GRID
   ---------------------------------------- */
.blog-grid {
  padding-bottom: var(--space-9xl);
}
.blog-grid__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4xl);
}

/* ----------------------------------------
   ARTICLE CARD
   ---------------------------------------- */
.article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  border-color: rgba(255,107,53,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.article-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  flex-shrink: 0;
}
.article-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,0.3));
  pointer-events: none;
}

/* Unique gradient per card — applied via modifiers */
.article-card:nth-child(1) .article-card__image {
  background: linear-gradient(155deg, #0f0b1a 0%, #1a1230 40%, #0e0c1a 100%);
}
.article-card:nth-child(1) .article-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(139,92,246,0.2) 0%, transparent 60%);
}
.article-card:nth-child(2) .article-card__image {
  background: linear-gradient(135deg, #0a1a1a 0%, #0c1520 40%, #0c1010 100%);
}
.article-card:nth-child(2) .article-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 35%, rgba(16,185,129,0.18) 0%, transparent 55%);
}
.article-card:nth-child(3) .article-card__image {
  background: linear-gradient(125deg, #1a1505 0%, #1c1a08 40%, #0c0e0a 100%);
}
.article-card:nth-child(3) .article-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(245,197,98,0.15) 0%, transparent 55%);
}
.article-card:nth-child(4) .article-card__image {
  background: linear-gradient(165deg, #0e1a0e 0%, #0a140f 40%, #080c0a 100%);
}
.article-card:nth-child(4) .article-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(16,185,129,0.15) 0%, transparent 60%);
}
.article-card:nth-child(5) .article-card__image {
  background: linear-gradient(145deg, #1a0e12 0%, #140e1a 40%, #0c0a10 100%);
}
.article-card:nth-child(5) .article-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 35% 45%, rgba(255,107,53,0.12) 0%, transparent 55%);
}

.article-card__image-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.article-card__image-icon svg {
  width: 24px;
  height: 24px;
  color: rgba(255,255,255,0.12);
}
.article-card__content {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card__tag {
  margin-bottom: var(--space-xl);
}
.article-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-text-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-text-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__desc {
  font-size: var(--font-size-text-sm);
  line-height: var(--line-height-text-sm);
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: var(--space-3xl);
}
.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--line-subtle);
  margin-top: auto;
}
.article-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,53,0.25) 0%, rgba(245,197,98,0.15) 100%);
  border: 1px solid rgba(255,107,53,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-soft);
  flex-shrink: 0;
}
.article-card__byline {
  font-size: var(--font-size-text-xs);
  color: var(--text-muted);
  line-height: var(--line-height-text-xs);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.article-card__byline-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}

/* ----------------------------------------
   BLOG CTA BANNER
   ---------------------------------------- */
.blog-cta {
  border-top: 1px solid var(--line-subtle);
  padding: var(--space-9xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,107,53,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.blog-cta__content {
  position: relative;
  z-index: 1;
}
.blog-cta__headline {
  font-family: var(--font-display);
  font-size: var(--font-size-display-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display-md);
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
}
.blog-cta__sub {
  font-size: var(--font-size-text-lg);
  line-height: var(--line-height-text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-6xl);
}
.blog-cta .waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}
.blog-cta .waitlist-form__row {
  justify-content: center;
}

/* ----------------------------------------
   SECTION LABEL
   ---------------------------------------- */
.blog-section-label {
  font-size: var(--font-size-text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.blog-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-subtle);
  display: none;
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 1024px) {
  .blog-hero__headline { font-size: var(--font-size-display-lg); line-height: var(--line-height-display-lg); }
  .blog-featured__card { grid-template-columns: 1fr; }
  .blog-featured__image { aspect-ratio: 16/7; min-height: unset; }
  .blog-featured__content { padding: var(--space-4xl); }
  .blog-featured__title { font-size: var(--font-size-display-xs); line-height: var(--line-height-display-xs); }
  .blog-grid__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-hero { padding-bottom: var(--space-6xl); }
  .blog-hero__headline { font-size: var(--font-size-display-md); line-height: var(--line-height-display-md); }
  .blog-hero__sub { font-size: var(--font-size-text-lg); line-height: var(--line-height-text-lg); }
  .blog-featured__content { padding: var(--space-3xl) var(--space-2xl); }
  .blog-featured__title { font-size: var(--font-size-text-xl); line-height: var(--line-height-text-xl); }
  .blog-grid__inner { grid-template-columns: 1fr; }
  .blog-cta__headline { font-size: var(--font-size-display-sm); line-height: var(--line-height-display-sm); }
  .blog-cta .waitlist-form__row { flex-direction: column; }
  .blog-cta .waitlist-form__input { width: 100%; height: 52px; min-height: 52px; }
  .blog-cta .waitlist-form__btn { width: 100%; height: 52px; min-height: 52px; justify-content: center; }
}


/* ========================================
   BLOG POST DETAIL PAGE
   ======================================== */

/* ----------------------------------------
   POST WRAPPER
   ---------------------------------------- */
.post-page {
  padding-top: calc(var(--nav-height) + var(--nav-top) + var(--space-7xl));
}

/* Back to blog link */
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
  margin-bottom: var(--space-6xl);
}
.post-back:hover { color: var(--text-primary); gap: 10px; }
.post-back svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ----------------------------------------
   POST HEADER
   ---------------------------------------- */
.post-header {
  padding-bottom: var(--space-7xl);
}
.post-header__inner {
  max-width: 768px;
  margin: 0 auto;
}
.post-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}
.post-header__breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.post-header__breadcrumb a:hover { color: var(--text-primary); }
.post-header__breadcrumb-sep { color: var(--text-faint); font-size: 12px; }
.post-header__tag { margin-bottom: var(--space-3xl); }
.post-title {
  font-family: var(--font-display);
  font-size: var(--font-size-display-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display-lg);
  color: var(--text-primary);
  letter-spacing: 0;
  margin-bottom: var(--space-4xl);
}

/* ----------------------------------------
   AUTHOR ROW
   ---------------------------------------- */
.post-author-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--line-subtle);
}
.post-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,53,0.3) 0%, rgba(245,197,98,0.2) 100%);
  border: 1px solid rgba(255,107,53,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-soft);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.post-author-info { display: flex; flex-direction: column; gap: 2px; }
.post-author-name {
  font-size: var(--font-size-text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-text-sm);
  color: var(--text-primary);
}
.post-author-meta {
  font-size: var(--font-size-text-xs);
  color: var(--text-muted);
  line-height: var(--line-height-text-xs);
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-author-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}
.post-author-share {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.post-author-share a {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.post-author-share a:hover { color: var(--text-primary); }
.post-author-share svg { width: 18px; height: 18px; }

/* ----------------------------------------
   HERO IMAGE
   ---------------------------------------- */
.post-hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #1c1008 0%, #2d1c0c 30%, #1a1200 55%, #0c0e12 100%);
  margin-bottom: var(--space-9xl);
}
.post-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 45%, rgba(255,107,53,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 60%, rgba(245,197,98,0.1) 0%, transparent 45%);
}
.post-hero-image__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.post-hero-image__icon svg {
  width: 48px;
  height: 48px;
  color: rgba(255,107,53,0.25);
}

/* ----------------------------------------
   ARTICLE BODY
   ---------------------------------------- */
.post-body-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: var(--space-9xl);
}
.post-body p {
  font-size: var(--font-size-text-md);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-3xl);
}
.post-body p:last-child { margin-bottom: 0; }
.post-body__lead {
  font-size: var(--font-size-text-lg) !important;
  line-height: 1.78 !important;
  color: var(--text-primary) !important;
  margin-bottom: var(--space-4xl) !important;
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-display-xs);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display-xs);
  color: var(--text-primary);
  margin-top: var(--space-9xl);
  margin-bottom: var(--space-2xl);
  letter-spacing: 0;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-text-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-text-xl);
  color: var(--text-primary);
  margin-top: var(--space-6xl);
  margin-bottom: var(--space-xl);
}
.post-body strong {
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}
.post-body ol,
.post-body ul {
  padding-left: var(--space-4xl);
  margin-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.post-body ol { list-style: decimal; }
.post-body ul { list-style: disc; }
.post-body li {
  font-size: var(--font-size-text-md);
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ----------------------------------------
   AUTHOR BIO
   ---------------------------------------- */
.post-author-bio {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-6xl) 0;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  gap: var(--space-4xl);
  align-items: flex-start;
}
.post-author-bio__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,53,0.25) 0%, rgba(245,197,98,0.15) 100%);
  border: 1px solid rgba(255,107,53,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-soft);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.post-author-bio__name {
  font-size: var(--font-size-text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.post-author-bio__text {
  font-size: var(--font-size-text-sm);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ----------------------------------------
   RELATED ARTICLES
   ---------------------------------------- */
.post-related {
  padding: var(--space-9xl) 0;
}
.post-related__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--line-subtle);
}
.post-related__title {
  font-family: var(--font-display);
  font-size: var(--font-size-display-xs);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display-xs);
  color: var(--text-primary);
}
.post-related__link {
  font-size: var(--font-size-text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  white-space: nowrap;
}
.post-related__link:hover { gap: 8px; }
.post-related__link svg { width: 14px; height: 14px; }
.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4xl);
}

/* Related card image gradients (nth-child within the related grid) */
.post-related__grid .article-card:nth-child(1) .article-card__image {
  background: linear-gradient(155deg, #0f0b1a 0%, #1a1230 40%, #0e0c1a 100%);
}
.post-related__grid .article-card:nth-child(1) .article-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(139,92,246,0.2) 0%, transparent 60%);
}
.post-related__grid .article-card:nth-child(2) .article-card__image {
  background: linear-gradient(135deg, #0a1a1a 0%, #0c1520 40%, #0c1010 100%);
}
.post-related__grid .article-card:nth-child(2) .article-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 35%, rgba(16,185,129,0.18) 0%, transparent 55%);
}
.post-related__grid .article-card:nth-child(3) .article-card__image {
  background: linear-gradient(125deg, #1a1505 0%, #1c1a08 40%, #0c0e0a 100%);
}
.post-related__grid .article-card:nth-child(3) .article-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(245,197,98,0.15) 0%, transparent 55%);
}

/* ----------------------------------------
   NEWSLETTER CTA
   ---------------------------------------- */
.post-newsletter {
  padding: var(--space-9xl) 0;
  border-top: 1px solid var(--line-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-newsletter__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,107,53,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.post-newsletter__content { position: relative; z-index: 1; }
.post-newsletter__headline {
  font-family: var(--font-display);
  font-size: var(--font-size-display-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-display-sm);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}
.post-newsletter__sub {
  font-size: var(--font-size-text-md);
  line-height: var(--line-height-text-md);
  color: var(--text-secondary);
  margin-bottom: var(--space-4xl);
}
.post-newsletter .waitlist-form { max-width: 480px; margin: 0 auto; }
.post-newsletter .waitlist-form__row { justify-content: center; }
.post-newsletter .waitlist-form__btn { white-space: nowrap; }

/* ----------------------------------------
   POST RESPONSIVE
   ---------------------------------------- */
@media (max-width: 1024px) {
  .post-title { font-size: var(--font-size-display-md); line-height: var(--line-height-display-md); }
  .post-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .post-page { padding-top: calc(var(--nav-height) + var(--nav-top) + var(--space-6xl)); }
  .post-title { font-size: var(--font-size-display-sm); line-height: var(--line-height-display-sm); }
  .post-hero-image { aspect-ratio: 16/9; border-radius: 12px; }
  .post-body-wrap { padding: 0 0 var(--space-7xl); }
  .post-author-share { display: none; }
  .post-author-bio { flex-direction: column; gap: var(--space-xl); }
  .post-related__grid { grid-template-columns: 1fr; }
  .post-newsletter__headline { font-size: var(--font-size-display-xs); line-height: var(--line-height-display-xs); }
  .post-newsletter .waitlist-form__row { flex-direction: column; }
  .post-newsletter .waitlist-form__input { width: 100%; height: 52px; min-height: 52px; }
  .post-newsletter .waitlist-form__btn { width: 100%; height: 52px; min-height: 52px; justify-content: center; }
}
