.hero__person-txt-more {
    height: 0;
}

.active .hero__person-txt-more {
    height: fit-content;
    transition: height 1s cubic-bezier(0.25, 0.1, 0.61, 1.79);
}

.hero__persons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  height: 590px;
  padding: 0 20px;
}

.hero__person {
  position: relative;
  flex: 0 0 auto;
  width: 10%;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.6s ease;
  height: 100%;
}

.hero__person:hover {
  width: 30%;
}

.hero__person.active {
  width: 58% !important;
}

.hero__person-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__person-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.8));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 20px;
  color: white;
}

.hero__person-txt-less,
.hero__person-txt-more {
  transition: opacity 0s ease;
}

.hero__person-txt-less {
    opacity: 1;
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
}

.active .hero__person-txt-less {
    margin: 0;
}

.hero__person.active .hero__person-txt-less {
    opacity: 0;
    transform: none;
}

.hero__person:hover .hero__person-txt-less {
  opacity: 0.3;
  transform-origin: left;
  transition: transform-origin .4s ease;
}

.hero__person-txt-more,
.hero__person-count-span {
    opacity: 0;
}

.hero__person.active .hero__person-txt-more,
.hero__person-count-span {
  opacity: 1;
  transition: opacity .6s ease;
}

.hero__person.active .hero__person-txt-less .hero__person-title {
    font-size: 20px
}
.active.hero__person:hover .hero__person-txt-less {
    opacity: 0;
}
.hero__person .hero__person-txt-less .hero__person-title {
    font-size: 32px;
    transition: font-size 0.6s ease-in-out;
}

.active .hero__person-title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__person-count {
  font-size: 40px;
}

/*    .hero__person-count-span {
  font-size: 14px;
}
*/
/* Carousel scroll styling 
.scrollable {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}*/

.scrollable .hero__person {
  scroll-snap-align: start;
}

a.fusion-button{
    text-align: center
}

@media (max-width: 1024px) {
    .hero__person-title {
        font-size: 24px!important;
    }
    .hero__persons a.fusion-button{
        padding: 20px!important;    
    }
    .hero__person {
        width: 10%;
    }

    .hero__person.active {
        width: 60%  !important;
    }


    .scrollable {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
}

@media (min-width: 1025px) {
    .hero__persons {
        overflow-x: hidden;
        cursor: grab;
    }

    .hero__persons.dragging {
        cursor: grabbing;
    }
}

@media (max-width: 640px) {
    .class-0.hero__person.active {
        margin-left: 20px;
    }
	.hero__persons {
		height: 400px!important;
	}
    .hero__person {
        width: 20%;
		height: 380px!important;
    }

    .hero__person.active {
        width: 90%  !important;
		height: 380px!important;
    }
}

@media (max-width: 375px) {
    .scrollable {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

}