body {
    margin: 0;
    color: #202124;
    background: #fafafa;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;

    line-height: 1.8;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

article {
    padding: 32px;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    background: #fff;
}

article h1 {
    margin-top: 0;
    line-height: 1.3;
}

.meta {
    margin-bottom: 40px;
    color: #70757a;
}

.archive-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.archive-title h1 {
    margin-bottom: 4px;
}

.archive-title p {
    margin: 0;
    color: #70757a;
}

.archive-sort {
    display: block;
    align-self: flex-start;
    line-height: 1;
}

.archive-sort select {
    width: 126px;
    padding: 11px 34px 11px 15px;
    border: 1px solid #dfe2e7;
    border-radius: 10px;
    color: #626970;
    background-color: #f8f9fa;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2370757a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    box-shadow: 0 1px 3px rgb(60 64 67 / 7%);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    appearance: none;
    cursor: pointer;
}

.archive-sort option {
    color: #626970;
}

.archive-sort select:hover {
    border-color: #c9ced6;
    background-color: #f3f5f7;
}

.archive-sort select:focus-visible {
    border-color: #8794ac;
    outline: 2px solid rgb(87 107 149 / 14%);
    outline-offset: 1px;
}

.article-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-list li {
    padding: 20px 0;
    border-bottom: 1px solid #e8eaed;
}

.article-list li:first-child {
    padding-top: 0;
}

.article-list li:last-child {
    border-bottom: 0;
}

.article-list a {
    color: #202124;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
}

.article-list a:hover {
    color: #576b95;
}

.article-list .meta {
    margin: 6px 0 0;
    font-size: 14px;
}

@media (max-width: 640px) {
    main {
        padding: 20px 12px;
    }

    article {
        padding: 20px 16px;
    }

    .archive-title {
        align-items: flex-start;
        flex-direction: column;
    }
}
