.muy-partners {
  .swiper-wrapper {
    @apply items-center;
  }

  &.is-boxed {
    @apply overflow-hidden;
  }

  .swiper-slide {
    figure {
      @apply flex items-center justify-center;

      background-color: transparent !important;
    }

    &.grayscale {
      img {
        filter: grayscale(100%);
        transition: all 0.3s ease-in-out;
      }

      &:hover {
        img {
          filter: grayscale(0%);
        }

        a {
          @apply opacity-100;
        }
      }
    }
  }

  .partner-grid {
    &.grid-cols-3,
    &.grid-cols-4 {
      @media (max-width: theme("screens.sm")) {
        @apply grid-cols-1;
      }

      @media (max-width: theme("screens.md")) {
        @apply grid-cols-2;
      }
    }

    &.grid-cols-6 {
      @media (max-width: theme("screens.sm")) {
        @apply grid-cols-1;
      }

      @media (max-width: theme("screens.md")) {
        @apply grid-cols-3;
      }
    }

    .partner {
      &.grayscale {
        img {
          filter: grayscale(100%);
          transition: all 0.3s ease-in-out;
        }

        &:hover {
          img {
            filter: grayscale(0%);
          }

          a {
            @apply opacity-100;
          }
        }
      }
    }
  }

  &.marquee {
    .swiper-wrapper {
      transition-timing-function: linear !important;
    }
  }
}
