body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: url('../images/parchment.png') repeat fixed;
    color: #2b1d0e;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.site-header {
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid #522;
    z-index: 1000;
}

.branding {
    margin: 0 0 0 0.5rem;
    font-family: 'Brush Script MT', cursive;
    font-size: 2.5rem;
    color: #8b0000;
    text-align: center;
}

.main-nav {
    margin-top: 0.25rem;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    box-sizing: border-box;
}

.brand-nav {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
}

.header-logo {
    height: 100%;
    max-height: 60px;
}

.header-banner {
    max-height: 90px;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}

.container {
    display: flex;
    align-items: flex-start;
    padding-top: 150px;
    padding-bottom: 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    min-height: calc(100vh - 210px);
    box-sizing: border-box;
    gap: 2rem; /* spacing between columns */
}

.content-area {
    flex: 1;
    line-height: 1.6;
    padding-right: 0;
    margin-right: 0;
}

.sidebar {
    width: 240px;
    position: sticky;
    top: 150px;
    background: rgba(255, 255, 255, 0.85);
    padding: 1rem;
    border-left: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.sidebar h3 {
    font-family: 'Georgia', serif;
    margin-top: 0;
    text-align: center;
}

.content-block {
    margin: 2em 0;
    padding: 1em;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
}

.content-block img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: #2b1d0e;
    transition: color 0.3s ease;
}

a:hover {
    color: #8b0000;
}

.site-footer {
    background: #f4e3c1;
    text-align: center;
    padding: 0.05rem 0.5rem;
    font-size: 0.75rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid #522;
    height: 40px;
    line-height: 1.5;
    overflow: hidden;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

.nav-links li {
    text-align: center;
}

.nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #ffffe0;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    background: #555;
    text-decoration: underline;
}

.nav-toggle {
    display: none;
    color: #fff;
}

.nav-toggle:hover {
    color: #ffcc00;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 0 1rem;
    }

    .content-area {
        margin-right: 0;
    }

    .sidebar {
        position: static;
        width: 100%;
        margin: 1rem 0;
        top: auto;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .site-intro {
        font-family: 'Brush Script MT', cursive, 'Georgia', serif;
        font-size: 1.1rem;
        text-align: center;
        color: #2b1d0e;
        font-style: italic;
        margin: 1.5rem auto 1rem auto;
        padding: 0 1rem;
    }
}
