.text-serif {
  font-family: "PT Serif", serif;
}

.navbar-dark .nav-link {
    color: #ffffff;
}
.navbar-dark .nav-link:hover {
    color: #dcdcdc !important;
}

.text-small {
	font-size: 80%;
    line-height: 1.375;
}
.text-small-2x {
	font-size: 65%;
}

.badge.badge-lg {
	font-size: .85em;
}
.text-gray-light {
	color: #999999;
}

.bg-dark-orange {
    background-color: #d35400 !important;
}

.bg-light-blue {
    background-color: #E5F0FD;
}

.show-pointer {
    cursor: pointer;
}

.lh-qtr {
    line-height: 1.25;
}

/* NAV AVATAR */
.nav-avatar {
    height: 64px;
    aspect-ratio: 1 / 1; /* The Container stays a perfect square based on height */
    overflow: hidden; /* Good practice if you are using rounded corners */
}
.nav-avatar img { /* Tandem with above */
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Cover is standard for avatars */
}
.avatar-hover-glow {
    transition: all 0.1s ease-in-out;
}
.avatar-hover-glow:hover,
.avatar-hover-glow:focus {
    transform: scale(1.035); /* Optional: slight zoom effect */
}
/* ^^^ */

/* MIN-WIDTHS */
.mw-px-50 { 
    min-width: 50px;
}
/* ^^^ */

/* CONVENIENT HARD WIDTHS */
.w-px-50 {
    width: 50px;
    max-width: 50px;
    flex: 0 0 50px; /* Don't grow, don't shrink, stay exactly */
}
.w-px-100 {
    width: 100px;
    max-width: 100px;
    flex: 0 0 100px;
}
.w-px-150 {
    width: 150px;
    max-width: 150px;
    flex: 0 0 150px;
}
.w-px-200 {
    width: 200px;
    max-width: 200px;
    flex: 0 0 200px;
}
.w-px-250 {
    width: 250px;
    max-width: 250px;
    flex: 0 0 250px;
}
.w-px-300 {
    width: 300px;
    max-width: 300px;
    flex: 0 0 300px;
}
.w-px-350 {
    width: 350px;
    max-width: 350px;
    flex: 0 0 350px;
}
.w-px-400 {
    width: 400px;
    max-width: 400px;
    flex: 0 0 400px;
}
.w-px-450 {
    width: 450px;
    max-width: 450px;
    flex: 0 0 450px;
}
.w-px-500 {
    width: 500px;
    max-width: 500px;
    flex: 0 0 500px;
}
/* ^^^ */

/* CONVENIENT HARD HEIGHTS */
.h-px-100 {
    height: 100px;
    max-height: 100px;
    flex: 0 0 auto; /* Don't grow, don't shrink, stay exactly */
}
.h-px-200 {
    height: 200px;
    max-height: 200px;
    flex: 0 0 auto; /* Don't grow, don't shrink, stay exactly */
}
/* ^^^ */

.striped-bg-gray {
    background: repeating-linear-gradient(
        -45deg,
        #fcfcfc,
        #fcfcfc 20px,
        #ffffff 20px,
        #ffffff 40px
    );
    background-size: 56.56px 56.56px; /* 40px * sqrt(2) */
}

.bg-black {
    background-color: #000;
}


/* CUSTOM SMALLER BS BUTTON */
.btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: 1rem;
    border-radius: .18rem;
}
/* ^^^ */

/* GRADIENT FADE LONG DESCRIPTIONS */
.description-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 4em; /* Roughly 3 lines of text; was: 3.8em */
    transition: max-height 0.2s ease-in-out;
}
.description-wrapper.expanded {
    max-height: 1000px; /* High enough to accommodate long text */
}
.description-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2em;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
    transition: opacity 0.2s;
}
.description-wrapper.expanded .description-gradient {
    opacity: 0;
}
/* ^^^ */

/* re: COPY TO CLIPBOARD EVENTS */
.copy-confirmation-bubble {
        position: fixed;
        background: #D73A59;
        color: #fff;
        padding: 5px 15px;
        border-radius: 5px;
        font-size: 15px;
        z-index: 9999;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        transform: translateY(15px);
    }

    .copy-confirmation-bubble.show {
        opacity: 1;
        transform: translateY(-10px);
    }

    /* Hover effect for the link icon */
    .copy-asset-link:hover {
        opacity: 0.7;
    }
/* ^^^ */

/* HR SPECIALS */
.hr-text-center {
  display: flex;
  align-items: center;
  text-align: center;
}
.hr-text-center::before,
.hr-text-center::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #888;
}
.hr-text-center:not(:empty)::before {
  margin-right: .25em;
}
.hr-text-center:not(:empty)::after {
  margin-left: .25em;
}

.hr-text-start {
  display: flex;
  align-items: center;
  text-align: start;
}
.hr-text-start::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #999;
}
.hr-text-start:not(:empty)::after {
  margin-left: .25em;
}
/* ^^^ */

/* SMALLER GAP OPTIONS */
.mx-1-pixel {
    margin-left: 1px;
    margin-right: 1px;
}
.mx-2-pixel {
    margin-left: 2px;
    margin-right: 2px;
}
.px-1-pixel {
    padding-left: 1px;
    padding-right: 1px;
}
/* ^^^ */

/* RE: BORDER */
.border-x-dotted {
    border-left-style: dotted !important;
    border-right-style: dotted !important;
}
/* ^^^ */

/* lg editions where lacking in bs form components */
.dropdown-menu-lg .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: calc(1.26563rem + 0.1875vw);
}

.list-group-lg {
    padding: 0.5rem 0px;
    font-size: calc(1.26563rem + 0.1875vw);
}
.form-check-lg .form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-right: 0.50em;
}
.form-check-lg .form-check-label {
    font-size: calc(1.26563rem + 0.1875vw);
}
.form-select-lg {
    padding-left: 0.7rem;
}
.form-control-lg.file-input {
    font-size: calc(1.26563rem + 0.1875vw + 0.06vw);
}
/* ^^^ */

/* BS FORM INPUTS BORDER COLOR: MAKE SLIGHTLY DARKER */
.form-control,
.form-select,
.form-check-input {
    border-color: #BCC0C4 !important; /* A darker gray */
}
/* ^^^ */


/* soften font color for placeholder text */
label {
	font-weight: normal; /* temp disable; was: bold to override bs; */
}
input::placeholder {
  color: #bbbbbb !important;
  opacity: 1;
}
input[type=file] {
  color: #bbbbbb;
  font-size: 100%;
}
/* ^^^ */

/* CUSTOM TABS CONTAINER */
.custom-tabs-container .nav-tabs {
    border-bottom: 2px solid #aab4bc;
    margin-bottom: 0;
}
.custom-tabs-container .nav-link {
    border-width: 2px 2px 0px 2px;
    position: relative;
    top: 1px;
}
.custom-tabs-container .nav-link:hover {
    border-color: #cccccc;
}
.custom-tabs-container .nav-link.active {
    border-top: 2px solid #aab4bc;
    border-left: 2px solid #aab4bc;
    border-right: 2px solid #aab4bc;
    border-bottom-color: #fff;
    position: relative;
    top: 1px;

}
.custom-tabs-container .tab-content {
    border-left: 2px solid #aab4bc;
    border-right: 2px solid #aab4bc;
    border-bottom: 2px solid #aab4bc;
}
/* CUSTOM TABS COLORS FOR ACTIVE TAB */
.custom-tabs-container.primary-10 .nav-link.active  {
    background-color: #E5F0FD; /* bg-primary bg-opacity-10 */
}
/* ^^^ */


/* FOOTER CSS (BEGIN) */
.footer{
    background-color: #2150A2;
}
.footer-fineprint {
    color: #aaaaaa;
    font-weight: lighter;
}
/* FOOTER CSS (END) *//**/


/* BS TOOLTIP ADJUSTMENTS */
.tooltip-inner {
    line-height: 1.25;
}
/* ^^^ */

/* IMAGE CROPPING */
.cropper-container {
    max-height: 500px;
}
#cropperImage {
    max-width: 100%;
}
/* Make handles larger and more visible */
.cropper-point {
  width: 10px !important;  /* Default is often 5px */
  height: 10px !important;
  background-color: #39f; /* Change color if needed */
  opacity: 0.75;
}
/* Specific styling for corner handles to make them easier to grab */
.cropper-point.point-se {
  width: 15px !important;
  height: 15px !important;
}
/* Safe-zone badge overlay inside Cropper.js selection box */
.cropper-overlay-guide .cropper-crop-box::after {
    content: "LABEL OVERLAY REGION";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 27%;
    background-color: rgba(220, 53, 69, 0.70);
    border-top: 2px dashed rgba(255, 255, 255, 0.9);
    border-right: 2px dashed rgba(255, 255, 255, 0.9);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Lets the admin drag/resize right through the overlay */
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
/* ^^^ */


/* RE: COURSE PLAYER... */
/* WE WANT SOMETHING BIGGER THAN THE BS modal-xl BUT SMALLER THAN BS modal-fullscreen */
.modal-course-player {
    max-width: 96vw !important;
    margin: 2vh auto;
}
.modal-course-player .modal-content {
    height: 96vh;
    border-radius: 0.5rem; /* Rounded corners help it feel like a modal */
    overflow: hidden;
    /*box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.5);  Deep shadow for pop effect */
}
/* ^^^ */


/* THUMBNAIL ZOOM BEHAVIOR */
.thumbnail-zoom {
    transition: transform 0.1s ease, box-shadow 0.1s ease, z-index 0s ease;
    position: relative;
    z-index: 1;
    cursor: zoom-in;
    outline: none; /* Prevents the blue browser focus ring */
}
.thumbnail-zoom:focus {
    transform: scale(3.0); /* 50px * 3.0 = 150px zoomed */
    z-index: 1050; /* Bootstrap modal level so it pops over everything */
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.4) !important;
    cursor: zoom-out;
}
/* ^^^ */


/* BS TABLE ADJUSTMENTS (AND ADDITIONS) */
.table th {
    color: #3D4149;
    background-color: #CDCFD1;
}
/* SPECIAL HANDLING FOR sticky-top (because border collapse occurs) */
/* Apply ONLY the bottom border to ALL sticky header cells */
.table thead.sticky-top th {
    box-shadow: inset 0 -2px 0 var(--bs-secondary);
}
/* For all cells EXCEPT the last one, apply BOTH the bottom border AND the right divider */
.table thead.sticky-top th:not(:last-child) {
    box-shadow:
        inset 0 -2px 0 var(--bs-secondary),           /* The bottom border */
        inset -1px 0 0 var(--bs-table-border-color); /* The vertical divider */
}
/* ^^^ */
.table-sm td, .table-sm th {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.table {
    --bs-table-striped-bg: rgba(0, 0, 0, 0.04);
}
.table.table-striped > tbody > tr:nth-of-type(odd) > * {
	--bs-table-accent-bg: var(--bs-table-striped-bg);
}
.table > thead > tr > th.w-5,
.table > tbody > tr > td.w-5 {
    width: 5%;
}
.table > thead > tr > th.w-10,
.table > tbody > tr > td.w-10 {
    width: 10%;
}
.table > thead > tr > th.w-15,
.table > tbody > tr > td.w-15 {
    width: 15%;
}
.table > thead > tr > th.w-20,
.table > tbody > tr > td.w-20 {
    width: 20%;
}
.table > thead > tr > th.w-25,
.table > tbody > tr > td.w-25 {
    width: 25%;
}
.table > thead > tr > th.w-30,
.table > tbody > tr > td.w-30 {
    width: 30%;
}
.table > thead > tr > th.w-35,
.table > tbody > tr > td.w-35 {
    width: 35%;
}
.table > thead > tr > th.w-40,
.table > tbody > tr > td.w-40 {
    width: 40%;
}
.table > thead > tr > th.w-45,
.table > tbody > tr > td.w-45 {
    width: 45%;
}
.table > thead > tr > th.w-50,
.table > tbody > tr > td.w-50 {
    width: 50%;
}
.table > thead > tr > th.w-55,
.table > tbody > tr > td.w-55 {
    width: 55%;
}
.table > thead > tr > th.w-60,
.table > tbody > tr > td.w-60 {
    width: 60%;
}
.table > thead > tr > th.w-65,
.table > tbody > tr > td.w-65 {
    width: 65%;
}
.table > thead > tr > th.w-70,
.table > tbody > tr > td.w-70 {
    width: 70%;
}
.table > thead > tr > th.w-75,
.table > tbody > tr > td.w-75 {
    width: 75%;
}
.table > thead > tr > th.w-80,
.table > tbody > tr > td.w-80 {
    width: 80%;
}
.table > thead > tr > th.w-85,
.table > tbody > tr > td.w-85 {
    width: 85%;
}
.table > thead > tr > th.w-90,
.table > tbody > tr > td.w-90 {
    width: 90%;
}
.table > thead > tr > th.w-95,
.table > tbody > tr > td.w-95 {
    width: 95%;
}
/* ^^^ */


/***************************/
/* MEGA MENU (EXPLORE TAB) */
/***************************/
.dropdown-mega {
  position: static;
}

.dropdown-mega .dropdown-menu {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border: none;
  border-radius: 0.2rem;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.15);
  left: 0;
  right: 0;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  display: none;
}

.dropdown-mega.show .dropdown-menu {
  display: block;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* MENU CATEGORIES */
.mega-menu .categories {
  display: flex;
  gap: 2rem;
  border-bottom: 2px solid #eee;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.mega-menu .category {
  padding: 0.5rem 0;
  cursor: pointer;
  font-weight: 600;
  color: #051a68;
  position: relative;
}

.mega-menu .category.active {
  color: #051a68;
}

.mega-menu .category.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: #051a68;
}

/* SUBMENU PANELS */
.mega-menu .submenu {
  display: none;
}

.mega-menu .submenu.active {
  display: flex;
  flex-wrap: wrap;
}

.mega-menu .submenu .col-md-4 {
  padding: 0 1rem;
}

.mega-menu .submenu a {
  display: block;
  padding: 0.35rem 0;
  color: #0072ee;
  text-decoration: none;
}

.mega-menu .submenu a:hover {
  text-decoration: underline;
  color: #051a68;
}

.mega-menu .submenu-header {
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.mega-menu .submenu-header span {
  font-size: 1.25rem;
  font-weight: 600;
  color: #051a68;
  margin-right: 0.5rem;
}

.mega-menu .submenu-header .view-all-link {
  font-size: 1.25rem;
  font-weight: 500;
  color: #0072ee;
  text-decoration: none;
}

.mega-menu .submenu-header .view-all-link:hover {
  text-decoration: underline;
  color: #163a75;
}

/* MOBILE MEGA MENU BACK BUTTON */
.mega-menu .back-btn {
  display: none;
  margin-bottom: 1rem;
  cursor: pointer;
  font-weight: 600;
  color: #0072ee;
}

/* MENU MEDIA QUERIES */
@media (max-width: 991px) {
  .mega-menu .back-btn {
    display: block;
  }

  .mega-menu .categories {
    flex-direction: column;
    gap: 1rem;
  }

  .mega-menu .submenu.active {
    flex-direction: column;
  }

  .mega-menu .submenu .col-md-4 {
    border: none !important;
    padding: 0;
  }
}


/* INITIAL USAGE FOR ASSET SEARCH PAGE */
.hover-primary:hover { color: var(--bs-primary) !important; }
.asset-card-animation { transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; }
.asset-card-animation:hover { transform: translateY(-5px); }
.asset-card-animation:hover .card { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; }

/* Layout utility replacements */
.spinner-xl { width: 3rem; height: 3rem; }
.card-img-overlay-gradient { background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); }

/* Spinner Overlay Styles */
.fixed-spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1050;
    border-radius: 1rem;
    /* Flexbox properties removed from here */
}
/* New class to keep the spinner box in the user's view */
.spinner-card-sticky {
    position: sticky;
    top: 40vh; /* Positions it nicely in the upper-middle of the screen */
    margin: 0 auto;
    width: fit-content;
}

/* Adds a buffer so the Polite Scroll doesn't hide the text under your top navbar */
.scroll-margin-target {
    scroll-margin-top: 100px;
}
/* ^^^ */


/* RE: AVATAR RIBBONS/BADGES */
.ribbon-box {
  position:relative;
}
.ribbon {
  --r: 6px; /* control the ribbon shape */
  --f: 8px; /* control the folded part*/
  position: absolute;
  bottom: 0px;
  padding-inline: 5px;
  background: #eee;
  border-top: var(--f) solid #0004;
  color: #fff;
  line-height: 1.3em;
  font-family: verdana,sans-serif;
  font-size: 13px;
  font-weight: bold;
}
.ribbon.sm {
  --f: 6px; /* control the folded part*/
  bottom: -2px;
  font-size: 11px;
}
.ribbon.huge {
  --f: 12px; /* control the folded part*/
  bottom: -10px;
  font-size: 16px;
  padding-inline: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.ribbon-right { /* fold starts above ribbon */
  right: calc(-1*var(--f));
  border-left: var(--r) solid #0000;
  clip-path:
    polygon(0 var(--f),calc(100% - var(--f)) var(--f),calc(100% - var(--f)) 0,
      100% var(--f), 100% 100%, 0 100%,var(--r) calc(50% + var(--f)/2));
}
.ribbon-flat {
  --r: 6px; /* control the cutout */
  padding-left: calc(var(--r) + 5px);
  padding-right: var(--r);
  clip-path: polygon(100vw 0,0 0,var(--r) 50%,0 100%,100vw 100%);
  /* border-image: conic-gradient(#2699dc 0 0) fill 0//100vw; */
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 11px;
  font-weight: bold;
  width: fit-content;
  padding-top: 2px;
  padding-bottom:3px;
}
.level-0 {
    background-color: #dddddd;
    color: #aaaaaa;
}
.level-1 {
    background-color: #9ACD32;
    color: #000000;
}
.level-2 {
    background-color: #FFD700;
    color: #000000;
}
.level-3 {
    background-color: #2298E2;
    color: #ffffff;
    
}
.level-4 {
    background-color: #ED1B24;
    color: #FFFFFF;
}
.level-5 {
    background-color: #000000;
    color: #FFFFFF;
}
.level-6 {
    background-color: #FF8200;
    color: #FFFF99;
}
.level-7 {
    background-color: #CDCFD1;
    color: #902364;
}
.level-8 {
    background-color: #D4AF37;
    color: #ffff99;
}
.level-9 {
    background-color: #820263; /* #902364; */
    color: #ffff99;
}
.level-10 {
    background-color: #0B0033;
    color: #00E5FF;
}
/* ^^^ */

/* RE: Drag-to-Scroll Container --- */
.drag-scroll {
    cursor: grab;
    /* Optional: hide scrollbar in Firefox, but standard in BS5 usually handles this */
    scrollbar-width: thin; 
}
.drag-scroll:active {
    cursor: grabbing;
}

/* Thicker, more obvious custom scrollbar for Webkit (Chrome/Safari/Edge) */
.drag-scroll::-webkit-scrollbar {
    height: 12px; /* Thicker than the default */
}
.drag-scroll::-webkit-scrollbar-track {
    background: #f8f9fa; /* matches bg-light */
    border-radius: 10px;
}
.drag-scroll::-webkit-scrollbar-thumb {
    background: #adb5bd; /* Bootstrap secondary color */
    border-radius: 10px;
    border: 3px solid #f8f9fa; /* Creates a nice padded look */
}
.drag-scroll::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}
/* ^^^ */
/* --- Horizontal Scroll Navigation Buttons --- */
.scroll-nav-btn {
    width: 48px;
    height: 48px;
    opacity: 0.9;
    transition: opacity 0.2s ease-in-out, visibility 0.2s;
}
.scroll-nav-btn:hover {
    opacity: 1;
}
.scroll-nav-btn.left-btn {
    left: 10px;
}
.scroll-nav-btn.right-btn {
    right: 10px;
}

/* BACK TO TOP BUTTON */
#back-to-top {
  /* Hidden state */
  /* The stronger custom shadow */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.2s ease;
}
#back-to-top:hover {
  /* Lifts the button slightly and expands the shadow on hover */
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
  /* Reset transform to 0 so the hover effect works properly when visible */
  transform: translateY(0); 
}
/* Ensure hover lift works correctly when the button is visible */
#back-to-top.show:hover {
  transform: translateY(-3px);
}
/* ^^^ */


/* RE: AVATAR CHANGER */
/* Ensure the link acts as a proper container for absolute positioning */
.avatar-edit-link {
    position: relative;
    cursor: pointer;
}
/* Base state for the overlay: hidden */
.avatar-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;       /* Matches your w-px-150 class */
    height: 150px;      /* Matches your w-px-150 class */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    z-index: 5;         /* Keeps it above the image */
}
/* Hover state: show the overlay */
.avatar-edit-link:hover .avatar-edit-overlay,
.avatar-edit-link:focus .avatar-edit-overlay {
    opacity: 1;
}
/* Ensure the ribbon sits ON TOP of the dark overlay during hover */
.avatar-edit-link .ribbon {
    z-index: 10; 
}
/* ^^^ */


/* Update: Remove max-width and box-shadow, make it fill the height */
.hero-cover-wrapper {
    width: 100%;
    height: 100%;
}

/* Update: Stretch to fill on desktop, but keep 3:2 aspect ratio on mobile */
.hero-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 991.98px) {
    .hero-cover-img {
        aspect-ratio: 3 / 2;
    }
}

/* Keeps the top 65% completely transparent, only fading to dark at the bottom 35% */
.hero-cover-gradient {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 35%);
}
.bg-midnight {
    background-color: #0C1E3D;
}
/* Same size as Bootstrap's shadow-lg, but much darker */
.shadow-lg-dark {
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3) !important;
}

/* Tucks the metadata card underneath the hero on desktop */
@media (min-width: 992px) {
    .meta-card-overlap {
        margin-top: -6rem;
        padding-top: 4.5rem; /* Pushes the text down so it clears the hero */
    }
}

/* Desktop: Fades the left edge smoothly within a tighter 25% window */
.hero-fade-left {
    background: linear-gradient(
        to right, 
        #0C1E3D 0%, 
        #0C1E3D 8%, 
        rgba(12, 30, 61, 0.9) 25%, 
        rgba(12, 30, 61, 0.6) 50%, 
        rgba(12, 30, 61, 0.2) 80%,
        rgba(12, 30, 61, 0) 100%
    );
    width: 25%; /* Tighter 25% footprint */
}
/* Desktop: Fades the right edge smoothly within a 25% window */
.hero-fade-right {
    background: linear-gradient(
        to left, 
        #0C1E3D 0%, 
        #0C1E3D 8%, 
        rgba(12, 30, 61, 0.9) 25%, 
        rgba(12, 30, 61, 0.6) 50%, 
        rgba(12, 30, 61, 0.2) 80%,
        rgba(12, 30, 61, 0) 100%
    );
    width: 25%;
}

/* Mobile: Fades the bottom edge smoothly */
.hero-fade-bottom {
    background: linear-gradient(
        to top, 
        #0C1E3D 0%, 
        #0C1E3D 5%, 
        rgba(12, 30, 61, 0.9) 15%, 
        rgba(12, 30, 61, 0.6) 40%, 
        rgba(12, 30, 61, 0.2) 75%,
        rgba(12, 30, 61, 0) 100%
    );
    height: 35%;
}

/* Admin collection manager */
.cursor-grab {
    cursor: grab;
}
.cursor-grab:active {
    cursor: grabbing;
}
.sortable-item.dragging {
    opacity: 0.5;
    background-color: #f8f9fa;
    border: 2px dashed #0d6efd !important;
}
/* ^^^ */

/* Admin program manager */
.save-status-banner {
    opacity: 0;
    transition: opacity 0.5s;
}
.save-status-banner.show {
    opacity: 1;
}
/* ^^^ */

/* Used in test-outbox (sorta temporary tool) */
.h-vh-60 {
    height: 60vh;
}
/* ^^^ */

/* HOMEPAGE HERO EXPERIMENT (AT LAUNCH) */
/* original combo
.hero-bold-split {
    background-color: #0f172a;
    background-image: 
        radial-gradient(at 85% 20%, rgba(56, 189, 248, 0.25) 0, transparent 50%),
        radial-gradient(at 15% 80%, rgba(244, 63, 94, 0.2) 0, transparent 50%);
}
.video-preview-card {
    min-height: 320px;  
    background: linear-gradient(135deg, #1e293b, #0284c7);
    cursor: pointer;
}
*/
/* winning combo... */
.hero-bold-split {
    background-color: #0C1E3D;
    background-image: 
        radial-gradient(at 10% 12%, rgba(12, 30, 61, 0.92) 0px, transparent 52%),
        radial-gradient(at 14% 88%, rgba(144, 35, 100, 0.85) 0px, transparent 56%),
        radial-gradient(at 85% 75%, rgba(33, 80, 163, 0.45) 0px, transparent 55%),
        radial-gradient(at 82% 16%, rgba(215, 58, 89, 0.52) 0px, transparent 50%),
        linear-gradient(155deg, #0C1E3D 0%, #2a1442 60%, #0C1E3D 100%);
}
/* .video-preview-card {
    min-height: 320px;
    background: linear-gradient(145deg, rgba(12, 30, 61, 0.88) 0%, rgba(28, 18, 52, 0.82) 100%);
    backdrop-filter: blur(8px);
    cursor: pointer;
} */
.video-preview-card {
    min-height: 320px;
    background-color: #0C1E3D;
    background-image: 
        linear-gradient(145deg, rgba(12, 30, 61, 0.80) 0%, rgba(28, 18, 52, 0.72) 100%),
        url('../img/screenshots/new-myst-search-screen.jpg');
    background-size: cover;
    background-position: center 20%;
    cursor: pointer;
}
.play-btn-ripple {
    width: 84px;
    height: 84px;
    transition: transform 0.25s ease;
    animation: ripple 2s infinite;
}
.video-preview-card:hover .play-btn-ripple {
    transform: scale(1.1);
}
@keyframes ripple {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
    70% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
/* ^^^ */