/* 版心的样式 */
.container-wz {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px 20px;
    position: absolute;
    top: 0;
    left: 50vw;
    transform: translateX(-50%);
}

.SearchBox {
    margin-bottom: 8px;
}

.Search {
    display: inline-block;
    vertical-align: middle;
    width: 350px;
    max-width: 100%;
    margin: 0 10px 8px 0;
    background: transparent;
    color: #fff;
    border: 2px solid #005db5;
    padding: 0 15px;
    border-radius: 15px;
    outline: none;
    font-size: 16px;
    font-family: 'Times New Roman', serif;
    transition: all 0.15s ease-in-out;
    height: 30px;
}

.Search:focus {
    border: 2px solid #339cff;
    background: #ffffff20;
}

.TAG {
    color: #FFF;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    background: #004a8f;
    padding: 0 12px;
    vertical-align: middle;
    border-radius: 80px;
    font-size: 14px;
    cursor: pointer;
    height: 30px;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.TAG:hover {
    background: #006dd4;
}

.TAG-Active {
    background: #0084ff;
}

.TAG-Active:hover {
    background: #0084ff;
}

/* 版心内容 */
.articlesBox {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}



/* 文章卡片 */
.article-card {
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.article-card:hover .article-title,
.article-card:hover .article-description {
    color: #f3d5ff;
}

.imgbox {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    margin-bottom: 3px;
    object-fit: cover;
    background-image: url('/image/wz-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.article-text {
    text-shadow: 0 0 2px #333;
}


.article-title {
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

.article-description {
    font-size: 14px;
    display: block;
    transition: all 0.2s ease-in-out;
}

.article-tags {
    display: inline-flex;
    gap: 5px;
    font-size: 12px;
    line-height: 1;
}

.article-tags span {
    background: #004a8f;
    padding: 3px 5px;
    border-radius: 20px;

}

@media screen and (max-width: 450px) {
    .container-wz {
        padding: 0 0 10px;
    }

    .SearchBox {
        padding: 0 3px;
        margin-bottom: 3px;
    }

    .Search {
        display: block;
        width: 100%;
        margin: 0 auto 8px;
        height: 38px;
        border-radius: 10px;
    }

    .TAG {
        margin-right: 6px;
        margin-bottom: 6px;
        padding: 0 8px;
        font-size: 14px;
        height: 24px;
    }

    .articlesBox {
        gap: 0;
    }
    .article-card{
        background: #07122d;
    }
    .imgbox {
        display: block;
        border-radius: 0;
        margin-bottom: 2px;
    }

    .article-text {
        padding: 0 5px 3px;
    }
}