/* Outer wrapper for the ticker section */
.custom-news-ticker-wrapper {
  overflow: hidden;
  background: #a18054eb;
  color: #fff;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: stretch;
  font-family: scale-variable, sans-serif;
  perspective: 1000;
}

/* Inner flex container for title and ticker */
.custom-news-ticker-bar {
  display: flex;
  align-items: center;
  flex: 1;
  overflow: hidden;
  width: 100%;
}

/* Title section (e.g., "Flash news") */
.custom-news-ticker-title {
  background: #102340;
  color: #fff;
  padding: 0 30px;
  /* font-weight: bold; */
  font-size: 18px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 1;
  font-family: "AntoliaBuchery", sans-serif;
}

/* Scrolling ticker container */
.custom-news-ticker {
  display: inline-flex;
  white-space: nowrap;
  animation-name: ticker-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  align-items: center;

  will-change: transform;
  /* transform: translate3d(0, 0, 0); */
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transform-style: preserve-3d;
  text-rendering: optimizeLegibility;
}

/* Animation for scrolling */
@keyframes ticker-scroll {
  0% {
    transform: translate3d(0%, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Individual news item */
.ticker-item {
  display: inline-block;
  font-size: 15px;
  padding: 20px 0 18px;
  line-height: 1;
  text-rendering: optimizeLegibility;
  /* -webkit-font-smoothing: antialiased; */
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "clig", "calt";
  font-variation-settings: "wght" 300;
}

.ticker-item-title {
  font-variation-settings: "wght" 500;
}
/* Separator between items */
.ticker-separator {
  display: inline-block;
  margin: 0 15px;
}

/* Custom SVG line styling */
.ticker-separator svg path {
  stroke: #102340;
}