/**
 * JCC Theme — announcement ticker (v1.5.3)
 * The original announcement list is kept below the ticker for readers and
 * for search engines; set "Announcements on homepage" to 0 if you want the
 * ticker alone.
 */
.jcc-ticker {
  display: flex;
  align-items: stretch;
  margin: 0 0 1.5rem;
  background: var(--jcc-navy);
  border-radius: 6px;
  overflow: hidden;
}
.jcc-ticker__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: .7rem 1.1rem;
  background: var(--jcc-gold);
  color: var(--jcc-navy);
  font-family: var(--jcc-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.jcc-ticker__view {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
}
.jcc-ticker__track {
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: jccTicker 30s linear infinite;
  will-change: transform;
}
.jcc-ticker:hover .jcc-ticker__track,
.jcc-ticker:focus-within .jcc-ticker__track { animation-play-state: paused; }
.jcc-ticker__item {
  display: inline-flex;
  align-items: center;
  padding: .7rem 0;
  margin-right: 3rem;
  color: var(--jcc-ivory) !important;
  font-size: .95rem;
  text-decoration: none !important;
}
.jcc-ticker__item::before {
  content: "\25C6";
  margin-right: .8rem;
  color: var(--jcc-gold);
  font-size: .6rem;
}
.jcc-ticker__item:hover,
.jcc-ticker__item:focus { color: var(--jcc-gold-light) !important; text-decoration: underline !important; }
@keyframes jccTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .jcc-ticker__track { animation: none; }
  .jcc-ticker__view { overflow-x: auto; }
}
