.blog-index-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 92px 24px 54px;
  text-align: center;
}

.blog-index-hero h1,
.blog-article-header h1 {
  margin: 14px 0 20px;
  font-size: clamp(2.7rem, 6vw, 5.25rem);
  line-height: 1.01;
  letter-spacing: -.06em;
}

.blog-index-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.blog-index {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 110px;
}

.blog-cluster-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 50px; }
.blog-cluster-nav a { padding: 9px 13px; border: 1px solid #d7d2ff; border-radius: 999px; color: var(--brand); background: white; font-size: .75rem; font-weight: 750; text-decoration: none; }
.blog-cluster-nav a:hover { border-color: var(--brand); background: var(--brand-soft); }
.blog-cluster { margin-top: 68px; scroll-margin-top: 24px; }
.blog-cluster:first-of-type { margin-top: 0; }
.blog-cluster > h2 { margin: 0 0 24px; font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.04em; }

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

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 8px 30px rgba(28, 39, 72, .06);
}

.blog-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
}

.blog-card-image {
  display: block;
  overflow: hidden;
  background: #f5f1e9;
}

.blog-card-image img,
.blog-cover img,
.related-guide-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.025); }

.blog-card-body { padding: 30px; }
.blog-card:first-child .blog-card-body { display: flex; flex-direction: column; justify-content: center; padding: 44px; }

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.blog-card h3 { margin: 13px 0 11px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.18; letter-spacing: -.035em; }
.blog-card h3 a { text-decoration: none; }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.blog-read-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--brand); font-size: .84rem; font-weight: 800; text-decoration: none; }
.blog-read-link:hover span { transform: translateX(3px); }
.blog-read-link span { transition: transform .18s ease; }

.blog-article { max-width: 1200px; margin: 0 auto; padding: 34px 24px 110px; }
.blog-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--muted); font-size: .76rem; list-style: none; }
.blog-breadcrumbs li:not(:last-child)::after { margin-left: 8px; content: "/"; color: #a6adbc; }
.blog-breadcrumbs a { text-decoration: none; }
.blog-breadcrumbs a:hover { color: var(--brand); }
.blog-breadcrumbs [aria-current="page"] { max-width: 48ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.blog-article-header { max-width: 880px; margin: 72px auto 48px; text-align: center; }
.blog-article-header h1 { font-size: clamp(2.65rem, 6vw, 4.9rem); }
.blog-deck { max-width: 760px; margin: 0 auto 25px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.blog-article-header .blog-meta { justify-content: center; }
.blog-author { font-weight: 750; text-decoration: none; }
.blog-author:hover { color: var(--brand); }
.blog-cover { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: #f5f1e9; box-shadow: 0 22px 50px rgba(28, 39, 72, .1); }

.blog-article-layout { max-width: 1010px; display: grid; grid-template-columns: minmax(0, 690px) minmax(230px, 280px); align-items: start; gap: 40px; margin: 68px auto 0; }
.blog-prose { min-width: 0; color: #30394d; font-size: 1rem; line-height: 1.82; }
.blog-prose h2 { margin: 54px 0 16px; color: var(--ink); font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.04em; }
.blog-prose h2:first-child { margin-top: 0; }
.blog-prose h3 { margin: 34px 0 10px; color: var(--ink); font-size: 1.18rem; line-height: 1.3; }
.blog-prose p { margin: 0 0 20px; }
.blog-prose ul, .blog-prose ol { display: grid; gap: 10px; margin: 0 0 25px; padding-left: 25px; }
.blog-prose li::marker { color: var(--brand); font-weight: 800; }
.blog-prose a { color: var(--brand); font-weight: 750; }
.blog-prose table { width: 100%; margin: 26px 0 32px; border-collapse: collapse; font-size: .87rem; line-height: 1.55; }
.blog-prose th, .blog-prose td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.blog-prose th { color: var(--ink); background: var(--brand-soft); }
.blog-note { margin: 30px 0; padding: 21px 23px; border-left: 4px solid var(--brand); border-radius: 0 13px 13px 0; color: #40485b; background: var(--brand-soft); }
.blog-note strong { color: var(--ink); }

.blog-sidebar { position: sticky; top: 24px; display: grid; gap: 16px; }
.blog-toc, .blog-tools-card { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 30px rgba(28, 39, 72, .07); }
.blog-toc h2 { margin: 8px 0 15px; font-size: 1.08rem; letter-spacing: -.025em; }
.blog-toc ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.blog-toc a { color: var(--muted); font-size: .72rem; font-weight: 700; line-height: 1.4; text-decoration: none; }
.blog-toc a:hover { color: var(--brand); }
.blog-tools-card h2 { margin: 8px 0 18px; font-size: 1.2rem; letter-spacing: -.025em; }
.blog-tools-card > div { display: grid; gap: 8px; }
.blog-tools-card a { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); background: var(--soft); font-size: .8rem; font-weight: 750; text-decoration: none; }
.blog-tools-card a:hover { color: var(--brand); background: var(--brand-soft); }

.related-guides { margin-top: 94px; padding-top: 58px; border-top: 1px solid var(--line); }
.related-guides-heading h2 { margin: 7px 0 26px; font-size: clamp(1.8rem, 3.5vw, 2.55rem); letter-spacing: -.045em; }
.related-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-guide-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: white; }
.related-guide-grid article > div { padding: 20px; }
.related-guide-grid article > div > span { color: var(--muted); font-size: .7rem; font-weight: 750; }
.related-guide-grid h3 { margin: 8px 0 9px; font-size: 1rem; line-height: 1.35; }
.related-guide-grid h3 a { text-decoration: none; }
.related-guide-grid h3 a:hover { color: var(--brand); }
.related-guide-grid p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }

@media (max-width: 860px) {
  .blog-card:first-child { display: block; }
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .related-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .blog-index-hero { padding: 68px 18px 42px; }
  .blog-index { padding: 0 18px 82px; }
  .blog-card-grid, .related-guide-grid { grid-template-columns: 1fr; }
  .blog-card:first-child { grid-column: auto; }
  .blog-card:first-child .blog-card-body, .blog-card-body { padding: 24px; }
  .blog-article { padding: 24px 18px 82px; }
  .blog-article-header { margin: 52px auto 35px; }
  .blog-cover { border-radius: 17px; }
  .blog-article-layout { margin-top: 48px; }
  .blog-prose table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card-image img { transition: none; }
}
