﻿.detail-wrapper {
    width: 1200px;
    margin: 0 auto;
}

.detail-wrapper .detail-title {
    width: 1200px;
    font-size: 24px;
    color: #2E3A59;
    margin-bottom: 20px;
    text-align: center;
}

.detail-wrapper .pub-detail {
    width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #D5DBEA;
}

.detail-wrapper .pub-detail .pub-detail-item,
.detail-wrapper .pub-detail .pub-detail-item span {
    font-size: 15px;
    color: #B5B7C0;
    margin-right: 30px;
}

.detail-wrapper .pub-detail .publisher-icon {
    display: block;
    width: 14px;
    height: 14px;
    margin: 7px;
}

.detail-wrapper .detail-desc {
    font-size: 16px;
    color: #2E3A59!important;
    line-height: 38px!important;
}

/* 文本选中样式 */
.detail-wrapper .detail-desc ::selection,
.detail-wrapper .detail-desc ::-moz-selection {
    background-color: #1479D7;
    color: #fff;
}

.detail-wrapper .detail-desc *::selection,
.detail-wrapper .detail-desc *::-moz-selection {
    background-color: #1479D7;
    color: #fff;
}

/* 内容简介文本样式 - 让子元素继承颜色 */
/* 使用 ID 选择器提高优先级，确保覆盖外部样式表 */
/* 注意：content-intro-text 现在是 div 而不是 p */
#content-intro-wrapper .content-intro-text,
#content-intro-wrapper div.content-intro-text,
.detail-wrapper .detail-desc #content-intro-wrapper .content-intro-text,
.detail-wrapper .detail-desc #content-intro-wrapper div.content-intro-text,
.detail-wrapper .detail-desc .content-intro-text,
.detail-wrapper .detail-desc div.content-intro-text,
.detail-wrapper .content-intro-text,
.detail-wrapper div.content-intro-text {
    color: #808080 !important;
}

/* 确保所有子元素都继承颜色，包括 ck-content 及其内部元素 */
/* 使用更高优先级的选择器，覆盖外部样式表 */
#content-intro-wrapper .content-intro-text *,
#content-intro-wrapper .content-intro-text div,
#content-intro-wrapper .content-intro-text .ck-content,
#content-intro-wrapper .content-intro-text .ck-content *,
#content-intro-wrapper .content-intro-text .ck-content p,
#content-intro-wrapper .content-intro-text .ck-content div,
#content-intro-wrapper .content-intro-text div p,
#content-intro-wrapper .content-intro-text p,
.detail-wrapper .detail-desc #content-intro-wrapper .content-intro-text *,
.detail-wrapper .detail-desc #content-intro-wrapper .content-intro-text div,
.detail-wrapper .detail-desc #content-intro-wrapper .content-intro-text .ck-content,
.detail-wrapper .detail-desc #content-intro-wrapper .content-intro-text .ck-content *,
.detail-wrapper .detail-desc #content-intro-wrapper .content-intro-text .ck-content p,
.detail-wrapper .detail-desc #content-intro-wrapper .content-intro-text .ck-content div,
.detail-wrapper .detail-desc #content-intro-wrapper .content-intro-text div p,
.detail-wrapper .detail-desc #content-intro-wrapper .content-intro-text p,
.detail-wrapper .detail-desc .content-intro-text *,
.detail-wrapper .detail-desc .content-intro-text div,
.detail-wrapper .detail-desc .content-intro-text .ck-content,
.detail-wrapper .detail-desc .content-intro-text .ck-content *,
.detail-wrapper .detail-desc .content-intro-text .ck-content p,
.detail-wrapper .detail-desc .content-intro-text .ck-content div,
.detail-wrapper .detail-desc .content-intro-text div p,
.detail-wrapper .detail-desc .content-intro-text p,
.detail-wrapper .content-intro-text *,
.detail-wrapper .content-intro-text div,
.detail-wrapper .content-intro-text .ck-content,
.detail-wrapper .content-intro-text .ck-content *,
.detail-wrapper .content-intro-text .ck-content p,
.detail-wrapper .content-intro-text .ck-content div,
.detail-wrapper .content-intro-text div p,
.detail-wrapper .content-intro-text p {
    color: #808080 !important;
}

.detail-wrapper .op-wrapper {
    width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-wrapper .op-wrapper .op-item {
    width: 98px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 4px;
    background: #1479D7;
    color: #FFF;
    font-size: 16px;
    margin: 50px 30px 20px;
    cursor: pointer;
}

.detail-wrapper .op-wrapper .op-item.prev {
    background: #E6E7E8;
}

.detail-wrapper .op-wrapper .op-item.next {
    background: #FEAC1C;
}

/* 独立 list-wrapper 样式 */
.list-wrapper {
    margin: 0 auto;
}

.list-wrapper .detail-title {

    font-size: 24px;
    color: #2E3A59;
    margin-bottom: 20px;
    text-align: center;
}

.list-wrapper .pub-detail {

    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #D5DBEA;
}

.list-wrapper .pub-detail .pub-detail-item {
    font-size: 15px;
    color: #B5B7C0;
    margin-right: 30px;
}

.list-wrapper .pub-detail .publisher-icon {
    display: block;
    width: 14px;
    height: 14px;
    margin: 7px;
}

.list-wrapper .detail-desc {
    font-size: 16px;
    color: #2E3A59;
    line-height: 32px;
}

.list-wrapper .op-wrapper {

    display: flex;
    justify-content: center;
    align-items: center;
}

.list-wrapper .op-wrapper .op-item {
    width: 98px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 4px;
    background: #1479D7;
    color: #FFF;
    font-size: 16px;
    margin: 50px 30px 20px;
    cursor: pointer;
}

.list-wrapper .op-wrapper .op-item.prev {
    background: #E6E7E8;
}

.list-wrapper .op-wrapper .op-item.next {
    background: #FEAC1C;
}

/* 列表样式 */

.list2-wrapper .item-wrapper {
    height: 78px;
    width: 930px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #D5DBEA;
    margin-left: 30px;
    cursor: pointer;
}

.list2-wrapper .item-wrapper .item-title {
    width: 730px;
    box-sizing: border-box;
    padding-left: 30px;
    position: relative;
    line-height: 78px;
    font-size: 18px;
    color: #2E3A59;
    /* 文本截断显示省略号 - 强制单行 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    height: 78px;
}

.list2-wrapper .item-wrapper .item-title::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #A2A9BC;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.list2-wrapper .item-wrapper .item-date {
    font-size: 16px;
    color: #A2A9BC;
}

/* 移动端适配 */
@media (max-width:768px) {
    .list2-wrapper {
        padding: 0 16px;
        box-sizing: border-box;
        width: 100% !important;
    }

    .list2-wrapper .item-wrapper {
        width: 100% !important;
        margin-left: 0 !important;
        height: auto;
        min-height: 64px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 12px 0;
    }

    .list2-wrapper .item-wrapper .item-title {
        width: 100% !important;
        height: auto !important;
        line-height: 1.5 !important;
        font-size: 16px !important;
        padding-left: 18px !important;
        padding-right: 0;
        white-space: normal !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .list2-wrapper .item-wrapper .item-title::before {
        left: 0;
        top: 10px;
        transform: none;
        width: 6px;
        height: 6px;
    }

    .list2-wrapper .item-wrapper .item-date {
        width: 100% !important;
        font-size: 12px !important;
        margin-top: 6px;
        padding-left: 18px;
        color: #999 !important;
        line-height: 1.4;
    }

    .list2-wrapper .item-wrapper {
        border-bottom: 1px solid #E5E7EC;
    }
}