
* {
    box-sizing: border-box;
}


body {

    margin: 0;

    padding: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    background: #f7f7f7;

    color: #222;

    line-height: 1.7;
}


header {

    background: #222;

    color: white;

    padding: 20px 0;

    margin-bottom: 40px;
}


header h1 {

    margin: 0;

    font-size: 26px;
}


header a {

    color: white;

    text-decoration: none;
}


.container {

    width: 90%;

    max-width: 1000px;

    margin: auto;
}


main {

    min-height: 70vh;
}


.article {

    background: white;

    padding: 40px;

    border-radius: 6px;

    box-shadow:
        0 1px 5px
        rgba(0,0,0,0.08);
}


.article-title {

    margin-bottom: 8px;

    font-size: 36px;

    line-height: 1.25;
}


.article-meta {

    color: #666;

    margin-bottom: 30px;

    font-size: 15px;
}


.article-content {

    font-size: 18px;
}


.article-content p {

    margin-bottom: 1.3em;
}


.article-content br {

    line-height: 1.7;
}


.year-list {

    list-style: none;

    padding: 0;
}


.year-list li {

    margin-bottom: 10px;
}


.year-list a {

    font-size: 22px;
}


.article-list {

    list-style: none;

    padding: 0;
}


.article-list li {

    margin-bottom: 14px;

    padding-bottom: 14px;

    border-bottom:
        1px solid #ddd;
}


.article-list a {

    font-size: 19px;

    text-decoration: none;

    color: #222;
}


.article-id {

    color: #888;

    margin-right: 10px;
}


.search-box {

    width: 100%;

    padding: 12px;

    margin: 20px 0;

    font-size: 16px;

    border:
        1px solid #ccc;

    border-radius: 4px;
}


.navigation {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 40px;

    padding-top: 20px;

    border-top:
        1px solid #ddd;
}


.navigation a {

    text-decoration: none;
}


footer {

    margin-top: 60px;

    padding: 30px 0;

    background: #222;

    color: white;

    text-align: center;
}


@media (max-width: 700px) {

    .article {

        padding: 20px;
    }


    .article-title {

        font-size: 28px;
    }


    .article-content {

        font-size: 17px;
    }


    .navigation {

        flex-direction: column;
    }

}
