body {
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
    margin: 0;
}

a {
    text-decoration: none;
    /* 去掉下划线 */
    color: inherit;
    /* 使用父元素的文本颜色 */
    cursor: default;
    /* 移除手型指针 */
}

a:hover,
a:focus {
    text-decoration: none;
    /* 去掉下划线（在 hover 和 focus 状态下） */
    color: inherit;
    /* 使用父元素的颜色 */
}

.article-list {
    display: flex;
    flex-direction: column;
    /* gap: 0.5rem; */
    margin: 0 auto;
    width: 80%;
}

.article-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px;
    border-radius: 7px;
    cursor: pointer;
    margin-bottom: 10px;
    overflow: hidden;
}

.article-content {
    width: 100%;
    flex: 1;
}

.article-category {
    color: black;
    font-size: 13px;
}

.article-title {
    font-weight: bold;
    font-size: 17px;
    margin-top: 3px;
    margin-bottom: 1px;
    color: #a06820;
    line-height: 1.3rem;
    cursor: pointer;
}

.article-meta {
    font-size: 12px;
    margin-top: 3px;
}

.article-image img {
    width: 100%;
    height: auto;
    /* object-fit: cover; */
    border-radius: .125rem;
}

.authorimg {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}

@media (max-width: 678px) {
    .article-list {
        width: 96%;
    }

    .article-item {
        flex-direction: column;
        padding: 7px 12px;
    }

    .article-image {
        width: 100%;
        max-height: 196px;
        margin: 0 auto;
        overflow: hidden;
    }

    .article-image img {
        object-fit: cover;
        object-position: center;
        width: 100%;
    }

    .authorimg {
        display: none;
    }
}

.loader {
    width: fit-content;
    background: linear-gradient(90deg, #000 50%, #0000 0) right/200% 100%;
    animation: l21 2s infinite linear;
}

.loader::before {
    content: "Loading...";
    color: #0000;
    padding: 0 5px;
    background: inherit;
    background-image: linear-gradient(90deg, #fff 50%, #000 0);
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes l21 {
    100% {
        background-position: left
    }
}