@font-face {
    font-family: "Art Class Text";
    src: url("LXGWZhenKai-ArtClass.woff2?v=2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.artclass-gallery {
    padding: 38px 0 42px;
    color: #454e57;
    font-family: "Art Class Text", "Kaiti SC", STKaiti, KaiTi, serif;
    letter-spacing: .2px;
}

.artclass-gallery h1 {
    margin: 0;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.artclass-masonry {
    margin-top: 34px;
    column-count: 3;
    column-gap: 20px;
}

.artclass-item {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 20px;
    break-inside: avoid;
    page-break-inside: avoid;
    vertical-align: top;
}

.artclass-item img {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    border: 4px solid #fff;
    background: #f4f4f2;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .22);
}

.category-recents {
    padding: 34px 0 22px;
    border-top: 1px solid #d8dadc;
    color: #454e57;
    font-family: "Art Class Text", "Kaiti SC", STKaiti, KaiTi, serif;
}

.category-recents h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.category-recents .post-list {
    padding-top: 24px;
}

.category-recents-empty {
    margin: 24px 0 0;
    color: #7f8991;
    text-align: center;
}

html.font-full-ready .category-recents {
    font-family: "LXGW ZhenKai Full", STKaiti, KaiTi, serif;
}

@media screen and (max-width: 600px) {
    .artclass-gallery {
        padding-top: 30px;
    }

    .artclass-gallery h1,
    .category-recents h2 {
        font-size: 19px;
    }

    .artclass-masonry {
        margin-top: 28px;
        column-count: 2;
        column-gap: 14px;
    }

    .artclass-item {
        margin-bottom: 14px;
    }
}


@media (prefers-color-scheme: dark) {
    .artclass-gallery,
    .category-recents {
        color: #f0f2f4;
    }

    .category-recents {
        border-top-color: #4b5359;
    }

    .category-recents-empty {
        color: #a9b3bc;
    }

    .artclass-item img {
        border-color: #f4f4f2;
        background: #282c30;
        box-shadow: 1px 1px 6px rgba(0, 0, 0, .42);
    }
}
