/* ==============================================================================
   TOPTRONIC T10142.com — Vertical Message Ticker styles (Build #1480)
   Navy/gold adaptation of the sister-site ticker: the box stays MAXIMUM
   contrast (white on black 21:1, gold #e6b422 on black ~10:1, WCAG AAA).
   Colours are deliberately hardcoded, not theme tokens — the ticker must
   look identical on every page regardless of section theming.
   ============================================================================== */

.vmsg {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto 20px;
}
.vmsg-arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #e6b422;
  border-radius: 50%;
  background: #000000;
  color: #e6b422;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.vmsg-arrow:hover { background: #e6b422; color: #000000; }
.vmsg-arrow:focus-visible { outline: 3px solid #0f0f1a; outline-offset: 3px; }
.vmsg-box {
  flex: 1 1 auto;
  min-width: 0;
  background: #000000;
  border: 3px solid #e6b422;
  border-radius: 10px;
  padding: 0 14px;
}
.vmsg-track { list-style: none; margin: 0; padding: 0; }
.vmsg-item {
  padding: 12px 4px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: center;
}

/* JS-enhanced mode only (js/ticker.js adds .vmsg--js after measuring) */
.vmsg--js .vmsg-box { overflow: hidden; }
.vmsg--js .vmsg-track { height: 100%; transition: transform 0.6s ease; }
.vmsg--js .vmsg-item {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* The visually-hidden screen-reader status line (updated on manual steps) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .vmsg--js .vmsg-track { transition: none; }
}
@media (max-width: 900px) {
  .vmsg { gap: 8px; }
  .vmsg-arrow { width: 44px; height: 44px; }
}
