.blog-hero {
  max-width: 80rem;
  padding-bottom: 3rem;
  text-align: left;
}

.blog-hero h1 {
  max-width: 76rem;
  margin: 0 0 1rem;
}

.lead {
  max-width: 72rem;
  margin: 0;
  opacity: 0.82;
}

.post-list {
  display: grid;
  gap: 1.6rem;
  padding-bottom: 4rem;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14rem;
  gap: 2rem;
  align-items: center;
  min-height: 12rem;
  padding: 1.8rem;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.post-card:visited,
body.colorscheme-dark .post-card,
body.colorscheme-dark .post-card:visited {
  color: inherit;
}

.post-card:hover {
  color: inherit;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.post-card:hover h2 {
  text-decoration: underline;
}

.post-card-copy {
  min-width: 0;
}

.post-card time,
.post-meta {
  opacity: 0.7;
  font-size: 1.4rem;
}

.post-card h2 {
  margin: 0.6rem 0 0.8rem;
  font-size: 2.4rem;
  line-height: 1.25;
}

.post-card p {
  max-width: 68rem;
  margin: 0;
  opacity: 0.82;
}

.post-card img {
  width: 14rem;
  height: 8.8rem;
  object-fit: cover;
  border-radius: 0.6rem;
}

.post {
  max-width: 80rem;
  padding-bottom: 4rem;
}

.post header {
  margin-bottom: 3rem;
}

.post h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 1.1;
}

.post-content {
  font-size: 1.7rem;
}

.post-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 3rem;
  object-fit: cover;
  border-radius: 0.8rem;
}

.post-content p,
.post-content ul {
  opacity: 0.86;
}

.post-content code {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2.2rem 0 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.action-button {
  min-height: 3.8rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.4rem;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

.action-button:hover {
  text-decoration: none;
}

.discussion {
  margin-top: 3rem;
}

.discussion-placeholder {
  padding: 1.6rem;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 0.4rem;
  opacity: 0.82;
}

@media (max-width: 680px) {
  .post-card {
    grid-template-columns: minmax(0, 1fr) 7.2rem;
    gap: 1rem;
    align-items: start;
    min-height: 9rem;
    padding: 1.2rem;
  }

  .post-card img {
    width: 7.2rem;
    height: 5.2rem;
  }
}
