/**
 * PureChain Elements - Marquee Widget Styles
 * 1:1 Pixel-perfect replica of onyxresearch.shop topbar/scrolling ticker
 */

.purechain-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #0b0b0d;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 10;
}

/* Full-width stretch mode: breaks out of any boxed Elementor container to fill 100vw */
.purechain-marquee-wrap.purechain-marquee--fullwidth {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  left: 0;
  right: 0;
}

.purechain-marquee-inner {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.purechain-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: purechainMarqueeScroll var(--purechain-marquee-speed, 35s) linear infinite;
}

.purechain-marquee-wrap.purechain-marquee--rtl .purechain-marquee-track {
  animation-direction: reverse;
}

.purechain-marquee-wrap.purechain-marquee--pause-hover:hover .purechain-marquee-track {
  animation-play-state: paused;
}

.purechain-marquee-unit {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.purechain-marquee-item-wrap {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.purechain-marquee-item {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a.purechain-marquee-item:hover {
  color: #ffffff;
  opacity: 1;
}

/* Dividers / Icons */
.purechain-marquee-div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0 var(--purechain-marquee-gap, 24px);
  opacity: 0.75;
  color: inherit;
  line-height: 1;
}

.purechain-marquee-div svg {
  display: block;
  width: var(--purechain-marquee-icon-size, 14px);
  height: var(--purechain-marquee-icon-size, 14px);
  fill: currentColor;
}

.purechain-marquee-div i {
  font-size: var(--purechain-marquee-icon-size, 14px);
  line-height: 1;
  color: inherit;
}

/* Diamond Hex Dot */
.purechain-marquee-div--hex-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: currentColor;
  transform: rotate(45deg);
  border-radius: 0;
  margin: 0 var(--purechain-marquee-gap, 24px);
}

/* Continuous Animation */
@keyframes purechainMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
