/* ===== BLOG — archive + single ===== */

.blog_archive {
  width: 100%;
  padding: 8rem 0 6rem;
}

.blog_archive_content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.blog_archive_header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog_archive_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog_card {
  background: var(--bg-card);
  border-radius: var(--rounded-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.blog_card:hover {
  border-color: var(--accent);
}

.blog_card > a > img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

.blog_card_body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.blog_card_body > h2 > a {
  color: var(--white);
  transition: color 0.3s ease;
}

.blog_card_body > h2 > a:hover {
  color: var(--accent);
}

.blog_card_body > p {
  color: var(--text-muted);
}

.blog_card_body > span {
  color: var(--text-muted);
  opacity: 0.6;
}

/* ===== SINGLE ===== */

.blog_single {
  width: 100%;
  padding: 8rem 0 6rem;
}

.blog_single_content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog_single_content > h1 {
  color: var(--white);
}

.blog_single_content > span {
  color: var(--text-muted);
  opacity: 0.6;
}

.blog_single_featured {
  width: 100%;
  border-radius: var(--rounded-lg);
  object-fit: cover;
}

.blog_single_body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.blog_single_body > h2,
.blog_single_body > h3,
.blog_single_body > h4 {
  color: var(--white);
  margin-top: 1rem;
}

.blog_single_body > p {
  color: var(--text-muted);
}

.blog_single_body > ul,
.blog_single_body > ol {
  padding-left: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog_single_body > ul > li::marker {
  color: var(--accent);
}

.blog_single_body > ol > li::marker {
  color: var(--accent);
  font-weight: 700;
}

.blog_single_body img {
  border-radius: var(--rounded-lg);
}

.blog_single_back {
  margin-top: 2rem;
}

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

  .blog_card > a > img {
    height: 20rem;
  }
}
