.freelancer-card.card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  max-width: 260px;
  margin: 0 auto 20px;
  height: 320px;
  padding: 0;
}

.freelancer-card .freelancer-avatar {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.freelancer-card .card-body {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  height: calc(100% - 140px);
}

.freelancer-name {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.freelancer-role {
  margin: 0 0 8px 0;
  font-size: 0.8rem;
  color: #6c757d;
  text-align: center;
}

.freelancer-bio {
  margin: 0 0 10px 0;
  font-size: 0.85rem;
  color: #5b6b88;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.freelancer-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.freelancer-location {
  font-size: 0.78rem;
  color: #6c757d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.freelancer-action {
  background: #e404b4;
  color: #fff;
  border: 0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.freelancer-action:hover {
  color: #fff;
  filter: brightness(1.03);
}

.freelancer-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.card-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid transparent;
  border-top-color: #e404b4;
  border-right-color: #e404b4;
  border-radius: 50%;
  animation: card-spin 0.9s linear infinite;
}

@keyframes card-spin {
  to { transform: rotate(360deg); }
}

.categories-pagination-wrapper {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding-top: 8px;
  display: flex;
  justify-content: center;
}

.categories-pagination-wrapper .pagination {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
}

.freelancers-search-info {
  max-width: 1200px;
  margin: 0 auto 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(228, 4, 180, 0.08) 0%, rgba(139, 49, 255, 0.08) 100%);
  border: 1px solid rgba(139, 49, 255, 0.2);
  color: #2f2f46;
  font-size: 0.92rem;
  font-weight: 700;
  display: none;
}
