/* 
  Reels Section 
*/
.hs-reels-section {
  padding: var(--hs-section-pad-y) 0;
  background-color: var(--hs-color-bg-page);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.hs-reels-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--hs-space-12);
}

.hs-reels-headline {
  font-family: var(--hs-font-display);
  font-size: var(--hs-text-section-h);
  color: var(--hs-color-text-primary);
  margin-bottom: var(--hs-space-4);
  font-weight: var(--hs-font-bold);
  line-height: var(--hs-leading-heading);
}

.hs-reels-sub {
  font-family: var(--hs-font-body);
  font-size: var(--hs-text-lg);
  color: var(--hs-color-text-secondary);
}

.hs-reels-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: var(--hs-gap-md);
  margin-top: var(--hs-space-12);
  padding-bottom: var(--hs-space-4);
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-inline: calc(var(--hs-container-pad-x, 20px) * -1);
  padding-inline: var(--hs-container-pad-x, 20px);
}

.hs-reels-grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .hs-reels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    padding-bottom: 0;
    margin-inline: 0;
    padding-inline: 0;
  }
}

@media (min-width: 1024px) {
  .hs-reels-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hs-reel-card {
  position: relative;
  border-radius: var(--hs-radius-xl);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--hs-color-bg-card);
  cursor: pointer;
  box-shadow: var(--hs-shadow-md);
  transition: var(--hs-transition-card);
  flex: 0 0 75%;
  scroll-snap-align: center;
}

.hs-reel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hs-shadow-xl);
}

.hs-reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hs-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--hs-space-4);
  opacity: 0;
  transition: opacity var(--hs-duration-fast) var(--hs-ease-out);
}

/* Always show overlay on mobile, show on hover/active for desktop */
@media (max-width: 1023px) {
  .hs-reel-overlay {
    opacity: 1;
  }
}

.hs-reel-card:hover .hs-reel-overlay {
  opacity: 1;
}

.hs-reel-vol-btn {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background var(--hs-duration-fast) var(--hs-ease-out);
}

.hs-reel-vol-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hs-reel-ig-link {
  display: inline-flex;
  align-items: center;
  gap: var(--hs-space-2);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  font-family: var(--hs-font-body);
  font-size: var(--hs-text-sm);
  font-weight: var(--hs-font-semibold);
  padding: var(--hs-space-2) var(--hs-space-4);
  border-radius: var(--hs-radius-full);
  transition: background var(--hs-duration-fast) var(--hs-ease-out), transform var(--hs-duration-fast) var(--hs-ease-out);
  margin: 0 auto;
}

.hs-reel-ig-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}
