/* Post List */
.post-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.post-list__item {
  position: relative;
  padding: 1.5rem;
  max-width: 800px;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  text-align: center;
}

.post-list__featured-image {
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.post-list__image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-list__image:hover {
  transform: scale(1.02);
}

.post-list__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.post-list__title-link {
  color: var(--color-gray-900);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-list__title-link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.post-list__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.post-list__date {
  color: var(--color-gray-500);
  font-size: 0.875rem;
}

.post-list__category {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 0.125rem 0.75rem;
}

.post-list__category-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.post-list__category-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.post-list__reading-time {
  color: var(--color-gray-600);
  font-style: italic;
}

.post-list__content {
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-align: left;
}

.post-list__link {
  display: flex;
  align-content: center;
  justify-content: center;
}

.post-list__link .link {
  color: var(--color-accent);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-accent);
  border-radius: 40px;
  transition: background-color 0.3s ease-in-out;
}

.post-list__link .link:hover {
  background-color: color-mix(in srgb, var(--color-accent) 10%, transparent);
}

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