.t888-list-projects .swiper-slide {
  padding: 45px 60px 35px 0;
  /* border-right: 1px solid #000; */
  /* border-right: none; */
}

.t888-list-projects-style1 .swiper-slide-active::after {
  content: "";
  position: absolute;
  top: 0;
  right: 30px;
  height: 100%;
  width: 1px;
  background-color: #000000;
}

.t888-list-projects-style1 .project-category {
  font-size: 14px;
  font-weight: 300;
  font-family: var(--font-family);
  line-height: 24px;
  margin-bottom: 25px;
}

.t888-list-projects-style1 .project-info-tags {
  margin-left: 2px;
}

.t888-list-projects-style1 .post-thumb {
  margin-bottom: 67px;
}

.t888-list-projects.t888-list-projects-style3 .swiper-slide {
  border: none;
  padding: 0;
}

.t888-list-projects.t888-list-projects-style4 .swiper-slide {
  border: none;
  padding: 34px 0 21px;
}

.t888-list-projects.t888-list-projects-style4 .read-more-share-wrap {
  margin-top: 26px;
}

.t888-list-projects.t888-list-projects-style4 .read-more-share-wrap .read-more {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-barlow);
}


.t888-list-projects.t888-list-projects-style4 .project-info-tags .tag-box,
.t888-list-projects.t888-list-projects-style4 .project-info-tags .tag-pill {
  /* font-size: 12px;
    font-weight: 400; */
}

.t888-list-projects.t888-list-projects-style4
  .swiper-slide:not(:nth-child(3n))::after {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  height: 100%;
  width: 1px;
  background-color: #1d1d1d;
}

.t888-list-projects .post-thumb {
  position: relative;
  width: 100%;
  padding-top: 66.5%;
}

.t888-list-projects .post-thumb a {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.t888-list-projects .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.t888-list-projects .project-info {
  min-height: 260px;
}

.t888-list-projects .project-info .project-category {
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
  text-transform: uppercase;
  margin-top: 19px;
}

.t888-list-projects .project-info .project-title {
  font-size: 50px;
  line-height: 61px;
  font-weight: 500;
  font-family: var(--font-family);
  text-align: justify;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.t888-list-projects.t888-list-projects-style3 .project-info .project-title {
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 2px;
  margin-top: 17px;
  text-align: justify;
}

.t888-list-projects.t888-list-projects-style4 .project-info .project-title {
  font-size: 25px;
  font-weight: 400;
  line-height: 33px;
  margin-top: 20px;
  text-align: justify;
  letter-spacing: 2px;
}

.t888-list-projects .project-info .project-info-tags .tag-box {
  padding: 0px 13px;
  height: 25px;
}

.t888-list-projects .project-info .project-info-tags .tag-pill {
  padding: 0px 13px;
  height: 25px;
}

/* Dùng lại style3 nhưng hiển thị dạng grid, không slide */
.t888-list-projects.t888-list-projects-style3 {
  overflow: visible;
}

.t888-list-projects.t888-list-projects-style3 .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 cột */
  gap: 50px 30px;
  transform: none !important;
  /* xoá transform do swiper */
}

.t888-list-projects.t888-list-projects-style3 .swiper-slide,
.t888-list-projects.t888-list-projects-style4 .swiper-slide {
  width: 100% !important;
  height: auto;
}

/* Ẩn luôn pagination của Swiper nếu còn tồn tại */
.t888-list-projects.t888-list-projects-style3 .swiper-pagination {
  display: none;
}

.t888-list-projects.t888-list-projects-style4 .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 80px;
  transform: none !important;
}

.t888-list-projects-style2 .project-title {
  font-size: 27px;
  line-height: 42px;
  font-weight: 400;
  font-family: var(--font-family);
  text-align: justify;
  margin-bottom: 12px;
  margin-top: 0;
}

.t888-list-projects-style2 .project-info-tags {
  margin-bottom: 12px;
}

.t888-list-projects-style2 .short-dess {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 24px;
  text-align: justify;
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.t888-list-projects-style2 .project-item .project-list-gallery {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.t888-list-projects-style2 .project-item .project-list-gallery .gallery-link {
  width: calc((100% - 40px) / 5);
  overflow: hidden;
  display: block;
}

.t888-list-projects-style2 .project-item .project-list-gallery img {
  aspect-ratio: 210/140;
  width: 100%;
  object-fit: cover;
  display: block;
}

.t888-list-projects-style2 .project-item {
  display: flex;
  margin-bottom: 75px;
}

.t888-list-projects-style2 .project-item-inner {
  width: 84%;
}

.t888-list-projects-style2 .view-project {
  width: 16%;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  font-family: var(--font-barlow);
  text-transform: uppercase;
}

.t888-project-filters {
  margin-bottom: 20px;
}

.t888-project-filters .filters-toggle {
  font-size: 20px;
  font-weight: 300;
  line-height: 36px;
  padding: 0;
  background: none;
  font-family: var(--font-family);
  border: none;
  cursor: pointer;
  margin-bottom: 18px;
  color: var(--primary-color);
}

.t888-project-filters .filters-row {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.t888-project-filters .filter-group {
  width: 33.33%;
}

.t888-project-filters .filter-group .filter-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 36px;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: var(--font-family);
  color: #737373;
}
.t888-project-filters .filter-group .tag-filter {
  transition: all 0.3s ease;
  cursor: pointer;
}
.t888-project-filters .filter-group .tag-filter:hover,
.t888-project-filters .filter-group .tag-filter.active {
  background-color: #000000;
  color: #ffffff;
}

.t888-list-projects.t888-list-projects-style1 .post-thumb {
  padding-top: 45%;
}
@media (max-width: 1599.98px) {
  .t888-list-projects-style1 .post-thumb {
    margin-bottom: 40px;
  }
}
@media (max-width: 1024px) {
  .t888-list-projects.t888-list-projects-style1 .project-info .project-title {
    font-size: 32px;
    line-height: 48px;
  }
}
@media (max-width: 991.98px) {
  .t888-list-projects.t888-list-projects-style3 .swiper-wrapper {
    grid-template-columns: repeat(1, 1fr);
    /* 1 cột */
  }

  .t888-list-projects.t888-list-projects-style4 .swiper-wrapper {
    grid-template-columns: repeat(1, 1fr);
    /* 1 cột */
    gap: 0;
  }

  .t888-list-projects .project-info {
    min-height: 200px;
  }

  .t888-list-projects.t888-list-projects-style4 .swiper-slide {
    padding: 20px 0;
  }

  .t888-list-projects.t888-list-projects-style4 .swiper-slide::after {
    display: none;
  }
  .t888-list-projects-style2 .project-item {
    flex-wrap: wrap;
  }
  .t888-list-projects-style2 .project-item-inner {
    width: 100%;
  }
  .t888-list-projects-style2 .view-project {
    width: 100%;
    text-align: left;
    margin-top: 20px;
  }
  .t888-list-projects-style2 .project-item .project-list-gallery {
    flex-wrap: wrap;
  }
  .t888-list-projects-style2 .project-item .project-list-gallery .gallery-link {
    width: calc((100% - 30px) / 3);
  }
}

@media (max-width: 575.98px) {
  .t888-list-projects-style2 .project-item .project-list-gallery .gallery-link {
    width: calc((100% - 20px) / 2);
  }
  .t888-list-projects .swiper-slide {
    padding: 45px 0 20px 0;
  }
  .t888-list-projects-style1 .swiper-slide-active::after {
    display: none;
  }
  .t888-list-projects-style1 .post-thumb {
    margin-bottom: 20px;
  }
  .t888-list-projects.t888-list-projects-style3 .project-info .project-title,
  .t888-list-projects .project-info .project-title {
    font-size: 20px;
    line-height: 30px;
  }

  .t888-list-projects.t888-list-projects-style4 .project-info .project-title,
  .t888-list-projects.t888-list-projects-style1 .project-info .project-title,
  .t888-list-projects-style2 .project-title {
    font-size: 20px;
    line-height: 30px;
  }
}
