.blog-hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 43, 74, .9), rgba(23, 61, 112, .48)),
    url("images/blog-hero.jpg") center 48% / cover no-repeat,
    linear-gradient(120deg, #173d70, #5f8fc2);
}

.blog-hero.page-hero {
  min-height: 280px;
  padding: 64px 0 38px;
}

.blog-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(103,232,249,.12) 74px 75px),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(103,232,249,.08) 52px 53px);
  content: "";
}

.blog-hero .eyebrow {
  margin-bottom: 12px;
  color: #d3e6ff;
}

.blog-hero h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: .08em;
}

.blog-hero p:last-child {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

.blog-layout {
  max-width: 860px;
  padding-top: 54px;
  padding-bottom: 76px;
}

.publication-notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  color: #d9e8fb;
  background: var(--surface-raised);
  border-left: 3px solid var(--green);
  font-size: 12px;
  line-height: 1.8;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 9px;
}

.post-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-raised);
}

.posts-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.posts-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.posts-heading .section-label {
  margin: 0 0 5px;
}

.post-count {
  color: var(--muted);
  font-size: 11px;
}

.post-list {
  display: grid;
  gap: 16px;
}

.post-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--syntax-cyan);
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
}

.post-category {
  padding: 3px 9px;
  color: #d8e8ff;
  background: var(--surface-raised);
}

.post-category-en {
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.post-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.post-content {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.post-gallery {
  margin-top: 18px;
}

.empty-posts {
  padding: 32px 20px;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 760px) {
  .blog-hero {
    min-height: 230px;
  }

  .blog-hero.page-hero {
    min-height: 230px;
    padding: 44px 0 30px;
  }

  .blog-layout {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .post-card {
    padding: 18px;
  }
}
