/* Instagram Feed Grid - Horizontal Scroll with Swiper */

/* Container wrapper for full-width edge-to-edge display */
.instagram-feed-horizontal-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  background-color:black;
  padding-block:0.75rem;
}

/* Swiper container - FIXED HEIGHT */
.instagram-feed-swiper {
  height: 360px;
}

/* Individual swiper slides - inherit height from container */
.instagram-feed-swiper .swiper-slide {
  width: auto !important;
}

/* Instagram feed item styling */
.instagram-feed-swiper .instagram-feed-item {
  border-radius:0 !important;
  height: 100%;
}

.instagram-feed-swiper .instagram-feed-item:hover {
  transform: scale(1);
  box-shadow: none;
}


.instagram-feed-swiper .instagram-feed-image-wrapper{

}
.instagram-feed-swiper .instagram-feed-image-wrapper img {
  position: relative;
  object-fit: contain;
}

/* Swiper Navigation Buttons - Custom Styling */
.instagram-feed-swiper .swiper-button-next,
.instagram-feed-swiper .swiper-button-prev {
  background: rgba(255, 255, 255, 0.95);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.instagram-feed-swiper .swiper-button-next:after,
.instagram-feed-swiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.instagram-feed-swiper .swiper-button-next:hover,
.instagram-feed-swiper .swiper-button-prev:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.instagram-feed-swiper .swiper-button-disabled {
  opacity: 0.5;
}

/* Swiper Pagination - Custom Styling */
.instagram-feed-swiper .swiper-pagination {
  bottom: 10px !important;
}

.instagram-feed-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.instagram-feed-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #fff;
  width: 24px;
  border-radius: 4px;
}




@media screen and (max-width: 600px) {
  .instagram-feed-swiper {
      height: 300px; /* Smaller height for mobile portrait */
  }
}


/* Loading state */
.instagram-feed-horizontal-wrapper.loading .instagram-feed-swiper {
    opacity: 0.5;
}