/* 新闻列表与栏目首页样式 - V5 改造 (1:1 像素级还原即时设计原型 js_5CXbytNgfX5) */

body {
    background-color: #F9F9F9 !important;
    overflow-x: hidden !important;
}

/* 突破旧版 1200px main-container 限制，使外层背景全屏延展 */
#app > .app-wrapper > .main-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 外层容器 */
.column-page-container {
    position: relative;
    width: 100%;
    min-height: 900px;
    padding: 24px 0 60px 0;
    box-sizing: border-box;
    background-color: #F9F9F9;
    overflow: hidden;
}

/* 水墨山水背景装饰层 - 左右两侧淡雅山水水印 */
.bg-decor-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1920px;
    max-width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-decor-left {
    position: absolute;
    top: 124px;
    left: 0;
    width: 718px;
    height: 410px;
    opacity: 0.9;
    background: url('/resources/images/news_v5/bg_left.png') no-repeat left top;
    background-size: contain;
}

.bg-decor-right {
    position: absolute;
    top: 654px;
    right: 0;
    width: 679px;
    height: 406px;
    opacity: 0.9;
    background: url('/resources/images/news_v5/bg_right.png') no-repeat right top;
    background-size: contain;
}

/* 居中白色主卡片 1300px */
.column-main-card {
    position: relative;
    z-index: 1;
    width: 1300px;
    max-width: 1300px;
    min-height: 750px;
    margin: 0 auto;
    padding: 24px 24px 36px 24px;
    background: #FFFFFF;
    border: 0.5px solid #C2DEED;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    border-radius: 2px;
}

/* 面包屑区域 */
.column-breadcrumb-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.column-breadcrumb-nav {
    font-size: 14px;
    color: #999999;
    line-height: 20px;
    font-family: 'SourceHanSansCN-Regular', "PingFang SC", "Microsoft YaHei", sans-serif;
}

.column-breadcrumb-nav .loc-label {
    color: #999999;
}

.column-breadcrumb-nav a {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.column-breadcrumb-nav a:hover {
    color: #2E54A1;
}

.column-breadcrumb-nav .sep {
    margin: 0 3px;
    color: #999999;
}

.column-breadcrumb-nav .current-col {
    color: #333333;
}

.column-breadcrumb-divider {
    width: 100%;
    height: 1px;
    background: url('/resources/images/news_v5/line.png') no-repeat center;
    background-size: 100% 1px;
    background-color: #EEF3F8;
}

/* 子栏目 Tab 切换条 */
.column-main-card .tab-wrapper {
    width: 100%;
    height: 56px;
    background-color: #FAFAFA;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: none;
    margin-bottom: 8px;
    padding: 0;
}

.column-main-card .tab-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    min-width: 150px;
    padding: 0 24px;
    font-size: 20px;
    font-weight: 400;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
    border-bottom: 2px solid transparent;
    user-select: none;
}

.column-main-card .tab-wrapper span:hover {
    color: #2E54A1;
}

.column-main-card .tab-wrapper span.active {
    color: #2E54A1 !important;
    font-weight: 700 !important;
    background: transparent !important;
    border-bottom: 2px solid #2E54A1 !important;
}

.column-main-card .tab-wrapper span .tab-arrow-left,
.column-main-card .tab-wrapper span .tab-arrow-right {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: url('/resources/images/news_v5/arrow_bracket.png') no-repeat center;
    background-size: contain;
    margin: 0 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

.column-main-card .tab-wrapper span .tab-arrow-left {
    transform: rotateY(180deg);
}

/* 新闻列表区域 */
.news-list-container {
    width: 100%;
}

.news-list-wrap {
    width: 100%;
}

.news-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid #EEEEEE;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.news-list-item:hover {
    background-color: rgba(46, 84, 161, 0.015);
}

/* 左侧日期徽章盒 90x90 */
.news-date-badge {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border: 1px solid #C1D0F6;
    border-radius: 4px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.news-date-day {
    font-size: 24px;
    font-weight: 700;
    color: #2E54A1;
    line-height: 32px;
    font-family: 'SourceHanSansCN-Bold', "PingFang SC", "Microsoft YaHei", sans-serif;
}

.news-date-divider {
    width: 64px;
    height: 1px;
    background: url('/resources/images/news_v5/date_divider.png') no-repeat center;
    background-size: 100% 1px;
    background-color: #C1D0F6;
    margin: 4px 0;
}

.news-date-year-month {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 22px;
    font-family: 'SourceHanSansCN-Regular', "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 中间标题与摘要 */
.news-main-info {
    flex: 1;
    margin: 0 32px 0 24px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    font-family: 'SourceHanSansCN-Bold', "PingFang SC", "Microsoft YaHei", sans-serif;
}

.news-item-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-align: left;
}

.news-item-title a:hover {
    color: #2E54A1;
}

.news-item-desc {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #666666;
    font-family: 'SourceHanSansCN-Regular', "PingFang SC", "Microsoft YaHei", sans-serif;
}

.news-item-desc a {
    color: #666666;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: left;
    line-height: 24px;
    transition: color 0.2s ease;
}

.news-item-desc a:hover {
    color: #333333;
}

/* 右侧了解详情按钮 */
.news-action-area {
    flex-shrink: 0;
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    border: 1px solid #2E54A1;
    border-radius: 4px;
    color: #2E54A1;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    background: #FFFFFF;
    box-sizing: border-box;
    transition: all 0.25s ease;
    gap: 8px;
    cursor: pointer;
}

.btn-detail .detail-arrow {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: url('/resources/images/news_v5/arrow_bracket.png') no-repeat center;
    background-size: contain;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-detail:hover {
    background: #2E54A1;
    color: #FFFFFF;
}

.btn-detail:hover .detail-arrow {
    filter: brightness(0) invert(1);
    transform: translateX(2px);
}

/* 分页容器 */
.pagination-wrapper {
    margin-top: 36px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.layui-laypage {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.layui-laypage a, .layui-laypage span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 4px;
    margin: 0 3px;
    border-radius: 2px;
    font-size: 13px;
    line-height: 24px;
    border: 1px solid #E2E2E2 !important;
    color: #333333 !important;
    background-color: #FFFFFF;
    text-decoration: none;
}

.layui-laypage .layui-laypage-curr {
    padding: 0 !important;
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #2E54A1 !important;
    border-radius: 2px;
}

.layui-laypage .layui-laypage-curr em {
    color: #FFFFFF !important;
    font-weight: bold;
}

.layui-laypage a:hover {
    color: #2E54A1 !important;
    border-color: #2E54A1 !important;
}

.layui-laypage .layui-laypage-prev, .layui-laypage .layui-laypage-next {
    color: #666666 !important;
    font-weight: bold;
    font-size: 14px !important;
}

.pagination-wrapper .goMore a {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid #2E54A1;
    border-radius: 4px;
    color: #2E54A1;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-wrapper .goMore a:hover {
    background-color: #2E54A1;
    color: #FFFFFF;
}

/* 兼容轮播（如有 hasNews） */
.top-headline {
    width: 100%;
    margin-bottom: 24px;
}
.top-headline-swiper-container {
    width: 100%;
    overflow: hidden;
}
.top-headline-item {
    width: 100%;
}
.top-headline-item-content {
    display: flex;
    gap: 20px;
}
.top-headline-item-img {
    width: 480px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}
.top-headline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.top-headline-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    margin-bottom: 12px;
}
.top-headline-col {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #999;
}
.top-headline-content-desc {
    font-size: 14px;
    color: #666;
    line-height: 22px;
    flex: 1;
}
.top-headline-to {
    color: #2E54A1;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}
