.blog-page {
  max-width: 1080px;
  margin: 0 auto;
  color: var(--pi-text, #172033);
}

.blog-hero {
  margin-bottom: 2rem;
}

.blog-eyebrow {
  color: #6d28d9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-hero h1 {
  margin: 0.45rem 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.blog-hero p,
.blog-prompt p,
.blog-empty {
  color: #596579;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.blog-list,
.blog-article,
.blog-prompt,
.blog-empty {
  padding: 1.5rem;
  border: 1px solid #e2e7f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(30 41 59 / 7%);
}

.blog-list h2,
.blog-article h2,
.blog-prompt h2 {
  margin-top: 0;
}

.blog-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-list li + li {
  border-top: 1px solid #edf0f5;
}

.blog-list a {
  display: block;
  padding: 0.85rem 0.25rem;
  color: #26344f;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.blog-list a:hover,
.blog-list a:focus-visible,
.blog-list a[aria-current="page"] {
  color: #6d28d9;
}

.blog-content {
  color: #334155;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.blog-content > :first-child {
  margin-top: 0;
}

.blog-content > :last-child {
  margin-bottom: 0;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  margin: 1.6em 0 0.55em;
  color: #172033;
  line-height: 1.25;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.blog-content blockquote {
  margin-left: 0;
  padding: 0.25rem 1rem;
  border-left: 4px solid #8b5cf6;
  color: #596579;
}

.blog-content pre {
  max-width: 100%;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 8px;
  background: #172033;
  color: #f8fafc;
}

.blog-content :not(pre) > code {
  padding: 0.15em 0.35em;
  border-radius: 4px;
  background: #f0ecfe;
  color: #5b21b6;
}

.blog-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.blog-content th,
.blog-content td {
  padding: 0.6rem 0.75rem;
  border: 1px solid #dce2eb;
  text-align: left;
}

@media (max-width: 720px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
}
