body {
    background-color: #fff;
    font-family: 'Roboto', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Header */
.header {
    text-align: center;
    padding: 2rem;
    background-image: url('../images/header-background.png')
}

.logo {
    display: inline-block;
    margin-bottom: 0;
}

.logo img {
    max-width: 200px;
    height: auto;
}

/* Sticky Navigation */
.main-nav {
    background: #000;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Calistoga', serif;
    font-size: 2rem;
}

.main-nav .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
}

.main-nav a:hover {
    color: #ccc;
}

.nav-menu {
    text-align: center;
}

.nav-link {
    margin: 2rem;
}

/* Main Content Container */

.page-title-banner {
    background: #e6e6e6;
    padding: 2rem;
}

.page-title {
    font-weight: bold;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

article {
    padding: 2rem;
}

.blog-post{
    padding-top: 0rem;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/*
.post-byline {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
*/

/* Blog list styling */
.blog-item {
    margin-bottom: 2rem;
}

.blog-item h4 {
    margin-bottom: 0.5rem;
}

.blog-item h4 a {
    color: #000;
    text-decoration: none;
}

.blog-item h4 a:hover {
    color: #555;
}

.blog-summary p {
    margin-bottom: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.pagination-next {
    margin-left: auto;
}

.pagination .button {
    margin-bottom: 0;
}

/* Breadcrumbs */
.breadcrumbs {
    color: #666;
}

.breadcrumbs a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    border: 1px solid #000;
    margin: 1rem;
}

/* Commit table styling */
.commit-table-list table {
    width: 100%;
    margin-bottom: 0;
    background-color: #c0c0c0;
    padding: 1rem;
}

.commit-table-list td {
    border: none;
    padding: 0.5rem 0;
}

.commit-date {
    color: #3b3b3b;
    font-size: 0.9rem;
    vertical-align: top;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    background-color: #000000;
    color: #fff
}

/* --- Mobile Navigation Styles --- */

.mobile-toggle {
    display: none;
}

/* Mobile Breakpoint */
@media (max-width: 750px) {
    
    .nav-container {
        display: flex;
        flex-wrap: wrap;          
        justify-content: center;
    }

    .mobile-toggle {
        display: block;
        font-size: 3rem;
        line-height: 1;
    }

    .nav-menu {
        display: none;
        width: 100%;
        text-align: center;
        padding-top: 1rem;
        order: 2;
    }

    .nav-link {
        display: block;
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid #333;
    }

    /* 5. The 'Active' Class (Added by JS) */
    .nav-menu.show-menu {
        display: block;
    }
}