/* ── Carousel Section ── */
/* Full-bleed carousel with first card aligned to content grid */

.carousel-section {
  padding: 3rem 1rem;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ── Header compact: title left, subtitle + actions inline right ── */
.carousel-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.carousel-section__title {
  font-family: var(--typography-fontFamily-display);
  font-size: 2.2rem;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  font-weight: var(--typography-fontWeight-display);
}

.carousel-section__subtitle {
  font-size: 0.78rem;
  color: #616161;
  margin: 0;
}

.carousel-section__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.carousel-section__view-all {
  color: #FF1493;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #FF1493;
  padding-bottom: 2px;
  text-decoration: none;
  white-space: nowrap;
}

.carousel-section__arrows {
  display: flex;
  gap: 0.35rem;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #9E9E9E;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel-arrow:hover:not([disabled]) {
  color: #FFFFFF;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

.carousel-arrow[disabled] {
  opacity: 0.25;
  cursor: default;
}

/* ── Track: full-bleed, first card offset by 1rem ── */
.carousel-section__track-wrap {
  overflow: hidden;
}

.carousel-section__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 max(0.75rem, calc((100% - 1200px) / 2 + 1rem)) 0 max(0.75rem, calc((100% - 1200px) / 2 + 1rem));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0;
  padding: 0.5rem max(0.75rem, calc((100% - 1200px) / 2 + 1rem));
}

.carousel-section__track::-webkit-scrollbar {
  display: none;
}

.carousel-section__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 200px;
  height: 260px;
}

/* Hero cards inside carousel */
.carousel-section__item .content-card--hero {
  height: 260px;
  min-height: 260px;
  border-radius: 0.65rem;
}

.carousel-section__item .content-card__badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  margin-bottom: 0.1rem;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .carousel-section {
    padding: 1.5rem 0.75rem;
  }

  .carousel-section__header {
    padding: 0;
  }

  .carousel-section__title {
    font-size: 1.4rem;
  }

  .carousel-section__item {
    width: 160px;
    height: 220px;
  }

  .carousel-section__item .content-card--hero {
    height: 220px;
    min-height: 220px;
  }

  .carousel-section__track {
    gap: 0.65rem;
  }

  .carousel-section__arrows {
    display: none;
  }
}
