/* ============================================
   BAND SECTION - TRANSPARENT SCROLLING COMPONENT
   ============================================
   Uses: Pure CSS animation (no JavaScript)
   Design: Transparent, adapts to any background
   Animation: Infinite scroll with pause on hover
   ============================================ */

/* Component Wrapper - Handles max-width for Band Section */
.asl-component-wrapper.asl-band-wrapper {
  max-width: var(--max-width-container) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Apply full-width breakout to ALL screen sizes */
body .asl-band-section {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

/* Main Section - Transparent Background */
.asl-band-section {
  width: 100%;
  padding: 0 0 20px 0 !important;
  background: transparent !important;
  position: relative;
  overflow: hidden;
}

/* ========================================
   MAIN CONTENT CONTAINER
   ======================================== */

.asl-band-wrapper .asl-band-container {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

/* Marquee Container */
.asl-band-wrapper .asl-band-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
}

/* Marquee Content - Pure CSS Animation */
.asl-band-wrapper .asl-band-marquee-content {
  display: flex;
  animation: asl-gentle-scroll var(--animation-duration, 50s) linear infinite;
  gap: 80px;
  padding: 0 40px;
}

/* Pause animation on hover */
.asl-band-wrapper .asl-band-marquee-content:hover {
  animation-play-state: paused;
}

/* Pure CSS Scroll Animation */
@keyframes asl-gentle-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   STAT ITEMS
   ======================================== */

/* Individual Stat Item */
.asl-band-wrapper .asl-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Stat Icon Container */
.asl-band-wrapper .asl-stat-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon SVG Styling - Using Design System Colors */
.asl-band-wrapper .asl-stat-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-bronze);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Stat Text Container */
.asl-band-wrapper .asl-stat-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

/* Stat Number - Using Design System Variables */
.asl-band-wrapper .asl-stat-number {
  font-family: var(--font-body) !important;
  font-size: 17px;
  font-weight: var(--weight-semibold) !important;
  letter-spacing: -0.3px;
  color: var(--color-bronze) !important;
}

/* Single Text Stat (like "Est. 2014" or License) */
.asl-band-wrapper .asl-stat-single {
  font-family: var(--font-body) !important;
  font-size: 17px;
  font-weight: var(--weight-semibold) !important;
  letter-spacing: -0.3px;
  color: var(--color-bronze) !important;
}

/* Stat Caption - Using Design System Variables */
.asl-band-wrapper .asl-stat-caption {
  font-family: var(--font-body) !important;
  font-size: 12px;
  font-weight: var(--weight-regular) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold) !important;
}

/* Separator - Using Design System Colors */
.asl-band-wrapper .asl-stat-separator {
  font-size: 14px;
  flex-shrink: 0;
  color: var(--color-gold) !important;
  opacity: 0.4;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1024px) {
  /* Adjust section padding */
  .asl-band-section {
    padding: 0 0 15px 0 !important;
  }

  /* Reduce gaps slightly */
  .asl-band-wrapper .asl-band-marquee-content {
    gap: 70px;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
  /* Adjust section padding */
  .asl-band-section {
    padding: 0 0 12px 0 !important;
  }

  /* Reduce font sizes */
  .asl-band-wrapper .asl-stat-number,
  .asl-band-wrapper .asl-stat-single {
    font-size: 15px;
  }

  .asl-band-wrapper .asl-stat-caption {
    font-size: 11px;
  }

  /* Reduce icon size */
  .asl-band-wrapper .asl-stat-icon {
    width: 18px;
    height: 18px;
  }

  /* Reduce gaps */
  .asl-band-wrapper .asl-band-marquee-content {
    gap: 60px;
    padding: 0 20px;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .asl-band-wrapper .asl-band-marquee-content {
    animation: none;
  }
}
