* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

li {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
}

h2 {
    display: inline-flex;
    justify-content: center;
    font-size: 42px;
    /*padding: 15px 0 0 0;*/
    position: relative;
    color: #161616;
    font-weight: 500;
}

/*
h2::after {
    content: '';
    border-top: 5px #FFA500 solid;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
*/
/* 背景色块 */
.wrapper {
    flex: 1;
    padding: 56px 0;
}

/* 背景色块 */
.wrapper.gray {
    background-color: #f7f7f7;
}

/* 背景色块 */
.wrapper.dark {
    background-color: #272F3C;
}

.container {
    display: flex;
    max-width: 1200px;
    /* 根据设计需要设置最大宽度 */
    margin: 0 auto;
    /* 居中对齐 */
    flex-direction: column;
    box-sizing: border-box;
}


.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
    margin-top: 16px;
}

.breadcrumb li {
    display: inline;

}

.breadcrumb li+li:before {
    content: "/";
    padding: 0 5px;
    color: #ccc;
}

.breadcrumb li a {
    text-decoration: none;
    color: #777;
}

.breadcrumb li.active {
    color: #333;
}

/* 图文卡片 */
.card-h {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 24px;
    margin-bottom: 24px;
    transition: box-shadow 0.3s linear;
    background-color: #fff;
    box-sizing: border-box;
    border: 1px solid #efefef;
    border-radius: 2px;
}

.card-h:hover {
    box-shadow: 0 0 8px #d6d6d6;
}


.card-h>img {
    width: 220px;
}

.card-h .card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 24px;
}

.card-h .card-info .title {
    font-size: 18px;
    font-weight: 700;
    color: #262626;
}

.card-h .card-info .sub {
    font-size: 13px;
    color: #787878;
    margin-top: 10px;
}

.card-h .card-info .footer {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #A7A7A7;
    margin-bottom: 2px;
}

.card-h .card-info .footer .author {
    font-size: 12px;
}

.card-h .card-info .footer .time {
    font-size: 12px;
}

.card-h .card-info .footer .btn {
    color: #787878;
    padding: 4px 8px;
    background-color: #fff;
    border: 1px solid #dddddd;
    border-radius: 3px;
    bottom: 0;
    font-size: 12px;
}

/* 商品卡片 */
.card-v-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-content: start;
}

.card-v {
    /*width: 290px;
    width: calc((100% - 24px * (4 - 1)) / 4);*/
    /*box-shadow: 0 0 10px 0 #d4d4d4;*/
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 1px solid #e4e4e4;
    /*margin-bottom: 24px;*/
    background-color: #fff;
    transition: box-shadow 0.3s ease;
    border-radius: 5px;
    overflow: hidden;
}

.card-v:hover {
    box-shadow: 0 0 10px 0 #b0b0b0;
}

.card-v:last-child {
    margin-right: auto;
}

.card-v .image-container {
    width: 100%;
    position: relative;
    height: 0;
    padding-top: 62.5%;
    overflow: hidden;
}

.card-v:hover .image-container img {
    transform: scale(1.1);
}


.card-v .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    transform: scale(1);
}


.card-v .card-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin: 26px 10px 26px 10px;
}

.card-v .card-info .title {
    color: #4e4e4e;
    font-size: 18px;
    margin-bottom: 16px;
}

.card-v .card-info .sub {
    color: #787777;
    font-size: 14px;
    margin-bottom: 16px;
    word-wrap: break-word;
}

.card-v .card-info .other {
    margin-top: auto;
    color: #787777;
    font-size: 14px;
}

/* sitemap */

.sitemap-box {
    display: flex;
    justify-content: space-evenly;
}

.sitemap-box li {
    line-height: 40px;
}

.sitemap-cover>p {
    text-align: center;
}

.sitemap-box ul li:first-child {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.sitemap-box li a {
    color: rgba(255, 255, 255, 0.4);
}

.sitemap-box li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.sitemap-box~.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 40px;
}

.Pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 16px;
    font-size: 12px;
    text-align: center;
    color: #000;
}

.Pagination a,
.Pagination span.current {
    display: flex;
    font-size: 20px;
    font-weight: lighter;
    background: #f0f2f5;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-sizing: border-box;
    color: #000;
    padding: 0 4px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 4px;
    font-weight: 700px;
    margin: 0 8px;
}

.Pagination span.current {
    background-color: #409eff;
    color: #fff;
    cursor: default;
}

.Pagination span {
    font-size: 20px;
    padding: 4px;
    margin: 8px;
}

.Pagination svg {
    width: 20px;
}

.Pagination a:hover {
    border: 0;
    color: #409eff;
}

.Pagination a svg {
    fill: #409eff;
    /* 鼠标悬停时 SVG 颜色 */
}

.Pagination a:hover svg {
    fill: white;
    /* 鼠标悬停时 SVG 颜色 */
}

.Pagination .mobile-btn {
    display: none;
}

/* 响应式布局 */
@media (max-width: 768px) {

    .Pagination a,
    .Pagination span.current,
    .Pagination span.hid {
        display: none;
    }

    .Pagination {
        display: flex;
        justify-content: space-around;
        margin-top: 16px;
    }

    .Pagination a.mobile-btn {
        display: flex;
        flex: 1;
        border: 1px solid #206cff;
        border-radius: 5px;
        color: #206cff;
        padding: 5px 24px;
        background-color: #fff;
    }
}