/* Blog pages — extends contact-us.css */

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

.blog-index-main {
  max-width: 720px;
  padding: 130px 48px 96px;
}

.blog-index-header {
  margin-bottom: 56px;
}

.blog-index-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.blog-index-meta {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.55;
}

/* Post list */
.blog-post-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.blog-post-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 32px;
  padding: 22px 16px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: background 0.12s;
  margin: 0 -16px;
}

.blog-post-row:hover {
  background: var(--bg2);
}

.post-date {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.45;
  padding-top: 3px;
  line-height: 1.4;
}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.post-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  opacity: 0.65;
}

.post-author {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.38;
  margin-top: 3px;
  letter-spacing: 0.2px;
}

/* ── Article page ────────────────────────────────────────────────────────── */

.blog-article {
  max-width: 680px;
  padding: 130px 48px 96px;
}

/* Breadcrumb */
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.blog-breadcrumb a:hover { color: var(--text); }
.blog-breadcrumb .sep { opacity: 0.3; }
.blog-breadcrumb span:last-child {
  color: var(--text-muted);
  opacity: 0.55;
}

/* Header */
.article-header {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.article-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  opacity: 0.75;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.5;
}

.meta-sep { opacity: 0.4; }

/* Article body typography */
.article-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

.article-body p {
  margin: 0 0 22px;
}

.article-body h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--text);
  margin: 48px 0 14px;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: var(--text);
  margin: 36px 0 10px;
  line-height: 1.4;
}

.article-body h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
  margin: 28px 0 8px;
}

.article-body ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-body ul li {
  padding-left: 18px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
}

.article-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  opacity: 0.3;
}

.article-body blockquote {
  border-left: 2px solid var(--border);
  padding: 2px 0 2px 20px;
  margin: 0 0 22px;
  opacity: 0.7;
}

.article-body blockquote p {
  font-style: italic;
  margin-bottom: 0;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
  opacity: 0.5;
}

.article-body strong {
  color: var(--text);
  font-weight: 500;
}

.article-body em {
  font-style: italic;
}

.article-body code {
  font-family: 'SoehneMono', 'SF Mono', monospace;
  font-size: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
}

.article-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.2);
  transition: text-decoration-color 0.12s;
}

.article-body a:hover {
  text-decoration-color: rgba(255,255,255,0.5);
}

/* Article footer */
.article-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-nav {
  display: flex;
}

.blog-article .btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.blog-article .btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  .blog-index-main { padding: 110px 24px 72px; }
  .blog-article { padding: 110px 24px 72px; }

  .blog-post-row {
    grid-template-columns: 1fr;
    gap: 4px;
    margin: 0 -8px;
    padding: 18px 8px;
  }

  .post-date { padding-top: 0; }
  .article-body { font-size: 15px; line-height: 1.8; }
}
