.news-ticker-khri {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 470px;
  overflow-y: scroll;
}

.news-ticker-khri-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #f8f8f8;
  padding: 16px;
  border-radius: 5px;
}

.news-ticker-khri-categories {
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-right: 8px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
}

h4.news-ticker-khri-title  {
  text-transform: none;
  letter-spacing: 0px;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 800;
  padding-bottom: 0;
  margin: 5px 0;
}

.news-ticker-khri-link {
  line-height: 20px;
}

/* Make Marquee style */
.news-ticker-khri-marquee {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-ticker-khri-marquee-content {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  animation: marquee 10s linear infinite; /* default duration, will be overwritten by JS */
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.news-ticker-khri-marquee-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #f8f8f8;
  padding: 16px;
  border-radius: 5px;
}

.news-ticker-khri-marquee-categories {
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-right: 8px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
}

h2.news-ticker-khri-marquee-title {
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 20px !important;
  line-height: 25px !important;
  padding-bottom: 0;
  margin: 5px 0;
}

.news-ticker-khri-marquee-link {
  line-height: 20px;
}

@media (max-width: 830px) {
  h2.news-ticker-khri-title {
    font-size: 16px !important;
    line-height: 22px !important;
  }

  .news-ticker-khri {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: scroll;
  }
}
