/* ==========================================
   Footer Settings
   ========================================== */

.nav-footer {
    /* Pin it to the bottom */
    position: absolute;
    bottom: 0;
    
    /* The Magic Centering Fix */
    left: 0;
    width: 100%;
    
    /* Styling */
    margin-bottom: 10px; 
    font-family: et-book, Palatino, "Palatino Linotype", Georgia, serif;
    font-style: italic;
    color: #666;
    text-align: center;
}

/* 1. Global Box-Sizing (Keep this) */
html {
    font-size: 14px;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* 2. Optimized Body for Tufte + Sticky Footer */
body {
    min-height: 100vh;
    position: relative; 
    overflow-x: hidden; 
    
    /* THE FIX: Set width to 100% to restore Tufte's original side margins */
    width: 100% !important; 
    max-width: 1400px;
    margin: 0 auto;
    
    /* Padding for the footer */
    padding-bottom: 7rem; 
}