/* ── Blog & Inner Page Styles ──────────────────────────────────── */
/* Extends styles.css — include both on blog pages */

/* ── Blog Hero ─────────────────────────────────────────────────── */
.page-hero {
  padding: 72px 40px 56px;
  border-bottom: 1px solid var(--stroke);
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 700px;
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--grey-text);
  line-height: 1.6;
  max-width: 640px;
}

/* ── Blog Grid ─────────────────────────────────────────────────── */
.blog-grid-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 40px;
}

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

.blog-card {
  border: 1px solid var(--stroke);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: #ccc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.blog-card-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.blog-card-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--black);
}

.blog-card-excerpt {
  font-size: 14px;
  font-weight: 300;
  color: var(--grey-text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card-meta {
  font-size: 12px;
  font-weight: 300;
  color: var(--grey-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
}

.blog-card-read {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-read:hover { opacity: 0.65; }

/* ── Article Page ───────────────────────────────────────────────── */
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

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

.article-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.article-header h1 {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  max-width: 680px;
}

.article-meta {
  font-size: 13px;
  font-weight: 300;
  color: var(--grey-text);
  display: flex;
  gap: 20px;
  align-items: center;
}

.article-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--grey-text);
}

.article-intro {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--grey-text);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--stroke);
}

/* Article body typography */
.article-body h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.25px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #222;
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.article-body li {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #222;
  margin-bottom: 8px;
}

.article-body strong {
  font-weight: 600;
  color: var(--black);
}

.article-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--orange);
  background: var(--grey-bg);
  border-radius: 0 4px 4px 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: #333;
}

/* Callout box */
.callout {
  margin: 32px 0;
  padding: 24px;
  background: var(--grey-bg);
  border-radius: 6px;
  border: 1px solid var(--stroke);
}

.callout-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}

.callout p {
  margin: 0;
  font-size: 15px;
}

/* Stats box */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.stat-box {
  padding: 20px;
  border: 1px solid var(--stroke);
  border-radius: 6px;
  text-align: center;
}

.stat-num {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  font-weight: 300;
  color: var(--grey-text);
  line-height: 1.4;
}

/* Step list */
.step-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-list-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--stroke);
}

.step-list-item:first-child { border-top: 1px solid var(--stroke); }

.step-list-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  padding-top: 2px;
}

.step-list-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
}

.step-list-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--grey-text);
  line-height: 1.6;
}

/* Disclaimer */
.disclaimer-box {
  margin: 48px 0 0;
  padding: 20px 24px;
  border: 1px solid var(--stroke);
  border-radius: 6px;
  background: #fafafa;
}

.disclaimer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 8px;
}

.disclaimer-box p {
  font-size: 13px;
  font-weight: 300;
  color: var(--grey-text);
  line-height: 1.6;
  margin: 0;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 96px;
}

.sidebar-card {
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.25px;
}

.sidebar-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--grey-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sidebar-card .btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
}

.related-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-post-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.45;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stroke);
  display: block;
}

.related-post-link:last-child { border-bottom: none; padding-bottom: 0; }
.related-post-link:hover { color: var(--orange); }

.related-post-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-text);
  display: block;
  margin-bottom: 4px;
}

/* ── Blog CTA Banner ────────────────────────────────────────────── */
.blog-cta-banner {
  background: var(--black);
  color: var(--white);
  padding: 64px 40px;
  text-align: center;
  margin-top: 64px;
}

.blog-cta-banner h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 600px;
  margin: 0 auto 12px;
}

.blog-cta-banner p {
  font-size: 16px;
  font-weight: 300;
  color: #aaa;
  margin-bottom: 32px;
}

.blog-cta-banner .btn-primary {
  background: var(--white);
  color: var(--black);
}

.blog-cta-banner .btn-primary:hover { opacity: 0.88; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .page-hero h1 { font-size: 32px; }
  .article-header h1 { font-size: 30px; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid-section, .article-layout { padding: 40px 20px; }
  .page-hero { padding: 48px 20px 40px; }
  .page-hero h1 { font-size: 26px; }
  .stats-row { grid-template-columns: 1fr; }
  .blog-cta-banner { padding: 48px 20px; }
  .blog-cta-banner h2 { font-size: 24px; }
}
