/* ── Blog index ─────────────────────────────────────────────────────────── */

.blog-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.blog-header {
  margin-bottom: 48px;
}

.blog-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin: 8px 0 14px;
  line-height: 1.1;
}

.blog-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.blog-card:hover {
  border-color: var(--amber);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.blog-card-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 10px;
}

.blog-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
}

.blog-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 16px;
}

.blog-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
}

/* ── Blog post ──────────────────────────────────────────────────────────── */

.post-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.post-back {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 32px;
}

.post-back:hover {
  color: var(--amber);
}

.post-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 12px;
}

.post-wrap h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
}

.post-intro {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}

.post-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 12px;
}

.post-body p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 16px;
}

.post-body ul,
.post-body ol {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.75;
  margin: 0 0 16px 20px;
  padding: 0;
}

.post-body ul li,
.post-body ol li {
  margin-bottom: 6px;
}

.post-body strong {
  font-weight: 600;
}

.post-cta {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}

.post-cta p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

.post-cta a {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
}

.post-cta a:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .blog-header h1 { font-size: 32px; }
  .post-wrap h1 { font-size: 34px; }
}
