/* ========== 新闻中心页面样式 ========== */

/* 面包屑 */
.crumb {
    color: #666;
    background: rgba(0, 0, 0, 0.03);
}

.crumb a {
    color: #999;
}

.crumb span {
    color: #333;
}

/* ========== 顶部焦点新闻区 ========== */
.newsTop {
    display: flex;
    max-width: 16rem;
    width: 92%;
    margin: 0.30rem auto 0;
    gap: 0;
}

.newsTopLeft {
    width: 50%;
    flex-shrink: 0;
}

.bigNews {
    display: block;
    position: relative;
    width: 100%;
    height: 4.80rem;
    overflow: hidden;
    border-radius: 0.12rem;
}

.bigNews img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
    -webkit-transition: transform 500ms ease;
}

.bigNews:hover img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.bigNewsInfo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.30rem 0.30rem 0.24rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.bigNewsInfo h3 {
    font-family: 'FotonType-M';
    font-weight: normal;
    font-size: 0.20rem;
    color: #fff;
    line-height: 0.30rem;
    margin-bottom: 0.06rem;
}

.bigNewsInfo span {
    font-size: 0.14rem;
    color: #fff;
    line-height: 0.20rem;
}

/* 右侧新闻列表 */
.newsTopRight {
    flex: 1;
    padding-left: 0.40rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsItem {
    padding: 0.24rem 0;
    border-bottom: 1px solid #eee;
}

.newsItem:first-child {
    padding-top: 0;
}

.newsItem:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.newsItemMeta {
    display: flex;
    align-items: center;
    margin-bottom: 0.10rem;
}

.newsItemMeta .tag {
    font-size: 0.13rem;
    color: #999;
    margin-right: 0.20rem;
    position: relative;
}

.newsItemMeta .date {
    font-size: 0.13rem;
    color: #999;
}

.newsItemTitle {
    font-family: 'FotonType-M';
    font-size: 0.16rem;
    color: #333;
    line-height: 0.28rem;
    font-weight: normal;
    margin-bottom: 0.12rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsItemLink {
    display: inline-flex;
    align-items: center;
    font-size: 0.14rem;
    color: #333;
    transition: color 200ms ease;
    text-decoration: none;
}

.newsItemLink span {
    border-bottom: 1px solid #333;
    padding-bottom: 0.02rem;
    transition: border-color 200ms ease, color 200ms ease;
}

.newsItemLink:hover {
    color: #49C6E5;
}

.newsItemLink:hover span {
    border-bottom-color: #49C6E5;
    color: #49C6E5;
}

.newsItemLink img {
    width: 0.16rem;
    height: 0.16rem;
    margin-left: 0.04rem;
}

/* ========== Tab + 新闻列表区 ========== */
.newsMain {
    max-width: 16rem;
    width: 92%;
    margin: 0.50rem auto 0;
    padding-bottom: 0.60rem;
}

/* Tab栏 */
.newsTabBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.30rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.16rem;
}

.tabList {
    display: flex;
    align-items: center;
    gap: 0.40rem;
}

.tabItem {
    font-family: 'FotonType-M';
    font-size: 0.20rem;
    color: #999;
    line-height: 0.36rem;
    cursor: pointer;
    position: relative;
    padding-bottom: 0.10rem;
    transition: color 200ms ease;
}

.tabItem:hover {
    color: #333;
}

.tabItem.active {
    color: #333;
    font-weight: normal;
    font-family: 'FotonType-M';
    font-size: 0.24rem;
}

.tabItem.active::after {
    content: '';
    width: 100%;
    height: 0.03rem;
    background: #333;
    position: absolute;
    left: 0;
    bottom: -0.17rem;
}

/* 搜索框 */
.newsSearch {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 0.20rem;
    padding: 0 0.14rem;
    height: 0.36rem;
    background: #fff;
}

.newsSearch input {
    width: 1.20rem;
    height: 100%;
    border: none;
    outline: none;
    font-size: 0.13rem;
    color: #333;
    background: transparent;
}

.newsSearch input::placeholder {
    color: #999;
}

.newsSearch button {
    width: 0.20rem;
    height: 0.20rem;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsSearch button img {
    display: block;
    width: 0.16rem;
    height: 0.16rem;
}

/* ========== 新闻网格 ========== */
.tabPanel {
    display: none;
}

.tabPanel.active {
    display: block;
    animation: fadeIn 400ms ease;
    -webkit-animation: fadeIn 400ms ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0.1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.24rem;
}

/* 新闻卡片 */
.newsCard {
    display: block;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
}

.newsCard:hover {
    transform: translateY(-0.04rem);
    -webkit-transform: translateY(-0.04rem);
}

.newsCardImg {
    width: 100%;
    height: 1.60rem;
    overflow: hidden;
    border-radius: 0.04rem;
    margin-bottom: 0.12rem;
}

.newsCardImg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
    -webkit-transition: transform 400ms ease;
}

.newsCard:hover .newsCardImg img {
    transform: scale(1.08);
    -webkit-transform: scale(1.08);
}

.newsCardBody {
    padding: 0 0.02rem;
}

.newsCardMeta {
    display: flex;
    align-items: center;
    margin-bottom: 0.08rem;
}

.newsCardMeta .tag {
    font-size: 0.13rem;
    color: #999;
    margin-right: 0.16rem;
}

.newsCardMeta .date {
    font-size: 0.13rem;
    color: #999;
}

.newsCardTitle {
    font-family: 'FotonType-M';
    font-size: 0.14rem;
    color: #333;
    line-height: 0.22rem;
    font-weight: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsCard:hover .newsCardTitle {
    color: #49C6E5;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.50rem;
    gap: 0.08rem;
}

.pageBtn {
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.24rem;
    line-height: 1;
    color: #999;
    text-decoration: none;
    transition: all 200ms ease;
}

.pageBtn:hover {
    border-color: #49C6E5;
    color: #49C6E5;
}

.pageNum {
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.14rem;
    color: #666;
    transition: all 200ms ease;
    border: 2px solid transparent;
}

.pageNum:hover {
    color: #49C6E5;
}

.pageNum.active {
    border-color: #49C6E5;
    color: #49C6E5;
    font-weight: normal;
    font-family: 'FotonType-M';
}

/* ========== 多媒体入口 ========== */
.mediaEntry {
    max-width: 16rem;
    width: 92%;
    margin: 0.60rem auto 0;
    padding: 0.50rem 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.mediaEntryTitle {
    font-size: 0.24rem;
    color: #222;
    font-weight: normal;
    font-family: 'FotonType-M';
    margin-bottom: 0.40rem;
}

.mediaEntryList {
    display: flex;
    justify-content: center;
    gap: 0.80rem;
}

.mediaEntryItem {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mediaEntryQr {
    width: 1.40rem;
    height: 1.40rem;
    border-radius: 0.12rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 0.14rem;
    padding: 0.12rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mediaEntryQr:hover {
    transform: translateY(-0.04rem);
    box-shadow: 0 0.08rem 0.24rem rgba(0, 0, 0, 0.1);
}

.mediaEntryQr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mediaEntryItem span {
    font-size: 0.15rem;
    color: #666;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 1440px) {
    .tabItem {
        font-size: 0.18rem;
    }

    .tabItem.active {
        font-size: 0.22rem;
    }

    .bigNews {
        height: 4.20rem;
    }

    .bigNewsInfo h3 {
        font-size: 0.18rem;
    }

    .newsItemTitle {
        font-size: 0.15rem;
        line-height: 0.26rem;
    }

    .newsItemLink {
        font-size: 0.13rem;
    }
}

@media screen and (max-width: 1366px) {
    .tabItem {
        font-size: 0.17rem;
    }

    .tabItem.active {
        font-size: 0.20rem;
    }

    .bigNewsInfo h3 {
        font-size: 0.17rem;
    }

    .newsItemTitle {
        font-size: 0.14rem;
    }

    .newsItemLink {
        font-size: 0.12rem;
    }

    .bigNews {
        height: 4rem;
    }
}

@media screen and (max-width: 1200px) {
    .newsGrid {
        grid-template-columns: repeat(3, 1fr);
    }

    .videoGrid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tabItem {
        font-size: 0.18rem;
    }

    .tabItem.active {
        font-size: 0.22rem;
    }

    .bigNews {
        height: 4.20rem;
    }
}

@media screen and (max-width: 992px) {
    .newsTop {
        flex-direction: column;
    }

    .newsTopLeft {
        width: 100%;
    }

    .newsTopRight {
        padding-left: 0;
        margin-top: 0.20rem;
    }

    .newsGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .videoGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activityCard {
        flex-direction: column;
    }

    .activityImg {
        width: 100%;
        height: 2rem;
    }

    .tabItem {
        font-size: 0.16rem;
    }

    .tabItem.active {
        font-size: 0.18rem;
    }

    .bigNewsInfo h3 {
        font-size: 0.17rem;
    }

    .bigNews {
        height: 3.20rem;
    }
}

@media screen and (max-width: 768px) {
    .newsGrid {
        grid-template-columns: repeat(1, 1fr);
    }

    .videoGrid {
        grid-template-columns: repeat(1, 1fr);
    }

    .newsTabBar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.16rem;
    }

    .tabList {
        gap: 0.24rem;
    }

    .tabItem {
        font-size: 0.15rem;
    }

    .tabItem.active {
        font-size: 0.16rem;
    }

    .bigNewsInfo h3 {
        font-size: 0.15rem;
    }

    .bigNews {
        height: 2.60rem;
    }

    .newsItemTitle {
        font-size: 0.15rem;
    }
}

/* ========== 专题活动 ========== */
.activityList {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
}

.activityCard {
    display: flex;
    background: #fff;
    border-radius: 0.08rem;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
}

.activityCard:hover {
    box-shadow: 0 0.08rem 0.3rem rgba(0, 0, 0, 0.08);
    border-color: #49C6E5;
    transform: translateY(-0.02rem);
    -webkit-transform: translateY(-0.02rem);
}

.activityImg {
    width: 3.20rem;
    height: 2rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.activityImg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
    -webkit-transition: transform 400ms ease;
}

.activityCard:hover .activityImg img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.activityBadge {
    position: absolute;
    top: 0.12rem;
    left: 0.12rem;
    background: #49C6E5;
    color: #fff;
    font-size: 0.12rem;
    padding: 0.03rem 0.10rem;
    border-radius: 0.03rem;
    font-family: 'FotonType-M';
}

.activityBody {
    flex: 1;
    padding: 0.24rem 0.30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activityMeta {
    display: flex;
    align-items: center;
    margin-bottom: 0.10rem;
}

.activityTag {
    font-size: 0.13rem;
    color: #49C6E5;
    margin-right: 0.16rem;
    font-family: 'FotonType-M';
}

.activityDate {
    font-size: 0.13rem;
    color: #999;
}

.activityTitle {
    font-family: 'FotonType-M';
    font-size: 0.18rem;
    color: #333;
    line-height: 0.28rem;
    font-weight: normal;
    margin-bottom: 0.10rem;
}

.activityCard:hover .activityTitle {
    color: #49C6E5;
}

.activityDesc {
    font-size: 0.14rem;
    color: #666;
    line-height: 0.24rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.14rem;
}

.activityMore {
    font-size: 0.14rem;
    color: #49C6E5;
    font-family: 'FotonType-M';
    transition: transform 200ms ease;
    display: inline-block;
}

.activityCard:hover .activityMore {
    transform: translateX(0.06rem);
    -webkit-transform: translateX(0.06rem);
}

/* ========== 视频中心 ========== */
.videoGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.24rem;
}

.videoCard {
    display: block;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
}

.videoCard:hover {
    transform: translateY(-0.04rem);
    -webkit-transform: translateY(-0.04rem);
}

.videoThumb {
    width: 100%;
    height: 1.80rem;
    border-radius: 0.06rem;
    overflow: hidden;
    position: relative;
    background: #000;
}

.videoThumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 300ms ease;
}

.videoCard:hover .videoThumb img {
    opacity: 0.8;
}

.videoPlayBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transition: transform 300ms ease, opacity 300ms ease;
    opacity: 0.85;
}

.videoCard:hover .videoPlayBtn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    -webkit-transform: translate(-50%, -50%) scale(1.1);
}

.videoDuration {
    position: absolute;
    bottom: 0.08rem;
    right: 0.10rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.12rem;
    padding: 0.02rem 0.08rem;
    border-radius: 0.03rem;
    font-family: 'FotonType-M';
}

.videoBody {
    padding: 0.12rem 0.02rem 0;
}

.videoTitle {
    font-family: 'FotonType-M';
    font-size: 0.14rem;
    color: #333;
    line-height: 0.22rem;
    font-weight: normal;
    margin-bottom: 0.06rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.videoCard:hover .videoTitle {
    color: #49C6E5;
}

.videoDate {
    font-size: 0.12rem;
    color: #999;
}

.videoPlayer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.videoPlayerContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
}

.videoPlayerContent video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.closeBtn {
    position: absolute;
    top: 2%;
    right: 2%;
    width: 0.46rem;
    height: 0.46rem;
    cursor: pointer;
}