#project-list {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 15px;
  overflow: hidden;
}

#project-list .project-item {
  width: calc(25% - (15px * 0.75));
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

#project-list .project-item .swiper {
  width: 100%;
}

#project-list .project-item .swiper * {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

#project-list .project-item .swiper .swiper-wrapper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
}

#project-list .project-item .swiper .swiper-wrapper .swiper-slide picture {
  height: 100%;
  width: 100%;
}

#project-list .project-item .swiper .swiper-wrapper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#project-list .project-item .swiper .swiper-wrapper .swiper-slide a[data-fancybox] {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 30px;
  height: 30px;
  background-image: url('/wp-content/uploads/2025/10/Zoom-Fit.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  background-color: #fff;
  border-radius: 100px;
}
#project-list .project-item .swiper .swiper-wrapper .swiper-slide a[data-fancybox] img {
  display: none;
  opacity: 0;
}

#project-list .project-item .swiper .swiper-button-next, #project-list .project-item .swiper .swiper-button-prev {
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}
#project-list .project-item .swiper:hover .swiper-button-next, #project-list .project-item .swiper:hover .swiper-button-prev {
  opacity: 1;
}

#project-list .project-item .project-info {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#project-list .project-item .project-info .project-title {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: .75rem;
}

#project-list .project-item .project-info .project-sub-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  text-align: left;
}

#project-list .project-item .project-info p {
  text-align: left;
  color: #012d45;
  font-size: 14px;
}

@media (max-width: 1200px) {
  #project-list .project-item {
    width: calc(33% - (15px * 0.5));
  }
}

@media (max-width: 992px) {
  #project-list .project-item {
    width: calc(50% - (15px * 0.5));
  }
}
@media (max-width: 768px) {
  #project-list {
    padding: 0 15px;
    flex-wrap: nowrap;
    overflow: scroll;
  }

  #project-list::-webkit-scrollbar {
    display: none;
  }

  #project-list .project-item {
    width: 100%;
    min-width: 85vw;
  }
}