@keyframes client-showcase-scroll {
  0% {
    transform: translateX(0);
  }

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

.block-client-showcase {
  overflow: hidden;
}

.block-client-showcase .client-showcase__header {
  margin-bottom: 4.5rem;
  max-width: var(--wp--style--global--content-size);
  padding-right: var(--wp--style--root--padding-right);
  padding-left: var(--wp--style--root--padding-left);
  margin-left: auto;
  margin-right: auto;
}

.block-client-showcase .client-showcase__title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  font-weight: 700;
}

.block-client-showcase .client-showcase__subtitle__wrapper {
  margin-top: 0.25rem;
}

.block-client-showcase .client-showcase__subtitle {
  display: none;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
}

.block-client-showcase .client-showcase__subtitle.active {
  display: block;
}


.block-client-showcase .swiper {
  overflow: hidden;
  width: 100%;
}

.block-client-showcase .swiper-wrapper {
  align-items: stretch;
}

.block-client-showcase .swiper-slide {
  width: var(--client-card-width, 22rem);
  display: flex;
}

.block-client-showcase .client-card {
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 24px 24px -16px rgba(22, 22, 22, 0.08);
  padding: 1.25rem 1.25rem 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-sizing: border-box;
}

.block-client-showcase .client-card__header {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
  align-items: center;
}

.block-client-showcase .client-card__name {
  font-family: var(--wp--preset--font-family--space-mono);
  font-size: 1.125rem;
}

.block-client-showcase .client-card__description {
  font-size: 0.9375rem;
  color: rgba(0, 0, 0, 0.8);
}

.block-client-showcase .client-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.block-client-showcase .client-stat {
  border-radius: 1rem;
  background: #5591A4;
  color: #fff;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 6rem;
}

.block-client-showcase .client-stat--card {
  background: #5591A4;
}

.block-client-showcase .client-stat__title {
  font-family: var(--wp--preset--font-family--space-mono);
  font-size: 0.875rem;
}

.block-client-showcase .client-stat__value {
  font-family: var(--wp--preset--font-family--space-mono);
  font-size: 2rem;
  line-height: 1;
}

.block-client-showcase .client-stat--pie svg {
  width: 4.5rem;
  height: 4.5rem;
}

.block-client-showcase .client-stat--arc {
  position: relative;
}

.block-client-showcase .client-stat--arc .client-stat__content {
  position: absolute;
  top: 2.25rem;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.block-client-showcase .client-showcase__stat__columns {
  display: flex;
  gap: 1.25rem;
  max-width: var(--wp--style--global--content-size);
  padding-right: var(--wp--style--root--padding-right);
  padding-left: var(--wp--style--root--padding-left);
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
}

.block-client-showcase .client-showcase__stat__column {
  min-width: calc((100% - 1.25rem) / 2);
  max-width: calc((100% - 1.25rem) / 2);
}

@media (max-width: 781px) {
  .block-client-showcase .client-showcase__stat__columns {
    flex-direction: column;
  }

  .block-client-showcase .client-showcase__stat__column {
    min-width: 100%;
    max-width: 100%;
  }
}


.block-client-showcase .client-showcase__stat__column__swiper {
  overflow: hidden;
  width: 100%;
}


.block-client-showcase .client-card__cta {
  margin-top: auto;
}

.block-client-showcase .client-card__link {
  display: inline-block;
  background: #1e293b;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
}

/* New wrappers and showcase-* elements referenced in template.php */
.block-client-showcase .client-showcase__stat__wrapper {
  position: relative;
  margin-top: 1.25rem;
  overflow: hidden;
  height: 300px;
}

.block-client-showcase .client-showcase__stat__wrapper:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 115px;
  height: 100%;
  background: linear-gradient(270deg, rgba(72, 91, 97, 0.00) 0%, #485B61 100%);
  z-index: 10;
}

.block-client-showcase .client-showcase__stat__wrapper:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 115px;
  height: 100%;
  background: linear-gradient(90deg, rgba(72, 91, 97, 0.00) 0%, #485B61 100%);
  z-index: 10;
}

.block-client-showcase .client-showcase__stat.active {
  opacity: 1;
  visibility: visible;
  --client-showcase-speed: 20s;
}

.block-client-showcase .client-showcase__stat {
  animation: client-showcase-scroll var(--client-showcase-speed, 20s) linear infinite;
  display: inline-flex;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
}

.block-client-showcase .showcase-pie {
  height: 100%;
}

.block-client-showcase .showcase-pie svg {
  height: 100%;
  width: auto;
  max-height: 20rem;
}

.block-client-showcase .showcase-pie__text {
  font-family: var(--wp--preset--font-family--space-mono);
}

.block-client-showcase .showcase-arc {
  position: relative;
}

.block-client-showcase .showcase-arc__content__wrapper {
  position: absolute;
  top: 5rem;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.block-client-showcase .showcase-arc__title {
  font-size: 1.25rem;
  color: #fff;
  font-family: var(--wp--preset--font-family--space-mono);
  line-height: 1.25;
}

.block-client-showcase .showcase-arc__content {
  font-size: 4rem;
  color: #fff;
  font-family: var(--wp--preset--font-family--space-mono);
  line-height: 3rem;
}

.block-client-showcase .showcase-card {
  border-radius: 2rem;
  background: #5591A4;
  box-shadow: 0 34px 31px -17px rgba(22, 22, 22, 0.05);
  padding: 2rem 1.75rem;
  min-width: 20rem;
  max-width: 20rem;
  aspect-ratio: 193 / 135;
  height: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.block-client-showcase .showcase-card__title {
  font-size: 1.3125rem;
  color: #fff;
  font-family: var(--wp--preset--font-family--space-mono);
}

.block-client-showcase .showcase-card__content {
  text-align: right;
  font-size: 4rem;
  color: #fff;
  font-family: var(--wp--preset--font-family--space-mono);
  line-height: 3rem;
}

.block-client-showcase .client-showcase__stat__column--logo {
  position: relative;
}

.block-client-showcase .client-showcase__stat__column--logo:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 100%;
  background: linear-gradient(90deg, rgba(72, 91, 97, 0.00) 0%, #485B61 80.98%);
  pointer-events: none;
  z-index: 20;
}

.block-client-showcase .client-showcase__stat__column--logo .swiper {
  position: relative;
  z-index: 10;
}


.block-client-showcase .client-showcase__stat__column--content .client-showcase__stat__column__item {
  display: none;
}

.block-client-showcase .client-showcase__stat__column--content .client-showcase__stat__column__item.active {
  display: block;
}


.block-client-showcase .client-showcase__stat__column__swiper .client-showcase__stat__column__item {
  width: 10rem;
  height: 10rem;
  position: relative;
}

.block-client-showcase .client-showcase__stat__column__swiper .client-showcase__stat__column__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.block-client-showcase .client-showcase__stat__column__swiper .client-showcase__stat__column__item .progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  /* draw above content */
}

.block-client-showcase .client-showcase__stat__column__item__description p:first-child {
  margin-top: 0;
}

.block-client-showcase .client-showcase__stat__column__item__link {
  margin-top: 3.5rem;

}

.block-client-showcase .client-showcase__stat__column__item__link a {
  display: inline-flex;
  font-family: var(--wp--preset--font-family--space-mono);
  gap: 8px;
  align-items: center;
  border-radius: 6px;
  padding: 8px 12px 8px 20px;
  border: var(--wp--preset--color--white) 1px solid;
  text-decoration: none;
  transition: all 0.3s ease;
}

.block-client-showcase .client-showcase__stat__column__item__link a:after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-image: url(../../assets/images/figurist/button-arrow-right-white.svg);
}

.block-client-showcase .client-showcase__stat__column__item__link a:hover {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--black);
}

.block-client-showcase .client-showcase__stat__column__item__link a:hover:after {
  background-image: url(../../assets/images/figurist/button-arrow-right-black.svg);
}