/* ==========================================================================
   440Music Master Stage Truss Header & Navigation Menu
   Canonical Master Stylesheet (Single Source of Truth across Sub-domains)
   ========================================================================== */

/* Main Header Container */
body.public-site .site-header,
.site-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    margin: 0;
    padding: 0 !important;
    background: linear-gradient(180deg, #2b2b2b 0%, #151515 46%, #0a0a0a 50%, #1c1c1c 100%);
    box-shadow:
        0 0 6px rgba(180, 180, 180, 0.4),
        0 4px 18px rgba(0, 0, 0, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
    overflow: visible;
    text-align: left;
    box-sizing: border-box;
}

/* ================= STAGE LIGHT TRUSS & FIXTURES ================= */
body.public-site .site-truss-wrapper,
.site-truss-wrapper {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.site-truss-lattice {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    background:
        /* Top main chord tube */
        linear-gradient(180deg, #9ca3af 0%, #4b5563 35%, #111827 70%, #6b7280 100%) top left / 100% 4px no-repeat,
        /* Bottom main chord tube */
        linear-gradient(180deg, #9ca3af 0%, #4b5563 35%, #111827 70%, #6b7280 100%) bottom left / 100% 4px no-repeat,
        /* Diagonal cross-braces lattice pattern */
        repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(156, 163, 175, 0.45) 20px, rgba(156, 163, 175, 0.45) 23px, transparent 23px, transparent 43px),
        repeating-linear-gradient(-45deg, transparent 0, transparent 20px, rgba(156, 163, 175, 0.45) 20px, rgba(156, 163, 175, 0.45) 23px, transparent 23px, transparent 43px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}

.site-truss-fixtures {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    pointer-events: none;
}

.truss-fixture {
    position: absolute;
    top: 34px;
    left: var(--fixture-x);
    width: 20px;
    height: 28px;
    transform: translateX(-50%) rotate(var(--fixture-angle, 0deg));
    transform-origin: top center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.fixture-clamp {
    width: 8px;
    height: 4px;
    background: linear-gradient(90deg, #9ca3af, #374151, #6b7280);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.fixture-yoke {
    width: 14px;
    height: 6px;
    border-left: 2px solid #6b7280;
    border-right: 2px solid #6b7280;
    border-top: 2px solid #4b5563;
    margin-top: -1px;
}

.fixture-body {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #4b5563 0%, #111827 55%, #1f2937 100%);
    border: 1px solid #4b5563;
    border-radius: 3px 3px 5px 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.95);
    position: relative;
    padding-bottom: 2px;
    box-sizing: border-box;
}

.fixture-lens {
    width: 12px;
    height: 5px;
    border-radius: 50% 50% 40% 40%;
    background: #374151;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

/* Lens Glowing Colors & Animations (Exact sync with 64s master stage lighting timeline) */
.fixture-lens.red {
    background: radial-gradient(ellipse at center, #fff 0%, #ff3333 45%, #b91c1c 90%);
    animation: fixtureRedGlow 64s ease-in-out infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.fixture-lens.green {
    background: radial-gradient(ellipse at center, #fff 0%, #22c55e 45%, #15803d 90%);
    animation: fixtureGreenGlow 64s ease-in-out infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.fixture-lens.blue {
    background: radial-gradient(ellipse at center, #fff 0%, #38bdf8 45%, #0284c7 90%);
    animation: fixtureBlueGlow 64s ease-in-out infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.fixture-lens.yellow {
    background: radial-gradient(ellipse at center, #fff 0%, #facc15 45%, #ca8a04 90%);
    animation: fixtureYellowGlow 64s ease-in-out infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.fixture-lens.center {
    background: radial-gradient(ellipse at center, #fff 0%, #f8fafc 40%, #cbd5e1 90%);
    animation: fixtureCenterGlow 64s ease-in-out infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

/* ================= STAGE LIGHT BEAMS BACKGROUND ================= */
.stage-light-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.stage-light-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.22), transparent 64%);
    opacity: 0.85;
    animation: stageMoodWash 64s ease-in-out infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.stage-light {
    position: absolute;
    top: 36px;
    left: var(--light-x);
    width: 260px;
    height: 120vh;
    border-radius: 50%;
    filter: blur(70px);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0;
    transform-origin: top center;
    transform: translateX(-50%) rotate(var(--light-angle, 0deg));
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.stage-light.red {
    background: radial-gradient(ellipse at top, rgba(255, 0, 0, 0.95) 0%, rgba(255, 0, 0, 0.5) 25%, transparent 80%);
    animation-name: stageRedFade;
    animation-duration: 64s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.stage-light.green {
    background: radial-gradient(ellipse at top, rgba(0, 255, 100, 0.95) 0%, rgba(0, 255, 100, 0.5) 25%, transparent 80%);
    animation-name: stageGreenFade;
    animation-duration: 64s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.stage-light.blue {
    background: radial-gradient(ellipse at top, rgba(0, 120, 255, 0.95) 0%, rgba(0, 120, 255, 0.5) 25%, transparent 80%);
    animation-name: stageBlueFade;
    animation-duration: 64s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.stage-light.yellow {
    background: radial-gradient(ellipse at top, rgba(255, 220, 0, 0.95) 0%, rgba(255, 190, 0, 0.5) 25%, transparent 80%);
    animation-name: stageYellowFade;
    animation-duration: 64s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: var(--stage-anim-offset-64, 0s);
}

.stage-light.center {
    background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.46) 24%, transparent 78%);
    animation:
        stageColorFade 64s ease-in-out infinite,
        stageCenterSourceColor 64s ease-in-out infinite;
    animation-delay: var(--stage-anim-offset-64, 0s), var(--stage-anim-offset-64, 0s);
}

/* 21 Stage Light Coordinates & Angles */
.stage-light.r1 { --light-x: 5%; --light-angle: 22deg; }
.stage-light.b1 { --light-x: 9.5%; --light-angle: 20deg; }
.stage-light.g1 { --light-x: 14%; --light-angle: 18deg; }
.stage-light.y1 { --light-x: 18.5%; --light-angle: 16deg; }
.stage-light.r2 { --light-x: 23%; --light-angle: 14deg; }
.stage-light.b2 { --light-x: 27.5%; --light-angle: 12deg; }
.stage-light.g2 { --light-x: 32%; --light-angle: 10deg; }
.stage-light.y2 { --light-x: 36.5%; --light-angle: 8deg; }
.stage-light.r3 { --light-x: 41%; --light-angle: 6deg; }
.stage-light.b3 { --light-x: 45.5%; --light-angle: 3deg; }
.stage-light.c1 { --light-x: 50%; --light-angle: 0deg; }
.stage-light.g3 { --light-x: 54.5%; --light-angle: -3deg; }
.stage-light.y3 { --light-x: 59%; --light-angle: -6deg; }
.stage-light.r4 { --light-x: 63.5%; --light-angle: -8deg; }
.stage-light.b4 { --light-x: 68%; --light-angle: -10deg; }
.stage-light.g4 { --light-x: 72.5%; --light-angle: -12deg; }
.stage-light.y4 { --light-x: 77%; --light-angle: -14deg; }
.stage-light.r5 { --light-x: 81.5%; --light-angle: -16deg; }
.stage-light.b5 { --light-x: 86%; --light-angle: -18deg; }
.stage-light.g5 { --light-x: 90.5%; --light-angle: -20deg; }
.stage-light.y5 { --light-x: 95%; --light-angle: -22deg; }

/* ================= 64-SECOND MASTER LIGHTING KEYFRAMES ================= */
@keyframes stageMoodWash {
    0%, 4.5% {
        background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.22), transparent 64%);
    }
    9.375%, 15.625% {
        background: radial-gradient(ellipse at center, rgba(0, 255, 100, 0.20), transparent 64%);
    }
    21.875%, 28.125% {
        background: radial-gradient(ellipse at center, rgba(0, 120, 255, 0.22), transparent 64%);
    }
    34.375%, 40.625% {
        background: radial-gradient(ellipse at center, rgba(255, 190, 0, 0.20), transparent 64%);
    }
    46.875%, 53.125% {
        background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.22), transparent 64%);
    }
    59.375%, 65.625% {
        background: radial-gradient(ellipse at center, rgba(0, 255, 100, 0.20), transparent 64%);
    }
    71.875%, 78.125% {
        background: radial-gradient(ellipse at center, rgba(0, 120, 255, 0.22), transparent 64%);
    }
    84.375%, 90.625% {
        background: radial-gradient(ellipse at center, rgba(255, 190, 0, 0.20), transparent 64%);
    }
    96.875%, 100% {
        background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.22), transparent 64%);
    }
}

@keyframes stageRedFade {
    0%, 4.5% {
        opacity: 1;
        filter: blur(65px) brightness(1.2);
    }
    12.5% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    37.5% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    43.75% {
        opacity: 0.65;
    }
    46.875%, 53.125% {
        opacity: 1;
        filter: blur(65px) brightness(1.2);
    }
    62.5% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    87.5% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    93.75% {
        opacity: 0.65;
    }
    96.875%, 100% {
        opacity: 1;
        filter: blur(65px) brightness(1.2);
    }
}

@keyframes fixtureRedGlow {
    0%, 4.5% {
        opacity: 1;
        box-shadow: 0 0 12px #ff2222, 0 0 24px #ef4444, 0 4px 14px rgba(239, 68, 68, 0.9);
        filter: brightness(1.4);
    }
    12.5% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(255, 0, 0, 0.3);
        filter: brightness(0.6);
    }
    37.5% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(255, 0, 0, 0.3);
        filter: brightness(0.6);
    }
    43.75% {
        opacity: 0.7;
        box-shadow: 0 0 8px #ff2222, 0 0 16px #ef4444;
        filter: brightness(1.15);
    }
    46.875%, 53.125% {
        opacity: 1;
        box-shadow: 0 0 12px #ff2222, 0 0 24px #ef4444, 0 4px 14px rgba(239, 68, 68, 0.9);
        filter: brightness(1.4);
    }
    62.5% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(255, 0, 0, 0.3);
        filter: brightness(0.6);
    }
    87.5% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(255, 0, 0, 0.3);
        filter: brightness(0.6);
    }
    93.75% {
        opacity: 0.7;
        box-shadow: 0 0 8px #ff2222, 0 0 16px #ef4444;
        filter: brightness(1.15);
    }
    96.875%, 100% {
        opacity: 1;
        box-shadow: 0 0 12px #ff2222, 0 0 24px #ef4444, 0 4px 14px rgba(239, 68, 68, 0.9);
        filter: brightness(1.4);
    }
}

@keyframes stageGreenFade {
    0%, 1.5% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    6.25% {
        opacity: 0.65;
    }
    9.375%, 15.625% {
        opacity: 1;
        filter: blur(65px) brightness(1.2);
    }
    25% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    50% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    56.25% {
        opacity: 0.65;
    }
    59.375%, 65.625% {
        opacity: 1;
        filter: blur(65px) brightness(1.2);
    }
    75% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    100% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
}

@keyframes fixtureGreenGlow {
    0%, 1.5% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 255, 100, 0.3);
        filter: brightness(0.6);
    }
    6.25% {
        opacity: 0.7;
        box-shadow: 0 0 8px #22c55e, 0 0 16px #4ade80;
        filter: brightness(1.15);
    }
    9.375%, 15.625% {
        opacity: 1;
        box-shadow: 0 0 12px #22c55e, 0 0 24px #4ade80, 0 4px 14px rgba(74, 222, 128, 0.9);
        filter: brightness(1.4);
    }
    25% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 255, 100, 0.3);
        filter: brightness(0.6);
    }
    50% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 255, 100, 0.3);
        filter: brightness(0.6);
    }
    56.25% {
        opacity: 0.7;
        box-shadow: 0 0 8px #22c55e, 0 0 16px #4ade80;
        filter: brightness(1.15);
    }
    59.375%, 65.625% {
        opacity: 1;
        box-shadow: 0 0 12px #22c55e, 0 0 24px #4ade80, 0 4px 14px rgba(74, 222, 128, 0.9);
        filter: brightness(1.4);
    }
    75% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 255, 100, 0.3);
        filter: brightness(0.6);
    }
    100% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 255, 100, 0.3);
        filter: brightness(0.6);
    }
}

@keyframes stageBlueFade {
    0%, 12.5% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    18.75% {
        opacity: 0.65;
    }
    21.875%, 28.125% {
        opacity: 1;
        filter: blur(65px) brightness(1.2);
    }
    37.5% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    62.5% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    68.75% {
        opacity: 0.65;
    }
    71.875%, 78.125% {
        opacity: 1;
        filter: blur(65px) brightness(1.2);
    }
    87.5% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    100% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
}

@keyframes fixtureBlueGlow {
    0%, 12.5% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 150, 255, 0.3);
        filter: brightness(0.6);
    }
    18.75% {
        opacity: 0.7;
        box-shadow: 0 0 8px #0ea5e9, 0 0 16px #38bdf8;
        filter: brightness(1.15);
    }
    21.875%, 28.125% {
        opacity: 1;
        box-shadow: 0 0 12px #0ea5e9, 0 0 24px #38bdf8, 0 4px 14px rgba(56, 189, 248, 0.9);
        filter: brightness(1.4);
    }
    37.5% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 150, 255, 0.3);
        filter: brightness(0.6);
    }
    62.5% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 150, 255, 0.3);
        filter: brightness(0.6);
    }
    68.75% {
        opacity: 0.7;
        box-shadow: 0 0 8px #0ea5e9, 0 0 16px #38bdf8;
        filter: brightness(1.15);
    }
    71.875%, 78.125% {
        opacity: 1;
        box-shadow: 0 0 12px #0ea5e9, 0 0 24px #38bdf8, 0 4px 14px rgba(56, 189, 248, 0.9);
        filter: brightness(1.4);
    }
    87.5% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 150, 255, 0.3);
        filter: brightness(0.6);
    }
    100% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(0, 150, 255, 0.3);
        filter: brightness(0.6);
    }
}

@keyframes stageYellowFade {
    0%, 25% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    31.25% {
        opacity: 0.65;
    }
    34.375%, 40.625% {
        opacity: 1;
        filter: blur(65px) brightness(1.2);
    }
    50% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    75% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    81.25% {
        opacity: 0.65;
    }
    84.375%, 90.625% {
        opacity: 1;
        filter: blur(65px) brightness(1.2);
    }
    98% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
    100% {
        opacity: 0;
        filter: blur(95px) brightness(0.5);
    }
}

@keyframes fixtureYellowGlow {
    0%, 25% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(255, 220, 0, 0.3);
        filter: brightness(0.6);
    }
    31.25% {
        opacity: 0.7;
        box-shadow: 0 0 8px #eab308, 0 0 16px #fde047;
        filter: brightness(1.15);
    }
    34.375%, 40.625% {
        opacity: 1;
        box-shadow: 0 0 12px #eab308, 0 0 24px #fde047, 0 4px 14px rgba(250, 204, 21, 0.9);
        filter: brightness(1.4);
    }
    50% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(255, 220, 0, 0.3);
        filter: brightness(0.6);
    }
    75% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(255, 220, 0, 0.3);
        filter: brightness(0.6);
    }
    81.25% {
        opacity: 0.7;
        box-shadow: 0 0 8px #eab308, 0 0 16px #fde047;
        filter: brightness(1.15);
    }
    84.375%, 90.625% {
        opacity: 1;
        box-shadow: 0 0 12px #eab308, 0 0 24px #fde047, 0 4px 14px rgba(250, 204, 21, 0.9);
        filter: brightness(1.4);
    }
    98% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(255, 220, 0, 0.3);
        filter: brightness(0.6);
    }
    100% {
        opacity: 0.2;
        box-shadow: 0 0 2px rgba(255, 220, 0, 0.3);
        filter: brightness(0.6);
    }
}

@keyframes stageCenterSourceColor {
    0%, 4.5% {
        background: radial-gradient(ellipse at top, rgba(255, 0, 0, 0.95) 0%, rgba(255, 0, 0, 0.45) 24%, transparent 78%);
    }
    9.375%, 15.625% {
        background: radial-gradient(ellipse at top, rgba(0, 255, 100, 0.95) 0%, rgba(0, 255, 100, 0.42) 24%, transparent 78%);
    }
    21.875%, 28.125% {
        background: radial-gradient(ellipse at top, rgba(0, 120, 255, 0.95) 0%, rgba(0, 120, 255, 0.45) 24%, transparent 78%);
    }
    34.375%, 40.625% {
        background: radial-gradient(ellipse at top, rgba(255, 220, 0, 0.95) 0%, rgba(255, 190, 0, 0.42) 24%, transparent 78%);
    }
    46.875%, 53.125% {
        background: radial-gradient(ellipse at top, rgba(255, 0, 0, 0.95) 0%, rgba(255, 0, 0, 0.45) 24%, transparent 78%);
    }
    59.375%, 65.625% {
        background: radial-gradient(ellipse at top, rgba(0, 255, 100, 0.95) 0%, rgba(0, 255, 100, 0.42) 24%, transparent 78%);
    }
    71.875%, 78.125% {
        background: radial-gradient(ellipse at top, rgba(0, 120, 255, 0.95) 0%, rgba(0, 120, 255, 0.45) 24%, transparent 78%);
    }
    84.375%, 90.625% {
        background: radial-gradient(ellipse at top, rgba(255, 220, 0, 0.95) 0%, rgba(255, 190, 0, 0.42) 24%, transparent 78%);
    }
    96.875%, 100% {
        background: radial-gradient(ellipse at top, rgba(255, 0, 0, 0.95) 0%, rgba(255, 0, 0, 0.45) 24%, transparent 78%);
    }
}

@keyframes stageColorFade {
    0%, 100% {
        opacity: 0.35;
        filter: blur(92px) brightness(0.7);
    }
    9.375%, 15.625%, 21.875%, 28.125%, 34.375%, 40.625%, 46.875%, 53.125%, 59.375%, 65.625%, 71.875%, 78.125%, 84.375%, 90.625% {
        opacity: 1;
        filter: blur(70px) brightness(1.15);
    }
    48% {
        opacity: 0.35;
        filter: blur(96px) brightness(0.65);
    }
}

@keyframes fixtureCenterGlow {
    0%, 10%, 34%, 50%, 75%, 100% {
        opacity: 1;
        box-shadow: 0 0 14px #fff, 0 0 28px rgba(255, 255, 255, 0.95), 0 4px 16px rgba(255, 255, 255, 0.85);
        filter: brightness(1.5);
    }
    48% {
        opacity: 0.35;
        box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
        filter: brightness(0.75);
    }
}

/* ================= HEADER INNER & HORIZONTAL MENU ================= */
body.public-site .site-header-inner,
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1200px, calc(100% - 24px));
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 10;
}

body.public-site nav.menu,
nav.menu {
    width: auto;
    background: transparent;
    position: relative;
    top: 0;
    height: 36px;
    display: flex;
    align-items: center;
}

body.public-site nav.menu ul.menu-horizontal,
nav.menu ul.menu-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    gap: 0;
    padding: 0;
    margin: 0;
    color: #ffff00;
    list-style: none;
}

body.public-site nav.menu ul.menu-horizontal li,
nav.menu ul.menu-horizontal li {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
    margin: 0 4px;
}

body.public-site nav.menu ul.menu-horizontal li a,
body.public-site .dropbtn,
nav.menu ul.menu-horizontal li a,
.dropbtn,
body.public-site nav.menu ul.menu-horizontal li a b,
nav.menu ul.menu-horizontal li a b,
body.public-site .dropbtn b,
.dropbtn b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    line-height: 28px;
    padding: 0 7px;
    border: 0;
    background: transparent;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow:
        0 0 2px #000000,
        0 0 4px #000000,
        0 0 6px #000000,
        0 0 10px #000000,
        0 1px 2px #000000,
        0 -1px 2px #000000,
        1px 0 2px #000000,
        -1px 0 2px #000000;
    filter: drop-shadow(0 0 3px #000000) drop-shadow(0 0 5px #000000);
    transition: color 0.2s ease, text-shadow 0.2s ease, filter 0.2s ease;
}

body.public-site nav.menu ul.menu-horizontal li a:hover,
body.public-site .dropbtn:hover,
nav.menu ul.menu-horizontal li a:hover,
.dropbtn:hover,
body.public-site nav.menu ul.menu-horizontal li a:focus,
body.public-site .dropbtn:focus,
nav.menu ul.menu-horizontal li a:focus,
.dropbtn:focus {
    background: transparent;
    color: #ffff00;
    text-decoration: none;
    text-shadow:
        0 0 8px rgba(255, 255, 0, 0.95),
        0 0 14px rgba(250, 204, 21, 0.75),
        0 0 2px #000000,
        0 0 4px #000000,
        0 0 8px #000000;
    filter: drop-shadow(0 0 3px #000000) drop-shadow(0 0 5px #000000);
}

.dropdown {
    position: relative;
}

body.public-site .dropdown-content,
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    border: 1px solid #ffff00;
    background: rgba(0, 0, 0, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.95);
    z-index: 3000;
    border-radius: 0 0 4px 4px;
    padding: 4px 0;
}

body.public-site .dropdown-content a,
body.public-site .dropdown-content button,
.dropdown-content a,
.dropdown-content button {
    display: block;
    width: 100%;
    padding: 7px 12px;
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13px;
    font-weight: normal;
    text-align: left;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: color 0.15s ease, background-color 0.15s ease;
}

body.public-site .dropdown-content a:hover,
body.public-site .dropdown-content button:hover,
.dropdown-content a:hover,
.dropdown-content button:hover {
    color: #ffff00;
    background: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
    display: block;
}

@media (min-width: 721px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

.menu-toggle-btn {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ffff00;
    color: #ffff00;
    background: rgba(0, 0, 0, 0.85);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 720px) {
    .menu-toggle-btn {
        display: block;
    }

    nav.menu ul.menu-horizontal {
        display: none;
        position: absolute;
        top: 36px;
        right: 12px;
        flex-direction: column;
        align-items: stretch;
        width: 220px;
        height: auto;
        background: rgba(0, 0, 0, 0.98);
        border: 1px solid #ffff00;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
        z-index: 3000;
        padding: 6px 0;
        border-radius: 0 0 6px 6px;
    }

    nav.menu ul.menu-horizontal.open {
        display: flex;
    }

    nav.menu ul.menu-horizontal li {
        width: 100%;
        height: auto;
        margin: 0;
    }

    nav.menu ul.menu-horizontal li a,
    nav.menu ul.menu-horizontal li .dropbtn {
        width: 100%;
        height: 36px;
        line-height: 36px;
        padding: 0 14px;
        text-align: left;
        box-sizing: border-box;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        background: rgba(15, 23, 42, 0.95);
        box-shadow: none;
    }
}
