/* Blog-specific styles for /blog and /blog/* pages */
/* ===========================
   Blog redesign (ranjan.adsgupta.com/blog)
   =========================== */
.post-layout{
  flex: 1;
}

.shell{
  width: 100%;
}

.shell.post-layout{
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Header */
.post-header{
  padding-top: 1.25rem;
}

.hero-kicker{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--text-secondary);
  margin: 0 0 0.75rem 0;
}

.post-title{
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.hero-description{
  color: rgba(226,232,240,0.9);
}

html[data-theme='light'] .hero-description{
  color: rgba(17,24,39,0.9);
}

.post-meta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1.25rem;
}

.meta-pill{
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1;
}

/* Chips */
.chip{
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.chip-muted{
  color: var(--text-secondary);
}

.chip-source{
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.chip-source-adsgupta{
  color: var(--accent) !important;
}

.chip-accent{
  background: var(--accent-bg) !important;
  border-color: var(--accent-border) !important;
  color: var(--accent) !important;
}

/* Prose */
.post-layout .prose{
  margin-top: 1.75rem;
}

.post-layout .prose p{
  color: rgba(226,232,240,0.92);
  margin: 0.9rem 0;
}
html[data-theme='light'] .post-layout .prose p{
  color: rgba(17,24,39,0.9);
}

.post-layout .prose h2{
  color: var(--text-primary);
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 750;
}

.post-layout .prose h3{
  color: var(--text-primary);
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.post-layout .prose ul,
.post-layout .prose ol{
  padding-left: 1.2rem;
  margin: 0.75rem 0;
  color: inherit;
}

.post-layout .prose li{
  margin: 0.5rem 0;
}

.post-layout .prose blockquote{
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: rgba(0, 212, 170, 0.06);
  color: var(--text-primary);
}
html[data-theme='light'] .post-layout .prose blockquote{
  background: rgba(13,115,119,0.08);
}

.post-layout .prose code{
  padding: 0.15rem 0.35rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
}
html[data-theme='light'] .post-layout .prose code{
  background: rgba(0,0,0,0.03);
}

.post-related{
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.post-related h3{
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  font-weight: 750;
  color: var(--text-primary);
}

.post-related a{
  color: var(--text-secondary);
  text-decoration: none;
}
.post-related a:hover{
  color: var(--text-primary);
  text-decoration: underline;
}

/* Ad slots + CTA */
.ad-slot{
  margin: 2rem 0 0 0;
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
}

.ad-slot-inline{
  margin-top: 1.25rem;
}

.ad-slot-footer{
  margin-top: 2rem;
}

.ad-slot-label{
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cta-block{
  margin-top: 1.75rem;
}

.cta-inner{
  border: 1px solid rgba(0,212,170,0.35);
  background: rgba(0,212,170,0.07);
  border-radius: 1.25rem;
  padding: 1.75rem 1.25rem;
}

html[data-theme='light'] .cta-inner{
  border-color: rgba(13,115,119,0.35);
  background: rgba(13,115,119,0.07);
}

.cta-kicker{
  margin: 0 0 0.75rem 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

.cta-title{
  margin: 0 0 0.8rem 0;
  color: var(--text-primary);
  font-weight: 850;
  font-size: 1.6rem;
  line-height: 1.2;
}

.cta-description{
  color: var(--text-secondary);
  margin: 0 0 1.2rem 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.cta-secondary{
  opacity: 0.95;
}

