.ticker-container {
  display: flex;
  width: 35%;
  background-color: var(--aui-main-background, #FFFFFF);
  overflow: hidden;
  position: relative;
  height: 56px; /* Adjust as needed to control visible item count */
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  border: 1px solid var(--aui-pale-border, #FFFFFF);
  border-radius: 5px;
  box-sizing: border-box;
  text-align: center;
}

.ticker-list {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
  position: absolute;
  top: 0;
  transform: translateY(0); /* Initialize the list position */
  transition: transform 1s; /* ease; Smooth scroll transition */
  width: 100%;
}

.ticker-list a {
  text-decoration: none;
}

.ticker-inner {
  display: flex;
  background-color: var(--aui-main-background, #FFFFFF);
  padding: 10px;
  height: 56px;
  width: 100%;
  box-sizing: border-box;
  transform: translateY(0); /* Initially, show items at their actual position */
}

.feed-item-title {
font-weight: bold;
margin: 0 2px 0 0;
padding: 0px 10px 0px 10px;
color: var(--aui-main-colour, #333333);
line-height: 1.5;
font-size: 12px;
overflow: hidden;
display: block;
text-overflow: ellipsis;
white-space: nowrap;
max-height: 18px;
}

.feed-item-description {
padding: 0px 10px 0px 10px;
margin: 0px !important;
color: var(--aui-main-colour, #333333);
word-wrap: break-word;
line-height: 1.5;
font-size: 12px;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
text-overflow: ellipsis;
white-space: nowrap;
max-height: 18px;
box-sizing: border-box;
}

.feed-item-desc-text {
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

.feed-item-rm-text {
  margin-left: 5px;
  color: var(--theme-colour);
}

.feed-item-description p {
margin: 0;
}

.ticker-info {
  display: flex;
  flex-direction: column;
  padding-right: 19px;
  width: 100%;
  margin-left: 10px;
  box-sizing: border-box;
}

.ticker-scroller {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.rss-arrow {
  border: solid var(--aui-main-colour);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.rss-up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  cursor: pointer;
}

.rss-down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  cursor: pointer;
}

@media only screen and (max-width: 1350px) {
  .ticker-container {
    margin-right: 25px;
  }
}

.ticker-list {
  overflow: hidden;
  position: relative;
}

.feed-item {
  width: 100%;
  position: absolute;
  text-align: center;
  transform: translateY(-100%); /* Initialize off-screen */
  transition: transform 0.5s; /* Smooth transition for the transform property */
}
