* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Verdana', 'Lucida Grande', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

#top-menu {
    background: #000;
    border-bottom: 1px solid #4A0C00;
    padding: 0;
}

#top-menu-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.sf-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.sf-menu li {
    position: relative;
}

.sf-menu a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.sf-menu a:hover {
    background: #aaa;
    color: #fff;
}

#header {
    background: #fff;
    padding: 20px 0;
}

#branding {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.blog-name {
    font-size: 24px;
    font-weight: bold;
    color: #04255D;
}

.blog-name a {
    color: #04255D;
    text-decoration: none;
}

#nav {
    background: #7E1E14;
    border-bottom: 1px solid #721B12;
}

#nav-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#nav .sf-menu a {
    padding: 12px 15px;
    color: #fff;
}

#nav .sf-menu a:hover {
    background: #A91B00;
}

.quick-nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.quick-nav li {
    margin-left: 15px;
}

.quick-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

#wrapper {
    background: #fff;
    min-height: 500px;
}

#main {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 10px;
}

h1 {
    color: #04255D;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

article {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

article h2 {
    color: #7E1E14;
    margin-bottom: 15px;
    font-size: 22px;
}

article h3 {
    color: #7E1E14;
    margin-bottom: 12px;
    font-size: 18px;
}

article p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.content-section {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.links-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
}

.links-section h3 {
    color: #04255D;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #7E1E14;
    padding-bottom: 8px;
}

.links-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin-bottom: 25px;
}

.links-section li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.links-section a {
    color: #8C1600;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.links-section a:hover {
    color: #0B4FD8;
    text-decoration: underline;
}

#footer {
    background: #333;
    color: #fff;
    margin-top: 40px;
    padding: 20px 0;
}

.footer-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
    font-size: 12px;
}

@media (max-width: 768px) {
    .sf-menu {
        flex-direction: column;
    }

    #branding {
        flex-direction: column;
        text-align: center;
    }

    #nav-content {
        flex-direction: column;
    }

    .quick-nav {
        margin-top: 10px;
    }

    h1 {
        font-size: 24px;
    }

    .links-section ul {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    article {
        padding: 15px;
    }

    .content-section,
    .links-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {

    .sf-menu a,
    #nav .sf-menu a {
        padding: 8px 10px;
        font-size: 12px;
    }

    h1 {
        font-size: 20px;
    }

    article h2 {
        font-size: 18px;
    }

    article h3 {
        font-size: 16px;
    }

    .links-section h3 {
        font-size: 18px;
    }
}