    :root {
  --acbvi-bg: #462456;
  --ac-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 5%,rgba(27, 27, 27, 0.05) 95%, rgba(72, 72, 72, 0.20) 100%); 
}


[data-bs-theme=light] {
  --bs-bbh-color: #8341a3;
  --bs-bbt-color: #8341a3;
}

[data-bs-theme=dark] {
  color-scheme: dark;
  --bs-body-color: #ffffff;
  --bs-body-color-rgb: 255, 255, 255;
  --bs-secondary-text-emphasis: #ffffff;
  --bs-success-text-emphasis: #75b798;
  --bs-info-text-emphasis: #6edff6;
  --bs-light-text-emphasis: #ffffff;
  --bs-dark-text-emphasis: #ffffff;
  --bs-bbh-color: #f3dcff;
  --bs-bbt-color: #f3dcff;
}


:root {
  scroll-padding-top: 200px; /* adjust this to match your header height */
}

.text-bg-acbvi {
  color: #fff !important;
  background-color: #462456 !important;
}

  /* Progress bar */
   #progress-bar {
     --scrollAmount: 0%;
     
     background-image: linear-gradient(120deg, var(--bs-primary) 0%, var(--bs-success) 30%, var(--bs-warning) 70%, var(--bs-danger) 100%);
     width: var(--scrollAmount);
   
     /*  background: linear-gradient(to right, #f5e6ff var(--scrollAmount), transparent 0);
     width: 100%; */
     margin-bottom: -5px;
     border-top: 1px solid #7E449A ;
     border-bottom: 1px solid #a158c5 ;
     border-right: 4px solid #9c54bf ;
     height: 5px;
     position: absolute;
     display: block;
     z-index: 1048;
   }
.carousel-item img {
   margin-top: 3rem !important; }
   
   /* Make dropdowns white on hover with dark text */
   .dropdown-menu .dropdown-item {
     color: #fff; /* default text color for dark theme */
     background-color: transparent;
     transition: background-color 0.2s ease, color 0.2s ease;
   }
   
   .dropdown-menu .dropdown-item:hover,
   .dropdown-menu .dropdown-item:focus {
     background-color: #ffffff !important;
     color: #212529 !important; /* Bootstrap’s default body text */
   }
   .dropdown-menu {
     border: none;
     box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
   }
   .dropdown-divider {
     border-color: rgba(255,255,255,0.1);
   }

   
   footer {background-color: --acbvi-bg !important; color: #FFFFFF !important;}
   footer a:link, footer a:visited {color: #ffee00 !important ; text-decoration: underline !important ;
     text-underline-offset: .25rem !important;
     text-decoration-thickness: .25rem !important;
     text-decoration-skip-ink: none !important;
     text-decoration-color: rgba(165, 83, 204, 1) !important;
   
   box-shadow: inset 0 0 0 0 #ffee00;
   color: #ffee00;
   margin: 0 -.25rem;
   padding: 0 .25rem;
   transition: color .2s ease-in-out, box-shadow .3s ease-in-out;
 
 }
  footer a:hover {color: #462456 !important ; text-decoration: underline !important ;
      text-underline-offset: 0rem !important;
      text-decoration-thickness: .25rem !important;
      text-decoration-skip-ink: none !important;
      text-decoration-color: #e5d600 !important;
    
    box-shadow: inset 50rem 0 0 0 #ffee00;
    color: white;
  }
#btndon {
    margin-top: 0.3rem !important;
    margin-bottom: 0.3rem !important;
    float: end;
  }


  #myCarousel h1 {
    font-weight: 700;
    font-size: 1.42rem !important;
    line-height: 1.8rem !important;
    padding: 3px;
    margin: 0;
  }
  
  #myCarousel .butlink a:link {
    padding: 3px 9px !important;
    font-size: 0.72rem !important;
    margin: 0 !important;
    display: inline-block;
    line-height: 1.4 !important;z-index: 13 !important;
  }
  
#myCarousel .carousel-caption {
    text-align: center;             /* center text */
    padding: 0.25rem 1.5rem !important; 
    margin: 0 auto;                 /* center block horizontally */
    width: 90%;                    /* or max-width: 90% if needed */
    position: absolute;            /* assuming default Bootstrap carousel */
    bottom: 5px;                  /* adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9 !important;
    background-color: rgba(0, 0, 0, 0.6); /* optional overlay */
    border-radius: 0.75rem;
  }
  
.shade {
    text-shadow:
    0 0 12px rgba(0, 0, 0, 1),
    0 0 18px rgba(0, 0, 0, 0.9),
    2px 2px 10px rgba(0, 0, 0, 0.85),
    -2px -2px 10px rgba(0, 0, 0, 0.85),
    3px 3px 12px rgba(0, 0, 0, 0.75),
    -3px -3px 12px rgba(0, 0, 0, 0.75) !important;
  }

.carousel-indicators {
    z-index: 1; /* or even 0 */
    margin-left: 1% !important;
    position: absolute; margin: auto -25px; padding:auto -10px; 
    bottom: 1rem; /* Make sure they're not floating in the middle */
  }
  .topsclass {
    margin-top: 86px !important;
  }
.carousel-inner {padding: auto 50px;}
@media (max-width: 767px) {
  #myCarousel .carousel-item img {
  margin-top: 2rem !important; }
    #myCarousel {
      background-color: rgba(0, 0, 0,1) !important; /* Adjust the 0.6 to desired opacity */
      min-height: 200px !important; /* Adjust height as needed */
     }
    
    #myCarousel .carousel-indicators button {background-color:  rgba(255, 255, 255, 0.626) !important;}
  #myCarousel .carousel-caption {
      background-color: rgba(0, 0, 0,0.72) !important; /* Adjust the 0.6 to desired opacity */
      padding: 0.5rem !important; /* Adjust padding if needed */
      border-radius: 0.25rem 0.5rem; /* Optional: softer corners */
      border: 0px solid #000000 !important;
    }
    #myCarousel .carousel-item,
    #myCarousel .carousel-inner {
      min-height: inherit !important;
    }
    #myCarousel  {min-height: 1372px;}
    .carousel-inner {min-height: 372px;}
    
    #vidtext h2 {
      font-size: 1.05rem !important; /* Smaller heading */
      line-height: 1.25 !important;
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }
    
    #vidtextlead {
      font-size: 0.95rem !important;
      line-height: 1.2 !important;
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }
    
    #vidtext {
      padding: 1rem 0  !important;
    }
    
    
    
    .carousel-caption {
      position: relative;
      z-index: 2;
      pointer-events: auto;
    }
    
    .carousel-item {
      position: relative;
      z-index: 1;
    }
    
    .carousel::before {
      pointer-events: none;
    }

    
    
  }
  
  
      .dnb {white-space: nowrap!important;}
      
      
      .colcard p {font-size: calc(0.42rem + .42vw); }
      
      .ccs {padding: calc(0.02rem + 0.27vw) calc(1.32rem + 0.27vw) !important; font-size: calc(0.86rem + 0.27vw) !important;}
      .breadcrumb {font-size: 0.86rem;}


article > h1 {border-bottom: var(--bs-bbh-color) 5px solid !important; margin-bottom: 23px; color: var(--bs-bbt-color) !important;}

 .stripe {margin-top: 4rem !important; margin-bottom: 0.25rem !important;}
 .stripe h3 {margin-bottom: 1rem; padding-top: 2rem;scroll-margin-top: 3rem; color: var(--bs-bbt-color) !important;
   border-bottom: var(--bs-bbh-color) 3px solid !important; 
              }


.animated-gradient-text {
                background: linear-gradient(270deg, #462456, #8341a3, #906ca1, #462456);
                background-size: 800% 800%;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                animation: gradientAnimation 6s ease infinite;
              }
              
              @keyframes gradientAnimation {
                0% {
                  background-position: 0% 50%;
                }
                50% {
                  background-position: 100% 50%;
                }
                100% {
                  background-position: 0% 50%;
                }
              }
              

              .article-multi-view .card img.card-img-top {
                display: none;
              }
              
.read-toggle-link {
                font-weight: bold;
                color: #0d6efd;
                text-decoration: none;
              }


.img-caption-overlay {margin-top: -29px;
                position: absolute;
                bottom: 0;
                width: 100%;
                background-color: rgba(0, 0, 0, 0.42);
                font-size: 0.75rem; font-weight: 700;
                padding: 0.25rem 0.5rem;
                line-height: 1.2;
                border-bottom-left-radius: 0.375rem;
                border-bottom-right-radius: 0.375rem;
                text-shadow:
                0 0 12px rgba(0, 0, 0, 1),
                0 0 18px rgba(0, 0, 0, 0.9),
                2px 2px 10px rgba(0, 0, 0, 0.85),
                -2px -2px 10px rgba(0, 0, 0, 0.85),
                3px 3px 12px rgba(0, 0, 0, 0.75),
                -3px -3px 12px rgba(0, 0, 0, 0.75) !important;
              }
              
              
.linkedstory {
                position: relative;
                overflow: hidden;
                margin-top: -10px !important;
                background: #8341a3 !important;
                --bs-btn-padding-y: .09rem !important;
                --bs-btn-padding-x: .5rem !important;
                --bs-btn-font-size: .75rem !important;
                transition: color 0.4s ease;
                z-index: 0;
              }
              
              .linkedstory::before {
                content: "";
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: #462456;
                z-index: -1;
                transition: left 0.4s ease;
              }
              
              .linkedstory:hover::before {
                left: 0;
              }

              
              .toggle-readmore::after {margin-left: -5px;
                content: '...read more';
              }
              
              .toggle-readmore[aria-expanded="true"]::after {
                content: 'read less...';
              }
              
              
              
              
              .bg-purple { margin-top: 0px; 
                background-color: #462456; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
              }
              
              .arthead {text-decoration: none !important; }





/* Apply to all focusable elements */
              :focus-visible {
                outline: 5px solid #ffed00;               /* Bold cyan outline */
                outline-offset: 3px;                      /* Separates from the edge */
                box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.25); /* Glow effect */
                border-radius: 0.3rem;                    /* Rounded corners */
                transition: outline 0.2s ease, box-shadow 0.2s ease;
              }
              
              /* Optional: Specifically target Bootstrap buttons */
              .btn:focus-visible {
                outline: 5px solid #ffed00;
                box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.4);
                border-radius: 0.5rem;
              }
              
              
              
              /* Make theme toggle button always black background, white text */
              #bd-theme {
                background-color: #84a !important;
                color: #fff !important;
                border: none;
              }
              
              #bd-theme .theme-icon-active {
                fill: #fff; /* Makes the icon white */
              }
              
              /* Force dropdown menu background to black and text to white */
              .bd-mode-toggle .dropdown-menu {
                background-color: #425 !important;
                color: #fff !important;
              }
              
              .bd-mode-toggle .dropdown-item {
                background-color: transparent !important;
                color: #fff !important;
              }
              
              .bd-mode-toggle .dropdown-item:hover,
              .bd-mode-toggle .dropdown-item:focus {
                background-color: #000 !important;
                color: #fff !important;
              }
              
              /* Optional: white check icons too */
              .bd-mode-toggle .dropdown-item svg use {
                fill: #fff !important;
              }
              
              /* Add to your CSS */
              .responsive-width {
                width: 100%;
              }
              @media (min-width: 767px) {
                .responsive-width {
                  width: 25%;
                }
              }
              


@media (max-width: 576px) {
                .responsive-text.long-text {
                  font-size: 0.72rem; padding-bottom: 0px; margin-bottom: -5px;
                }
              }
              
              
              
              
              /* On small screens, force more vertical space */
              @media (max-width: 767px) {
                #myCarousel {
                  margin-top: 50px !important;                }

              }