/* 1. THE WORKING FLUIDITY RULES (Keeps text from cutting off) */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
    -webkit-text-size-adjust: 100%;
}

/* Base rules for mobile and general stability */
#wrapper, #container, #content, .container, .row, main, section, article {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box !important;
}

#content {
    padding-left: 20px !important;
    padding-right: 20px !important;
    color: #ffffff !important; 
}

body, h1, h2, h3, h4, p, a {
    font-family: sans-serif !important;
}

img {
    max-width: 100% !important;
    height: auto !important;
}

/* 2. DESKTOP ONLY: MOVE SIDEBAR TO LEFT (Min-width 769px) */
@media only screen and (min-width: 769px) {
    #wrapper, #container, .site-wrapper {
        display: flex !important; /* Side-by-side only on big screens */
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    
    #sidecontent, aside, #sidebar {
        width: 280px !important; /* Fixed width on desktop */
        flex-shrink: 0 !important;
        order: 1 !important;
    }
    
    #content, main {
        flex: 1 !important; /* Content fills remaining space */
        width: auto !important;
        order: 2 !important;
        padding-top: 40px !important;
    }
}

/* 3. THE SOCIAL ROW (TIDAL/PHOTOS) */
.social-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px 0 !important;
    width: 100% !important;
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    clear: both !important; /* Keeps it under the header */
}

a.symbol.text-nav-link {
    display: inline-block !important;
    letter-spacing: 0px !important;
    word-spacing: 0px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    color: #ffffff !important;
    font-size: 13px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10000 !important;
}

span.divider-line {
    display: inline-block !important;
    width: 1px !important;
    height: 40px !important;
    background-color: #ffffff !important;
    opacity: 0.3 !important;
    margin: 0 40px !important;
    vertical-align: middle !important;
    pointer-events: none !important;
}

/* 4. SIDEBAR LOOK */
#sidecontent, aside, #sidebar {
    background-color: #222222 !important;
    padding: 20px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* 5. HIDE THEME STUFF */
#menuBtn, #menuBtn:before, #showMenu, .separator, .divider, hr { display: none !important; }
a.symbol.text-nav-link:before { content: "" !important; display: none !important; }