/* === NAVIGATION STYLES === */

/* Base container: horizontal row */
.media-video-slider-nav {
    position: absolute;
    bottom: 5rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    pointer-events: none;
    z-index: 10;
    flex-direction: row;
  }
  
  /* Each nav item: vertical inside column */
  .media-video-slider-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    flex: 1;
    max-width: 240px;
  }

  .media-video-slider-nav .nav-item.active {
    opacity: 1;
  }

  /* Progress bar (above text) */
  .media-video-slider-nav .nav-item .progress-track {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.3);
    overflow: hidden;
    margin-bottom: 0.4rem;
  }
  
  .media-video-slider-nav .nav-item .progress-fill {
    width: 0%;
    height: 100%;
    background: yellow;
    transition: width 0s linear;
  }
  
  /* Nav Text */
  .media-video-slider-nav .nav-text {
    text-align: left;
    color: #fff;
  }
  
  .nav-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
  }
  .nav-subheading,
  .nav-cta {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    margin: 0;
  }

  .nav-progress-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0 1rem;
  }
  
  .nav-progress-row .progress-track {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: #fff;
    overflow: hidden;
  }
  
  .nav-progress-row .progress-fill {
    height: 100%;
    width: 0%;
    background: yellow;
    transition: none;
  }
  
  /* === DESKTOP: Hide unified row, show per-item bars === */
@media screen and (min-width: 769px) {
    .nav-progress-row {
      display: none !important;
    }

    .media-video-slider-nav .nav-item {
      align-items: flex-start;
    }

    .media-video-slider-nav .nav-item .progress-track {
      display: block;
    }

    .media-video-slider-nav .nav-text {
      width: 100%;
    }

    .media-video-slider-nav .nav-heading,
    .media-video-slider-nav .nav-subheading {
      cursor: pointer;
      transition: color 0.3s ease;
      pointer-events: auto;
    }
  }
  
  /* === MOBILE OVERRIDES === */
  @media screen and (max-width: 768px) {
    .media-video-slider-nav {
      flex-direction: column !important;
      bottom: 2rem !important;
      gap: 0.5rem !important;
      align-items: flex-start !important;
      padding: 0 2rem !important;
    }

    /* Hide all nav-items by default */
    .media-video-slider-nav .nav-item {
      display: none !important;
    }

    /* Only show the active nav-item */
    .media-video-slider-nav .nav-item.active {
      display: flex !important;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      margin-bottom: 1rem;
      order: -1;
      width: 100%;
    }

    .media-video-slider-nav .nav-text {
      padding-left: 0;
      width: 100%;
      margin: 0;
    }

    .media-video-slider-nav .nav-heading,
    .media-video-slider-nav .nav-subheading,
    .media-video-slider-nav .nav-cta {
      margin-left: 0;
      padding-left: 0;
    }

    .media-video-slider-nav .nav-item .progress-track {
      display: none;
    }

    /* Progress tracks stacked under the active text group */
    .media-video-slider-nav .nav-progress-row {
      display: flex !important;
      justify-content: flex-start;
      gap: 1rem;
      width: 100%;
      order: 1;
      padding: 0;
    }

    .media-video-slider-nav .nav-progress-row .progress-track {
      flex: 1;
      max-width: 120px;
    }
  }
  