/* --- ALBION DOMINION MASTER STYLESHEET --- */

:root {
    --celestial-gold: #D4AF37;
    --stark-white: #F8F9FA;
    --deep-crimson: #8B0000;
    --void-black: #050a10;
    --hud-translucent: rgba(5, 10, 16, 0.9);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--void-black);
    color: var(--stark-white);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- BACKGROUND --- */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at bottom, #1a1f2e 0%, transparent 40%),
        url('https://www.transparenttextures.com/patterns/stardust.png'),
        linear-gradient(to bottom, #000000, #09101a);
}

/* --- NAVIGATION --- */
body>nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--hud-translucent);
    border-bottom: 1px solid var(--celestial-gold);
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
}

.nav-logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--celestial-gold);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    /* Ensure no underline on the text/image combo */
}

.nav-logo-img {
    height: 1.8rem;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
}

.nav-links a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--stark-white);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--celestial-gold);
    text-shadow: 0 0 5px var(--celestial-gold);
}

/* --- HERO SECTION (Home Page) --- */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    margin-top: 80px;
}

.hero-logo {
    height: 150px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--celestial-gold);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* --- PAGE CONTENT CONTAINERS (Sub-pages) --- */
.page-container {
    margin-top: 80px;
    /* Space for fixed nav */
    padding: 4rem 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
}

.lore-header {
    border-bottom: 2px solid var(--celestial-gold);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.lore-header h1 {
    font-size: 3rem;
    color: var(--celestial-gold);
}

/* --- BREADCRUMBS --- */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #ccc;
    font-family: 'Rajdhani', sans-serif;
}

.breadcrumb a {
    color: var(--celestial-gold);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--stark-white);
    text-shadow: 0 0 5px var(--celestial-gold);
}

.breadcrumb span {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.breadcrumb .active {
    color: var(--stark-white);
    font-weight: bold;
    opacity: 1;
}

/* --- TEXT BLOCKS --- */
.text-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--celestial-gold);
}

.text-block h2 {
    color: var(--stark-white);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--celestial-gold);
    font-weight: bold;
}

/* --- BUTTONS --- */
.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--celestial-gold);
    color: var(--celestial-gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    margin-left: 1rem;
}

.cta-btn:first-child {
    margin-left: 0;
}

.cta-btn:hover {
    background: var(--celestial-gold);
    color: var(--void-black);
    box-shadow: 0 0 20px var(--celestial-gold);
}

/* --- FOOTER --- */
footer {
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #333;
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
}

/* --- DROPDOWN MENU --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--hud-translucent);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    border: 1px solid var(--celestial-gold);
    top: 100%;
    /* Position right below the link */
    left: 0;
}

.dropdown-content a {
    color: var(--stark-white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--celestial-gold);
}

/* Show dropdown on hover (Desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* --- HAMBURGER MENU STYLES (Add this before the media query) --- */
.nav-toggle {
    display: none;
    /* Hidden checkbox */
}

.nav-toggle-label {
    display: none;
    /* Hidden on desktop */
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-label span {
    display: block;
    background: var(--celestial-gold);
    height: 2px;
    width: 25px;
    margin: 5px 0;
    transition: var(--transition);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .lore-header h1 {
        font-size: 2rem;
    }

    nav {
        flex-wrap: wrap;
        /* Allows menu to drop down */
        padding: 1rem;
    }

    /* Dropdown adjustments for mobile */
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        /* Stack vertically on mobile */
        display: none;
        /* Hidden by default */
        width: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        border: none;
        box-shadow: none;
    }

    /* On mobile, we might want it always open or click-to-open. 
       For simplicity here, let's just show them indented. */
    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* Show the hamburger icon */
    .nav-toggle-label {
        display: block;
    }

    /* Hide the links by default */
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: var(--void-black);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        margin-top: 1rem;
        padding: 1rem 0;
    }

    .nav-links a {
        padding: 1rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links .nav-join-btn {
        border: 1px solid var(--celestial-gold);
        margin-top: 1rem;
        width: 80%;
        /* Make it look like a button, not a list item */
        padding: 0.5rem;
    }

    /* The Magic: Show links when checkbox is checked */
    #nav-toggle:checked~.nav-links {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    /* Animate the hamburger icon into an X */
    #nav-toggle:checked~.nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #nav-toggle:checked~.nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }

    #nav-toggle:checked~.nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Button spacing fix for era pages */
    .cta-btn {
        display: block;
        width: 280px;
        margin: 0 auto 1rem auto;
        text-align: center;
    }

    .cta-btn:first-child {
        margin-left: auto;
    }

    .cta-btn:last-child {
        margin-bottom: 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- UTILITIES & COMMON STYLES --- */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--stark-white);
}

.text-gold {
    color: var(--celestial-gold);
}

.text-crimson {
    color: var(--deep-crimson);
}

.text-dark-red {
    color: #a00;
}

.text-light-red {
    color: #ff6666;
}


.text-red {
    color: #ff4444;
}



.bg-transparent {
    background: transparent;
}

.border-none {
    border: none;
}

.cursor-default {
    cursor: default;
}

.btn-small {
    font-size: 0.8rem !important;
    padding: 0.5rem 1.5rem !important;
}

.d-inline-block {
    display: inline-block !important;
}

.mt-1 {
    margin-top: 1rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}


.lh-1-8 {
    line-height: 1.8;
}


.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.ml-1 {
    margin-left: 1rem;
}

.ml-1-5 {
    margin-left: 1.5rem;
}

.ml-2 {
    margin-left: 2rem;
}

.list-square {
    list-style-type: square;
}

.border-dashed {
    border-style: dashed !important;
}

.gap-1-5 {
    gap: 1.5rem !important;
}

.list-inside {
    list-style-position: inside;
}

.list-mb-item li {
    margin-bottom: 0.5rem;
}

.italic {
    font-style: italic;
}

.opacity-80 {
    opacity: 0.8;
}

/* Border Colors */
.border-crimson {
    border-color: var(--deep-crimson);
}

.bg-gold-gradient {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
}

.bg-gold-tint {
    background: rgba(212, 175, 55, 0.1);
}

.bg-black-alpha-50 {
    background: rgba(0, 0, 0, 0.5) !important;
}


/* --- COMPONENT SPECIFIC --- */

/* Navigation */
.nav-join-btn {
    color: var(--celestial-gold);
    border: 1px solid var(--celestial-gold);
    padding: 0.2rem 0.5rem;
    width: auto;
    display: inline-block;
}

/* Footer */
.footer-text {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* 404 Page */
.page-404-body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}

.title-404 {
    font-size: 5rem;
    color: var(--deep-crimson);
}

/* Hero Section */
.hero-desc {
    max-width: 600px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-secondary {
    border-color: var(--stark-white);
    color: var(--stark-white);
}

.cta-btn-secondary:hover {
    background: var(--stark-white);
    color: var(--void-black);
    box-shadow: 0 0 20px rgba(248, 249, 250, 0.5);
}

/* Quotes */
.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Hierarchy / Components */
.hierarchy-header {
    margin-top: 4rem;
    border-bottom: 1px dashed var(--stark-white);
}

.separator-line {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.discord-directive {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #444;
}

.landmarks-container {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}


.fs-2rem {
    font-size: 2rem;
}

.fs-1-5 {
    font-size: 1.5rem;
}

.fs-2-5 {
    font-size: 2.5rem;
}

.text-blue {
    color: #4a90e2;
}

.text-light-blue {
    color: #8cc0ff;
}

.text-purple {
    color: #800080;
}

.text-light-purple {
    color: #ba55d3;
}

.text-green {
    color: #2ecc71;
}

.text-light-green {
    color: #58d68d;
}

.text-gold-light {
    color: #f0e68c;
}

.border-white {
    border-color: var(--stark-white) !important;
}

.border-gold {
    border-color: var(--celestial-gold) !important;
}

.border-blue {
    border-color: #4a90e2 !important;
}

.border-purple {
    border-color: #800080 !important;
}

.border-green {
    border-color: #2ecc71 !important;
}

.border-left-white {
    border-left: 4px solid var(--stark-white);
}

.border-left-gold {
    border-left: 4px solid var(--celestial-gold);
}

.border-left-blue {
    border-left: 4px solid #4a90e2;
}

.border-left-purple {
    border-left: 4px solid #800080;
}

.border-left-green {
    border-left: 4px solid #2ecc71;
}

.border-left-crimson {
    border-left: 4px solid var(--deep-crimson);
}

.border-left-red {
    border-left: 4px solid #ff4444;
}

.border-left-light-purple {
    border-left: 4px solid #a855f7;
}

/* --- ORDER PAGE SHARED COMPONENTS --- */
.fleet-header {
    border-bottom: 2px solid #4a90e2;
}

.sanctum-header {
    border-bottom: 2px solid var(--stark-white);
}

.tribunal-header {
    border-bottom: 2px solid #800080;
}

.concord-header {
    border-bottom: 2px solid var(--celestial-gold);
}

.architect-header {
    border-bottom: 2px solid #2ecc71;
}

.division-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.registry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.registry-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border: 1px solid #333;
}

/* Rank Cards */
.rank-card {
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
    border: 1px solid #333;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.rank-card:hover {
    transform: translateX(10px);
}

.rank-card h3 {
    margin-bottom: 0.5rem;
}

/* Themed Rank Cards */
.rank-card-templar {
    background: linear-gradient(45deg, #1a0505, #0a0a0a);
    border-color: var(--deep-crimson);
}

.rank-card-templar:hover {
    box-shadow: -5px 0 15px rgba(139, 0, 0, 0.3);
}

.rank-card-fleet {
    background: linear-gradient(45deg, #050a1a, #0a0a0a);
    border-color: #4a90e2;
}

.rank-card-fleet:hover {
    box-shadow: -5px 0 15px rgba(74, 144, 226, 0.3);
}

.rank-card-sanctum {
    background: linear-gradient(45deg, #1a1a1a, #0a0a0a);
    border-color: var(--stark-white);
}

.rank-card-sanctum:hover {
    box-shadow: -5px 0 15px rgba(248, 249, 250, 0.2);
}

.rank-card-tribunal {
    background: linear-gradient(45deg, #10051a, #0a0a0a);
    border-color: #800080;
}

.rank-card-tribunal:hover {
    box-shadow: -5px 0 15px rgba(128, 0, 128, 0.3);
}

.rank-card-concord {
    background: linear-gradient(45deg, #1a1505, #0a0a0a);
    border-color: var(--celestial-gold);
}

.rank-card-concord:hover {
    box-shadow: -5px 0 15px rgba(212, 175, 55, 0.3);
}

.rank-card-architect {
    background: linear-gradient(45deg, #051a0a, #0a0a0a);
    border-color: #2ecc71;
}

.rank-card-architect:hover {
    box-shadow: -5px 0 15px rgba(46, 204, 113, 0.3);
}

/* Loadout Styles */
.loadout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.loadout-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border: 1px solid #333;
}


/* --- SOVEREIGN PAGE COMPONENTS --- */
.royal-header {
    border-bottom: 2px solid var(--celestial-gold);
}

.bio-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
    border-left: 4px solid var(--celestial-gold);
    padding: 2rem;
}

.bio-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border: 2px solid var(--celestial-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    border-radius: 5px;
    margin: 0 auto;
    display: block;
}

@media (min-width: 900px) {
    .bio-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .bio-image {
        margin: 0;
        flex-shrink: 0;
        width: 40%;
    }

    .bio-text {
        flex: 1;
    }
}

.lineage-list {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    margin-left: 1rem;
}

.lineage-item {
    position: relative;
    margin-bottom: 2rem;
}

.lineage-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--void-black);
    border: 2px solid var(--celestial-gold);
    border-radius: 50%;
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.council-member {
    padding: 1rem;
    border: 1px solid transparent;
}

.council-templars {
    background: rgba(139, 0, 0, 0.2);
    border-color: var(--deep-crimson);
}

.council-fleet {
    background: rgba(74, 144, 226, 0.2);
    border-color: #4a90e2;
}

.council-sanctum {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--stark-white);
}

.council-tribunal {
    background: rgba(128, 0, 128, 0.2);
    border-color: #800080;
}

.council-concord {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--celestial-gold);
}

.council-architects {
    background: rgba(46, 204, 113, 0.2);
    border-color: #2ecc71;
}


.fs-1-2 {
    font-size: 1.2rem;
}

.mt-1-5 {
    margin-top: 1.5rem;
}

.mb-0-5 {
    margin-bottom: 0.5rem;
}

.outer-sanctum-box {
    background: rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid var(--celestial-gold);
}

.order-links-container {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn-small {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

/* --- RED BUTTON VARIANT (For Military/Templars) --- */
.btn-crimson {
    border-color: var(--deep-crimson);
    color: var(--deep-crimson);
}

.btn-crimson:hover {
    background: var(--deep-crimson);
    color: var(--stark-white);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.6);
}

/* --- BLUE BUTTON VARIANT (For Fleet/Science) --- */
.btn-blue {
    border-color: #4a90e2;
    color: #4a90e2;
}

.btn-blue:hover {
    background: #4a90e2;
    color: var(--stark-white);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6);
}

/* --- WHITE BUTTON VARIANT (For Sanctum) --- */
.btn-white {
    border-color: var(--stark-white);
    color: var(--stark-white);
}

.btn-white:hover {
    background: var(--stark-white);
    color: var(--void-black);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* --- PURPLE BUTTON VARIANT (For Tribunal) --- */
.btn-purple {
    border-color: #ba55d3;
    color: #ba55d3;
}

.btn-purple:hover {
    background: #ba55d3;
    color: var(--stark-white);
    box-shadow: 0 0 20px rgba(186, 85, 211, 0.6);
}

/* --- GOLD BUTTON VARIANT (For Concord/Default) --- */
.btn-gold {
    border-color: var(--celestial-gold);
    color: var(--celestial-gold);
}

.btn-gold:hover {
    background: var(--celestial-gold);
    color: var(--void-black);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* --- GREEN BUTTON VARIANT (For Architects) --- */
.btn-green {
    border-color: #2ecc71;
    color: #2ecc71;
}

.btn-green:hover {
    background: #2ecc71;
    color: var(--void-black);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
}

/* --- NESTED DROPDOWN (Sovereigns) --- */
.dropdown-submenu {
    position: relative;
    width: 100%;
}

/* Arrow indicator for the parent item */
.dropdown-submenu>a::after {
    content: '\f0da';
    /* FontAwesome caret-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    margin-right: 5px;
}

.submenu-content {
    display: none;
    position: absolute;
    background-color: var(--hud-translucent);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1002;
    border: 1px solid var(--celestial-gold);
    top: 0;
    right: 100%;
    left: auto;
    margin-top: -1px;
}

.submenu-content a {
    color: var(--stark-white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.submenu-content a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--celestial-gold);
}

/* Show submenu on hover */
.dropdown-submenu:hover>.submenu-content {
    display: block;
}

/* --- MOBILE NESTED DROPDOWN --- */
@media (max-width: 768px) {
    .dropdown-submenu {
        width: 100%;
        text-align: center;
    }

    .dropdown-submenu>a::after {
        content: '\f0d7';
        /* Change to caret-down on mobile */
        float: none;
        margin-left: 10px;
    }

    .submenu-content {
        position: static;
        display: none;
        width: 100%;
        background-color: rgba(212, 175, 55, 0.05);
        border: none;
        box-shadow: none;
        padding-left: 0;
    }

    .submenu-content a {
        padding-left: 1rem;
        text-align: center;
        border-bottom: none;
        font-size: 0.85rem;
    }

    /* Show on hover (tap behavior on mobile usually triggers this) */
    .dropdown-submenu:hover>.submenu-content {
        display: block;
    }
}