body {
    margin: 0;
    background-color: #f3ebeb;
    font-family: 'Source Serif 4', serif;
    font-weight: 300;
    color: #222;
}

h1 {
    font-weight: 600;
    margin-top: 0;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    margin-bottom: 0.65rem;
}

p {
    font-weight: 500;
    margin-bottom: 0.65rem;
}

.topnav {
    background-color: #333;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 100;
    font-weight: 400
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #98a29e;
    color: white;
}

.layout {
    display: grid;
    grid-template-columns: 220px minmax(320px, 1fr) 220px;
    gap: 1rem;
    max-width: 1200px;
    margin: 1.25rem auto;
    padding: 0 1rem 1.25rem;
    box-sizing: border-box;
    align-items: start;
}

.sidebar {
    background: #ffffffcc;
    border: 1px solid #e0d9d9;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 6rem;
    max-height: calc(100vh - 8rem);
    overflow: auto;
}

.content {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.25rem;
}

.article-preview {
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.article-preview:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.article-preview a {
    color: #0c62cd;
    text-decoration: none;
    font-weight: 600;
}

.article-preview a:hover {
    text-decoration: underline;
}

.article-preview small {
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

.content p,
.content li {
    line-height: 1.6;
}

.full-width-placeholder {
    text-align: center;
    margin-top: 1rem;
    color: #4d4d4d;
    font-size: 0.95rem;
}

@media (max-width: 1100px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
        position: static;
        max-height: none;
    }

    .content {
        padding: 1.5rem 0.85rem;
    }

    .layout {
        margin: 1rem auto;
        padding: 0 0.75rem 1rem;
    }
}

ul {
    font-family: 'Source Serif 4', serif;
    font-weight: 500;
    color: #222;
    margin-bottom: 0.65rem;
}

form {
    font-family: 'Source Serif 4', serif;
    font-weight: 500;
    color: #222;
    margin-bottom: 0.65rem;
}