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

.site-header {
    background: #000;
    display: flex;
    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-left: 0;
    margin-top: 0.25rem;
}

.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;
}

.content-area {
    flex: 1;
    padding-right: 2rem;
    line-height: 1.6;
    margin-right: 15%;
}

.sidebar {
    position: fixed;
    right: 10px;
    top: 170px;
    bottom: 50px;
    width: 15%;
    background: rgba(255, 255, 255, 0.85);
    padding: 1rem;
    border-left: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    overflow-y: auto;
}

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

.featured-book {
    margin-bottom: 1.5rem;
}
.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; /* reduce vertical padding */
    font-size: 0.75rem; /* slightly smaller text */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid #522;
    height: 40px; /* enforce max height */
    line-height: 1.5; /* ensure text is vertically centered */
    overflow: hidden; /* hides anything that overflows */
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    padding: 0;
    margin: 0;
}

    .nav-links li {
        flex: 1;
        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;
}

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

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

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

    .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: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
        font-size: 1.3rem;
        text-align: center;
        color: #2b1d0e;
        margin: 2rem auto 1.5rem auto;
        padding: 0 1rem;
    }
    .sidebar-video {
        max-width: 100%;
        overflow: hidden;
        margin-top: 1rem;
        text-align: center;
    }

        .sidebar-video video {
            display: block;
            width: 100%;
            max-width: 200px; /* You can adjust this to whatever fits best */
            height: auto;
            margin: 0 auto;
            border-radius: 6px;
            box-sizing: border-box;
            border: 5px solid #000; /* Thick black border */
        }

}
