#partner-testimonials-wrapper {
  margin: 0 auto;
  padding: 67px;
  margin-bottom: 72px;
}

#partner-testimonials-heading h2 {
  font-weight: 500;
  font-size: 36px !important;
  line-height: 67px;
  text-align: center;
  color: #000;
}

#partner-region-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 65px 0 67px;
  height: 61px;
  border-radius: 12px;
  overflow: hidden;
}

.region-tab {
  background: #FFE9EC;
  border: none;
  color: #000;
  cursor: pointer;
  flex: 1;
  position: relative;
  font-weight: 500;
  font-size: 27.55px;
  line-height: 47.23px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.region-tab.active {
  background: #ED1A3B;
  color: white !important;
}

.region-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.region-content.active {
  display: block;
}

.region-tab:focus {
  outline: none;
}

.region-tab:hover {
  background-color: #dd3333;
  color: #fff;
}

.partner-cards-container {
  display: flex;
  gap: 64px;
}

.partner-card {
  border-radius: 20px;
  box-shadow: 0px 3.59px 11.85px 0px #00000040;
  display: flex;
  align-items: center;
  height: 174px;
  width: 562px;
}

.partner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 22px;
  width: 235px;
  height: 226px;
  background: #ED1A3B;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0px 4.04px 13.32px 0px #00000040;
  padding: 17px;
}

.partner-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-details h4,
.partner-occupation {
  font-weight: 500;
  font-size: 14px !important;
  line-height: 20px;
  text-align: center;
  color: #fff;
}

.partner-details h4 {
  margin: 10px 0 0 !important;
}

.partner-occupation {
  margin: 0 0 10px !important;
}


.partner-earnings {
  background: #fff;
  color: #000;
  border-radius: 36px;
  font-weight: 500;
  font-size: 14px !important;
  text-align: center;
  padding: 8px 22px;
  margin-bottom: 0;
}

.partner-review {
  font-weight: 500;
  font-size: 14px;
  color: #000;
  padding: 0 23px;
}

.partner-avatar {
  width: 89px;
  height: 89px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3.44px solid #FFFFFF;
  object-fit: cover;
  background-color: #F0EDF1;
}

@media (max-width: 576px) {
  #partner-testimonials-wrapper {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #partner-testimonials-heading h2 {
    font-size: 18px !important;
    line-height: 37px;
  }

  #partner-region-tabs {
    gap: 0;
    height: 23px;
    border-radius: 4px;
    padding: 0;
    margin: 26px 0 43px;
    width: 90%;
  }

  .region-tab {
    font-size: 12px;
    line-height: 17.72px;
    padding: 10px;
  }

  #partner-content-display {
    display: flex;
  }

  .partner-cards-container {
    flex-direction: column;
  }

  .partner-card {
    width: 350px;
    height: 125px;
  }

  .partner-info {
    padding: 10px;
    width: 150px;
    height: 170px;
  }

  .partner-avatar {
    width: 49px;
    height: 49px;
  }

  .partner-details h4,
  .partner-occupation {
    font-size: 11px !important;
    line-height: 14px;
  }

  .partner-earnings {
    font-size: 11px !important;
    padding: 4px 11px;
  }

  .partner-review {
    font-size: 11px;
  }
}

.partner-data,
.temp-partner-data {
  display: none !important;
}