#header .dq {
    display: none!important;
}


/*轮播图部分*/

.banner {
    padding: 8px 0!important;
}

.banner .row>div {
    background: #FFFFFF;
    border: 0px solid #eaeaea;
    height: 265px;
    overflow: hidden;
}

.banner .row .banner_ban {
    background: none;
    border: none;
    height: 100%;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.banner_ban .banner_ban1,
.banner_ban .banner_ban2 {
    border-radius: 3px;
    position: absolute;
}

.banner_ban .banner_ban1 {
    background: url("../images/index_07.jpg") no-repeat center;
    background-size: 100% 100%;
}

.banner_ban .banner_ban2 {
    background: url("../images/index_09.jpg") no-repeat center;
    background-size: 100% 100%;
}

.banner_ban img {
    margin: 0 auto;
}

.banner_ban .carousel-caption {
    bottom: 0;
    left: 50%;
    height: 42px;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
}

.banner_ban .carousel-indicators {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 5px;
    border-radius: 20px;
}

.banner_ban .carousel-indicators li {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border: 2px solid white;
    background: transparent;
    transition: all 0.3s ease;
}

.banner_ban .carousel-indicators li.active {
    background: white;
    transform: scale(1.2);
}

.banner_ban .carousel-indicators li:hover {
    background: rgba(255,255,255,0.5);
}


/*最近完本*/

.banner_wb span {
    font-size: 18px;
    color: #3d3d3d;
    display: block;
    height: 48px;
    line-height: 48px;
    border-bottom: 1px solid #666;
}

.banner_wb a :hover { 
    color:#4cad46; 
    text-decoration:underline;
}

.banner_wb ul {
    padding: 0;
    max-height: 200px; /* 改为与其他栏目相同的高度 */
    overflow-y: auto; /* 添加垂直滚动 */
    overflow-x: hidden; /* 隐藏水平滚动 */
    scrollbar-width: thin; /* 细滚动条 */
    scrollbar-color: #4cad46 #f1f1f1; /* 滚动条颜色 */
}

/* 自定义滚动条样式 */
.banner_wb ul::-webkit-scrollbar {
    width: 4px; /* 滚动条宽度 */
}

.banner_wb ul::-webkit-scrollbar-track {
    background: #f1f1f1; /* 滚动条轨道颜色 */
    border-radius: 2px;
}

.banner_wb ul::-webkit-scrollbar-thumb {
    background: #4cad46; /* 滚动条滑块颜色 */
    border-radius: 2px;
}

.banner_wb ul::-webkit-scrollbar-thumb:hover {
    background: #3d9c37; /* 滚动条滑块悬停颜色 */
}

.banner_wb li {
    padding-left: 20px;
    letter-spacing: 1px;
    display: inline-block;
    line-height: 29px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 90%;
}
.banner_wb li:hover{
    text-decoration:none;
}


/*主编推荐*/

.banner_wb li span {
    display: block;
    border: none;
    position: absolute;
    top: 7px;
    left: 0px;
    width: 14px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    font-size: 16px;
    color: #b2b2b2;
}

.banner_tj li span {
    font-size: 12px;
}




/*人物*/

.one {
    border: 0px solid #666;
    background: #fff;
    padding: 0;
}

.onr_left {
    background: url("../images/indbg_03.jpg") no-repeat center;
    background-size: 100% 100%;
    height: 340px;
    padding: 0;
    margin-top: 25px;
}

.onr_left img {
    width: 178px;
    height: 166px;
    margin: 13% auto 0 auto;
}

.onr_left h3 {
    font-size: 20px;
    color: #FFFFFF;
    text-align: center;
    margin: 8px 0;
}

.onr_left p {
    font-size: 12px;
    color: #FFFFFF;
    padding: 0 15px;
    height: 54px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 热门小说模块已移除 */


/*统一卡片容器样式*/
.card-container {
    border: 0px solid #e5f1e5;
    padding: 0;
    margin-bottom: 20px;
}

/*男生站、女生站、碎片时间共用样式*/
.rmZp, .nd_box {
    composes: card-container;
}

/*统一标题样式*/
.section-title {
    height: 34px;
    line-height: 28px;
    border-bottom: 2px solid #e4e4e4;
    margin: 10px 0;
}

.section-title-main {
    float: left;
    width: 110px;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    top: -1px;
    font-size: 16px;
    color: var(--text-color);
    font-weight: bold;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.section-title-more {
    float: right;
    padding-right: 15px;
    position: relative;
    top: -5px;
    font-size: 12px;
    color: #a6a6a6;
}

/*应用统一标题样式*/
.title {
    composes: section-title;
}

.title_span1 {
    composes: section-title-main;
}

.title_span2 {
    composes: section-title-more;
}

/*统一内容卡片样式*/
.content-card {
    margin-bottom: 15px;
    padding: 0 2px;
}

.content-card-img {
    margin: 0 auto;
    width: 120px;
    height: 160px; /* 3:4 比例 */
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    object-fit: cover;
    display: block;
    max-width: 100%; /* 确保图片不会超出容器 */
}

.content-card-img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.content-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px; /* 固定两行高度 */
    max-height: 40px; /* 固定两行高度 */
    line-height: 20px;
    font-size: 15px;
    text-align: center;
    margin: 8px;
    word-break: break-all;
    width: 100%; /* 固定宽度 */
}

.content-card-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 20px;
    line-height: 20px;
    color: #767676;
    font-size: 12px;
    text-align: center;
    margin: 10px 0;
    width: 100%; /* 固定宽度 */
}

/*应用统一内容卡片样式*/
.rm_box div {
    composes: content-card;
}

.rm_box img {
    composes: content-card-img;
}

.rm_name {
    composes: content-card-title;
}

.rm_book {
    composes: content-card-desc;
}


/*超级脑洞*/

.nd_box {}

.nd_box>div {
    padding: 0 0;
}

.nd_box>div div {
    composes: content-card;
    position: relative;
    overflow: hidden;
    height: 145px;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    margin: 8px 8px;
    background: #f8f8f8;
    border-radius: 3px;
}

.nd_box div img {
    composes: content-card-img;
    cursor: pointer;
    height: 133px;
    width: 100px;
    margin: 2% auto;
}

.nd_box .one_title {
    position: absolute;
    width: 50%;
    line-height: 16px;
    right: 15px;
    top: 6px;
    display: block;
}

.nd_box .one_title span {
    display: block;
}

.nd_box .one_title .book {
    composes: content-card-title;
    float: left;
    font-size: 14px;
}

.nd_box .one_title .name {
    composes: content-card-desc;
    float: right;
}

.nd_box .one_txt {
    font-size: 12px;
    display: block;
    color: #8c8c8c;
    position: absolute;
    right: 15px;
    width: 50%;
    top: 30px;
    line-height: 18px;
    height: 54px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.nd_box .one_btn {
    width: 50%;
    height: 35px;
    display: block;
    text-align: center;
    line-height: 35px;
    background: var(--primary-color);
    font-size: 16px;
    color: #fff;
    position: absolute;
    right: 15px;
    bottom: 9px;
    border: none;
    border-radius: 3px;
    outline: none;
    transition: all 0.3s ease;
}

.nd_box .one_btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}


/*妙手丹青*/

.msDq {
    padding-bottom: 10px;
}

.ms_box_left {
    border-right: 1px solid #c4c4c4;
    min-height: 414px;
}

.ms_box_left_txt p {
    font-size: 12px;
    color: #686868;
    line-height: 24px;
    min-height: 242px;
    padding-bottom: 30px;
    padding-top: 20px;
    overflow: hidden;
    text-indent: 2em;
}

.ms_box_left_img p {
    margin-bottom: 20px;
}

.ms_box_left_book {
    font-size: 20px;
    color: #000;
}

.ms_box_left_name {
    font-size: 14px;
    color: #686868;
}

.ms_box_left_span1 {
    font-size: 12px;
    color: #ff7e00;
    border: 1px solid #ff7e00;
    border-radius: 3px;
    padding: 2px 6px;
}

.ms_box_left_span2 {
    font-size: 12px;
    color: #4284ed;
    border: 1px solid #4284ed;
    border-radius: 3px;
    padding: 2px 6px;
}

.ms_box_left_vip {
    font-size: 12px;
    color: #4284ed;
    border: 1px solid #4284ed;
    border-radius: 3px;
    padding: 2px 6px;
}

.ms_box_left_span3 {
    font-size: 12px;
    color: #ff3955;
    border: 1px solid #ff3955;
    border-radius: 3px;
    padding: 2px 6px;
}

.ms_box_left_span4 {
    font-size: 14px;
    color: #686868;
}

.ms_box_left_span5 {
    font-size: 14px;
    color: #686868;
}

.ms_box_right div {
    padding: 0;
    text-align: center;
}

.ms_box_right_title {
    display: block;
    background: #f4f4f4;
    font-size: 14px;
    color: #3d3d3d;
    height: 42px;
    line-height: 42px;
    width: 100%;
    text-align: center;
}

.ms_box_right div ul {
    padding: 0 6px;
}

.ms_box_right div li {
    line-height: 32px;
    height: 32px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: #686868;
}

.ms_box_right div li a {
    font-size: 12px;
    color: var(--text-color);
    transition: all 0.2s ease;
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
}

.ms_box_right div li a:hover {
    color: var(--primary-color);
    background-color: rgba(74, 137, 220, 0.1);
    transform: translateX(3px);
    text-decoration: none;
}

.ms_box_left img {
    width: 160px;
    height: 213px;
}


/* 移动端适配 */
@media (max-width: 767px) {
    .content-card-img {
        width: 100px;
        height: 133px; /* 保持3:4比例 */
    }
    
    .rm_box img,
    .nd_box div img {
        width: 100px;
        height: 133px; /* 保持3:4比例 */
    }
}

/*小屏幕（平板，大于等于768px）*/
@media (min-width:768px) {
    .banner_ban .banner_ban1,
    .banner_ban .banner_ban2 {
        width: 220px;
        height: 67px;
        left: 50%;
        margin-left: -110px;
    }
    .banner_ban .banner_ban1 {
        bottom: 116px;
    }
    .banner_ban .banner_ban2 {
        bottom: 15px;
    }
    .banner_ban .carousel-caption {
        height: 42px;
    }
    .banner_ban .carousel-indicators {
        bottom: 16px;
    }
    .banner .row .banner_ban {
        height: 400px;
    }
    .onr_right div,
    .nd_box>div div {
        height: 176px;
    }
    .nd_box div img,
    .rm_box img {
        height: 160px;
        width: 120px;
        /* 保持3:4比例 */
    }
    .title_span1 {
        font-size: 16px;
    }
    .title_span2 {
        font-size: 12px;
    }
    .title {
        height: 40px;
        line-height: 40px;
    }
    .onr_right .active .one_title,
    .onr_right .active .one_txt,
    .onr_right .active .one_btn,
    .nd_box .one_title,
    .nd_box .one_txt,
    .nd_box .one_btn {
        width: 55%;
    }
    .onr_right .active .one_txt,
    .nd_box .one_txt {
        height: 72px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }
    .banner .row .banner_ban {
        padding: 4 15px;
    }
}


/*中等屏幕（桌面显示器，大于等于992px）*/

@media (min-width:992px) {
    .banner_ban .carousel-caption {
        height: 66px;
    }
    .banner_ban .carousel-indicators {
        bottom: 28px;
    }
    .banner .row .banner_ban {
        height: 265px;
    }
    .onr_right div,
    .nd_box>div div {
        height: 175px;
    }
    .title_span1 {
        font-size: 18px;
    }
    .title_span2 {
        font-size: 14px;
    }
    .title {
        height: 50px;
        line-height: 50px;
        border-bottom: 1px solid #666;
    }
    .onr_right {
        padding: 15px 15px 0 15px!important;
    }
    .onr_right .active .one_title,
    .onr_right .active .one_txt,
    .onr_right .active .one_btn,
    .nd_box .one_title,
    .nd_box .one_txt,
    .nd_box .one_btn {
        width: 50%;
    }
    .onr_right .active .one_txt,
    .nd_box .one_txt {
        height: 72px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }
    .ms_box_right {
        border-left: 1px solid #ccc;
        position: relative;
        left: -1px;
    }
}

@media (min-width:1200px) {
    .onr_right .active .one_title,
    .onr_right .active .one_txt,
    .onr_right .active .one_btn,
    .nd_box .one_title,
    .nd_box .one_txt,
    .nd_box .one_btn {
        width: 53%;
    }
    .onr_right .active .one_txt,
    .nd_box .one_txt {
        height: 68px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }
}
