.main-content {
    position: relative;
}

.top-article {
    display: flex;
    justify-content: space-between;
    margin-top: 0.44rem;
    margin-bottom: 0.49rem;
    flex-wrap: wrap;

    .article-card {
        width: 4.61rem;
        cursor: pointer;

        .cover {
            width: 100%;
            height: 3.06rem;
            background: lightgray;

            img {
                width: 100%;
                height: 100%;
                object-fit: fill;
            }
        }

        .content {
            color: #333333;
            width: 100%;

            h1 {
                margin-top: 0.25rem;
                font-size: 0.22rem;
                font-weight: bold;
                line-height: 0.32rem;
            }

            p {
                margin-top: 0.25rem;
                font-size: 0.19rem;
                color: #666666;
                font-family: "宋体";
                line-height: 0.3rem;
            }

            .date {
                margin-top: 0.25rem;
                font-size: 0.2rem;
                font-family: "宋体";
                color: #999999;
                line-height: 0.3rem;
            }
        }
    }
}

.article-list {
    li {
        &:first-child {
            .article {
                border-top: 0.01rem solid #EBEBEB;
            }
        }
    }
}

.article {
    height: 1.69rem;
    width: 100%;

    display: flex;
    align-items: center;

    border-bottom: 0.01rem solid #EBEBEB;


    &:hover {
        animation: shake-light 0.5s ease;
    }

    .article-date {
        width: 1.27rem;
        height: 1.06rem;
        background: linear-gradient(180deg, #009EE2, #0571B2);
        border-radius: 0.1rem;
        display: flex;

        color: #fff;

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        box-sizing: border-box;
        font-size: 0.2rem;

        .date {
            line-height: 0.45rem;
            font-weight: bold;
            margin-top: 0.20rem;
            margin-left: 0.25rem;

            .day {
                font-size: 0.36rem;
                line-height: 0.45rem;
            }

            .divider {
                margin-left: -0.05rem;
                font-size: 0.24rem;
                height: 0.44rem;
            }

            .month {
                font-size: 0.28rem;
                line-height: 0.44rem;
                margin-left: -0.05rem;
            }
        }

        .year {
            margin-top: -0.08rem;
            margin-left: 0.24rem;
            font-family: "宋体";
        }
    }

    .article-content {
        margin-left: 0.37rem;

        h1 {
            width: 12.59rem;
            height: 0.23rem;

            font-weight: bold;
            font-size: 0.22rem;
            color: rgba(0, 0, 0, 1);
            line-height: 0.32rem;
        }

        p {
            margin-top: 0.2rem;
            height: 0.51rem;
            font-family: "宋体";
            line-height: 0.32rem;
            font-size: 0.20rem;
            color: rgba(0, 0, 0, 1);
            width: 12.59rem;
        }

        .article-date-line {
            display: none;
        }
    }

}

.book-list {
    display: flex;
    margin-top: 0.67rem;
    column-gap: 0.4rem;
    row-gap: 0.4rem;
    flex-wrap: wrap;

    .book {
        cursor: pointer;

        &:hover {
            animation: shake-light 0.5s ease;
        }

        .cover {
            width: 3.18rem;
            height: 4.41rem;

            img {
                width: 100%;
                height: 100%;
                object-fit: fill;
            }
        }

        .title {

            font-weight: 400;
            font-size: 0.2rem;
            margin-top: 0.09rem;
            color: #333;
            text-align: center;
        }
    }
}

@media only screen and (max-width: 760px) {
    .article {
        .article-date {
            display: none;
        }

        .article-content {
            margin-left: 0rem;

            .article-date-line {
                display: block;
                font-size: 0.20rem;
            }
        }
    }

    .top-article {
        .article-card {
            width: 100%;
        }
    }
}

@media (max-width: 760px) {
    .top {
        display: none;
    }

    .article {
        box-sizing: border-box;
        padding-top: 15px;
        height: fit-content;

        .article-content {

            h1 {
                height: fit-content;
            }

            p {
                margin-top: 10px;
                height: fit-content;
            }

            .article-date-line {
                padding-bottom: 8px;
            }
        }

    }

}


@media (max-width: 500px) {

    .article-content h1,
    .article-date-line,
    .article-content p {

        font-size: 14px !important;
        width: 100% !important;
    }

    .article-date-line {
        margin-top: 3px !important;
    }


}