/* ========== Reset & Base ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 11pt;
    color: #212121;
    background: #f5f5f5;
    display: flex;
    min-height: 100vh;
}

/* ========== Sidebar Navigation ========== */
#sidebar {
    width: 250px;
    min-width: 250px;
    background-color: #212121;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    z-index: 100;
}

.site-title {
    background-color: #1e6c93;
    padding: 20px 15px;
    font-size: 14pt;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

#sidebar ul {
    list-style: none;
    padding: 8px 0;
}

#sidebar ul li a {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,0.87);
    text-decoration: none;
    font-size: 10.5pt;
    font-weight: 300;
    transition: background-color 0.2s, color 0.2s;
    line-height: 1.4;
}

#sidebar ul li a:hover {
    background-color: rgba(255,255,255,0.12);
    color: #fff;
}

/* Submenu */
#sidebar ul .submenu {
    padding: 0;
    background-color: rgba(0,0,0,0.2);
}

#sidebar ul .submenu li a {
    padding-left: 36px;
    font-size: 10pt;
    color: rgba(255,255,255,0.7);
}

#sidebar ul .submenu li a:hover {
    color: #fff;
}

/* ========== Main Content ========== */
#content {
    margin-left: 250px;
    flex: 1;
    padding: 32px 40px;
    max-width: 960px;
    background-color: #fff;
    min-height: 100vh;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    color: #1e6c93;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 300;
    line-height: 1.3;
}

h1 { font-size: 28pt; text-align: center; }
h2 { font-size: 19pt; }
h3 { font-size: 15pt; font-weight: 400; color: #212121; }

p {
    margin-top: 12px;
    line-height: 1.7;
    color: #212121;
}

a {
    color: #1e6c93;
    text-decoration: underline;
}

a:hover {
    color: #185676;
}

ul, ol {
    margin: 12px 0 12px 24px;
    line-height: 1.7;
}

/* ========== Images ========== */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    border-radius: 4px;
}

/* ========== Small text ========== */
small {
    font-size: 9pt;
    line-height: 1.4;
    color: #555;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    #sidebar {
        width: 100%;
        min-width: unset;
        position: relative;
        height: auto;
    }

    body {
        flex-direction: column;
    }

    #content {
        margin-left: 0;
        padding: 20px 16px;
    }
}
