.pricing-table-container .btn:hover {
  color: #fff;
  border-color: #fff;
}

.wp-block-post-template .wp-block-post-title {
  min-height: auto;
}

.cards .card {
  height: 100%;
}

.cards > * {
  width: 100%;
}

.cards-slider .card .category {
  top: 0;
}

.cards-slider .card picture {
  padding: 0 !important;
}
.cards-slider .card .content {
  flex-grow: unset !important;
  -ms-flex-positive: unset !important;
  -webkit-box-flex: unset !important;
}

@media all and (max-width: 1023px) {
  .cards img {
    height: 90px;
    height: auto;
  }
  .cards-slider .swiper-slide {
    width: 320px !important;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .cards-slider .swiper-wrapper {
    padding-bottom: 30px;
    padding-top: 70px;
  }

  .cards-slider .swiper-button-prev {
    border: 1px solid #333;
    width: 30px;
    height: 30px;
    top: 30px;
    right: 47px;
    left: auto;

    &:after {
      content: '';
      display: block;
      width: 40px;
      height: 40px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M22 9a1 1 0 0 0 0 1.42l4.6 4.6H3.06a1 1 0 1 0 0 2h23.52L22 21.59A1 1 0 0 0 22 23a1 1 0 0 0 1.41 0l6.36-6.36a.88.88 0 0 0 0-1.27L23.42 9A1 1 0 0 0 22 9Z' data-name='Layer 2'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      transform: rotate(180deg);
    }
  }
  .cards-slider .swiper-button-next {
    border: 1px solid #333;
    width: 30px;
    height: 30px;
    top: 30px;
    right: 18px;

    &:after {
      content: '';
      display: block;
      width: 40px;
      height: 40px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M22 9a1 1 0 0 0 0 1.42l4.6 4.6H3.06a1 1 0 1 0 0 2h23.52L22 21.59A1 1 0 0 0 22 23a1 1 0 0 0 1.41 0l6.36-6.36a.88.88 0 0 0 0-1.27L23.42 9A1 1 0 0 0 22 9Z' data-name='Layer 2'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
    }
  }

  .cards {
    margin-right: -18px;
  }

  .cards-slider .cards {
    gap: 1rem;
  }
}

@media all and (min-width: 1023px) {
  .cards-slider {
    width: 100%;
  }

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

  .cards > * {
    width: 100%;
  }

  .cards-slider .swiper-slide {
    width: 30% !important;
  }

  .cards-slider .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .cards-slider .swiper-slide {
    height: auto;
  }
}
