.creator-build .build-card,
.section.value .value-card,
.section.value .value-card-slide,
.about-page .join .join-card {
  border-radius: 32px;
}

.shared-carousel {
  position: relative;
  min-width: 0;
  max-width: 100%;
  height: auto;
  padding-bottom: 0;
}

.shared-carousel .carousel-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.shared-carousel .carousel-track {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow: visible;
  white-space: normal;
  scroll-snap-type: none;
  transition-timing-function: ease-out;
}

.shared-carousel .carousel-track > .carousel-slide {
  flex-shrink: 0;
  height: auto;
  margin: 0;
  white-space: normal;
}

.shared-carousel .mind-mask > .carousel-slide {
  width: min(18.3125rem, 90%);
}

.shared-carousel .build-mask > .carousel-slide,
.about-page .join .shared-carousel .carousel-slide {
  width: min(26.5rem, 90%);
}

.shared-carousel .carousel-slide > .build-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.creator-build .build-text,
.creator-build .pricing-item-text,
.section.value .value-card > p,
.section.value .value-card-slide > p,
.premium-plan .pricing-description,
.premium-plan .premium-plan-features {
  font-size: 1rem;
  line-height: 1.4;
}

.section.value .shared-carousel .carousel-slide {
  display: flex;
  align-items: stretch;
}

.section.value .shared-carousel .value-card-slide {
  width: 100%;
  min-width: 0;
}

.about-page .join .shared-carousel .carousel-slide {
  display: flex;
  align-items: stretch;
}

.about-page .join .shared-carousel .carousel-track {
  display: flex;
  overflow: visible;
}

.shared-carousel .team-mask > .carousel-slide {
  width: calc((100% - 4.5rem) / 4);
}

.shared-carousel.news-block {
  padding: 0;
}

.shared-carousel .news-collection-list > .carousel-slide {
  width: min(32.5rem, 90%);
  max-width: none;
}

.shared-carousel .news-image {
  display: block;
  width: 100%;
  aspect-ratio: 520 / 305;
}

.shared-carousel .carousel-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
}

.shared-carousel .carousel-nav[hidden] {
  display: none;
}

.shared-carousel .carousel-nav > button {
  display: flex;
  position: relative;
  inset: auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: none;
  cursor: pointer;
  opacity: 1;
  transition: opacity 120ms;
}

.shared-carousel .carousel-nav > button:disabled {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  cursor: default;
}

.shared-carousel .carousel-nav > button:hover:not(:disabled) {
  opacity: .75;
}

.shared-carousel[data-carousel="premium"] {
  max-width: 80rem;
  margin: 4.4375rem auto 0;
}

.shared-carousel .premium-plans > .carousel-slide {
  width: min(20rem, 80%);
  padding-right: 0;
  display: grid;
}

@media screen and (min-width: 992px) {
  .section:is(.team, .creator-build) .shared-carousel {
    container-type: inline-size;
  }

  .section:is(.team, .creator-build) .shared-carousel .carousel-viewport {
    width: calc(100% + var(--carousel-bleed, 0px));
  }

  .shared-carousel .mind-mask > .carousel-slide {
    width: calc((100% - 48px) / 3);
  }

  .shared-carousel .build-mask > .carousel-slide,
  .about-page .join .shared-carousel .carousel-slide {
    width: calc((100% - 24px) / 2);
  }

  .creator-build .shared-carousel .build-mask > .carousel-slide {
    width: calc((100cqw - 24px) / 2);
  }

  .shared-carousel .team-mask > .carousel-slide {
    width: calc((100cqw - 72px) / 4);
  }

  .shared-carousel .premium-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;
  }

  .shared-carousel .premium-plans > .carousel-slide {
    width: auto;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .shared-carousel .team-mask > .carousel-slide {
    width: calc((100% - 3rem) / 3);
  }
}

@media screen and (max-width: 767px) {
  .shared-carousel .team-mask > .carousel-slide {
    width: 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shared-carousel .carousel-nav > button {
    transition: none;
  }
}