/* PSMRE UNIVERSAL STYLE SHEET
   Updated: May 15, 2026 
*/

/* --- GLOBAL SETTINGS --- */
html {
    /* Stabilizes layout during scrollbar toggle */
    scrollbar-gutter: stable;
}

/* --- DESKTOP NAVIGATION --- */
.main-header {
    background-color: #FFCC00;
    border-bottom: 4px solid #73303f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 3%;
    width: 100%;
    /* Standard property - ignore IE7 warnings */
    box-sizing: border-box;
}

.logo img, .logo-group img { 
    height: 80px !important; 
    width: auto; 
    display: block; 
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: #73303f;
    text-decoration: none;
    margin-left: 18px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

/* --- UNIVERSAL MOBILE NAVIGATION --- */
@media (max-width: 992px) {
    .main-header { 
        justify-content: space-between !important; 
    }
    
    .logo img { 
        height: 85px !important; 
    }
    
    .nav-links { 
        display: flex !important;
        justify-content: flex-end !important;
        flex-grow: 1 !important;
        max-width: none !important;
    }
    
    .nav-links a { 
        font-size: 11px !important; 
        margin: 4px 10px 4px 0 !important; 
        /* Prevents the '3-line' break you saw on Gallery/History */
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .logo img { 
        height: 70px !important; 
    }
    .nav-links a { 
        font-size: 10px !important; 
    }
}