/* blog.css — blog index + article layout. Reuses tokens.css / components.css. */

.blog-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.blog-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.blog-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-hero {
  padding: 56px 0 36px;
  text-align: center;
}
.blog-hero__title {
  font-family: var(--font-tight);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.blog-hero__sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Article list ---- */
.blog-list {
  padding: 0 0 100px;
}
.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--r-card-l);
  padding: 28px;
  background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-card);
}
.blog-card__tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 4px 10px;
  border-radius: var(--r-badge-s);
  margin-bottom: 14px;
}
.blog-card__title {
  font-family: var(--font-tight);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card__excerpt {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---- Article page ---- */
.article {
  padding: 0 0 100px;
}
.article__breadcrumbs {
  font-size: 13.5px;
  color: var(--text-subtle);
  margin-bottom: 28px;
}
.article__breadcrumbs a { color: var(--text-muted); }
.article__breadcrumbs a:hover { color: var(--accent); }

.article__header {
  margin-bottom: 36px;
}
.article__title {
  font-family: var(--font-tight);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.article__meta {
  color: var(--text-subtle);
  font-size: 14px;
}

.article__body {
  max-width: 720px;
  color: var(--text-body);
  font-size: 16.5px;
  line-height: 1.75;
}
.article__body h2 {
  font-family: var(--font-tight);
  font-weight: 700;
  font-size: 23px;
  color: var(--text);
  margin: 40px 0 16px;
}
.article__body p { margin: 0 0 18px; }
.article__body ul {
  margin: 0 0 18px;
  padding-left: 0;
}
.article__body li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.article__body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.article__body strong { color: var(--text); }

.article__cta {
  max-width: 720px;
  margin: 44px 0;
  padding: 32px;
  border-radius: var(--r-card-l);
  background: var(--accent-bg);
  border: 1px solid var(--border-2);
  text-align: center;
}
.article__cta-title {
  font-family: var(--font-tight);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}
.article__cta-sub {
  color: var(--text-body);
  font-size: 15px;
  margin-bottom: 20px;
}

.article__back {
  max-width: 720px;
}
