.news-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 30px 0; /* spațiu sus-jos ca să nu pară lipite */
}

.news-track {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
  will-change: transform;
  cursor: grab;
}

.news-track.dragging {
  cursor: grabbing;
  transition: none;
}

.card-link {
  flex: 0 0 calc((100% - 40px) / 3);
  text-decoration: none;
  color: inherit;
  display: block;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  box-sizing: border-box;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.news-track, 
.news-track * {
  user-select: none;      /* împiedică selectarea textului */
  -webkit-user-drag: none; /* împiedică drag pe imagini în Safari/Chrome */
}
