.single-project-gallery-wrapper {
  position: relative;
}

.single-project-gallery-carousel {
  max-width: 100%;
  margin: 0 auto 0 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.single-project-gallery-wrapper .cycle-nav {
  position: absolute;
  top: 39%;
  transform: translate(-50%);
  z-index: 10;
  background: #e6161c;
  color: #fff !important;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
}

.single-project-gallery-wrapper .cycle-nav::before {
  content: "\e900";
  font-family: "icomoon";
  font-size: 40px;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.single-project-gallery-wrapper .cycle-nav {
  background: #e6161c;
  padding: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: 215px;
  left: auto;
}

.single-project-gallery-slide {
  display: flex !important;
  align-items: center;
}

.single-project-gallery-carousel .slick-slide {
  flex: 0 0 auto;
  margin-right: 20px;
  box-sizing: border-box;
}

.single-project-gallery-carousel .slick-slide:last-child {
  margin-right: 0;
}

.single-project-gallery-image img {
  width: 100%;
  height: auto;
}

.single-project-gallery-carousel .slick-list {
  padding: 0 90px;
}

@media (max-width: 767px) {
}

@media (min-width: 768px) and (max-width: 1023px) {
}

@media (min-width: 1024px) and (max-width: 1279px) {
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .single-project-gallery-carousel {
    max-width: 1050px;
  }
}

/**
 * JustOnline Single Project Gallery Widget - CSS
 */

/* Single Project Gallery Widget */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
