@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --blue-dark: #1e2a44;
    --red-base: #9e2a2b;
    --white: #ffffff;
    --bg-gray: #f4f6f9; /* Grigio leggermente più chiaro per pulizia */
    --text-main: #333333;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    background-color: var(--bg-gray);
    color: var(--text-main);
}

.header-banner { width: 100%; display: block; }

/* LAYOUT PRINCIPALE */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* SIDEBAR: STILE COORDINATO */
.dashboard-nav, .sidebar-initiatives {
    background: var(--white);
    padding: 25px;
    border-radius: 8px; /* Angoli leggermente arrotondati per modernità */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Ombra più soffusa */
    height: fit-content;
}

/* SIDEBAR: BORDI LATERALI (Accent) */
.dashboard-nav { border-right: 5px solid var(--red-base); }
.sidebar-initiatives { border-left: 5px solid var(--red-base); }

/* TIPOGRAFIA TITOLI */
h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue-dark);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* MENU LINKS */
.dashboard-nav a { 
    display: block; 
    padding: 12px 0; 
    text-decoration: none; 
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f9f9f9;
}

.dashboard-nav a:hover { 
    color: var(--red-base);
    padding-left: 10px;
}

/* HAMBURGER BUTTON REFINEMENT */
.menu-toggle {
    display: none;
    background: var(--blue-dark);
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .dashboard-layout { grid-template-columns: 1fr; }
    .menu-toggle { display: block; }
    .dashboard-nav-content { display: none; }
    .dashboard-nav.active .dashboard-nav-content { display: block; }
    
    /* Quando mobile, correggi i bordi */
    .dashboard-nav { border-right: none; border-left: 5px solid var(--red-base); }
}