.number-art-carousel {
  background: #f7f8fb;
  color: #172033;
  padding: 34px 16px 46px;
}

.number-art-carousel__stage {
  background: #ffffff;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  margin: 0 auto;
  max-width: 760px;
  overflow: hidden;
  position: relative;
}

.shape-box.number-art-slide {
  aspect-ratio: 4 / 3;
  display: none;
  padding: 0;
  position: relative;
  top: auto;
}

.shape-box.number-art-slide.activeImg {
  display: block;
}

.number-art-slide img {
  background: #eef2f7;
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  width: 100%;
}

.number-art-slide__shade {
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.72),
    rgba(15, 23, 42, 0.28) 48%,
    rgba(15, 23, 42, 0)
  );
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.number-art-slide__content {
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 0;
  max-width: 330px;
  padding: 32px;
  position: absolute;
  top: 0;
}

.number-art-slide__eyebrow {
  color: #a7f3d0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.number-art-slide h2 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 22px;
  text-shadow: 0 2px 18px rgba(15, 23, 42, 0.32);
}

.number-art-slide__button {
  align-items: center;
  background: #10b981;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 7px;
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.34);
  color: #ffffff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  max-width: 172px;
  min-height: 48px;
  padding: 12px 22px;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

.number-art-slide__button:hover,
.number-art-slide__button:focus-visible {
  background: #059669;
  box-shadow: 0 18px 34px rgba(5, 150, 105, 0.42);
  color: #ffffff;
  outline: none;
  text-decoration: none;
  transform: translateY(-2px);
}

.number-art-carousel__control {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d9e0ea;
  border-radius: 999px;
  color: #172033;
  cursor: pointer;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
  width: 44px;
  z-index: 3;
}

.number-art-carousel__control:hover,
.number-art-carousel__control:focus-visible {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.number-art-carousel__control--prev {
  left: 14px;
}

.number-art-carousel__control--next {
  right: 14px;
}

.number-art-carousel__hint {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
  margin: 16px auto 0;
  max-width: 760px;
  text-align: center;
}

nav .dropdown-menu {
  height: 70vh !important;
  overflow-y: scroll !important;
}

@media (max-width: 768px) {
  .number-art-carousel {
    padding: 24px 12px 34px;
  }

  .shape-box.number-art-slide {
    aspect-ratio: 1 / 1;
  }

  .number-art-slide img {
    padding: 14px;
  }

  .number-art-slide__shade {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.04),
      rgba(15, 23, 42, 0.76)
    );
  }

  .number-art-slide__content {
    justify-content: flex-end;
    max-width: none;
    padding: 22px 62px 24px;
    text-align: center;
  }

  .number-art-slide h2 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .number-art-slide__button {
    margin: 0 auto;
    min-height: 44px;
    width: 160px;
  }

  .number-art-carousel__control {
    height: 38px;
    width: 38px;
  }

  .number-art-carousel__control--prev {
    left: 10px;
  }

  .number-art-carousel__control--next {
    right: 10px;
  }
}

@media (max-width: 420px) {
  .number-art-slide__content {
    padding-left: 52px;
    padding-right: 52px;
  }

  .number-art-slide h2 {
    font-size: 26px;
  }

  .number-art-slide__button {
    width: 148px;
  }
}
