.ema-legacy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f5f5f5;
  border-radius: 50%;
  padding: 12px;
}

.ema-legacy-icon img {
  width: 40px;
  /* height: 100%; */
  object-fit: contain;
}

.location-tab-btn {
  padding: 9px 28px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100vw;
}

.location-tab-wrapper {
  width: fit-content;
  margin: auto;
  margin: 1em auto;
  display: flex;
  align-items: center;
  gap: 1em;
}

.location-tab-btn-active {
  background: #0b3041;
  color: white;
  border-color: #0b3041 !important;
}

.leadership-team-card .team-text-con {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.leadership-team-section .card {
  position: relative;
  margin-top: 1em;
}

.leadership-team-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
}

.swiper-pagination {
  position: static !important;
  margin: 1em 0;
  display: none;
}

.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: #0b3041 !important;
}

.leadership-team-card small {
  margin: 1em 0 !important;
}

.team-text-con {
  height: 100px;
}

.leadership-team-card .team-text-con {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.leadership-team-card img {
  border-radius: 12px !important;
}

.leadership-team-section .card {
  position: relative;
  margin-top: 1em;
  background: transparent !important;
  /* margin-left: 3px; */
  /* margin-right: 3px; */
}

.swiper.teamSwiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
  padding: 1em 1em;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 14px!important;
    text-transform: none!important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;  
    padding: 12px;
    background: #019eca;
    color: #0b3041!important;
    border-radius: 2px;
    outline: none;
}

.swiper-button-prev,
.swiper-button-next {
  display: block!important;
}

.swiper-navigation {
  display: flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
  margin: auto;
  flex-direction: row-reverse;
}



@media only screen and (min-width: 1024px) {
  .ema-legacy-badge {
    position: absolute;
    top: 78%;
    transform: translateY(-50%);
    background: #0b3041;
    color: #fff;
    border-radius: 12px;
    padding: 12px 24px;
    min-width: 224px;
    box-shadow: 0 4px 24px rgba(24, 59, 74, 0.08);
    z-index: 2;
    right: 20px;
  }

  .team-text-con {
    height: 100%;
    gap: 1em;
  }

  .leadership-team-card .team-text-con {
    display: flex;
    align-items: start;
    justify-content: space-between;
    height: 142px;
  }
}

@media only screen and (max-width: 600px) {

  .swiper-button-next:after, .swiper-button-prev:after {
    display: none;
  }


  .swiper-pagination {
    display: block;
  }

  img.dektop-img {
    display: none;
  }

    .location-info {
        width: 100%!important;
    }

    .location-tab-wrapper {
        gap: 1em;
    }

    .location-tab-btn {
        padding: 9px 16px;
        border: none;
        font-size: 14px;
        font-weight: 500;
        border-radius: 100vw;
    }

    .ema-legacy-section .img-fluid {
      width: 100%!important;
    }

    .ema-partners-legacy-card {
      position: relative!important;

    }
    .ema-partners-legacy-card 
    .ema-legacy-badge {
      position: absolute!important;
      left: 0%;
      right: 0%;
      bottom: 0%;
      box-sizing: border-box;
      height: fit-content!important;
      margin-bottom: 100px!important;
    }

    .ema-partners-legacy-card {
      padding: 0 1em;
    }

    .ema-partners-legacy-card-caption {
      margin-top: 52px!important;
  }
}

