    /* Base styles for both desktop and mobile */
    /* Home slider positioned at top of page (behind navigation) */
  .home-slider {
      position: relative;
      margin-top: 0px; /* Pull up to start behind the fixed header */
      padding-top: 0;
      width: 100%;
      z-index: 1; /* Below the navigation */
  }
    .home-slider .slide .flex {
      width: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-color: var(--AzureDark);
      display: block;
      position: relative;
      z-index: 0;
    }
    
    .home-slider ul,
    .home-slider li {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .home-slider h1 {
      font-size: var(--FontSize4XL);
    }
    
    .home-slider .slides {
      position: relative;
      width: 100%;
      overflow: hidden; /* Keep slides contained */
    }
    
    .home-slider .slide {
      opacity: 0;
      transition: opacity 1s ease-in-out;
      position: absolute;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      isolation: isolate; /* Create stacking context for z-index */
    }
    
    .home-slider .slide.active {
      opacity: 1;
      position: relative; /* Make active slide participate in document flow */
    }
    
    .home-slider .slide video,
    .home-slider .slide .flex {
      display: block;
      position: relative;
      z-index: 1;
      width: 100%;
      height: auto;
    }
    
    .home-slider .slide::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: -1px;
      left: 0;
      /* Full background declaration with no-repeat for both layers */
      background: 
        url('/media/structure/header_border_bottom.svg') no-repeat center bottom;
        /*linear-gradient(45deg, hsla(var(--Azure), 0.3), hsla(var(--Orange), 0.4), hsla(var(--AzureDark), 0.5)) no-repeat center center;*/
      background-size: 100% auto, cover;
      z-index: 10;
      pointer-events: none; /* Allow clicks to pass through to content below */
    }
    
    .home-slider .slideContent {
      box-sizing: border-box;
      position: absolute;
      bottom: 25%;
      right: 5%;
      z-index: 20;
      max-width: 80%;
      overflow: hidden;
    }
    
    .home-slider .slideContent h1 {
      color: hsla(var(--White),1);
      font-family: var(--FontFamilyHeading);
      font-weight: var(--FontWeightBold);
      font-size: var(--FontSize4XL);
      line-height: 110%;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
    }
    .home-slider .slideContent h1 .cdnBusinessAwards {
        font-size: 2.5rem;
      }
    
    .home-slider .slideContent h2 {
      color: hsla(var(--White),1);
      font-weight: 600;
      font-size: 1.25em;
      line-height: 110%;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
    }
    
    .home-slider .slideContent h3 {
      color: hsla(var(--White),1);
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: 1em;
      line-height: 110%;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
    }
    
    .home-slider .slideContent p {
      color: hsla(var(--White),1);
      font-family: 'Montserrat', sans-serif;
      font-weight: 400;
      font-size: 1.5em;
      line-height: 110%;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
    }
    
    .home-slider .slideContent a {
      color: hsla(var(--White),1);
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: .75em;
      line-height: 110%;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
      text-decoration: none;
    }
    
    /* Badge positioning */
    .home-slider .badge {
      position: absolute;
      z-index: 11;
      transition: all 0.3s ease;
    }
    
    /* Desktop styles */
    @media screen and (min-width: 769px) {
      .home-slider {
        margin-top: 0px;
        height: 47.37vw;
      }
      .home-slider .slide .flex {
      height: 47.37vw; /* Match the height of the slider container */
      min-height: 400px; /* Provide a minimum height as fallback */
    }
      
      .home-slider .controls {
        
        height: 20vh; /* Height of the control area */
      }
      
      .home-slider .badge {
        right: 50px;
        bottom: 5vh;
        width: 150px;
      }
    }
    
    /* Mobile styles */
    @media screen and (max-width: 768px) {
      .home-slider {
        margin-top: 0; /* Remove negative margin on mobile */
      }
      
      .home-slider .slide {
        min-height: 100vw; /* Ensure minimum height for slides */
      }
        .home-slider .slide::after {
        bottom: -1px;
      }
      
      .home-slider .slide video {
        width: 100%;
        object-fit: cover;
      }
      
      .home-slider .slideContent {
        bottom: 5%;
        padding: 0;
        left: 0;
        margin: 0 auto;
      }
      
      .home-slider .slideContent h1 {
        font-size: 2rem;
      }
      .home-slider .slideContent h1 .cdnBusinessAwards {
        font-size: 1.25rem;
      }
      
      .home-slider .slideContent a {
        font-size: 1em;
      }
      
      .home-slider .slideContent h2 {
        font-weight: 400;
        font-size: 1em;
      }
      
      .home-slider .badge {
        width: 100px;
        right: 50%; /* Center horizontally */
        bottom: -1vh;
        transform: translateX(50%); /* Center adjustment */
      }
      
      /* Fix background image display on mobile */
      .home-slider .slide .flex {
        width: 100%;
        min-height: 50vh;
        background-size: cover;
        background-position: 50% calc(100% - 1px);
      }
    }
