.homepage-cards__testimonials {
  .homepage-cards__testimonialsWrapper {
    max-width: 1350px !important;
  }

  background-color: #dde7ec;

  .home__subtitle {
    text-align: center;
    font-family: Nunito Sans;
    font-size: 2.2rem !important;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: unset;
    padding-top: 40px;
    margin: unset;
    margin-bottom: 24px;

    @media (max-width: 600px) {
      font-size: 30px !important;
      margin-bottom: 14px;
      padding-top: 20px;
    }

    &::after {
      content: inherit;
    }
  }

  .homepage-cards__container {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 40px;
    margin: -10px 20px 40px;
    display: grid;
    grid-template-columns: 1fr;
    height: 348px;

    @media (min-width: 600) {
      width: 400px;
    }

    @media (max-width: 1250px) {
      height: 280px;
    }

    .homepage-cards__main {
      width: 100%;
      height: 100%;
      min-width: 160px;
      background-color: #dde7ec;
      margin: 0 10px;

      @media (max-width: 600px) {
        width: 400px !important;
      }

      .homepage-cards__link {
        display: block;
      }

      .homepage-cards__image {
        display: block;
        margin: 0 auto 16px;
        max-width: 432px;
        max-height: 236px;
        width: 100%;
        height: 100%;
        padding-top: 0 !important;

        @media (max-width: 1250px) {
          max-height: 170px;
          width: 100% !important;
        }

        .homepage-cards__imagePrincipal {
          border-radius: 10px;
          width: 100%;
          height: 100%;

          @media (max-width: 1250px) {
            height: 100%;
          }
        }
      }

      .homepage-cards__info {
        padding: 10px;
        height: 96px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-bottom: 40px;

        @media (max-width: 1250px) {
          margin-bottom: 20px;
          padding: 0 10px;
          height: 70px;
        }

        .homepage-cards__wrappText {
          width: 75%;

          @media (max-width: 600px) {
            width: 60%;
          }

          .text {
            color: #011826 !important;
            text-align: center;
            font-family: Nunito Sans;
            font-size: 1.4rem;
            font-style: normal;
            font-weight: 400;
            line-height: 28px;
            font-size: 1em;

            @media (min-width: 1200px) {
              padding: 0 20px;

            }

            @media (max-width: 1300px) {
              line-height: 24px;
            }

            @media (max-width: 800px) {
              font-size: 0.8em;
              line-height: 24px;
            }
          }
        }

        .homepage-cards__wrappImg {
          width: 25%;

          @media (max-width: 600px) {
            width: 40%;
          }

          .homepage-cards__imgLogo {
            aspect-ratio: 1/0.8;
            object-fit: contain;
            width: 100%;
            height: 100%;

            @media (max-width: 1250px) {
              width: 90%;
              height: 90%;

              @media (max-width: 600px) {
                width: 100%;
                height: 1000%;
              }
            }
          }
        }
      }
    }
  }
}

/* SWIPER */

.homepage-cards__container {
  .wrapperSwiperHorizontal {
    position: relative;
    margin: 0;
    padding: 0;
    width: 91%;
  }

  .wrapperSwiperVertical {
    display: none;
  }

  .swiper {
    width: 300px;
    height: 300px;

    @media (min-width: 425px) {
      aspect-ratio: 1/1;
      width: 300px;

      @media (min-width: 700px) {
        aspect-ratio: 1/1;
        width: 700px;

        @media (min-width: 1000px) {
          aspect-ratio: 1/1;
          width: 100%;
          height: 350px;

          @media (min-width: 1440px) {
            aspect-ratio: 1/1;
            width: 100%;
            height: 350px;
          }
        }
      }
    }

    .swiper-wrapper {
      width: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      width: 280px;
      height: 280px;
      background-color: #dde7ec;
    }
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  .swiper-slide.VariantB img:hover {
    opacity: 0.7;
  }

  .swiper-slide.VariantB {
    width: 68px;
    height: 68px !important;
  }

  .homepage-cards__paginationCards {
    position: relative;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 1.2rem;
    color: #6e8898;
    /* color: #6E8898; */
  }

  .swiper-button-next {
    top: -200px;
    right: -27px;
  }

  .swiper-button-prev {
    top: -200px;
    left: -27px;
  }

  .swiper-pagination .swiper-pagination-bullet {
    background-color: #6e8898;
    width: 12px;
    height: 12px;
    margin-right: 8px !important;
    margin-left: 8px !important;
  }

  .wrapperSwiperHorizontal .swiper-pagination {
    position: absolute;
    bottom: 0px;
  }

  @media (max-width: 500px) {
    .wrapperSwiperHorizontal .swiper-pagination {
      bottom: -7px;
    }
  }

  .swiper.mySwiperVertical {
    max-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mySwiperVertical .swiper-slide {
    margin: 5px 0;
  }

  .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: -7px;
  }
}