.pgc-wrap {
  position: relative;
  width: 100%;
  padding: 18px 0;
  --pgc-radius: 14px;
  --pgc-gap: 18px;
}

.pgc-wrap .swiper {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.pgc-wrap .swiper-wrapper {
  display: flex;
  gap: var(--pgc-gap);
  transition: transform var(--pgc-speed, 650ms) ease;
  will-change: transform;
}

.pgc-slide {
  flex: 0 0 calc((100% - (var(--pgc-gap) * 1.25)) / 2.25);
  border-radius: var(--pgc-radius);
  overflow: hidden;
  transform: translateZ(0);
}

@media (max-width: 639px) {
  .pgc-slide {
    flex-basis: calc((100% - (var(--pgc-gap) * 0.15)) / 1.15);
  }
}

.pgc-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--pgc-radius);
}

/* Gives a similar “card” feel */
.pgc-shadow .pgc-slide {
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

/* Make slides a consistent height unless you set a fixed height on wrapper */
.pgc-wrap .swiper-slide {
  height: clamp(220px, 28vw, 420px);
}

/* If you set an inline height on wrapper, honour it */
.pgc-wrap[style*="height"] .swiper-slide {
  height: 100%;
}

/* Arrows */
.pgc-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(6px);
}

.pgc-prev { left: 10px; }
.pgc-next { right: 10px; }

.pgc-nav::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(225deg);
}

.pgc-next::before {
  transform: rotate(45deg);
}

/* Pagination (optional) */
.pgc-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  position: relative;
  margin-top: 10px;
}

.pgc-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b8b8b8;
  cursor: pointer;
}

.pgc-dot-active { background: #10223b; }


/* Smooth slide animation */
.pgc-slide {
  transition: transform 0.45s ease, opacity 0.45s ease;
}

/* Side slides */
.pgc-wrap .swiper-slide {
  opacity: 0.5;
  transform: scale(0.92);
}

/* Active centre slide */
.pgc-wrap .swiper-slide.pgc-active {
  opacity: 1;
  transform: scale(1);
}
