.people_category_button_active a {
  background: linear-gradient(90deg, #000000 0%, #2F2F2F 50%, #000000 100%) !important;
}

.people_category_button_active a .fl-button-text {
  background: linear-gradient(91.38deg, #D5B172 0.79%, #F2EFC3 40.66%, #F2EFC3 60.15%, #D5B172 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
}

.people_category_button a {
  background: linear-gradient(90deg, #CACACA 0%, #EBEBEB 50%, #CACACA 100%) !important;
}


.people_category_button a:hover {
  background: linear-gradient(90deg, #000000 0%, #2F2F2F 50%, #000000 100%) !important;
}

.people_category_button a:hover .fl-button-text {
  background: linear-gradient(91.38deg, #D5B172 0.79%, #F2EFC3 40.66%, #F2EFC3 60.15%, #D5B172 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
}





.single_person_container {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none !important;
  outline: none !important;
}

/* Gradient border layer */
.single_person_container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(91.38deg,
      #D5B172 0.79%,
      #F2EFC3 40.66%,
      #F2EFC3 60.15%,
      #D5B172 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}



.single_person_image {
  transition: transform 0.5s ease;
}

.single_person_image img {
  height: 212px;
  border-radius: 3px;
  object-fit: cover;
  width: 100%;
}

.single_person_content_container {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  transition: transform 0.5s ease;
  transform: translateY(0);
  background-color: white;
  border-width: 1px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  padding-top: 15px;
  padding-right: 10px;
  padding-bottom: 15px;
  padding-left: 10px;
  gap: 10px;
}

.single_person_name {
  font-weight: 500;
  font-size: 17px;
  line-height: 22px;
  text-transform: uppercase;
  color: black;
  text-align: center;
}

.single_person_title {
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  text-transform: uppercase;
  color: #9F6606;
  text-align: center;
}

.single_person_button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #FF934E 0%, #FFD057 100%);
  overflow: hidden;
  transition: all 0.5s ease;
  border-radius: 50px;
  padding-top: 10px;
  padding-right: 30px;
  padding-bottom: 10px;
  padding-left: 30px;
  font-weight: 700;
  font-size: 15px;
  color: black;
  bottom: 0;
  opacity: 0;
  transition: all 0.5s ease;
  margin-bottom: -60px;
  box-shadow: 0px 15px 10px 0px #B7980326;
}

.single_person_button::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 16px;
  margin-left: 3px;
  background: url('/wp-content/themes/nus-theme/assets/images/single-person-button-arrow.png') no-repeat center;
  background-size: contain;
}


.single_person_container:hover {
  box-shadow: 0px 10px 15px 0px #00000026;

  .single_person_content_container {
    transform: translateY(-60px);
  }

  .single_person_image {
    transform: translateY(-11px);
  }

  .single_person_button {
    opacity: 1;
    transform: translateY(-20px);
  }
}