.blog-admin {
  display: flex;
  justify-content: flex-end;
}

.add-post-btn {
  width: 128px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: white;
  background-color: var(--thirty);
  text-decoration: none;
}

.blog-posts-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: white;
}

.blog-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.06);
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.06);
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 12px;
  border-radius: 12px;
  background-color: var(--thirty);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.blog-card-title {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}

.blog-card-excerpt {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-date {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}