/* ============================================================
   CONTENT ROWS — Netflix-Style Horizontal Scrolling Rows
   ============================================================ */

.content-section {
  position: relative;
  z-index: 5;
  margin-top: -6vw;
  padding-bottom: 40px;
}

.row-wrap {
  margin-bottom: 1.5vw; /* small space between rows — hover panel stays inside its card */
}

.row-header {
  padding: 0 4%;
  margin-bottom: 0.75em;
}

.row-title {
  font-size: clamp(15px, 1.3vw, 21px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f2f2f2;
  display: inline-block;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  padding-left: 14px;
}

/* red accent bar before each heading */
.row-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 62%;
  background: var(--red);
  border-radius: 2px;
}

.row-title:hover {
  color: var(--white);
}

.row-slider {
  position: relative;
  padding: 0 4%;
}

.row-slider:hover .row-handle {
  opacity: 1;
}

.row-track {
  display: flex;
  gap: var(--row-gap);
  overflow-x: clip; /* clip (not hidden/auto) so hover panels below cards are never cut off */
  overflow-y: visible;
  scroll-behavior: smooth;
  padding: 1.5vw 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.row-track::-webkit-scrollbar {
  display: none;
}

.row-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.5);
  border: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 2.5vw;
  font-family: inherit;
}

.row-handle:hover {
  background: rgba(20, 20, 20, 0.7);
}

.row-handle.prev {
  left: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.row-handle.next {
  right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

@media (max-width: 768px) {
  .row-handle { width: 6%; font-size: 5vw; }
}

.row-track{overflow-y:visible!important;padding-bottom:0!important}
.row-slider{overflow:visible!important}
.row-wrap{overflow:visible!important}
