.oj-newsticker--ticker {
  --oj-newsticker-duration: 35s;
  --oj-newsticker-bg: #fff;
  --oj-newsticker-border: #dee2e6;
  --oj-newsticker-viewport-bg: #fff;
  --oj-newsticker-label-bg: #0d6efd;
  --oj-newsticker-label-color: #fff;
  --oj-newsticker-title-color: #1f2937;
  --oj-newsticker-title-hover-color: #0d6efd;
  --oj-newsticker-text-color: #5f6b7a;
  --oj-newsticker-date-color: #6c757d;
  --oj-newsticker-separator-color: #adb5bd;
  --oj-newsticker-controls-bg: #fff;
  --oj-newsticker-controls-color: #1f2937;
  --oj-newsticker-font-size: 0.95rem;
  font-size: var(--oj-newsticker-font-size);
}

.oj-newsticker--ticker,
.oj-newsticker--ticker * {
  box-sizing: border-box;
}

.oj-newsticker--ticker {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.oj-newsticker--ticker .oj-newsticker-ticker {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.oj-newsticker--ticker .oj-newsticker-ticker {
  background: var(--oj-newsticker-bg);
  border-color: var(--oj-newsticker-border) !important;
  min-height: 2.75rem;
}

.oj-newsticker--ticker .oj-newsticker-ticker__label {
  background: var(--oj-newsticker-bg);
  border-color: var(--oj-newsticker-border) !important;
  flex: 0 0 auto;
}

.oj-newsticker--ticker .oj-newsticker-ticker__badge {
  background: var(--oj-newsticker-label-bg) !important;
  color: var(--oj-newsticker-label-color) !important;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  line-height: 1;
  padding: .45rem .75rem;
}

.oj-newsticker--ticker .oj-newsticker-ticker__badge--pill {
  border-radius: 999rem;
}

.oj-newsticker--ticker .oj-newsticker-ticker__badge--rounded {
  border-radius: .375rem;
}

.oj-newsticker--ticker .oj-newsticker-ticker__badge--square {
  border-radius: 0;
}

.oj-newsticker--ticker .oj-newsticker-ticker__viewport {
  background: var(--oj-newsticker-viewport-bg);
  flex: 1 1 auto;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  width: 0;
}

.oj-newsticker--ticker .oj-newsticker-ticker__item-inner {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.oj-newsticker--ticker .oj-newsticker-ticker__link,
.oj-newsticker--ticker .oj-newsticker-ticker__link:visited,
.oj-newsticker--ticker .oj-newsticker-ticker__title {
  color: var(--oj-newsticker-title-color) !important;
  font-weight: 700;
  text-decoration: none;
}

.oj-newsticker--ticker .oj-newsticker-ticker__link:hover,
.oj-newsticker--ticker .oj-newsticker-ticker__link:focus {
  color: var(--oj-newsticker-title-hover-color) !important;
  text-decoration: underline;
}

.oj-newsticker--ticker .oj-newsticker-ticker__text {
  color: var(--oj-newsticker-text-color) !important;
}

.oj-newsticker--ticker .oj-newsticker-ticker__date {
  color: var(--oj-newsticker-date-color) !important;
}

.oj-newsticker--ticker .oj-newsticker-ticker__separator {
  color: var(--oj-newsticker-separator-color) !important;
  flex: 0 0 auto;
}

.oj-newsticker--ticker .oj-newsticker-ticker__track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  will-change: transform;
}

.oj-newsticker--ticker .oj-newsticker-ticker__group {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  width: max-content;
  white-space: nowrap;
}

.oj-newsticker--ticker .oj-newsticker-ticker__item {
  flex: 0 0 auto;
  max-width: none;
}

.oj-newsticker--marquee .oj-newsticker-ticker__track {
  animation: oj-newsticker-marquee var(--oj-newsticker-duration) linear infinite;
}

.oj-newsticker--marquee.is-paused .oj-newsticker-ticker__track,
.oj-newsticker--marquee.oj-newsticker--pause-hover:hover .oj-newsticker-ticker__track {
  animation-play-state: paused;
}

.oj-newsticker--ticker .oj-newsticker-ticker__stack {
  display: grid;
  align-items: center;
  min-height: 2.75rem;
}

.oj-newsticker--ticker .oj-newsticker-ticker__stack-item {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  visibility: hidden;
  width: 100%;
}

.oj-newsticker--ticker .oj-newsticker-ticker__stack-item.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.oj-newsticker--ticker .oj-newsticker-ticker__controls {
  background: var(--oj-newsticker-controls-bg);
  border-color: var(--oj-newsticker-border) !important;
  flex: 0 0 auto;
}

.oj-newsticker--ticker .oj-newsticker-ticker__controls .btn {
  color: var(--oj-newsticker-controls-color) !important;
  line-height: 1;
  text-decoration: none;
}

.oj-newsticker--ticker .oj-newsticker-ticker__controls .btn:hover,
.oj-newsticker--ticker .oj-newsticker-ticker__controls .btn:focus {
  color: var(--oj-newsticker-title-hover-color) !important;
}

@keyframes oj-newsticker-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .oj-newsticker--marquee .oj-newsticker-ticker__track {
    animation: none;
    transform: none;
  }

  .oj-newsticker--ticker .oj-newsticker-ticker__stack-item {
    transition: none;
  }
}

@media (max-width: 575.98px) {
  .oj-newsticker--ticker .oj-newsticker-ticker {
    align-items: stretch !important;
    flex-direction: column;
  }

  .oj-newsticker--ticker .oj-newsticker-ticker__label {
    border-bottom: var(--bs-border-width, 1px) solid var(--oj-newsticker-border);
    border-right: 0 !important;
  }

  .oj-newsticker--ticker .oj-newsticker-ticker__controls {
    border-left: 0 !important;
    border-top: var(--bs-border-width, 1px) solid var(--oj-newsticker-border);
    justify-content: flex-end;
  }
}
