.swiper {
  width: 100%;
  max-width: 95vw;
  padding: 40px 20px;
  z-index: 10;
  margin-bottom: 2%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}
.swiper-slide a {
  text-decoration: none;
  color: inherit;
}

/* Polaroid Instagram Style Card */
.insta-card {
  width: 280px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.insta-card:hover {
  transform: translateY(-6px);
}

/* Header (Profile + IG logo) */
.insta-header {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  font-weight: bold;
}
.insta-header img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 8px;
}
.verified {
  color: #3897f0;
  margin-left: 5px;
  font-size: 14px;
}

/* Post Image */
.insta-card img.post-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* Footer with icons */
.insta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-top: 1px solid #f1f1f1;
  font-size: 14px;
  color: #444;
}
.insta-footer .icons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.insta-footer .icons span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.insta-footer .icons i {
  cursor: pointer;
  font-size: 16px;
}

/* Arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #e60012;
  background: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
  .insta-card {
    width: 240px;
  }
  .insta-card img.post-img {
    height: 280px;
  }
}
@media (max-width: 768px) {
  .insta-card {
    width: 220px;
  }
  .insta-card img.post-img {
    height: 250px;
  }
}
@media (max-width: 480px) {
  .insta-card {
    width: 100%;
  }
  .insta-card img.post-img {
    height: 220px;
  }
}

/* Ultra small devices */
@media (max-width: 350px) {
  .insta-card {
    max-width: 100%;
  }
}
@media (max-width: 250px) {
  .insta-card {
    max-width: 100%;
    border-radius: 6px;
  }
  .insta-footer {
    font-size: 10px;
  }
  .insta-header {
    font-size: 11px;
  }
}
