/* ==========================================================================
   NEXTGEN INSTAGRAM INSTALLATION REELS SECTION STYLES (NO SHADOWS/GRADIENTS)
   ========================================================================== */

.ng-insta-wrapper {
  width: min(100% - 2rem, 1170px);
  margin: 4rem auto;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Section Header - Side by Side with Arrow Controls on Desktop */
.ng-insta-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.ng-insta-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ng-insta-title {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: capitalize !important;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}

.ng-insta-subtitle {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ng-coral, #f04b22);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  white-space: nowrap;
}

/* Desktop Arrow Navigation Controls */
.ng-insta-nav-arrows {
  display: flex;
  gap: 0.75rem;
}

.ng-insta-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000000;
  transition: all 0.3s ease;
}

.ng-insta-arrow-btn:hover {
  background: var(--ng-coral, #FEAC97);
  color: #ffffff;
  border-color: var(--ng-coral, #FEAC97);
  transform: translateY(-2px);
}

.ng-insta-arrow-btn svg {
  width: 18px;
  height: 18px;
}

/* Horizontal Slider Track Container */
.ng-insta-slider-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.ng-insta-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  width: 100%;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.ng-insta-grid::-webkit-scrollbar {
  display: none;
}

/* Vertical Instagram Reel Card - No Box Shadows / Gradients */
.ng-insta-card {
  flex: 0 0 260px;
  min-width: 260px;
  background: #000000;
  border-radius: 20px;
  overflow: hidden;
  border: none;
  height: 440px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: none !important; /* Completely removed desktop and mobile box shadows/gradients */
  transition: transform 0.3s ease;
}

.ng-insta-card:hover {
  transform: translateY(-4px);
}

/* Video Background */
.ng-insta-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Audio Toggle Control Button on Top */
.ng-insta-audio-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ng-insta-audio-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.ng-insta-audio-btn svg {
  width: 16px;
  height: 16px;
}

/* Instagram Badge / Overlay Indicator at Bottom */
.ng-insta-overlay-badge {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 12px;
  margin: 0.85rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ng-insta-icon {
  width: 18px;
  height: 18px;
  color: #E1306C;
  flex-shrink: 0;
}

/* Mobile & Tablet Adjustments */
@media (max-width: 768px) {
  .ng-insta-wrapper {
    width: min(100% - 1rem, 1170px);
  }

  .ng-insta-nav-arrows {
    display: none;
  }

  .ng-insta-card {
    flex: 0 0 220px;
    min-width: 220px;
    height: 380px;
    box-shadow: none !important; /* Ensured no shadows on mobile */
  }

  .ng-insta-title {
    font-size: 1rem;
  }

  .ng-insta-subtitle {
    font-size: 0.7rem;
    white-space: normal;
  }
}