/* 媒体/更多 共有样式 */
.banner {
    text-align: center;
    position: relative;
    background: #f5f5f5;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 90px;
}
.banner img {
    width: 100%;
    display: block;
}
.banner span {
    font-size: 30px;
    font-weight: 600;
    color: #FFFFFF;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 1;
}

.module {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0; /* 移除左右 14px，由 grid 的负 margin 和 item 的 padding 抵消以实现 0 对齐 */
}
.page-block {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 加载状态与没有更多 */
.loading-status {
    text-align: center;
    padding: 40px 0;
    font-size: 16px;
    color: #999;
    display: none;
    width: 100%;
}
.no-more {
    text-align: center;
    padding: 40px 0;
    font-size: 16px;
    color: #999;
    display: none;
    width: 100%;
}

/* 头部滑动显示隐藏 */
.header {
    transition: transform 0.4s ease-in-out !important;
}
.header.header-up {
    transform: translateY(-100%) !important;
}

/* Tab 导航 */
.news-tabs-container {
    position: relative;
    z-index: 2;
    background: #FBFBFB;
    border-bottom: 1px solid #ebebeb;
    max-width: 1440px;
    margin: 0 auto;
}
body.header-is-hidden .news-tabs-container {
    position: sticky;
    top: 0;
}
.news-tabs {
    max-width: 1230px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
}
.news-tab-item {
    padding: 15px 40px 15px 0;
    margin-right: 40px;
    font-size: 16px;
    color: #5F6464;
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
}
.news-tab-item:hover,
.news-tab-item.active {
    color: #333333;
}
.news-tab-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 40px;
    height: 2px;
    background: #187aba;
}

/* 列表布局 */
.announcement-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 20px -20px 0;
}
.announcement-item {
    width: 33.333%;
    padding: 0 20px;
    margin-bottom: 60px;
    box-sizing: border-box;
}
.announcement-link {
    text-decoration: none;
    display: block;
}
.announcement-image {
    width: 100%;
    aspect-ratio: 406 / 228;
    margin-bottom: 24px;
    overflow: hidden;
    background: #f5f5f5;
}
.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}
.announcement-item:hover .announcement-image img {
    transform: scale(1.05);
}
.announcement-title {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    line-height: 30px;
    margin-bottom: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 56px;
}
.announcement-desc {
    font-size: 15px;
    padding-top: 0 !important;
    margin-bottom: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 30px;
    height: 60px;
    color: #4C4C4C;
    font-weight: 400;
}
.announcement-date {
    font-size: 14px;
    color: #999;
}

@media (max-width: 991px) {
    .announcement-item {
        width: 50%;
    }
}
@media (max-width: 767px) {
    .announcement-item {
        width: 100%;
    }
    .news-tabs {
        justify-content: flex-start;
        padding: 0 14px;
    }
    .news-tab-item {
        padding: 12px 0;
        margin-right: 30px;
        font-size: 15px;
        flex: none;
        text-align: left;
    }
    .news-tab-item.active::after {
        right: 0;
    }
}

/* 标题样式 */
.news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 5px;
}
.news-section-header h2 {
    font-size: 30px;
    font-weight: 600;
    color: #000;
    margin: 0;
    position: relative;
}
.news-section-header .view-more {
    font-size: 16px;
    color: #8c8c8c;
    text-decoration: none;
    transition: color 0.3s;
}
.news-section-header .view-more:hover {
    color: #187aba;
}
