/* assets/css/ticker.css */
.seoms-ticker {
  background: #191919;
  color: #fff;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  font-family: "MontserratCustom", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.seoms-ticker__inner {
  display: block;
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
}

.seoms-ticker__move {
  display: flex;
  align-items: center;
  gap: 0; /* spacing handled by separator (::after) for pixel control */
  white-space: nowrap;
  animation: seomsTickerScroll var(--seoms-ticker-duration, 22s) linear infinite;
  will-change: transform;
}

.seoms-ticker__item {
  display: inline-block;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  color: #fff;
  padding: 4px 0;
  white-space: nowrap;
  position: relative;
}

/* точечный разделитель между элементами (кроме последнего в последовательности) */
.seoms-ticker__item:not(:last-child)::after {
  content: "•";
  color: rgba(255,255,255,0.36);
  margin: 0 18px;
  font-size: 14px;
  vertical-align: middle;
  pointer-events: none;
  display: inline-block;
}

/* hover / focus — пауза анимации */
.seoms-ticker:hover .seoms-ticker__move,
.seoms-ticker:focus-within .seoms-ticker__move {
  animation-play-state: paused;
}

/* seamless scroll */
@keyframes seomsTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* responsive tuning */
@media (max-width: 1200px) {
  .seoms-ticker__item { font-size: 14px; }
  .seoms-ticker__item:not(:last-child)::after { margin: 0 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  .seoms-ticker__item { font-size: 13px; }
  .seoms-ticker__move { gap: 0; }
  .seoms-ticker__item:not(:last-child)::after { margin: 0 10px; font-size: 11px; }
}

/* links inside items */
.seoms-ticker__item a { color: inherit; text-decoration: none; }
.seoms-ticker__item a:hover,
.seoms-ticker__item a:focus { color: #ff6d3d; text-decoration: underline; }
