.blog-body {
  background: #f1f5f9;
  min-height: 100vh;
}

.blog-main {
  padding: 1.25rem 0 3rem;
}

.blog-wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.blog-breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: #64748b;
}

.blog-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-breadcrumb-list a {
  color: #0d9488;
  font-weight: 600;
  text-decoration: none;
}

.blog-breadcrumb-list a:hover {
  text-decoration: underline;
}

.blog-breadcrumb-list [aria-current='page'] {
  color: #0f172a;
  font-weight: 700;
}

.blog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.blog-rss-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #c2410c;
  text-decoration: none;
}

.blog-rss-link:hover {
  text-decoration: underline;
}

.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-filter-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.blog-filter-btn:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

.blog-filter-btn.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #f8fafc;
}

.blog-toc {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
}

.blog-toc-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin: 0 0 0.65rem;
}

.blog-toc-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.7;
}

.blog-toc-list a {
  color: #0d9488;
  font-weight: 600;
  text-decoration: none;
}

.blog-toc-list a:hover {
  text-decoration: underline;
}

.blog-reading {
  font-weight: 600;
  color: #475569;
}

.blog-topic-section {
  margin: 0 0 1.5rem;
}

.blog-topic-section h2 {
  margin-top: 0;
}

.blog-related {
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.blog-related-title {
  font-size: 1.1rem;
  margin: 0 0 0.85rem;
  color: #0f172a;
}

.blog-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-related-item a {
  display: block;
  font-weight: 700;
  color: #0d9488;
  text-decoration: none;
  line-height: 1.35;
}

.blog-related-item a:hover {
  text-decoration: underline;
}

.blog-related-cat {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-top: 0.2rem;
}

.blog-index-head {
  margin-bottom: 2rem;
}

.blog-index-head h1 {
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #0f172a;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.blog-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card {
  margin: 0;
  padding: 0;
}

.blog-card-link {
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-card-link:hover {
  border-color: #94a3b8;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.blog-card-date {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.blog-card-cat {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0d9488;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.blog-card-excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
}

.blog-article-head {
  margin-bottom: 1.5rem;
}

.blog-meta {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 0.5rem;
}

.blog-article-head h1 {
  font-family: Orbitron, system-ui, sans-serif;
  font-weight: 800;
  color: #0f172a;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.25;
  margin: 0;
}

.blog-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #334155;
}

.blog-article-body h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: #0f172a;
  line-height: 1.3;
}

.blog-article-body h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
  color: #1e293b;
}

.blog-article-body p {
  line-height: 1.75;
  color: #334155;
  margin: 0 0 1rem;
}

.blog-article-body a {
  color: #0d9488;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-hero-figure,
.blog-inline-figure {
  margin: 1.75rem 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.blog-hero-svg-wrap,
.blog-inline-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.blog-hero-figure figcaption,
.blog-inline-figure figcaption {
  font-size: 0.85rem;
  color: #64748b;
  padding: 0.65rem 1rem 0.9rem;
  line-height: 1.45;
  border-top: 1px solid #f1f5f9;
}

.blog-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.25rem 0 2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.blog-data-table th,
.blog-data-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.blog-data-table th {
  background: #0f172a;
  color: #f8fafc;
  font-weight: 700;
}

.blog-list {
  margin: 0 0 1.5rem 1.25rem;
  color: #334155;
  line-height: 1.65;
}

.blog-faq {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem 0.25rem;
  margin: 1.5rem 0;
}

.blog-glossary {
  margin: 1rem 0 2rem;
}

.blog-glossary dt {
  font-weight: 700;
  color: #0f172a;
  margin-top: 0.75rem;
}

.blog-glossary dd {
  margin: 0.25rem 0 0;
  color: #475569;
  line-height: 1.6;
}

.blog-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.blog-footer a {
  color: #0d9488;
}

@media (max-width: 640px) {
  .blog-data-table {
    font-size: 0.82rem;
  }

  .blog-data-table th,
  .blog-data-table td {
    padding: 0.5rem 0.55rem;
  }
}

@media print {
  .blog-toolbar,
  .blog-toc,
  .blog-filter-row {
    display: none !important;
  }

  .blog-body {
    background: #fff;
  }

  .blog-card-link,
  .blog-related {
    box-shadow: none !important;
  }

  a[href^='http']::after {
    content: '';
  }
}
