.blog-main {
  min-height: 64vh;
  padding: clamp(2rem, 6vw, 5rem) 20px;
  background: var(--yc-bg-card);
}
.blog-container { width: 100%; max-width: 1160px; margin-inline: auto; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.blog-sidebar { align-self: start; }
.blog-sidebar a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--yc-notice-border);
  border-radius: 10px;
  background: var(--yc-notice-bg);
  color: var(--yc-cta);
  font-weight: 700;
}
.blog-panel {
  min-width: 0;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--yc-border);
  border-radius: 18px;
  background: var(--yc-bg-main);
}
.blog-preview { display: none; }
.blog-main[data-blog-ready^="{"] .blog-preview { display: block; }
.blog-main[data-blog-ready^="{"] .blog-rendered { display: none; }
.blog-kicker {
  color: var(--yc-cta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.blog-title {
  margin-top: 0.65rem;
  color: var(--yc-text-primary);
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.16;
  overflow-wrap: anywhere;
}
.blog-intro, .blog-empty, .post-time { color: var(--yc-text-secondary); }
.blog-intro { max-width: 38rem; margin-top: 0.8rem; line-height: 1.7; }
.blog-empty {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--yc-bg-elevated);
}
.blog-list-heading { margin: 1.5rem 0 0.5rem; font-size: 1.15rem; font-weight: 800; }
.blog-list { display: grid; gap: 0.75rem; }
.blog-list-item {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--yc-border);
  border-radius: 12px;
  background: var(--yc-bg-elevated);
}
.blog-cover {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #143034;
}
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-cover .blog-cover-fallback { width: 54px; height: 54px; object-fit: contain; }
.blog-summary { display: flex; min-width: 0; flex-direction: column; gap: 0.6rem; }
.blog-summary h3 { font-size: 1.15rem; font-weight: 800; overflow-wrap: anywhere; }
.blog-summary > p { color: var(--yc-text-secondary); line-height: 1.6; overflow-wrap: anywhere; }
.blog-summary-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: auto; }
.post-time { font-size: 0.84rem; font-variant-numeric: tabular-nums; }
.blog-article header .post-time { margin-top: 0.85rem; }
.blog-article header .post-time time { margin-inline-start: 0.35rem; }
.blog-summary-meta a, .article-nav a, .blog-content a { color: var(--yc-cta); }
.blog-summary a:hover, .article-nav a:hover, .blog-content a:hover { text-decoration: underline; }
.blog-content {
  display: flow-root;
  margin-block: 1.5rem;
  color: var(--yc-text-primary);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.blog-content p, .blog-content ul, .blog-content ol, .blog-content figure { margin-block: 0.75em; }
.blog-content h2, .blog-content h3, .blog-content h4 { margin-block: 1.25em 0.4em; font-weight: 800; }
.blog-content h2 { font-size: 1.5rem; }
.blog-content h3 { font-size: 1.22rem; }
.blog-content ul, .blog-content ol { padding-inline-start: 1.5rem; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content img, .blog-content video { max-width: 100%; height: auto; }
.blog-content pre { max-width: 100%; overflow: auto; padding: 0.85rem; background: var(--yc-bg-elevated); }
.blog-content table { display: block; max-width: 100%; overflow: auto; }
.blog-content th, .blog-content td { padding: 0.4rem; border: 1px solid var(--yc-border); }
.article-nav { display: grid; gap: 0.55rem; padding-block: 1rem; border-top: 1px solid var(--yc-border); }
.article-nav p:empty, .blog-pagination:empty { display: none; }
.blog-detail-back, .blog-pagination a, .blog-pagination li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--yc-border-strong);
  border-radius: 8px;
  background: var(--yc-bg-elevated);
  color: var(--yc-text-primary);
}
.blog-detail-back:hover, .blog-pagination a:hover { border-color: var(--yc-primary-light); }
.blog-pagination ul { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.15rem; }
.blog-pagination .active > span, .blog-pagination [aria-current="page"] { border-color: var(--yc-cta); color: var(--yc-cta); }

@media (min-width: 640px) {
  .blog-list-item { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); }
}
@media (min-width: 900px) {
  .blog-main { padding-inline: 60px; }
  .blog-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
}
