body {
    background: rgba(var(--cdp-whole-bg-rgb), 1);
}


/************* 0-common *************/
.indiceswarp {
    margin: 0 10px;
}

/* 面包屑导航 */
.indicrumb{
    margin-top: 6px;
    margin-bottom: 10px;
}

/* 导航 */
.main-nav {
    background: var(--bgmain2-color);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 6px;
    padding: 6px 10px;
}
.nav-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 30px;
    text-decoration: none;
}
.nav-menu {
    display: flex;
    list-style: none;
    margin:  0 auto;
}

.nav-item {
    position: relative;
}
.nav-link {
    color: rgba(var(--cdp-main-rgb), 1);
    text-decoration: none;
    padding: 0 25px;
    height:32px;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: rgba(78, 70, 180, 1);
    background: rgba(78, 70, 180, 0.1);
    border-radius: 6px;
}



@media (max-width: 768px) {
    .nav-container {
        height: auto;
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        height: 50px;
        padding: 0 20px;
    }
}








/************* 1-指数列表 *************/


.cxindcontent{
    margin-top:0px;
    margin-bottom: 10px;
}

/* 图表卡片容器 */
.cxind-charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 15px;
}

/* 图表卡片 */
.cxind-chart-card {
    background: var(--bgmain2-color);
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

/* 图表标题区域 */
.cxind-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
} 
.cxind-chart-title {
    font-size: 20px;
    font-weight: bold;
    color: rgba(var(--cdp-base-rgb), 0.88);
    margin: 0;
}
.cxind-chart-title:hover {
    color: rgba(var(--cdp-base-rgb), 1);
}
.cxind-chart-value {
    font-size: 16px;
    font-weight: 600;
    color: rgba(var(--cdp-main-rgb),0.9);
}

/* 指数介绍信息 */
.cxind-chart-description {
    font-size: 14px;
    color: rgba(var(--cdp-main-rgb),0.9);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 图表操作按钮区域 */
.cxind-chart-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.cxind-chart-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s;
}
.cxind-chart-btn:hover {
    background-color: #f0f2f5;
    color: var(--cxind-primary);
}

/* 子类按钮组 */
.cxind-subclass-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; 
} 
.cxind-subclass-btn {
    padding: 6px 8px;
    font-size: 12px;
    background: rgba(var(--cdp-main-rgb), 0.05);
    color: rgba(var(--cdp-main-rgb), 0.8);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
} 
.cxind-subclass-btn:hover {
    background: rgba(var(--cdp-main-rgb), 0.08);
} 
.cxind-subclass-btn.active {
    background: rgba(var(--cdp-main-rgb), 0.08);
    color: rgba(var(--cdp-base-rgb), 0.91);
    font-weight: bold;
}

/* 时间选择按钮组 */
.cxind-time-btns {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.cxind-time-btn {
    padding: 6px 8px;
    font-size: 12px;
    background: rgba(var(--cdp-main-rgb), 0.05);
    color: rgba(var(--cdp-main-rgb), 0.8);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.cxind-time-btn:hover {
    background: rgba(var(--cdp-main-rgb), 0.08);
}

.cxind-time-btn.active {
    background: rgba(var(--cdp-main-rgb), 0.08);
    color: rgba(var(--cdp-base-rgb), 0.91);
    font-weight: bold;
}

/* 图表容器 */
.cxind-chart-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.cxind-chart-container {
    width: 100%;
    height: 100%;
    min-width: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cxind-charts-container {
        grid-template-columns: 1fr;
    }
    
    .cxind-chart-actions {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .cxind-subclass-btns {
        gap: 6px;
    }
}



/************* 2-指数详情页 *************/


/* 0.指数概述 */
.inditoper {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 15px;
    background: var(--bgmain2-color);
    border-radius: 6px;
}
.index-header {}
.index-header .index-name{
    position: relative;
}
.index-header .index-name .indextop-tool{
    position: absolute;
    right: 10px;
    top: 6px;
}
.index-fullname {
    font-size: 24px;
    font-weight: 600;
    color: #6b61f0
}
.index-shortname {
    font-size: 16px;
    color: rgba(var(--cdp-main-rgb),0.9);
}
.index-description {
    line-height: 1.7;
    font-size: 14px;
    margin-top: 8px;
    color: rgba(var(--cdp-main-rgb),0.8);
}
.index-description a {
    color: rgba(var(--cdp-base-rgb), 1);
    text-decoration: none;
}
.index-description a:hover {
    text-decoration: underline;
}



/* 1.指数板块及标题 */
.info-section {
    background: var(--bgmain2-color);
    border-radius: 6px;
    margin-bottom:10px;
}
.info-title {
    display: flex;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(var(--cdp-main-rgb), 0.05);
}
.info-title .name{
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    color: rgba(var(--cdp-main-rgb), 1);
}
.info-title .export{
    text-align: right;
}


/* 2.指数图表区域 */
.indichart{ 
    padding: 10px 20px 20px;
}

/* 2.1.指数子类型选择 */ 
.subtab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.subtab-nav .tab-item {
    padding: 6px 8px;
    font-size: 13px;
    background: var(--tag-gray-background);
    color: var(--tag-gray-text-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.subtab-nav .tab-item:hover {
    background-color: #e1e5eb;
}
.subtab-nav .tab-item.active {
    background: rgba(var(--cdp-base-rgb), 0.91);
    color: var(--cdp-gray-main);
    font-weight: bold;
}


/* 2.2.指数筛选条件 */ 
.filter-section{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-label {
    font-weight: 500;
}

.time-buttons {
    display: flex;
    gap: 10px;
}

.time-btn {
    padding: 4px 8px;
    background-color: #f0f2f5;
    border: none;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.time-btn:hover {
    background-color: #e1e5eb;
}

.time-btn.active {
    background-color: #2a5298;
    color: white;
}

.custom-date-picker {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-input {
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 120px;
}



.toolbtn { 
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.download-chart-btn {
    padding: 5px 10px;
    background-color: #f0f2f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.download-chart-btn:hover {
    background-color: #e1e5eb;
}

.premium-badge {
    background-color: #ffd700;
    color: #333;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
}




/* 2.1.指数图表展示区域 */ 
.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
} 



/* 指数特征 */

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.feature-item {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.feature-desc {
    color: #666;
    line-height: 1.6;
}

/* 历史数据 */
.indice-table{
    padding: 10px 20px 20px;
}
.data-table {
    width: 100%;
    border-collapse: collapse; 
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
}

.data-table th {
background-color: #f5f7fa;
font-weight: 600;
}

.data-table tr:hover {
background-color: #f9f9f9;
}

.table-actions {
margin-top: 15px;
display: flex;
justify-content: flex-end;
gap: 10px;
}
 

@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .data-table {
        display: block;
        overflow-x: auto;
    }
}




/* 指数详情页的研报列表 */
.indice-report{
    padding: 0 20px;
}
.indice-report-listcont{
     display: grid;
     grid-template-columns: repeat(1, 1fr);
     margin-bottom: 10px;
}
.indice-report-item{
     border-bottom: 1px solid rgba(var(--cdp-main-rgb), 0.08);
    position: relative;
    display: flex;
    padding: 12px 15px;
    flex-direction: column;
 }
.indice-report-item:hover {
    cursor: pointer;
    background: rgba(var(--cdp-main-rgb), 0.04);
}

.report-more{
    display: flex;
    align-items: center;
}
.report-more .repitem {
}
.report-more .repitem i{
    margin-right: 4px;
    font-style: normal;
    font-size: 12px;
    color: rgba(var(--cdp-main-rgb), 0.6);
}

.report-more .repitem span{
    color: rgba(var(--cdp-main-rgb), 0.8);
}

.report-more .report-title {
    font-size: 16px;
    font-weight: 600;
    color:rgba(var(--cdp-main-rgb), 1);
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 标题显示2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.report-more .report-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.report-more .report-title a:hover {
    opacity: 0.88;
}
.report-more .report-date{
    width: 160px;
    color:rgba(var(--cdp-main-rgb),0.8);
}
.report-more .report-author{
    width: 200px;
    color:rgba(var(--cdp-main-rgb),0.8);
}
.report-more .report-download{
    width: 80px;
    text-align: right;
}


.report-abstract{
    margin-top: 4px;
    background: rgba(var(--cdp-main-rgb), 0.04);
    padding: 4px 8px;
    font-size: 13px;
    color:rgba(var(--cdp-main-rgb), 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 22px;
    display: none;
}



.download-wrapper {
    position: relative;
    display: inline-block;
}

/* 分页样式 */
#reportPagination {
    text-align: center;
    margin: 0 auto;
    padding-left: 20px;
}

/* 无数据状态 */
.no-report-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 16px;
    color: #999;
}

.no-report-data i {
    font-size: 36px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.no-report-data p {
    margin: 0;
    font-size: 14px;
}

/* 摘要为空时的提示 */
.abstract-empty {
    color: #999;
    font-style: italic;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* 付费标识样式调整 */
.cxui-pay-xs {
    font-size: 10px;
    padding: 1px 4px;
    top: -6px !important;
    right: -6px !important;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .report-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .report-card {
        min-height: 170px;
        padding: 14px;
    }

    .report-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .report-abstract {
        font-size: 12px;
        -webkit-line-clamp: 5; /* 中等屏幕显示5行 */
    }

    .abstract-empty {
        font-size: 12px;
    }

    .report-date {
        font-size: 11px;
    }

    .report-author-info {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .report-cards-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .report-card {
        min-height: 160px;
        padding: 12px;
    }

    .report-title {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .report-title-row {
        flex-wrap: wrap;
    }

    .report-date {
        margin-top: 4px;
        width: 100%;
        text-align: right;
    }

    .report-abstract {
        font-size: 13px;
        -webkit-line-clamp: 4; /* 移动端显示4行 */
    }

    .abstract-empty {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .report-cards-container {
        gap: 10px;
    }

    .report-card {
        min-height: 150px;
        padding: 12px;
    }

    .report-title {
        font-size: 13px;
    }

    .report-abstract {
        font-size: 12px;
        -webkit-line-clamp: 4;
    }

    .abstract-empty {
        font-size: 12px;
    }
}

/* 调整搜索区域 */
.search-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.dtoolitem {
    margin-bottom: 0;
}

#rateTitle, #publDate {
    min-width: 120px;
    max-width: 180px;
    height: 32px;
    line-height: 32px;
}








/* 分类筛选按钮样式 */
.cxind-category-btns {
    text-align: center;
    margin:  0 auto 10px;
}
.cxind-category-btn {
    padding: 8px 16px;
    background-color: #f0f2f5;
    color: #666;
    border: none;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 10px;
}
.cxind-category-btn.active {
    background-color: #1677ff;
    color: white;
}
.cxind-category-btn:hover:not(.active) {
    background-color: #e6f7ff;
    color: #1677ff;
}















/************* 3-研报列表 *************/



/* 标签容器样式 */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
}
.tag-container .tagitem {
    padding: 2px 5px;
    background-color: #e8f0fe;
    border-radius: 3px;
    font-size: 12px;
    color: #1a73e8;
}



/* 研报元信息样式 */
.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}
.report-meta .meta-item {
    display: flex;
    align-items: center;
}
.report-meta .meta-label {
    color: rgba(var(--cdp-main-rgb), 0.7);
    margin-right: 5px;
}
.report-meta .meta-value {
    color: rgba(var(--cdp-main-rgb), 0.9);
    margin-right: 5px;
}







/***** 研报列表 *****/
.cxreport-content{
    margin-top: 0px;
    margin-bottom: 10px;
}
/* 研报列表容器样式 */
.report-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 15px;
}
/* 研报卡片样式 */
.cxreport-item {
    background: var(--bgmain2-color);
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    gap: 20px;
}
.cxreport-item:hover {
}
/* 研报图片样式 */
.report-image {
    width: 140px;
    object-fit: cover;
    flex-shrink: 0;
    overflow: hidden;
}
.report-image img{
    width: 100%;
    border-radius: 4px;
}

/* 研报内容区域 */
.report-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* 研报类型标签 */
.report-type-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}
.report-type-tag.self {
    background-color: #e6f7ff;
    color: #1890ff;
}
.report-type-tag.third {
    background-color: #f6ffed;
    color: #52c41a;
}

/* 卡片头部样式 */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.report-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2d3d;
    text-decoration: none;
    margin-bottom: 4px;
}

.report-price {
    display: none;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    color: #494d4a;
    background: linear-gradient(90deg,#fceee1,#fcdac1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
.report-price.free {
    color: #666;
    font-size: 13px;
}

/* 卡片描述样式 */
.report-description {
    font-size: 14px;
    color: rgba(var(--cdp-main-rgb), 0.9);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}
/* 最新研报样式 */
.latest-reports {
    margin-top: 5px;
    padding: 12px;
    background-color: rgba(var(--cdp-main-rgb), 0.04);
    border-radius: 5px;
}
.latest-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
    color:  rgba(var(--cdp-main-rgb), 0.9);
    display: flex;
}
.latest-title span{
    flex: 1;
    padding-left: 6px;
}
.latest-title .molink{
    text-align: right;
}

/* 详情按钮样式 */
.report-detail-btn {
    display: inline-block;
    color: #1677ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 300;
    transition: background-color 0.3s;
    text-align: center;
}

.report-detail-btn:hover {
    color: #0d5bcf;
}

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%; /* 确保列表占满父容器宽度 */
    box-sizing: border-box; /* 包含内边距在宽度内 */
}

.latest-item {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 垂直居中 */
    font-size: 12px;
    padding: 4px 6px;
    color: #666;
    cursor: pointer;
    min-width: 0; /* 重要：允许子元素收缩 */
    width: 100%; /* 确保项目占满列表宽度 */
    box-sizing: border-box; /* 包含内边距在宽度内 */
}

.latest-item:hover {
    background: rgba(var(--cdp-main-rgb), 0.08);
}

.latest-item-title {
    flex: 1;
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
    color:  rgba(var(--cdp-main-rgb), 0.9);
}

.latest-item-date {
    flex-shrink: 0; /* 防止日期被挤压 */
    color: #999;
    white-space: nowrap; /* 防止日期换行 */
}


/* 响应式设计 */
/* 基础样式 - 同上 */

@media screen and (min-width: 1200px) and (max-width: 1200px) {
    .latest-item-title {
        max-width: 240px;
    }
}
@media screen and (min-width: 769px) and (max-width: 1000px) {
    .latest-item-title {
        max-width: 340px;
    }
}
@media (max-width: 768px) {
    .cxreport-item {
        flex-direction: column;
    }
    .report-image {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
    .report-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .report-price {
        margin-top: 8px;
    }

    .report-type-tag {
        position: static;
        margin-bottom: 8px;
        align-self: flex-start;
    }
    .latest-item-title {
        max-width: 500px;
    }
}




/************* 4-研报详情页 *************/


/* 指数详情页的研报列表 */


/* 研报详情头部 */
.repdet-header {
    background: var(--bgmain2-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.reportdetial-image {
    width: 140px;
    object-fit: cover;
    flex-shrink: 0;
    overflow: hidden;
}
.reportdetial-image img{
    width: 100%;
    border-radius: 8px;
}
.repdet-content {
    flex: 1;
}
.repdet-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(var(--cdp-main-rgb), 0.9);
}
.repdet-description {
    color: rgba(var(--cdp-main-rgb), 0.8);
    margin-bottom: 10px;
    font-size: 16px;
}

.report-buy{
    margin-top: 15px;
}
.report-buy .report-price {
    font-size: 15px;
    font-weight: 700;
    padding: 0px 12px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    border-radius: 8px;
    color: #494d4a;
    background: linear-gradient(90deg,#fceee1,#fcdac1);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.report-buy .report-tips{
    margin-left: 6px;
    color: #666;
    font-size: 12px;
}




/* 研报详情列表 */
.repdet-alllist{
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.repdet-alllist .list-title {
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.repdet-list {
    padding: 10px;
}
.repdet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.repdet-item:last-child {
    border-bottom: none;
}
.repdet-item:hover{
    background: #f0f2f5;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
.repdet-info {
    flex: 1;
}
.repdet-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #222;
}
.repdet-meta-info {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}
.download-btn {
    background-color: #1890ff;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s;
}
.download-btn:hover {
    background-color: #40a9ff;
}

@media (max-width: 768px) {
    .repdet-header {
        flex-direction: column;
    }
    .repdet-image-container {
        flex: 1;
    }
}



/************* 5-文章列表 *************/

.cxnews-content{
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 分类筛选按钮样式 */
.news-category-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.news-category-btn {
    padding: 8px 16px;
    background-color: #f0f2f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    font-size: 14px;
}
.news-category-btn.active {
    background-color: #1677ff;
    color: white;
}
.news-category-btn:hover:not(.active) {
    background-color: #e6f7ff;
    color: #1677ff;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}



.news-leftimage {
    flex: 0 0 300px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 200px;
    overflow: hidden;
}
.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.no-image {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.news-rightcontent {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
}
.news-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2c3e50;
    line-height: 1.4;
}
.news-description {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
    flex-grow: 1;
}
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.news-tags .tag {
    background: #e1f0fa;
    color: #3498db;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
.news-tags .tag.important {
    background: #ffeaa7;
    color: #e17055;
}
.news-tags .tag.hot {
    background: #ff7675;
    color: white;
}


.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c8d;
}
.news-meta em{
    font-style: normal;
    margin: 0 6px;
    color: #888;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }

    .news-image {
        flex: 0 0 200px;
    }
}

/************* 6-文章详情页 *************/

.articlewarp{
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}


.articletoper {
    padding: 20px 30px 0;
}
.articletoper h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}
.articletoper .article-meta {
    margin-bottom: 20px;
    font-size: 14px;
    color: #7f8c8d;
}
.articletoper .article-meta span{
    margin-right: 10px;
}



.article-content {
    border-top: 1px solid #f0f0f0;
    padding: 20px 30px;
    margin-top: 20px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 6px;
}

