/* --- Blog nav --- */
.blog-nav {
  padding: 0.25rem 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: #4aadff;
  font-size: 0.95rem;
  font-weight: 400;
  transition: opacity 0.15s;
}

.back-link:active {
  opacity: 0.6;
}

.back-chevron {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
}

/* --- Post article --- */
.post-article {
  padding: 1.5rem 1.25rem;
}

.post-meta {
  margin-bottom: 0.75rem;
}

.post-meta time {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.post-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.post-body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.post-body p:last-child {
  margin-bottom: 0;
}

/* --- Blog cards on index --- */
.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-entry {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s;
  cursor: pointer;
}

.blog-entry-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.blog-entry > .entry-chevron {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
  flex-shrink: 0;
}

.blog-entry:first-child {
  border-top: none;
}

.blog-entry:active {
  background: rgba(255, 255, 255, 0.08);
}

@media (hover: hover) {
  .blog-entry:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}

.blog-entry-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.blog-entry-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.blog-entry-preview {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
