/* Clean, typography-focused post lists */
.posts-list-compact {
  margin: 2rem 0;
}

.post-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  transition: opacity 0.2s ease;
  background: none !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.post-item:last-child {
  border-bottom: none;
}

.post-item:hover {
  opacity: 0.8;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.post-item .post-header {
  margin-bottom: 0.75rem;
}

.post-item .categories {
  margin-bottom: 0.5rem;
}

.post-item .post-title {
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  font-weight: 600;
}

.post-item .post-title a {
  color: var(--bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-item .post-title a:hover {
  color: var(--accent);
}

.post-item .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.post-item .post-meta time {
  font-weight: 500;
}

.post-item .read-time {
  color: var(--muted);
}

.post-item .tags-preview {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.post-item .tag {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.post-item .post-summary {
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

/* Category styling */
.post-item .category {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.post-item .category:hover {
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .post-item {
    padding: 1.5rem 0;
  }
  
  .post-item .post-title {
    font-size: 1.25rem;
  }
  
  .post-item .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .post-item .post-meta {
    font-size: 0.85rem;
  }
  
  .post-item .category {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Page header */
.page-header {
  padding: 2rem 0 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

.page-description {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}


/* Home page specific adjustments */
.home-container .posts-list-compact {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .post-item {
    padding: 1.25rem 0;
  }
}