/* 新闻中心横幅 */

.news-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-banner-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.53);
    z-index: 2;
}

.news-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/92685_17237090508713.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.news-banner-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.news-banner-title {
    font-size: 44px;
    line-height: 1.3;
    font-weight: bold;
    margin: 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.news-banner-subtitle {
    font-size: 12px;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.news-logo {
    width: 42px;
    display: block;
    margin: 0 auto;
    height: auto !important;
}


/* 新闻列表部分 */

.news-list-section {
    padding: 90px 60px;
    background-color: #fff9f3;
}

.news-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}


/* 新闻分类切换 */

.tabs-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.tab-btn {
    padding: 8px 22px;
    background-color: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 2;
    transition: all 0.3s ease;
    border: 1px solid #fff;
}

.tab-btn:hover {
    color: #fff;
    background: #000;
    border: 1px solid #000;
}

.tab-btn.active {
    color: #fff;
    background: #000;
    border: 0px solid #000;
}


/* 新闻网格布局 */

.news-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 50px;
}

.news-grid.active {
    display: grid;
}

.news-item {
    padding: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news-item a {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    text-decoration: none;
}

.news-item-image {
    width: 100%;
    /* height: 388px; */
    overflow: hidden;
    padding-top: 68%;
    position: relative;
}

.news-item-image-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item-content {
    padding: 30px 0 0;
    text-align: left;
}

.news-item-title {
    color: #333;
    font-size: 18px;
    line-height: 1.2;
    text-align: left;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    visibility: visible;
    margin-bottom: 0;
    font-weight: 700;
    text-decoration: none;
}

.news-item-date {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-top: 10px;
    display: inline-block;
}


/* 新闻分页 */

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-item:hover {
    background: #333;
    color: #fff;
}

.page-item.active {
    background: #333;
    color: #fff;
}

.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-item.disabled:hover {
    background: #f5f5f5;
    color: #333;
}