/* === ACP_GLOBAL [DEFAULT] === */

:root {
    --gold: #c5a059;
    --gold-dark: #8e6d2d;
    --gold-main: #C5A059;
    --gold-bright: #E8D48B;
    --bg-dark: #141414;
    --bg-panel: #1a1a1a;
    --bg-sidebar: #0f0f0f;
    --bg-content: #0d0d0d;
    --text-main: #e8e8e8;
    --text-muted: #aaa;
    --border-color: #2a2a2a;
    --border-line: #222;
    --admin-red: #ff4444;
}
* { box-sizing: border-box; }
body {
    background-color: #111111;
    color: var(--text-main);
    font-family: "Segoe UI", Roboto, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
:root {
    --glass-bg: rgba(8, 7, 6, 0.55);
    --glass-border: rgba(197, 160, 89, 0.18);
    --realm-alb: #c0392b;
    --realm-hib: #27ae60;
    --realm-mid: #2980b9;
    --realm-gradient: linear-gradient(90deg, var(--realm-alb) 0%, var(--gold) 25%, var(--realm-hib) 50%, var(--gold) 75%, var(--realm-mid) 100%);
    --shadow-deep: 0 20px 60px rgba(0,0,0,0.55);
}


.cms-debug-missing { color:red; font-weight:bold; }
.cms-debug-known { border-bottom:1px dotted #999; }

/* === CUSTOM_CSS_MOBILE [DEFAULT] === */

@media (max-width: 768px) {
    aside.sidebar { display: none !important; }
    .mobile-nav-bar {
        display: flex;
        align-items: stretch;
        background: transparent;
        border-top: 1px solid rgba(197, 160, 89, 0.15);
        border-bottom: 1px solid rgba(197, 160, 89, 0.15);
        min-height: 46px;
        width: 100%;
        margin-top: 5px;
        margin-bottom: 15px;
        box-sizing: border-box;
    }
    .mobile-nav-track {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex: 0 0 80%;
        box-sizing: border-box;
    }
    .mobile-nav-track::-webkit-scrollbar { display: none; }
    .mobile-nav-item {
        flex: 0 0 auto;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: rgba(255,255,255,0.4);
        text-decoration: none;
        white-space: nowrap;
        font-family: 'Cinzel', serif;
        font-size: 11px;
        padding: 8px 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        border-right: 1px solid rgba(255,255,255,0.05);
        transition: all 0.2s;
    }
    .mobile-nav-item i {
        font-size: 14px;
        color: rgba(255,255,255,0.2);
        transition: color 0.2s;
    }
    .mobile-nav-item span {
        display: inline-block;
    }
    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: #c5a059;
        background: rgba(197, 160, 89, 0.05);
    }
    .mobile-nav-item.active i,
    .mobile-nav-item:hover i { color: #c5a059; }
    .mobile-nav-arrow {
        background: transparent;
        border: none;
        color: #c5a059;
        flex: 0 0 10%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2;
    }
    .mobile-nav-arrow--left {
        border-right: 1px solid rgba(197, 160, 89, 0.15);
        box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    }
    .mobile-nav-arrow--right {
        border-left: 1px solid rgba(197, 160, 89, 0.15);
        box-shadow: -2px 0 5px rgba(0,0,0,0.3);
    }
    .valor-spk-cat-title,
    .cms-page-title,
    h1:not(.header-logo-container) { display: none !important; }

    
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        margin: 0;
        padding: 0;
        -webkit-text-size-adjust: 100%;
    }
    .page-wrapper {
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    .main-container {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    
    .dynamic-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    
    .dynamic-content * {
        
        grid-template-columns: 1fr !important;
        
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    
    .dynamic-content [style*="display: flex"],
    .dynamic-content [style*="display:flex"] {
        flex-wrap: wrap !important;
    }

    .dynamic-content img,
    .dynamic-content iframe,
    .dynamic-content video {
        max-width: 100% !important;
        height: auto !important;
    }
    .dynamic-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    
    footer, .main-footer {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .main-footer .footer-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        text-align: center !important;
        display: block !important;
    }
    .legal-disclaimer {
        padding: 0 5px !important;
        text-align: center !important;
    }
}





@media (max-width: 768px) {
    
    h1.cms-hero-compact-title { display: block !important; }
}


