/* ===== Project Thumbnails ===== */
.project-card {
  cursor: pointer;
}

.project-thumbnails {
  padding: 0.75rem;
  display: flex;
  gap: 0.5rem;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.project-thumbnails img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.project-thumbnails img:hover {
  transform: scale(1.05);
}

.project-more {
  width: 64px;
  height: 48px;
  background: var(--muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

.project-count {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.75rem;
  z-index: 2;
}

body.rtl .project-count {
  right: auto;
  left: 1rem;
}

.project-count svg {
  width: 14px;
  height: 14px;
}

.project-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 50px;
  z-index: 2;
}

body.rtl .project-category {
  left: auto;
  right: 1rem;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 2;
}

.project-info h4 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.project-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .project-thumbnails {
    padding: 0.5rem;
    gap: 0.35rem;
  }
  
  .project-thumbnails img,
  .project-more {
    width: 50px;
    height: 38px;
  }
}
