/* ======================================================
   BANNER 1
====================================================== */

.banner-section {
  position: relative;
  overflow: hidden;
  height: 104px;
  user-select: none;
  z-index: 25;
}

.banner-purple-block {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--purple);
}

.banner {
  position: relative;
  z-index: 1;

  height: 100%;
  padding: 22px 0;

  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.banner-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: bannerMarquee 18s linear infinite;
}

.banner-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.banner-block {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 20px;
  margin-left: 78px;

  color: rgb(var(--theme-surface-rgb));
}

.banner-group:first-child .banner-block:first-child {
  margin-left: 78px;
}

.banner-block-icon {
  display: block;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
}

.banner-block-text {
  font-family: var(--font-barlow-condensed);
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@keyframes bannerMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .banner-section {
    height: 88px;
  }

  .banner {
    padding: 18px 0;
  }

  .banner-block {
    gap: 16px;
    margin-left: 52px;
  }

  .banner-group:first-child .banner-block:first-child {
    margin-left: 52px;
  }

  .banner-block-icon {
    width: 48px;
    height: 48px;
  }

  .banner-block-text {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .banner-section {
    height: 78px;
  }

  .banner {
    padding: 16px 0;
  }

  .banner-block {
    gap: 14px;
    margin-left: 36px;
  }

  .banner-group:first-child .banner-block:first-child {
    margin-left: 36px;
  }

  .banner-block-icon {
    width: 40px;
    height: 40px;
  }

  .banner-block-text {
    font-size: 40px;
  }
}
