@use "../../mixins" as *;
@use "../../variables" as *;

.trainers {
   padding: 50px 0;
  margin-bottom: 50px;

  @include responsive(lg) {
     margin: 100px 0;
    padding: 150px 0;
    margin-bottom: 75px;
  }

  background-color: $bg-color;
  

  &__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;

    @include responsive(lg) {
      grid-template-columns: 1fr 3fr;
    gap: 3rem;

    }
  }

  &__header {
    display: flex;
    @include responsive(lg) {
      flex-direction: column;
      margin-bottom: 2rem;
    }
    align-items: left;
    justify-content: space-between;
    height: 100%;
  }

  &__title {
    color: $primary-color;
    margin-bottom: 0;

  }

  &__nav {
    display: flex;
    gap: 0.5rem;
  }

  &__nav-btn {
    width: 35px;
    height: 35px;
    @include responsive(lg) {
      width: 40px;
      height: 40px;
    }
    border-radius: 50%;
    border: 1px solid $primary-color;
    background: $primary-color;
   
    cursor: pointer;
    transition: background 0.2s ease;

    img {
      width: 15px;
      height: 15px;
      object-fit: contain;
    }

    
    &--prev,
    &--next {
      display: flex;
      align-items: center;
      justify-content: center;
        margin-bottom: 0;

      @include responsive(lg) {
        margin-bottom: 4rem;
      }
    }

    &:hover {
      background: $secondary-color;
    }

    &--prev {
      transform: rotate(180deg);
    }
  }

  &__swiper {
    width: 100%;
  }
}

.trainer-card {
  text-align: left;


   &__image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
      height: auto;
    @include responsive(lg){
      height: 290px;

    }

    img {
      width: 100%;
      height: 100%;
      object-position: top;
      object-fit: cover;
    }
  }


 
  &__name {


      font-size: 14px;
    // @include responsive(md) {
    //   font-size: 18px;
    // }
    // @include responsive(lg) {
    //   font-size: 24.16px;
    // }
    font-weight: 700;
    color: $primary-color;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
  }

  &__role {
    text-transform: capitalize;
    font-weight: 400;

    font-size: 14px;

    //  font-size: 13px;
    // @include responsive(md) {
    //   font-size: 15px;
    // }
    // @include responsive(lg) {
    //   font-size: 18px;
    // }
    color: #444;
  }
}
