﻿html, body {
    font-size: 28px !important;
    line-height: 1.8 !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: #1a2b2e;
    line-height: 1.8;
    letter-spacing: 0.5px;
    /* 【底层背景：这里替换为原网站的主题背景图】 */
    /* 如果你没有原图，可以用我给的渐变代替，或者填入真实图片路径 */
    background-image: linear-gradient(135deg, #e6f2ef 0%, #d4ebe4 50%, #c2e0d6 100%);
    /* 若有真实图片，使用以下格式： */
    /* background-image: url('images/bg-main.jpg'); */
    background-size: cover; /* 放大并铺满全屏 */
    background-position: center center;
    background-attachment: fixed; /* 背景固定，防眩晕 */
    background-repeat: no-repeat;
}

.navbar .container a {
    font-size: 28px !important;
    font-size: 28px;
}

.carousel .carousel-caption {
    font-size: 32px !important;
    font-size: 32px;
}

.body-left {
    width: 1146px;
    float: left;
    overflow: hidden;
    position: relative;
    margin-left: 10px;
}

.body-right {
    width: 1146px;
    float: left;
    overflow: hidden;
    position: relative;
}


/***********mode1*****************/

.mode1 {
    width: 1096px;
}

    .mode1 .mode-head {
        height: 57px;
        /*background: url(../image/index_r5_c4.jpg) no-repeat;*/
        /*background: url(../image/index_r5_c4.jpg) / cover no-repeat;*/
        background: url(../image/index_r5_c4.jpg) top center / 100% auto no-repeat;
    }

    .mode1 .mode-body {
        height: 325px;
        /*background: url(../image/index_r7_c5.jpg) no-repeat;*/
        background: url(../image/index_r7_c5.jpg) top center / 100% auto no-repeat;
        overflow: hidden;
    }

        .mode1 .mode-body .news-list {
            width: 980px;
            margin: 0 auto;
        }

    .mode1 .mode-footer {
        height: 37px;
        /*background: url(../image/index_r10_c4.jpg) no-repeat;*/
        background: url(../image/index_r10_c4.jpg) top center / 100% auto no-repeat;
    }

.mode-head a.more {
    float: right;
    display: block;
    width: 40px;
    height: 40px;
    margin-right: 30px;
}

.mode1 .mode-body li {
    line-height: 36px; /* 这里改这个数值，调大=宽松，调小=紧凑 */
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mode1 .mode-body li {
    line-height: 48px;
    margin: 4px 0; /* 上下外边距，行之间留白 */
}

    .mode1 .mode-body li a {
        color: #000000;
        padding-left: 16px;
        background: url(../image/ic2.gif) left center no-repeat;
        flex: 1;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mode1 .mode-body li span.time {
        flex-shrink: 0;
        color: #555;
    }

    .mode1 .mode-body li a:hover {
        color: #9c0e8c;
    }

/***********mode1 end*****************/


/***********mode2 *****************/

.mode2 {
    width: 1096px;
}

    .mode2 .mode-head {
        height: 59px;
        background: url(../image/index_r17_c4.jpg) no-repeat;
        background-size: 100% 100%;
    }

    .mode2 .mode-body {
        height: 460px;
        background: url(../image/index_r19_c4.jpg) no-repeat;
        background-size: 100% 100%;
        position: relative;
    }

    .mode2 .mode-footer {
        height: 34px;
        background: url(../image/juky.jpg) no-repeat;
        background-size: 100% 100%;
    }
/* 左侧卡片 */
.newsMode1 {
    width: 470px;
    height: 400px;
    position: absolute;
    left: 70px;
    top: 14px;
    overflow: hidden;
}
/* 右侧卡片 */
.newsMode2 {
    width: 470px;
    height: 400px;
    position: absolute;
    left: 616px;
    top: 14px;
    overflow: hidden;
}
    /* 标题：红旗在背景图，只移动文字 */
    .newsMode1 .title,
    .newsMode2 .title {
        font-size: 32px;
        color: #0044bb;
        font-weight: bold;
        margin-left: 16px;
        padding: 0 0 4px 0;
        /*border-bottom: 2px solid #ff7722;*/
        position: relative;
        z-index: 1;
        transform: translateY(-8px);
        display: inline-block;
    }
    /* 列表区 */
    .newsMode1 .body,
    .newsMode2 .body {
        margin-top: 12px;
    }

        .newsMode1 .body li,
        .newsMode2 .body li {
            line-height: 48px;
            height: 34px;
            font-size: 20px;
            overflow: hidden;
            white-space: nowrap;
        }

            .newsMode1 .body li a,
            .newsMode2 .body li a {
                float: left;
                width: 440px;
                padding-left: 14px;
                background: url(../image/ic2.gif) left no-repeat;
                display: block;
                color: #0044bb;
                text-decoration: underline;
            }

                .newsMode1 .body li a:hover,
                .newsMode2 .body li a:hover {
                    color: #1c9c0f;
                }

            .newsMode1 .body li span.time,
            .newsMode2 .body li span.time {
                float: right;
                margin-right: 10px;
                color: #0a60a0;
            }
/* 卡通图：卡片内右上角 */
.mode2 .doc-img1 {
    position: absolute;
    top: 18px;
    left: 466px;
    width: 58px;
    z-index: 2;
}

.mode2 .doc-img2 {
    position: absolute;
    top: 18px;
    left: 1012px;
    width: 58px;
    z-index: 2;
}


/***********mode2 end*****************/


/***********mode3*********************/

.mode3 {
    width: 1096px;
}

    .mode3 .mode-head {
        height: 54px;
        /*background: url(../image/jcsj_h.png) no-repeat;*/
        background: url(../image/jcsj_h.png) top center / 100% auto no-repeat;
        background-size: 100%;
    }

    .mode3 .mode-body {
        height: 330px;
        /*background: url(../image/jcsj_b.png) repeat-y;*/
        background: url(../image/jcsj_b.png) top center / 100% auto no-repeat;
        background-size: 100% 100%;
    }

    .mode3 .mode-footer {
        height: 34px;
        /*background: url(../image/jcsj_f.png) no-repeat;*/
        background: url(../image/jcsj_f.png) top center / 100% auto no-repeat;
        background-size: 100%;
    }

    .mode3 .mode-head a.more {
        margin-right: 10px;
    }

    .mode3 .mode-body .images-list {
        margin-left: 40px;
        width: 1068px;
        height: 320px;
        overflow: hidden;
    }

        .mode3 .mode-body .images-list a {
            display: block;
            border: 1px solid #ccc;
            padding: 8px;
            float: left;
            margin: 5px 10px 10px 0;
            width: 200px;
            height: 150px;
        }

            .mode3 .mode-body .images-list a:hover {
                border: 1px solid #ff6a00;
            }

            .mode3 .mode-body .images-list a img {
                width: 100%;
                height: 100%;
            }

/***********mode3 end*****************/


/***********mode4 *****************/

.mode4 .mode-head {
    height: 57px;
    background: url(../image/ysgk_elder.png) no-repeat;
    /*background: url(../image/ysgk.jpg) top center / 100% auto no-repeat;*/
}

.mode4 .mode-body {
    height: 240px;
    background: url(../image/ysgk4_elder.png) repeat-y;
    /*background: url(../image/ysgk4.jpg) top center / 100% auto repeat-y;*/
}

.mode4 .mode-footer {
    height: 61px;
    background: url(../image/ysgk3_elder.png) no-repeat;
    /*background: url(../image/ysgk3.jpg) top center / 100% auto no-repeat;*/
}

.mode4 .mode-body .content {
    width: 1000px;
    height: 240px;
    overflow: hidden;
    margin: 0 auto;
    text-align: justify;
    padding-right: 50px;
}

    .mode4 .mode-body .content a {
        -webkit-line-clamp: 10;
        letter-spacing: 6px;
        line-height: 36px;
        text-indent: 16px;
        font-size: 28px !important;
        font-size: 28px;
        color: #000000;
    }

    .mode4 .mode-body .content a {
        display: block;
        letter-spacing: 2px; /* 字间距调小，6px太散，2-3px适合大段文字 */
        line-height: 42px; /* 行高加大，行与行宽松舒展，不挤 */
        text-indent: 56px; /* 首行缩进，28px字体缩进2个字：28*2=56px */
        font-size: 28px;
        color: #0044bb; /* 匹配截图蓝色文字 */
    }

        .mode4 .mode-body .content a:hover {
            color: #1c9c0f;
        }

/***********mode4 end*****************/


/***********mode5 *****************/

.mode5 .mode-head {
    height: 57px;
    background: url(../image/t_elder.png) no-repeat;
}

.mode5 .mode-body {
    height: 264px;
    background: url(../image/t4_elder.png) repeat-y;
}

.mode5 .mode-footer {
    height: 50px;
    background: url(../image/t3_elder.png) no-repeat;
}

.mode5 .mode-body.news-panel .content {
    width: 1000px;
    height: 266px;
    overflow: hidden;
    margin: 0 auto;
}

    .mode5 .mode-body.news-panel .content li {
        line-height: 160%;
        text-align: justify;
        padding: 6px 6px;
    }


/***********mode5 end*****************/


/***********yw-list*********************/
.yw-list {
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    gap: 6px; /* 图片之间的间距，对应原来的margin-bottom */
}

    .yw-list a {
        display: block;
        text-align: center;
        flex: 1; /* 均分宽度；不想均分就去掉flex:1，固定width */
    }

        .yw-list a img {
            width: 100%;
            height: auto;
            display: block;
        }


/*.yw-list {
    margin-left: 20px;
    display: flex;
    gap: 10px;
}

    .yw-list a {
        display: block;
        text-align: center;
        width: 360px;
    }

        .yw-list a img {
            width: 100%;
            height: auto;
            display: block;
        }*/


/***********yw-list end********************/

html {
    background: url(../image/footerBg_elder.jpg) bottom no-repeat;
}

.web-footer {
    height: 420px;
    padding-top: 80px;
    text-align: center;
}


p, li, a, td, span, .news-date, .column-title {
    font-size: 1rem !important; /* 跟随 20px 基础字号 */
}

h1 {
    font-size: 2rem !important;
}
/* 40px */
h2 {
    font-size: 1.7rem !important;
}
/* 34px */
h3 {
    font-size: 1.4rem !important;
}
/* 28px */
h4 {
    font-size: 1.2rem !important;
}
/* 24px */

* {
    box-shadow: none !important;
}
/* 仅去掉大面积背景图，保留图标类 */
body, .wrap, .main, .content, .sidebar {
    background-image: none !important;
}

.news-list li,
.news-list .news-item,
.card, .panel, .media {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* 取消多行省略，让摘要完整显示 */
.news-summary, .line-clamp, .ellipsis {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    white-space: normal !important;
}


.nav-wrap li {
    width: 100% !important;
    float: none !important;
    display: block !important;
}

.nav-wrap ul {
    display: block !important;
    overflow: visible !important;
}


a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
    color: #0056b3 !important;
}

    a:focus-visible,
    button:focus-visible,
    input:focus-visible {
        outline: 4px solid #1a73e8 !important;
        outline-offset: 3px !important;
    }


.wrap {
    max-width: 1100px !important;
    width: 100% !important;
    padding: 0 24px !important;
    overflow-x: auto !important;
}



/***************news_list******************/

.d-left {
    display: none;
}

.d-right {
    width: 1106px;
    float: right;
    background: #fff;
    min-height: 400px;
    margin: 10px 20px 0 0;
    border-left: 4px solid #1c9c0f;
}

    .d-right .d_head {
        height: 36px;
        line-height: 36px;
        background: url(../image/d-headbg.png) left bottom no-repeat;
        padding-left: 40px;
        font-size: 32px;
        font-weight: bold;
        margin-left: 10px;
        margin-top: 10px;
    }

    .d-right .d_body {
        padding: 20px;
        overflow: hidden;
    }

        .d-right .d_body li {
            height: 56px;
        }

            .d-right .d_body li a {
                line-height: 40px;
                font-size: 28px;
                width: 848px;
                overflow: hidden;
                float: left;
                color: #555;
                padding-left: 10px;
                background: url(../image/ic2.gif) left no-repeat;
            }

                .d-right .d_body li a:hover {
                    color: #1c9c0f;
                }

            .d-right .d_body li .time {
                float: right;
                margin-right: 10px;
            }
/***************news_list end*******************/
