/*============================================================================================
   Start Category Area
=============================================================================================*/
.category.style-5 .category-inner {
  padding: 32px;
  background: #f5f5f5;
  border-radius: 24px;
}
.category.style-5 .category-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.category.style-5 .category-card {
  background: var(--white-color);
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  justify-content: space-between;
}
.category.style-5 .category-img img {
  border-radius: 24px;
}
.category.style-5 .category-card:nth-child(3) .category-info,
.category.style-5 .category-card:nth-child(4) .category-info {
  padding-left: 32px;
}

.category.style-5 .category-card:nth-child(1) .category-info,
.category.style-5 .category-card:nth-child(2) .category-info {
  padding-right: 32px;
}
.category.style-5 .category-card:nth-child(3) .category-img img,
.category.style-5 .category-card:nth-child(4) .category-img img {
  border-radius: 0px 24px 24px 0px;
}

.category.style-5 .category-card:nth-child(1) .category-img img,
.category.style-5 .category-card:nth-child(2) .category-img img {
  border-radius: 24px 0px 0px 24px;
}

.category.style-5 .category-card .category-info-title {
  color: var(--title-color);
  font-size: 20px;
  line-height: 120%;
  margin-bottom: 12px;
}
.category-info ul {
  padding: 0;
  margin: 0;
}
.category-info ul li {
  list-style: none;
  margin-bottom: 8px;
}
.category-info ul li:last-child {
  margin: 0;
}
.category-info ul li a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #1c2120;
  opacity: 0.75;
}
.category-info ul li a:hover {
  color: var(--primary-color);
}
.category.style-5 .category-card:nth-child(4),
.category.style-5 .category-card:nth-child(3) {
  display: flex;
  flex-direction: row-reverse;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .category.style-5 .category-card:nth-child(4),
  .category.style-5 .category-card:nth-child(3),
  .category.style-5 .category-card {
    display: block;
  }
  .category.style-5 .category-card:nth-child(3) .category-info,
  .category.style-5 .category-card:nth-child(4) .category-info,
  .category.style-5 .category-card:nth-child(1) .category-info,
  .category.style-5 .category-card:nth-child(2) .category-info {
    padding: 24px;
  }
  .category.style-5 .category-card:nth-child(3) .category-img img,
  .category.style-5 .category-card:nth-child(4) .category-img img,
  .category.style-5 .category-card:nth-child(1) .category-img img,
  .category.style-5 .category-card:nth-child(2) .category-img img {
    border-radius: 24px 24px 0px 0px;
  }
}

@media only screen and (max-width: 767px) {
  .category.style-5 .category-card {
    display: block;
  }
  .category.style-5 .category-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .category.style-5 .category-inner {
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .category.style-5 .category-card .category-info-title {
    font-size: 16px;
  }

  .category.style-5 .category-card:nth-child(1) .category-img img,
  .category.style-5 .category-card:nth-child(2) .category-img img {
    border-radius: 24px 24px 0px 0px;
  }
  .category.style-5 .category-card:nth-child(1) .category-info,
  .category.style-5 .category-card:nth-child(2) .category-info {
    padding: 16px;
    width: 100%;
  }
  .category.style-5 .category-card:nth-child(3) .category-info,
  .category.style-5 .category-card:nth-child(4) .category-info {
    padding: 16px;
    width: 100%;
  }
  .category.style-5 .category-card:nth-child(3) .category-img img,
  .category.style-5 .category-card:nth-child(4) .category-img img {
    border-radius: 24px 24px 0px 0px;
  }

  .category.style-5 .category-card:nth-child(4),
  .category.style-5 .category-card:nth-child(3) {
    display: block;
  }
}
/*============================================================================================
   End Category Area
=============================================================================================*/
