/* ─── Blog — Shared Article Styles ─────────────────────────── */

.blog-wrap {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.blog-wrap .tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface-2);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.blog-wrap h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.blog-wrap .subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 2rem;
}

.blog-wrap h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
  margin: 3rem 0 0.75rem;
  line-height: 1.3;
}

.blog-wrap h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin: 2rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-wrap p {
  margin: 0 0 1.25rem;
  color: var(--text);
}

.blog-wrap ul {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.blog-wrap li {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.blog-wrap .pullquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 2rem 0;
  line-height: 1.5;
}

.blog-wrap .framework {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}

.blog-wrap .framework-header {
  background: var(--surface-2);
  padding: 0.75rem 1.25rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 0.5px solid var(--border);
}

.blog-wrap .framework-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 0.5px solid var(--border);
}

.blog-wrap .framework-row:last-child { border-bottom: none; }

.blog-wrap .fw-cell {
  padding: 1rem 1.25rem;
  border-right: 0.5px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.blog-wrap .fw-cell:last-child { border-right: none; }

.blog-wrap .fw-cell .label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.blog-wrap .divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 2.5rem 0;
}

.blog-wrap .cta-block {
  background: var(--surface-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 3rem 0 0;
  text-align: center;
}

.blog-wrap .cta-block p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 1.25rem;
}

.blog-wrap .cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.blog-wrap .cta-btn:hover {
  background: var(--accent-hover);
}

.blog-wrap .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-wrap .meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
}

.blog-wrap em { font-style: italic; }
.blog-wrap strong { font-weight: 500; }

.blog-wrap .scenario {
  border-left: 0.5px solid var(--border);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-wrap .scenario .name {
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.blog-wrap .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.15s;
}

.blog-wrap .back-link:hover { color: var(--text); }

@media (max-width: 600px) {
  .blog-wrap .framework-row {
    grid-template-columns: 1fr;
  }
  .blog-wrap .fw-cell {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .blog-wrap .fw-cell:last-child { border-bottom: none; }
}

/* ─── Blog Index — Post List ───────────────────────────────── */

.blog-index {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
}

.blog-index .blog-index-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid var(--border);
}

.blog-index .blog-index-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.blog-index .blog-index-header p {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.blog-index .post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-index .post-card {
  display: block;
  padding: 1.75rem 0;
  border-bottom: 0.5px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}

.blog-index .post-card:hover { opacity: 0.7; }

.blog-index .post-card .post-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-index .post-card .post-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
}

.blog-index .post-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 0.6rem;
  letter-spacing: -0.005em;
}

.blog-index .post-card .excerpt {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  font-weight: 300;
}
