.news-timeline {
  position: relative;
  display: block;
  clear: both;
  margin: 1rem 0 2rem 0;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 10px;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  scrollbar-color: var(--color-scrollbar-thumb) var(--color-bg);
  -webkit-mask-image: linear-gradient(to bottom, #000000 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 85%, transparent 100%);
  isolation: isolate;
}

.news-timeline::-webkit-scrollbar {
  width: 6px;
}

.news-timeline::-webkit-scrollbar-track {
  background: var(--color-bg);
}

.news-timeline::-webkit-scrollbar-thumb {
  background: var(--color-scrollbar-thumb);
  border-radius: 10px;
}

.news-timeline::-webkit-scrollbar-thumb:hover {
  background: var(--color-scrollbar-thumb-hover);
}

.news-item {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 2.5rem;
}

.news-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: var(--color-accent);
  transform: translateX(0.6rem);
  transition: transform 0.3s ease;
}

.news-item:hover::before {
  transform: translateX(0.6rem) scale(1.2);
}

.news-date {
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 0;
  margin-bottom: 0.1rem;
  font-size: 0.95em;
  position: relative;
}

.news-content {
  margin-top: 0;
  line-height: 1.4;
  position: relative;
  transition: transform 0.3s ease;
  font-size: 0.95em;
}

.news-item:hover .news-content {
  transform: translateX(4px);
}

@media print, screen and (max-width: 480px) {
  .news-item {
    padding-left: 1.9rem;
  }

  .news-item::before {
    transform: translateX(0.35rem);
  }

  .news-item:hover::before {
    transform: translateX(0.35rem) scale(1.2);
  }
}
