﻿article > h1 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
}

article > section > h2 {
    display: flex;
    align-items: center;
}

    article > section > h2 .col1 {
        width: 2em;
        text-align: center;
    }

    article > section > h2 .col2 {
        font-weight: 100;
    }

/* 序言 */
article .prologue {
    max-width: 32em;
    margin: 0 auto;
}

/* 列表 */
article .list {
    margin-left: 3em;
}

article header {
    min-height: 100px;
    margin: -2em -2em 2em -2em;
    padding: 2em;
    box-sizing: border-box;
    color: white;
    background: rgba(91, 155, 213, 1);
    display: flex;
    justify-content: space-between;
    gap: 1em;
    align-items: center;
}

    article header .article-title {
        display: flex;
        column-gap: 1em;
    }

    article header .logo {
        width: 2em;
        height: 2em;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3em;
        font-weight: 100;
        border: 3px solid rgba(0, 0, 0, 0.25);
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.05);
    }

        article header .logo img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
        }

    article header .title {
        display: flex;
        flex-direction: column;
        row-gap: 0.25em;
    }

    article header .article-meta {
        display: flex;
        flex-direction: column;
        font-size: 0.8em;
        font-weight: 100;
    }

        article header .article-meta > * {
            display: flex;
            justify-content: space-between;
        }

    article header .prologue {
        max-width: 32em;
        margin: 0 auto;
    }

.input-article-search {
    padding-right: 2em;
}

.button-article-clear {
    border: 0;
    background-color: transparent;
    position: absolute;
    top: 0.3em;
    right: 4em;
    z-index: 5;
    font-weight: bold;
}

.keyword-highlight {
    background-color: yellow;
    font-weight: bold;
}

article footer .signature {
    text-align: right;
    padding: 2em;
}

aside h1 {
    margin: 0;
    padding: 0.2em 0em;
    font-size: 1.2em;
}

article video {
    max-width: 100%;
}

.show_more_btn {
    margin: 1em 0;
    cursor: pointer;
}

.show_more_txt {
    display: none;
}

/* 列表表格 */
.list-table-head {
    position: sticky;
    top: var(--body-header-height);
}

.list-table-body {
    /*    font-family: system-ui, KaiXinSongA, KaiXinSongB;*/
}

/* 通用 - 投影图框 */
.figure-items,
.shadow-items {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

/* 插图 */
figure {
    margin: 0;
    text-align: center;
}

.figure-border {
    padding: 1em;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

    .figure-border img {
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

.figure-center {
    margin: 0 auto;
}

figure img,
figure video,
figcaption {
    /* max-width: 75vw; */
    max-width: 100%;
}

.figure-center {
    margin: 0 auto;
}

.figure-w200,
.figure-w200 img {
    max-width: 200px;
}

.figure-w700 {
    max-width: 700px;
}

.figure-w960 {
    max-width: 960px;
}

/* 投影图框 */
.shadow-item {
    width: 300px;
    height: 260px;
    margin: 1em auto 2em auto;
    padding: 10px;
    border: 1px #ccc solid;
    background: #FFFFFF;
    position: relative;
    box-sizing: border-box;
}

    .shadow-item a {
        display: block;
        width: 100%;
        height: 200px;
        overflow: hidden;
        border: 1px #ccc solid;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .shadow-item a img {
            /* object-fit: scale-down; */
            max-height: 200px;
        }

            .shadow-item a img:hover {
                animation: flash 0.5s ease-in-out;
            }

    .shadow-item footer {
        line-height: 40px;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: center;
    }

.shadow-item-book {
    width: 160px;
}

.shadow-item-w200 {
    width: 220px;
}

/* 投影图框 - 正午式 */
.shadow-noon::after {
    content: " ";
    width: 90%;
    height: 30px;
    margin-left: 5%;
    display: block;
    border-radius: 50%;
    background: #000;
    filter: blur(8px);
    position: absolute;
    left: 0;
    bottom: 0px;
    z-index: -1;
}

/* 投影图框 - 交叉式 */
.shadow-cross::before {
    content: " ";
    width: 80%;
    height: 80%;
    display: block;
    background: #000;
    position: absolute;
    z-index: -1;
    bottom: 10px;
    right: 50px;
    filter: blur(8px);
    opacity: 0.7;
    transform: rotateZ(-5deg) skewX(-15deg);
}

.shadow-cross::after {
    content: " ";
    width: 80%;
    height: 80%;
    display: block;
    background: #000;
    position: absolute;
    z-index: -1;
    bottom: 10px;
    right: 50px;
    filter: blur(8px);
    opacity: 0.7;
    transform: rotateZ(5deg) skewX(15deg);
}

/* 自适应 */
@media (max-width: 576px) {

    article header {
        flex-direction: column;
        align-items: normal;
    }

        article header .article-meta > * {
            justify-content: normal;
            margin-left: 1em;
        }
}
