.news-slider {
  position: relative;
}
.thumbnail-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.news-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  padding: 15px 12px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 10;
  transition: background 0.3s ease;
}
.nav:hover {
  background: rgba(0, 0, 0, 0.9);
}
.nav.prev {
  left: 15px;
}
.nav.next {
  right: 15px;
}
.news-dots {
  display: flex;
  gap: 10px;
  margin: 0;
  list-style: none;
  padding: 0;
}
.news-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.news-dot.active {
  background: #fff;
  transform: scale(1.2);
}
.news-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}
.news-content {
  transition: opacity 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .thumbnail-container {
    cursor: grab;
  }
  .thumbnail-container:active {
    cursor: grabbing;
  }
}
