/* 新闻中心 -- start */
.news-center {
    position: relative;
    min-height: 28.875rem;
}

.banner-container {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    min-height: 28.875rem;
    overflow: hidden;
}

.banner-container img {
    width: 100%;
    object-fit: cover;
}

.center-info {
    width: 100%;
    max-width: 75rem;
    margin: auto;
    position: relative;
    z-index: 2;
    padding: 5.625rem 0 2.5rem;
}

.center-bg {
    position: absolute;
    z-index: 3;
    left: -5.625rem;
    top: 0;
    width: 19.0625rem;
    height: 17.625rem;
}

.center-info .title {
    font-size: 3.125rem;
    color: #fff;
    line-height: 2.25rem;
    margin-bottom: 1.5rem;
}

.info-desc {
    font-size: 1.125rem;
    color: #fff;
    line-height: 2rem;
}

.policy-news {
    margin-top: 3.875rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.policy-item {
    width: 24.125rem;
    overflow: hidden;
}

.policy-img-container {
    width: 24.125rem;
    height: 15rem;
    overflow: hidden;
}

.policy-img-container img {
    width: 100%;
    height: 100%;
    transition: all ease-in-out 0.3s;
}

.policy-img-container img:hover {
    transform: scale(1.08);
}

.policy-item h3 {
    margin-top: 0.875rem;
    font-size: 1.625rem;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all ease-in-out 0.3s;
    cursor: pointer;
}

.policy-item h3:hover {
    color: #00329F;
}

.policy-item .line {
    border-bottom: 0.0625rem solid #BFBFBF;
    margin-top: 0.75rem;
    margin-bottom: 1.125rem;
}

.policy-item .intro {
    font-size: 1.125rem;
    color: #717171;
    line-height: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 背景层：仅透明，无位移 */
.banner-container,
.center-bg {
    opacity: 0;
    will-change: opacity;
}

/* 文字/卡片层：透明+下移 */
.center-info .title,
.info-desc,
.policy-item {
    opacity: 0;
    will-change: opacity, transform;
    transform: translateY(1.875rem);
}

/* 背景淡入动画 */
.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

/* 从下往上滑入动画（核心） */
.animate-slideInUp {
    animation: slideInUp 0.7s ease forwards;
}

/* 动画关键帧 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(1.875rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 新闻中心 -- end */
.cast-news{
    /* background: #eef5fc; */
}
/* 科协要闻 -- start */
.cast-news,
.society-news,
.hot-topics {
    padding: 2.5rem 0px;
}

.cast-content,
.notices-content,
.society-content,
.media-content,
.topics-content {
    max-width: 75rem;
    margin: 0 auto;
    overflow: hidden;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.875rem;
    position: relative;
}

.cast-label {
    font-size: 2.375rem;
    color: #ECECEC;
    line-height: 2.25rem;
    letter-spacing: 0.0625rem;
}

.section-title {
    font-size: 2.375rem;
    color: #000000;
    line-height: 2.25rem;
    margin-top: 0.875rem;
}

.view-more a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-width: 5.5rem;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: #000000;
    line-height: 2.25rem;
    cursor: pointer;
    transition: color 0.2s;
}

.view-more a:hover {
    color: #0066cc;
}

.plus-icon {
    width: 2.3125rem;
    height: 2.3125rem;
    line-height: 1;
}

.news-flex,
.notices-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.875rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.news-item {
    display: flex;
    background-color: #eef5fc;

    gap: 1.25rem;
    padding: 0.9375rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    width: calc(50% - 0.9375rem);
}

.news-item:hover {
    background: #f8f5f0;
}

.news-date {
    flex-shrink: 0;
    width: 4.375rem;
    text-align: center;
    color: #999;
    width: 4.8125rem;
    height: 6.875rem;
    background: #fff;
    border-radius: 0.5rem;
    border: 0.0625rem solid #0066cc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.news-date .year-month {
    font-size: 1rem;
    color: #A5A5A5;
    line-height: 2.25rem;
    margin-bottom: 0.25rem;
}

.news-date .day {
    font-size: 1.875rem;
    color: #848484;
    line-height: 2.25rem;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-content a {
    display: block;
}

.news-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
    width: 100%;
}
.line-clamp2{
    -webkit-line-clamp: 2;
    white-space: normal;
}
.news-title {
    font-size: 1.375rem;
    color: #000000;
    line-height: 2.25rem;
    transition: all ease-in-out 0.3s;
}

.news-info:hover .news-title {
    color: #0066cc;
}

.news-meta {
    font-size: 1rem;
    color: #C5C5C5;
    line-height: 2.25rem;
    text-align: right;
}

.news-desc {
    font-size: 1rem;
    color: #717171;
    line-height: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 科协要闻动画基础 - 初始状态（透明+轻微缩小） */
.cast-news .section-title,
.cast-news .view-more,
.news-item,
.news-date,
.news-title,
.news-meta,
.news-desc {
    opacity: 0;
    will-change: opacity, transform;
    transform: scale(0.95);
    /* 初始轻微缩小 */
}

/* 渐显+缩放动画（核心效果） */
.animate-fadeInScale {
    animation: fadeInScale 0.6s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 科协要闻 -- end */


/* 通知公告 -- start */
.notices,
.media-coverage {
    background: #F0F1F5;
    padding: 2.5rem 0;
}

.notices-item {
    width: calc(50% - 0.9375rem);
    background: #FFFFFF;
    box-shadow: 0px 0.4375rem 0.375rem 0.0625rem rgba(0, 50, 159, 0.16);
    border-radius: 0.75rem;
    padding: 1.375rem 1.875rem 1rem;
    transition: all ease-in-out 0.3s;
}

.notices-title,
.media-title {
    font-size: 1.5rem;
    color: #000000;
    line-height: 2.25rem;
    transition: all ease-in-out 0.3s;
}

.notices-title:hover,
.media-title:hover {
    color: #00329F;
}

.notices-item:hover,
.media-card:hover,
.topic-card:hover {
    box-shadow: 0px 0.4375rem 0.375rem 0.25rem rgba(56, 65, 86, 0.2);
}

.notices-sub,
.media-sub,
.topic-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
}

.notices-sub img {
    width: 1.6875rem;
    height: 1.6875rem;
}

.notices-sub a,
.media-sub a,
.topic-sub a {
    display: flex;
    align-items: center;
}

.notices-meta,
.media-meta,
.topic-meta {
    font-size: 1.125rem;
    color: #626262;
    line-height: 2.25rem;
}

.dividing-line {
    height: 0.0625rem;
    background-color: #E6E6E6;
    margin-top: 0.875rem;
}

/* 通知公告动画基础 - 初始状态（上移隐藏） */
.notices-title,
.notices-item,
#viewMoreBtn,
.notices-meta,
.notices-sub a {
    opacity: 0;
    will-change: opacity, transform;
    transform: translateY(1.25rem);
    /* 初始下移，淡入上移 */
}

/* 淡入上移动画（替换从右到左） */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通知公告 -- end */


/* 科协动态 -- start */
.tab-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tab-container {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.tab-container .society-tab {
    background-color: #F0F1F5;
}

.society-tab {
    min-width: 10rem;
    height: 3.75rem;
    background: #fff;
    border-radius: 0.75rem;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all ease-in-out 0.2s;
}


.society-tab.active-tab,
.society-tab:hover {
    background: #014BB6;
    color: #fff;
}

.society-news-container {
    width: 100%;
}

.society-item {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 2.5rem;
    justify-content: space-between;
}

.society-item-img {
    width: 18.75rem;
    height: 11.875rem;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
}

.society-item-img img {
    object-fit: cover;
}

.society-item-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.75rem;
    border-bottom: 0.0625rem solid #E6E6E6;
    min-width: 0;
}

.society-date {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.society-date .month {
    font-size: 3.125rem;
    color: #5A5A5A;
    line-height: 2.25rem;
}

.society-date .separator {
    font-size: 1.875rem;
    color: #707070;
    line-height: 2.25rem;
    margin: 0 0.75rem;
}

.society-date .year {
    font-size: 1.125rem;
    color: #919191;
    line-height: 1.25rem;
}

.society-news {
    flex: 1;
    min-width: 0;
}

.society-news h3 {
    font-size: 1.75rem;
    color: #000000;
    line-height: 2.25rem;
    transition: all ease-in-out 0.3s;
    margin-bottom: 0.5rem;
}

.society-news h3:hover {
    color: #00329F;
}

.society-desc {
    font-size: 1.125rem;
    color: #818181;
    line-height: 2.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 科协动态动画基础 */
.society-news .section-title,
.society-tab,
.view-more,
.society-item,
.society-date,
.society-news h3,
.society-desc,
.society-item-img {
    opacity: 0;
    will-change: opacity, transform;
    transform: translateX(1.875rem);
}

/* 动画类 - 保留核心淡入上移 */
.animate-slideInLeft {
    animation: slideInLeft 0.7s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(1.875rem);
    }

    /* 初始在右侧 */
    to {
        opacity: 1;
        transform: translateX(0);
    }

    /* 滑到原位置 */
}

/* 科协动态 -- end */


/* 媒体关注 -- start */
.media-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 3.125rem;
    overflow: hidden;
}

.coverage-content {
    width: 60%;
}

.site-content {
    flex: 1;
    min-width: 0;
}

.media-card,
.topic-card {
    background: #FFFFFF;
    box-shadow: 0px 0.4375rem 0.375rem 0.0625rem rgba(0, 50, 159, 0.16);
    border-radius: 0.75rem;
    padding: 0.9375rem 1.875rem 0.75rem;
    transition: all ease-in-out 0.3s;
    margin-bottom: 1.25rem;
}

.media-source {
    display: inline-flex;
    background: #00329F;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #fff;
    padding: 0.125rem 0.75rem;
    margin-bottom: 0.5rem;
}

.site-card .media-title {
    line-height: 2.125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 媒体关注/本网推荐动画基础 - 分栏初始状态 */
/* 左侧：左移隐藏 */
.coverage-content .section-title,
.coverage-content .media-card {
    opacity: 0;
    will-change: opacity, transform;
    transform: translateX(-1.25rem);
    /* 小幅左移，避免突兀 */
}

/* 右侧：右移隐藏 */
.site-content .section-title,
.site-content .media-card {
    opacity: 0;
    will-change: opacity, transform;
    transform: translateX(1.25rem);
    /* 小幅右移，和左侧对称 */
}

/* 左侧动画：从左到右滑入（柔和版） */
.animate-slideInRight-light {
    animation: slideInRightLight 0.8s ease-out forwards;
}

/* 右侧动画：从右到左滑入（柔和版） */
.animate-slideInLeft-light {
    animation: slideInLeftLight 0.8s ease-out forwards;
}

/* 关键帧：位移幅度小+减速曲线，更柔和 */
@keyframes slideInRightLight {
    from {
        opacity: 0;
        transform: translateX(-1.25rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeftLight {
    from {
        opacity: 0;
        transform: translateX(1.25rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* 媒体关注 -- end */

/* 热点专题 -- start */
.topics-flex {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.topic-card {
    margin-bottom: 0;
    flex: 1;
}

.topic-img-container {
    width: 31.25rem;
    height: 19.375rem;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
}

.topic-img-container img {
    object-fit: cover;
}

.topic-title {
    color: #00329F;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.topic-desc {
    height: 9rem;
    margin-top: 1rem;
    font-size: 1rem;
    color: #000;
    line-height: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

/* 热点专题动画基础 - 分元素初始状态 */
/* 左侧大图：仅透明+轻微缩小（突出焦点） */
.topic-img-container {
    opacity: 0;
    will-change: opacity, transform;
    transform: scale(0.98);
}

/* 右侧卡片：透明+下移（柔和滑入） */
.topic-card {
    opacity: 0;
    will-change: opacity, transform;
    transform: translateY(0.9375rem);
}

/* 卡片内元素：仅透明（和卡片同步） */
.topic-title,
.topic-desc,
.topic-sub {
    opacity: 0;
    will-change: opacity;
}

/* 左侧大图动画：渐显+轻微缩放（焦点突出） */
.animate-fadeInScale-light {
    animation: fadeInScaleLight 0.9s ease-out forwards;
}

/* 右侧卡片动画：从下往上柔和滑入 */
.animate-slideInUp-light {
    animation: slideInUpLight 0.9s ease-out forwards;
}

/* 关键帧：幅度小+减速曲线，极致柔和 */
@keyframes fadeInScaleLight {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUpLight {
    from {
        opacity: 0;
        transform: translateY(0.9375rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 热点专题 -- end */



/* 屏幕宽度<1200px时生效 */
@media screen and (max-width: 1201px) {
    .center-info {
        padding: 5.625rem 1.5rem 3.75rem;
    }

    .cast-content,
    .notices-content,
    .society-content,
    .media-content,
    .topics-content {
        padding: 0 1.5rem;
    }

    .policy-item{
        width: 30%;
        height: auto;

        .policy-img-container{
            width: 100%;
            height: 100%;
        }
    }
}

/* 屏幕宽度<768px时生效 */
@media screen and (max-width: 769px) {
    .center-info {
        padding: 5.625rem 1.5rem 3.75rem 1.5rem;
    }

    .policy-news {
        justify-content: center;
    }

    .banner-container img {
        height: 25rem;
    }

    .notices-item,
    .coverage-content,
    .site-content {
        width: 100%;
    }

    .news-item {
        width: 100% !important;
        flex-direction: column;
    }

    .news-date {
        width: 100% !important;
        height: auto !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.625rem;
        padding: 0.3125rem 0;
    }

    .society-item {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem;
    }

    .society-item-img {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .society-item-info {
        gap: 1.25rem;
        padding-bottom: 0.9375rem;
    }

    .society-news {
        padding: 0.75rem 0;
        margin-bottom: 0.75rem;
    }

    .media-content,
    .topics-flex {
        flex-wrap: wrap;
    }

    .topics-flex {
        justify-content: center;
    }

    .topic-img-container {
        width: 100%;
    }

    .topic-card {
        flex: auto;
    }

    .media-card {
        width: 100%;
    }
}