@keyframes showHide {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.l-cards__title {
  font-size: 1.25em;
  font-weight: 900;
  line-height: 1.85;
  letter-spacing: 4px;
  color: #483696;
  text-transform: uppercase;
  text-align: center;
}
.l-cards__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  row-gap: 30px;
  margin-top: 50px;
}
@media (max-width: 1199.98px) {
  .l-cards__list {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 20px;
  }
}
@media (max-width: 991.98px) {
  .l-cards__list {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
    column-gap: 20px;
    row-gap: 20px;
  }
}
@media (max-width: 575.98px) {
  .l-cards__list {
    grid-template-columns: repeat(1, 1fr);
  }
}
.l-cards__button {
  text-align: center;
  margin: 80px auto 0;
  cursor: pointer;
}
@media (max-width: 767.98px) {
  .l-cards__button {
    margin-top: 50px;
  }
}
.l-cards__card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  transition: 0.3s all;
  height: 470px;
}
@media (max-width: 575.98px) {
  .l-cards__card {
    height: 376px;
  }
}
.l-cards__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(154deg, #6548bf 2%, #7d3a88 98%);
  z-index: 0;
  opacity: 0;
  transition: 0.3s opacity;
}
.l-cards__card:hover::before {
  opacity: 0.8;
}
.l-cards__card:hover .l-cards__card-image {
  transform: scale(1.2);
}
.l-cards__card:hover .l-cards__card-info {
  opacity: 1;
  visibility: visible;
}
.l-cards__card-info {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, padding 0.3s;
  z-index: 1;
  height: 100%;
}
.l-cards__card-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.l-cards__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s all;
}
.l-cards__card-logo-container {
  position: absolute;
  top: 0;
  z-index: 2;
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.l-cards__card-initial-logo {
  max-height: 160px;
  transition: 0.2s;
  filter: brightness(0) invert(1);
  z-index: 2;
}
.l-cards__card:hover .l-cards__card-initial-logo {
  margin-bottom: 80px;
}
.l-cards__card-logo {
  width: auto;
  object-fit: contain;
  z-index: 1;
  position: relative;
  max-height: 160px;
  filter: brightness(0) invert(1);
  margin: auto 0 20px;
}
.l-cards__card-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s all;
  padding: 0 20px;
  gap: 15px;
}
.l-cards__card-title {
  color: #fff;
  font-size: 1.375em;
  font-weight: 900;
  line-height: 1.14;
  margin: 0;
  text-align: center;
}
@media (max-width: 1599.98px) {
  .l-cards__card-title {
    font-size: 1.1em;
  }
}
@media (max-width: 1199.98px) {
  .l-cards__card-title {
    font-size: 1.125em;
  }
}
@media (max-width: 991.98px) {
  .l-cards__card-title {
    font-size: 1em;
  }
}
.l-cards__card-text {
  margin: 0;
  font-size: 1em;
  font-weight: normal;
  color: #fff;
  line-height: 1.38;
  text-align: center;
}
@media (max-width: 991.98px) {
  .l-cards__card-text {
    font-size: 0.875em;
  }
}
.l-cards__card-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 35px 0 15px;
  border-top: 1px solid #fff;
  width: 100%;
}
.l-cards__card-star {
  width: 10px;
  height: 10px;
  background-image: url("../../../img/icons/star.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}