.blog-hero {
  padding-top: 56px;
}

.blog-hero h1 {
  margin: 12px 0 14px;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-chip);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.filter-chip:hover {
  color: var(--text);
  border-color: var(--accent);
}

.filter-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.post-empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
}

.post-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.post-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: var(--font-mono);
}

.tag-chip {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: var(--radius-chip);
  padding: 2px 10px;
  font-family: var(--font-body);
  color: var(--accent-dark);
  background: var(--bg-panel);
}

.post-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.5;
}

.post-card:hover .post-title {
  color: var(--accent-dark);
  text-decoration: underline;
}

.post-sum {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.crumbs {
  margin-top: 28px;
  padding-top: 4px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.crumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.crumb-here {
  color: var(--text);
}

.post-hero {
  padding-top: 8px;
  padding-bottom: 8px;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-hero h1 {
  margin: 0 0 16px;
  line-height: 1.35;
}

.post-hero-sum {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--text);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.prose p {
  color: var(--text);
  line-height: 1.85;
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
  line-height: 1.85;
  color: var(--text);
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  margin: 0 0 18px;
  padding: 4px 0 4px 18px;
  color: var(--text-muted);
  background: var(--bg-panel);
  border-radius: 0 var(--radius-panel) var(--radius-panel) 0;
}

.dl-guide {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  margin: 48px 0;
  text-align: center;
}

.dl-guide-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.dl-guide-text {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.dl-guide-acts {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.related-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-1);
  padding: 18px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.related-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.related-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.related-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.55;
}

.related-card:hover .related-title {
  color: var(--accent-dark);
  text-decoration: underline;
}

.postnav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}

.postnav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-1);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: box-shadow 0.15s ease;
}

.postnav-card:hover {
  box-shadow: var(--shadow-2);
}

.postnav-next {
  text-align: right;
  align-items: flex-end;
}

.postnav-dir {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
}

.postnav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.postnav-placeholder {
  display: block;
}

.dl-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 60;
}

.dl-fab svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 760px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .postnav-grid {
    grid-template-columns: 1fr;
  }

  .postnav-next {
    text-align: left;
    align-items: flex-start;
  }
}