/* style file for opt, covering, graph, matroids */
    :root { --uw-gold: #FFD54F; --link-blue: #0056b3; }
    html { scroll-behavior: smooth; }
    body { margin: 0; font-family: 'Segoe UI', sans-serif; background: #d1d1d1; display: flex; justify-content: center; }
    .container { width: 100%; max-width: 1000px; background: white; display: flex; flex-direction: column; min-height: 100vh; }
    header { height: 100px; display: flex; align-items: center; padding: 0 40px; background: #2c3e50; border-bottom: 5px solid var(--uw-gold); color: var(--uw-gold); }
    .main-wrapper { display: flex; flex: 1; }
    
    /* Updated: Aside width reduced to 100px */
    aside { width: 100px; background: #fdfdfd; border-right: 1px solid #eee; padding: 20px 10px; }
    .sticky-menu { position: sticky; top: 20px; }
    
   .nav-link { 
        display: block; 
        text-decoration: none; 
        color: #444; 
        padding: 10px 8px; /* Adjusted padding for the box */
        font-weight: 600; 
        font-size: 0.85rem; 
        transition: 0.2s; 
        border: 1px solid #ddd; /* The Box */
        margin-bottom: 5px;     /* Spacing between boxes */
    }

    /* UPDATED: Maintaining your active color but applying it to the box border */
    .nav-link.active { 
        color: var(--link-blue); 
        border: 1px solid var(--uw-gold); 
        background: #f9f9f9; 
    }
    
        /* UPDATED: Blue hover background at 10% opacity */
    .nav-link:hover { 
        color: var(--link-blue); 
        background-color: rgba(0, 86, 179, 0.1); /* Faded blue */
        border-color: var(--link-blue);         /* Blue border on hover */
    }    
    
    /* Consistent Content Area sizing */
    .content-area { flex: 1; padding: 20px 60px; font-size: 0.95rem; line-height: 1.8; }
    section { min-height: 40vh; margin-bottom: 60px; scroll-margin-top: 120px; }
    
    /* Consistent Section Header sizing */
    h2 { font-size: 1.2rem; border-bottom: 2px solid var(--uw-gold); margin-bottom: 20px; }
    
    /* THEOREM BOX STYLES */
    .theorem-box { background: #f9f9f9; padding: 15px; border-left: 4px solid var(--uw-gold); margin: 20px 0; }
    .theorem-box p { margin-top: 5px; margin-bottom: 5px; } 
    .theorem-box strong { display: block; margin-bottom: 2px; } 
    
    .img-container { margin: 20px 0; text-align: left; }
    .img-container img { max-width: 100%; height: auto; }
footer {
    padding: 40px 80px;
    text-align: center; /* This centers the copyright text */
    background: white;
    color: #888;
    font-size: 0.85rem;
    border-top: 1px solid #f9f9f9;
    clear: both; /* Crucial: This tells the footer to sit BELOW the columns */
    width: 100%;
    box-sizing: border-box;
}

footer p {
    margin: 0;
}
footer {
    width: 100%;           /* Fills the entire width of the container */
    text-align: center;    /* Centers the text inside the footer */
    padding: 40px 0;       /* Adds top/bottom space */
    border-top: 1px solid #eee;
    display: block;        /* Ensures it behaves like a full-width block */
    clear: both;           /* Keeps it below any side-by-side columns */
}
footer {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    float: none !important;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #eee;
}
