.featured-scroll {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 10px;
  scroll-behavior: smooth;
  max-width: 100%;
  box-sizing: border-box;
}

.featured-scroll::-webkit-scrollbar {
  display: none; /* Optional: hides scrollbar */
}

.featured-card {
  flex: 0 0 auto; /* Prevents card from shrinking/stretching */
  width: 220px; /* Slightly smaller for mobile fit */
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.featured-card:hover {
  transform: translateY(-4px);
}

.featured-card a{
  text-decoration: none;
  color: inherit;
}

.featured-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.featured-card h3 {
  font-size: 1rem;
  margin: 10px 0 5px;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-card p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  background-color: #e5e7eb;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 10px;
}