body {
    background-color: #fff;
}
.container {
    position: relative;
}

@media (max-width: 1200px) {
.container {
width: 98%;
}
}

.banner {
    height: 300px;
    background: url("../image/1.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
}
.banner h1 {
    position: absolute;
    top: 20px;
    left: 50px;
    font-size: 40px;
    color: #fff;
}
.banner h4 {
    position: absolute;
    top: 80px;
    left: 50px;
    font-size: 24px;
    font-weight: normal;
    color: #fff;
}
.banner > h1 > span {
    display: block;
}
.navbar {
    padding: 15px 0;
}
.navbar > a,
.navbar > span {
    font-size: 16px;
    color: #6d6d6d;
    margin-right: 10px;
}

.filter {
    padding-top: 15x;
    padding-left: 30px;
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}
.filter > a {
    display: inline-block;
    padding: 20px 10px;
    color: #000;
    margin: 0 25px;
    font-size: 16px;
    background-color: #fff;
}
.filter > a.active {
    color: #007aff;
    border-bottom: 4px solid #007aff;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 50px;
    margin-top: 30px;
}
.gallery-item {
    display: block;
    cursor: pointer;
    width: 100%;
    overflow: hidden;
    border-radius: 0px;
    background-color: #fff;
    overflow: hidden;
    margin-bottom:15px;
    object-fit: contain;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
.gallery-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.text-container {
    color: #666; /* 深灰色 */
    padding-top: 5px; /* 上间距 */
    padding-bottom: 10px; /* 下间距 */
    /* 其他样式（可选） */
    font-size: 16px; /* 字体大小 */
    font-family: Arial, sans-serif; /* 字体 */
    text-align: center; /* 文字居中（可选） */
    background-color: #f3f3f3; /* 背景色（可选） */
}

.gallery-image {
    overflow: hidden;
    height: 230px;
    background-color: #fff;
    position: relative;
}

.gallery-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片等比缩放并填充容器，裁剪多余部分 */
    object-position: center; /* 确保图片的重要部分居中显示 */
}


/*.gallery-image  > img:hover {*/
/*    transform: scale(1.4);*/
/*}*/
.gallery-title {
    padding: 10px;
}
.gallery-title > h4 {
    text-align: center;
}
.summary {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}
.level {
    font-size: 14px;
    color: #f00;
    margin-top: 5px;
}
.buy-count {
    color: #999;
}
.gallery-price {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 10px 0;
}
.gallery-price > span {
    margin-right: 10px;
}
.gallery-price > span.tag {
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    background-color: #ff6b7b;
}
.gallery-price2 > span.tag {
    padding: 7px 15px;
    font-size: 22px;
}
.gallery-price > span.sale-price {
    font-size: 24px;
    color: #ee0000;
    font-weight: bold;
}
.gallery-price2 > span.sale-price {
    margin-right: 15px;
    margin-left: 15px;
    font-size: 28px;
}
.gallery-price > span.price {
    font-size: 18px;
    color: #909090;
    text-decoration: line-through;
}
.gallery-price2 > span.price {
    font-size: 22px;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 50px;
}
.content-left {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(201, 201, 201, 0.58);
}
.content-right {
    width: 350px;
    margin-left: 50px;
}
.resource-title {
    font-size: 32px;
    text-align: left;
    color: #333;
    font-weight: normal;
}
.resource-cover {
    width: 100%;
    padding: 15px 0;
}
.resource-cover > img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.resource-banner {
    position: relative;
    border-bottom: 1px solid #ccc;
    margin: 30px 0;
    font-size: 20px;
    padding: 10px 0 10px 20px;
}
.resource-banner:before {
    position: absolute;
    content: "";
    width: 4px;
    height: 26px;
    left: 2px;
    top: 12px;
    background-color: #000;
}
.resource-summary,
.resource-content {
    font-size: 14px;
    color: #767676;
}
h3.view {
    font-size: 36px;
    text-align: center;
    color: #f00;
    padding: 20px 0;
}
.btn-buy {
    padding: 10px 0;
    width: 100%;
    background-color: #007aff;
    text-align: center;
    color: #fff;
    font-size: 24px;
    display: block;
    letter-spacing: 5px;
    font-weight: 0;
    margin-top: 15px;
}
.btn-disabled {
    background-color: #f00;
    opacity: 0.5;
}
.btn-default {
    background-color: #ca4141;
}
.buy-box {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(201, 201, 201, 0.58);
}

.resource-info {
    background-color: #fff;
    border-radius: 5px;
    margin-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(201, 201, 201, 0.58);
}
.resource-info > h4 {
    background-color: #bdd7ee;
    padding: 10px 20px;
    position: relative;
    font-size: 18px;
    margin-bottom: 10px;
}
.resource-info > h4:before {
    content: "";
    width: 3px;
    background-color: #000;
    height: 25px;
    position: absolute;
    left: 10px;
    top: 10px;
}
.resource-info > p {
    line-height: 20px;
    padding: 5px 20px;
    color: #666;
}

.resource-tag  {
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.resource-tag > span {
    display: inline-block;
    padding: 2px 5px;
    color: #FFF;
    background-color: #20ba4e;
    margin: 0 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

._prev_1,
._next_1,
._home_1,
._last_1 {
    background-color: #eaeaff;
}
._page_container {
    display: flex;
    justify-content: center;
    align-items: start;
}
._page_container ._pages li {
    padding: 5px 15px !important;
    font-size: 16px !important;
}
._page_container ._prev,
._page_container ._next {
    padding: 5px 15px !important;
    font-size: 16px !important;
}

._page_container ._home,
._page_container ._last,
._page_container ._prev_text,
._page_container ._next_text {
    padding: 5px 15px !important;
    font-size: 16px !important;
}
._disabled_c {
    color: #657aa4 !important;
}