.blog-public {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 44px 0 88px;
}

.blog-hero,
.blog-layout,
.blog-article,
.blog-breadcrumb,
.blog-empty-state,
.blog-category-nav {
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  padding-top: 24px;
}

.blog-hero {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 2.3fr) minmax(260px, 1fr);
  align-items: start;
}

.blog-hero-copy h1,
.blog-article-header h1,
.blog-empty-state h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.blog-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f766e;
}

.blog-lead,
.blog-hero-copy p,
.blog-sidebar-block p,
.blog-listing p,
.blog-empty-state p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.76);
}

.blog-hero-copy {
  display: grid;
  gap: 18px;
}

.blog-hero-notes {
  display: grid;
  gap: 14px;
  align-self: end;
}

.blog-hero-actions,
.blog-listing-actions,
.blog-sidebar-links,
.blog-language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.84);
}

.blog-chip.is-active {
  border-color: rgba(13, 148, 136, 0.45);
  background: rgba(20, 184, 166, 0.08);
}

.blog-layout {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 0.9fr);
  margin-top: 36px;
}

.blog-layout--article {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 24px;
}

.blog-stream {
  display: grid;
}

.blog-listing {
  display: grid;
  gap: 16px;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(15, 23, 42, 0.09);
}

.blog-stream .blog-listing:first-child {
  border-top: 0;
  padding-top: 0;
}

.blog-listing h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.blog-listing h2 a,
.blog-listing-actions a,
.blog-sidebar-links a,
.blog-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.blog-listing h2 a:hover,
.blog-listing-actions a:hover,
.blog-sidebar-links a:hover,
.blog-breadcrumb a:hover {
  color: #0f766e;
}

.blog-listing-meta,
.blog-article-meta,
.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(15, 23, 42, 0.58);
  font-size: 0.95rem;
}

.blog-sidebar {
  display: grid;
  gap: 26px;
  align-content: start;
}

.blog-sidebar-block {
  display: grid;
  gap: 14px;
}

.blog-article {
  display: grid;
  gap: 28px;
  margin-top: 10px;
}

.blog-article-header {
  display: grid;
  gap: 16px;
}

.blog-article-body {
  font-size: 1.06rem;
  line-height: 1.8;
  color: rgba(15, 23, 42, 0.9);
}

.blog-article-body > *:first-child {
  margin-top: 0;
}

.blog-article-body h2,
.blog-article-body h3 {
  margin: 2.3rem 0 0.9rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.blog-article-body p,
.blog-article-body ul,
.blog-article-body ol,
.blog-article-body blockquote {
  margin: 0 0 1.15rem;
}

.blog-article-body ul,
.blog-article-body ol {
  padding-left: 1.2rem;
}

.blog-article-body a {
  color: #0f766e;
}

.blog-empty-state {
  display: grid;
  gap: 16px;
}

@media (max-width: 1024px) {
  .blog-public {
    width: min(100vw - 28px, 100%);
    padding-top: 28px;
  }

  .blog-hero,
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-hero-copy h1,
  .blog-article-header h1,
  .blog-empty-state h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .blog-lead,
  .blog-hero-copy p,
  .blog-sidebar-block p,
  .blog-listing p,
  .blog-empty-state p,
  .blog-article-body {
    font-size: 1rem;
  }
}

html[data-theme="dark"] .blog-hero,
html[data-theme="dark"] .blog-layout,
html[data-theme="dark"] .blog-article,
html[data-theme="dark"] .blog-breadcrumb,
html[data-theme="dark"] .blog-empty-state,
html[data-theme="dark"] .blog-category-nav,
html[data-theme="dark"] .blog-listing {
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .blog-lead,
html[data-theme="dark"] .blog-hero-copy p,
html[data-theme="dark"] .blog-sidebar-block p,
html[data-theme="dark"] .blog-listing p,
html[data-theme="dark"] .blog-empty-state p,
html[data-theme="dark"] .blog-article-body {
  color: rgba(226, 232, 240, 0.84);
}

html[data-theme="dark"] .blog-listing-meta,
html[data-theme="dark"] .blog-article-meta,
html[data-theme="dark"] .blog-breadcrumb {
  color: rgba(226, 232, 240, 0.58);
}

html[data-theme="dark"] .blog-chip {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.52);
}

html[data-theme="dark"] .blog-chip.is-active {
  border-color: rgba(45, 212, 191, 0.42);
  background: rgba(20, 184, 166, 0.12);
}
