/* Public marketing blog */
.blog-page {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  min-height: 50vh;
}

.blog-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.blog-hero {
  margin-bottom: 28px;
}

.blog-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}

.blog-hero h1,
.blog-article-head h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-family: Outfit, Inter, sans-serif;
}

.blog-lead {
  margin: 0 0 16px;
  font-size: 15px;
  color: #64748b;
  line-height: 1.5;
  max-width: 40rem;
}

.blog-search {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  max-width: 480px;
}

.blog-search input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}

.blog-search .btn {
  border-radius: 8px;
}

.blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.blog-chip.is-active {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 699px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero h1,
  .blog-article-head h1 {
    font-size: 24px;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.blog-card:hover {
  border-color: #94a3b8;
}

.blog-card-media {
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-media--empty {
  background: linear-gradient(135deg, #0f766e 0%, #1e3a5f 100%);
}

.blog-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.blog-meta {
  font-size: 12px;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.blog-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.blog-card-excerpt {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
}

.blog-empty {
  padding: 40px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
}

.blog-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
  color: #64748b;
}

.blog-pager a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.blog-crumb {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.blog-crumb a {
  color: #64748b;
  text-decoration: none;
}

.blog-crumb a:hover {
  color: #0f766e;
}

.blog-article-head {
  margin-bottom: 20px;
}

.blog-article-cover {
  margin: 0 0 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.blog-article-cover img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.blog-prose {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 28px;
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
}

.blog-prose h2,
.blog-prose h3 {
  margin: 1.4em 0 0.5em;
  font-family: Outfit, Inter, sans-serif;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.blog-prose p {
  margin: 0 0 1em;
}

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

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

.blog-prose ul,
.blog-prose ol {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.blog-article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.blog-back {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}
