/* Site chrome (menu, frame, header) - ported from views/partials/header.ejs */

        /* Black background for menu frame */
        .mil-menu-frame {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000000;
            z-index: 1002;
            overflow-y: auto;
            transform: translateX(-100%);
            transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
        }
        
        .mil-menu-frame.mil-active {
            transform: translateX(0);
        }
        
        /* Menu header with black background */
        .mil-menu-frame .mil-frame-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 30px;
            background: #000000;
            height: 80px;
            position: sticky;
            top: 0;
            z-index: 10;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        /* Main header (floating frame) - TRANSPARENT BACKGROUND */
        .mil-frame {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            pointer-events: none;
        }
        
        .mil-frame-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 30px;
            background: transparent;
            height: 80px;
            position: relative;
            z-index: 10;
            pointer-events: auto;
            transition: all 0.3s ease;
        }
        
        /* Logo styling - white for visibility on transparent background */
        .mil-logo img {
            height: 40px;
            width: auto;
           
        }
        
        /* Menu button styling - BLACK when unopened */
        .mil-menu-btn {
            cursor: pointer;
            width: 30px;
            height: 20px;
            position: relative;
            z-index: 20;
            background: transparent;
            border: none;
            padding: 0;
        }
        
        .mil-menu-btn span {
            display: block;
            width: 100%;
            height: 2px;
            background: #000000;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .mil-menu-btn span::before,
        .mil-menu-btn span::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 2px;
            background: #000000;
            left: 0;
            transition: all 0.3s ease;
        }
        
        .mil-menu-btn span::before {
            top: -8px;
        }
        
        .mil-menu-btn span::after {
            bottom: -8px;
        }
        
        /* When menu is open, button turns white */
        .mil-menu-btn.active span {
            background: transparent;
        }
        
        .mil-menu-btn.active span::before,
        .mil-menu-btn.active span::after {
            background: #ffffff;
        }
        
        .mil-menu-btn.active span::before {
            transform: rotate(45deg);
            top: 0;
        }
        
        .mil-menu-btn.active span::after {
            transform: rotate(-45deg);
            bottom: 0;
        }
        
        /* Bottom frame styling */
        .mil-frame-bottom {
            position: fixed;
            bottom: 30px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 30px;
            pointer-events: auto;
            z-index: 1000;
        }
        
        .mil-current-page {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(255,255,255,0.7);
            font-weight: 500;
            position: relative;
            padding-left: 15px;
        }
        
        .mil-current-page::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background: #008B8B;
            border-radius: 50%;
        }
        
        .mil-back-to-top a {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255,255,255,0.7);
            transition: all 0.3s ease;
        }
        
        .mil-back-to-top a:hover {
            color: #ffffff;
            transform: translateY(-3px);
        }
        
        .mil-arrow-place {
            position: relative;
            padding-right: 25px;
        }
        
        .mil-arrow-place::after {
            content: '↑';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            transition: transform 0.3s ease;
            font-size: 14px;
        }
        
        .mil-arrow-place:hover::after {
            transform: translateY(-50%) translateX(-3px);
        }
        
        /* Menu content styling for black background */
        .mil-menu-content {
            padding: 60px 0 80px;
        }
        
        .mil-main-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .mil-main-menu ul li {
            margin-bottom: 20px;
            position: relative;
        }
        
        .mil-main-menu ul li a {
            font-size: 32px;
            font-weight: 600;
            color: #ffffff;
            text-decoration: none;
            transition: color 0.3s ease;
            display: inline-block;
            position: relative;
        }
        
        .mil-main-menu ul li a:hover {
            color: #008B8B;
        }
        
        .mil-main-menu ul li.mil-active a {
            color: #008B8B;
        }
        
        .mil-main-menu ul li.mil-active a::before {
            content: '';
            position: absolute;
            left: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background: #008B8B;
            border-radius: 50%;
        }
        
        /* Dropdown menu styling */
        .mil-main-menu ul li ul {
            list-style: none;
            padding: 15px 0 0 20px;
            margin: 10px 0 0 0;
        }
        
        .mil-main-menu ul li ul li {
            margin-bottom: 12px;
        }
        
        .mil-main-menu ul li ul li a {
            font-size: 18px;
            font-weight: 500;
            color: rgba(255,255,255,0.7);
        }
        
        .mil-main-menu ul li ul li a:hover {
            color: #008B8B;
        }
        
        .mil-main-menu ul li.mil-has-children > a::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            margin-left: 10px;
            font-size: 14px;
            color: rgba(255,255,255,0.5);
        }
        
        .mil-menu-right {
            padding-left: 30px;
            border-left: 1px solid rgba(255,255,255,0.1);
        }
        
        .mil-menu-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .mil-menu-list li {
            margin-bottom: 12px;
        }
        
        .mil-menu-list li a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }
        
        .mil-menu-list li a:hover {
            color: #008B8B;
        }
        
        .mil-muted {
            color: rgba(255,255,255,0.5);
        }
        
        .mil-light-soft {
            color: rgba(255,255,255,0.7);
        }
        
        .mil-divider {
            height: 1px;
            background: rgba(255,255,255,0.1);
            width: 100%;
            margin: 20px 0;
        }
        
        .mil-curtain {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .mil-curtain.mil-active {
            opacity: 1;
            visibility: visible;
        }
        
        /* Progress bar styling */
        .mil-progress-track {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: rgba(255,255,255,0.1);
            z-index: 1003;
        }
        
        .mil-progress {
            width: 0%;
            height: 100%;
            background: #008B8B;
            transition: width 0.1s ease;
        }
        
        /* Remove default list item bullets */
        .mil-main-menu ul li::before,
        .mil-menu-list li::before {
            content: none;
        }
        
        /* Responsive adjustments */
        @media (max-width: 991px) {
            .mil-frame-top {
                padding: 15px 20px;
                height: 70px;
            }
            
            .mil-frame-bottom {
                bottom: 20px;
                padding: 0 20px;
            }
            
            .mil-main-menu ul li a {
                font-size: 24px;
            }
            
            .mil-main-menu ul li ul li a {
                font-size: 16px;
            }
            
            .mil-menu-right {
                padding-left: 0;
                border-left: none;
                margin-top: 40px;
            }
            
            .mil-menu-content {
                padding: 40px 0;
            }
        }
        
        @media (max-width: 768px) {
            .mil-frame-top {
                padding: 12px 15px;
                height: 65px;
            }
            
            .mil-frame-top .mil-logo img {
                height: 35px;
            }
            
            .mil-current-page {
                font-size: 10px;
            }
            
            .mil-back-to-top a {
                font-size: 10px;
            }
            
            .mil-main-menu ul li a {
                font-size: 20px;
            }
            
            .mil-main-menu ul li {
                margin-bottom: 15px;
            }
            
            .mil-h3 {
                font-size: 24px;
            }
        }
        
        /* mil-up animation class */
        .mil-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .mil-up.mil-active {
            opacity: 1;
            transform: translateY(0);
        }
    