/* 新闻中心页面专用样式 */

/* 轮播图/单图区域：与原先轮播同高度 */
.news-hero-section {
    height: 2.2396rem;
    position: relative;
    overflow: visible;
    display: block;
}

.news-hero-section .banner-con {
    width: 100%;
    position: relative;
    display: block;
}

.news-hero-section .banner-con img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: top;
}

/* 面包屑导航 - 一半在轮播图里面 */
.breadcrumb-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    transform: translateY(50%);
}

.breadcrumb-container {
    width: 7.7083rem;
    margin: 0 auto;

}

.breadcrumb-box {
    background: #FFFFFF;
    border-radius: .0208rem;
    box-shadow: 0 .0208rem .0521rem 0 #00000026;
    padding: .1042rem .0833rem;
    display: flex;
    align-items: center;
    gap: .0521rem;
}

.breadcrumb-icon {
    width: 16px;
    height: 16px;
    background-image: url('../image/positioning2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.breadcrumb-text {
    color: #5c6573;
    font-size: .0833rem;
    font-weight: 400;
}

.breadcrumb-text a {
    color: #5c6573;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-text a:hover {
    color: #CA161E;
}

.breadcrumb-text .separator {
    margin: 0 .0104rem;
    color: #D4DBE6;
}

.breadcrumb-text .current {
    color: #CA161E;
    font-weight: 500;
}

/* 新闻内容区域 */
.news-content-section,
.news-dynamics-section,
.news-party-section {
    padding: .375rem 0 .375rem 0;
    padding-top: .6771rem;
    background-color: #FFFFFF;
    min-height:calc(100vh - 2.2396rem - 1.44rem - 0.03rem);
}
.news-develop-bg{
    background-image: url('../image/news_bg.png');
    background-size: 5.86rem;
    background-position: top right;
    background-repeat: no-repeat;
}
.news-content-bg {
    position: absolute;
    width: 5.4479rem;
    right: 0;
    top: 0;
    z-index: 0;
    /* 放在内容下方，避免挡住点击 */
    height: 3.3854rem;
    pointer-events: none;
    /* 背景不拦截鼠标事件 */
}

/* Tab导航 */
.news-tabs {
    display: flex;
    gap: .375rem;
    margin-bottom: 0;
    position: relative;
    margin-bottom: .0417rem;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.news-tab {
    color: #070b12;
    font-size: .0833rem;
    font-weight: 400;
    padding: .0417rem .0833rem;
    background: transparent;
    transition: all 0.3s;
    border-radius: .0208rem;
    white-space: nowrap;
    position: relative;
    border: none;
}

.news-tab.active {
    background: #CA161E;
    color: #FFFFFF;
}

.news-tab:hover{
    color: #CA161E;
}
.news-tab.active:hover,
.news-tab:hover.active {
    color: #FFFFFF;
}
/* Tab指示器下划线 */
.news-tab-indicator {
    width: 100%;
    height: .0052rem;
    background: #D4DAE6;
    overflow: hidden;
    position: relative;
    margin-bottom: .2083rem;
}

.news-tab-indicator-slider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33.333%;
    background: #CA161E;
    transition: all 0.3s ease;
}



.section-title {
    display: flex;
    align-items: center;
    gap: .1042rem;
    margin-bottom: 0px;
    color: #070b12;
    font-size: .125rem;
    font-weight: 700;
}

.section-title .title-text {
    color: #000000;
}

.news-title-section {
    margin-bottom: .2083rem;
}

/* 详情页标题 */
.detail-title-section {
    margin-bottom: .2083rem;
    padding-bottom: .0833rem;
    border-bottom: 1px solid #D4DBE6;
}

.detail-page-title {
    font-size: .125rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* 新闻列表内容 */
.news-list-content {
    display: flex;
    flex-direction: column;

}

/* 新闻卡片 */
.news-card {
    background: #c4c4c403;
    border-radius: .0208rem;
    box-shadow: 0 .0208rem .0521rem 0 rgba(0, 0, 0, 0.1);
    padding: .0833rem;
    display: flex;
    gap: .0833rem;
    transition: box-shadow 0.3s;

}

.news-card:hover {
    box-shadow: 0 .0417rem .1042rem 0 rgba(0, 0, 0, 0.15);
}

/* 左侧图片 */
.news-card-image {
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
    height: 1.9167rem;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 右侧内容 */
.news-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: .2083rem;
}

/* 卡片头部：时间、年份、浏览次数 */
.news-card-header {
    display: flex;
    align-items: center;
    gap: .0417rem;
    margin-bottom: .0833rem;
}

.news-date {
    color: #070b12;
    font-size: .25rem;
    font-weight: 500;

}

.news-year {
    color: #98a2b3;
    font-size: .1042rem;
    font-weight: 400;
    line-height: 1;
}

.news-views {
    display: flex;
    align-items: center;
    gap: .0417rem;
    color: #ca161e;
    font-size: .1042rem;
    font-weight: 400;
    /* margin-left: auto; */
}

.eye-icon {
    width: .125rem;
    height: .125rem;
    object-fit: contain;
}

/* 标题 */
.news-card-title {
    color: #070b12;
    font-size: .1042rem;
    font-weight: 700;
    margin: 0 0 .0833rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

/* 描述详情 */
.news-card-details {
    margin-bottom: .1042rem;
}

.news-card-details p {
    color: #5c6573;
    font-size: .0938rem;
    font-weight: 400;
    padding-bottom: .0417rem;
}

/* 底部按钮 */
.news-card-footer {
    margin-top: auto;
}

.news-card-btn {
    display: inline-flex;
    align-items: center;
    gap: .0521rem;
    padding: .0469rem .125rem;
    border-radius: .2042rem;
    background: #FFFFFF;
    border: 1px solid #afb8c7;
    color: #98a2b3;
    font-size: .0833rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;

}

.news-card-btn:hover {
    background: #CA161E;
    border-color: #CA161E;
    color: #FFFFFF;
}

.arrow-wrapper {
    position: relative;
    display: inline-block;
    width: .1042rem;
    height: .1042rem;
    flex-shrink: 0;
}

.arrow-icon {
    width: .1042rem;
    height: .1042rem;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s;
}

.arrow-default {
    opacity: 1;
}

.arrow-hover {
    opacity: 0;
}

.news-card-btn:hover .arrow-default {
    opacity: 0;
}

.news-card-btn:hover .arrow-hover {
    opacity: 1;
}

/* 新闻列表 */
.news-list {

    display: flex;
    flex-direction: column;
    gap: .1563rem;
}

/* PC端列表项样式 */
.news-list-item.pc-only {
    /* padding: .2083rem 0; */
    border-bottom: 1px solid #E5E5E5;
    transition: all 0.3s;
    cursor: pointer;
    padding-bottom: .1979rem;
    /* PC端：确保不使用flex布局 */
    display: block;
}

.news-list-item.pc-only:last-child {
    border-bottom: none;
}

/* 第一行：标题 + 浏览次数 - 仅PC端 */
.news-list-item.pc-only .news-list-item-header {
    display: flex;
    align-items: center;
    margin-bottom: .0833rem;
    gap: .0521rem;
}

.news-list-item.pc-only .news-list-item-title {
    color: #070b12;
    font-size: .1042rem;
    font-weight: 700;
    margin: 0;
    transition: color 0.3s;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 6.5083rem;
}

.news-list-item.pc-only .news-list-item-views {
    display: flex;
    align-items: center;
    gap: .0208rem;
    color: #ca161e;
    font-size: .1042rem;
    font-weight: 400;
}

.news-list-item.pc-only .news-list-item-views .eye-icon {
    width: .125rem;
    height: .125rem;
    object-fit: contain;
}

.news-list-item.pc-only .views-label {
    color: #98a2b3;
}

/* 第二行：内容描述 - 仅PC端 */
.news-list-item.pc-only .news-list-item-content {
    margin-bottom: .0833rem;
}

.news-list-item.pc-only .news-list-item-content p {
    color: #5c6573;
    font-size: .0938rem;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

/* 第三行：按钮 + 时间 - 仅PC端 */
.news-list-item.pc-only .news-list-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .2083rem;
}

.news-list-item.pc-only .news-list-item-btn {
    display: inline-flex;
    align-items: center;
    gap: .0521rem;
    padding: .0469rem .125rem;
    border-radius: .2042rem;
    background: #FFFFFF;
    border: 1px solid #afb8c7;
    color: #98a2b3;
    font-size: .0833rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.news-list-item.pc-only .news-list-item-date {
    display: flex;
    align-items: center;
    gap: .0208rem;
    color: #070b12;
    font-size: .1042rem;
    font-weight: 400;
    flex-shrink: 0;
}

.date-icon {
    width: .125rem;
    height: .125rem;
    object-fit: contain;
}

/* 鼠标移入效果 */
/* PC端hover效果 */
.news-list-item.pc-only:hover .news-list-item-title {
    color: #CA161E;
}

.news-list-item.pc-only:hover .news-list-item-btn {
    background: #CA161E;
    border-color: #CA161E;
    color: #FFFFFF;
}

.news-list-item.pc-only:hover .news-list-item-btn .arrow-default {
    opacity: 0;
}

.news-list-item.pc-only:hover .news-list-item-btn .arrow-hover {
    opacity: 1;
}

/* 详情页面 */
.news-detail-section {
    padding: .5208rem 0 .5208rem 0;
    background-image: url('../image/news_bg.png');
    background-size: 5.86rem;
    background-position: top right;
    background-repeat: no-repeat;
    background-color: #FFFFFF;

}

.news-detail-breadcrumb {
    font-size: .0833rem;
    color: #5c6573;
    margin-bottom: .2083rem;
}

.news-detail-breadcrumb a {
    color: #5c6573;
    text-decoration: none;
}

.news-detail-breadcrumb .current {
    color: #CA161E;
}

.news-detail-layout {
    display: flex;
    gap: .2083rem;
    align-items: flex-start;
}

.news-detail-aside {

    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.detail-date-box {
    width: 100%;

    text-align: center;
    color: #070b12;
}

.detail-date-year-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: .1042rem;
    gap: 8px;
}

.detail-date-year-line {
    /* flex: 1; */
    height: 1px;
    background: #E5E5E5;
    width: .1875rem;
}

.detail-date-year {
    font-size: .0938rem;
    color: #98a2b3;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-date-day {
    color: #070b12;
    font-size: .25rem;
    font-weight: 500;
    margin-bottom: .0521rem;

}

.detail-date-week {
    color: #98a2b3;
    font-size: .1042rem;
    font-weight: 400;
    margin-bottom: .2083rem;
}

.detail-date-tag {
    color: #98a2b3;
    font-size: .1042rem;
    font-weight: 400;
    margin-bottom: .0417rem;
}

.detail-views-box {
    width: 100%;
    background: #CA161E;
    border-radius: .999rem;
    text-align: center;
    padding: .0469rem .125rem;

}

.detail-views-count {
    color: #ffffff;
    font-size: .0833rem;
    font-weight: 400;
}



.news-detail-content {
    flex: 1;
    padding-left: 40px;
    border-left: 1px solid #D4DBE6;
}

.news-detail-image {
    width: 100%;
    margin-bottom: .2083rem;
}

.news-detail-image img {
    width: 100%;
    height: 3.4896rem;
    display: block;
    object-fit: cover;
}

.news-detail-body {
    font-size: .0833rem;
    line-height: 1.4;
    color: #5c6573;
    font-size: .0938rem;
    font-weight: 400;
    /* line-height: .1313rem; */
}

.news-detail-body p {
    /* margin: 0 0 .0833rem 0; */
}

.detail-footer-text {
    /* margin-top: .1563rem; */
}

/* 分页器 */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .0417rem;
}

.pagination-btn {
    width: .3333rem;
    height: .3333rem;
    border-radius: .0104rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4dbe6;
    background: #FFFFFF;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
}

.pagination-btn:hover:not(.disabled) {
    border-color: #CA161E;
}

.pagination-btn.disabled {
    background: #F5F5F5;
    border-color: #E5E5E5;
    cursor: not-allowed;
}

.pagination-arrow {
    width: .1042rem;
    height: .1042rem;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

.pagination-arrow-active {
    opacity: 1;
}

.pagination-arrow-disabled {
    opacity: 0;
}

.pagination-btn.disabled .pagination-arrow-active {
    opacity: 0;
}

.pagination-btn.disabled .pagination-arrow-disabled {
    opacity: 1;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: .0417rem;
}

.pagination-item {
    width: .3333rem;
    height: .3333rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4dbe6;
    background: #FFFFFF;
    border-radius: .0104rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.pagination-item span {
    color: #5c6573;
    font-size: .0833rem;
    font-weight: 400;
    line-height: 1;
    transition: color 0.3s;
}

.pagination-item.active {
    background: #CA161E;
    border-color: #CA161E;
}

.pagination-item.active span {
    color: #FFFFFF;
}

.pagination-item:hover:not(.active) {
    border-color: #CA161E;
}

.pagination-item:hover:not(.active) span {
    color: #CA161E;
}

/* 响应式调整 */
/* @media (max-width: 1200px) {
    .breadcrumb-container {
        width: 100%;
        padding: 0 .1042rem;
    }
}

@media (max-width: 768px) {

    .news-content-section,
    .news-dynamics-section,
    .news-party-section {
        padding: .4167rem 0;
    }
} */