@charset "utf-8";

html, body {
    width: 100%;
}

:root {
    --party-red: #c8102e;
    --party-red-dark: #a00d25;
    --party-red-light: #e63946;
    --orange-start: #e85d04;
    --orange-end: #dc2f02;
    --gold: #d4a017;
    --text-dark: #2c2c2c;
    --text-muted: #666;
    --text-muted-light: #999;
    --bg-light: #f5f2ed;
    --border-color: #e5e5e5;
}

a {
    color: var(--text-dark);
}

a:hover {
    color: var(--party-red-dark);
}

body {
    font-family: "Microsoft YaHei", "Noto Sans SC", "PingFang SC", sans-serif;
    color: var(--text-dark);
    background-color: white;
    font-size: 16px;
    line-height: 1.6;
}

.iframe-box {

}

/* ========== 顶部细条 ========== */
.top-bar {
    width: 100%;
    background: #f6b84b;
}

.top-bar ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    margin: 0 auto;
    font-size: 14px
}

.top-bar ul .lm-logo {
    height: 34px;
}

.top-bar ul li span {
    margin: 0 10px;
    color: #666
}

/* ========== 头部banner ========== */
.banner {
    background: url('../images/banner.png') no-repeat center bottom;
    background-size: cover;
    height: 380px;
    padding: 95px 0;
}

/* logo */
.logo {
    margin: 0 auto;
    width: 460px;
    height: 130px;
}

/* 搜索框 */
.search {
    margin: 10px auto 0;
    width: 460px;
    height: 50px;
}

.search-box {
    display: flex;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(200, 16, 46, 0.2);
}

.search-box input {
    width: 460px;
    height: 50px;
    line-height: 50px;
    border: none;
    outline: none;
    padding: 0 20px;
    font-size: 14px;
    background: transparent;
}

.search-box button {
    width: 100px;
    background: var(--party-red);
    color: #fff;
    border: none;
    padding: 0 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-box button:hover {
    background: var(--party-red-dark);
}

/* ========== 主导航栏 ========== */
.main-nav {
    background: linear-gradient(135deg, #8e0110 0%, #c8102e 50%, #e85d04 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.main-nav .nav-link {
    color: #fff !important;
    font-size: 22px;
    font-weight: bold;
    padding: 22px 0 !important;
    transition: all 0.2s;
    position: relative;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background: linear-gradient(180deg, #dc2f02 0%, #9d0208 100%);
    color: #fff;
}

.main-nav .navbar {
    padding: 0;
}

.main-nav .navbar-nav {
    width: 100%;
    justify-content: start;
}

.main-nav .nav-item {
    flex-grow: 1;
    text-align: center;
}

/* ========== 移动端导航栏 ========== */
.menu {
    margin: 10px 0;
}
.a_txt {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: 10000;
}

.a_txt .div1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #2b2b2b;
    filter: alpha(opacity=0);
    opacity: 0;
    left: 0;
    top: 0;
    z-index: 1;
}

.a_txt .div2 {
    position: absolute;
    width: 20%;
    left: 0;
    top: 5%;
    z-index: 100;
    text-align: center;
    filter: alpha(opacity=0);
    opacity: 0;
}

.a_txt .div3 {
    position: absolute;
    width: 80%;
    top: 0;
    /*background: #a4121c;*/
    background: #1b1b1b;
    height: 100%;
    z-index: 100;
    right: -80%;
}

.a_txt .div3 ul {
    padding-left: 5%;
    padding-right: 5%;
}

.a_txt .div3 ul li {
    list-style: none;
    /*border-bottom: 1px solid #760008;*/
    border-bottom: 1px solid #6b6b6b;
}

.a_txt .div3 ul li a {
    display: block;
    color: #fff!important;
    padding: 15px 0 15px 5%;
    max-height: 70px;
    line-height: 20px;
    font-size: 16px;
    text-decoration: none;
}

.a_txt .div3 ul li .a_js2 {
    background: url(../images/plus.png) 95% center no-repeat;
    -webkit-transition: all 0s;
    -moz-transition: all 0s;
    transition: all 0s;
}

.a_txt .div3 ul li .a_js2_on {
    background: url(../images/reduce.jpg) 95% center no-repeat;
    -webkit-transition: all 0s;
    -moz-transition: all 0s;
    transition: all 0s;
}

.a_txt .div3 ul li .a_txt2 {
    display: none;
    padding-left: 5%;
    margin-bottom: 10px;
}

.a_txt .div3 ul li .a_txt2 a {
    padding: 15px 0;
    max-height: 70px;
    line-height: 20px;
    font-size: 14px;
    border-bottom: 1px #6b6b6b dashed;
}
.a_txt .div3 ul li .a_txt2 a:last-child {
    border-bottom: 0!important;
}


/* ========== 尾部信息 ========== */
footer {
    width: 100%;
    background: var(--party-red);
    color: #fff;
}

.site-info {
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    text-align: left;
    margin-left: 15px;
}

.copyright p {
    height: 30px;
    line-height: 30px;
    display: flex;
    align-items: center;
}

.copyright p a {
    height: 30px;
    line-height: 30px;
    display: flex;
    align-items: center;
}
.copyright p a img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.copyright a {
    color: #fff;
}

.support {

}


.main-content {
    padding: 20px 0;
    background: url("../images/main_bg.png") no-repeat top center;");
    background-size: cover;
    position: relative;
}

/* ========== 响应式 ========== */


@media (min-width: 576px) {

    .contact-container .contact-section {
        height: 255px;
    }
    .video-list .video-item .pic {
        height: 144px;
    }

}


@media (min-width: 768px) {
    .video-list .video-item .pic {
        height: 198px;
    }
}


@media (min-width: 992px) {

    .mobile {
        display: none;
    }
    .mobile-nav {
        display: none;
    }
    .site-info {
        width: 960px;
    }

    .carousel-main {
        height: 380px;
    }

    .card-list {
        height: 123px;
    }


    /* ========== 联系我们 ========== */
    .contact-container .contact-section {
        width: 960px;
        height: 340px;
    }
    .contact-container .contact-section .contact-main .left {
        width: 250px;
        top: 200px;
        left: 50px;
        color: white;
        font-size: 14px;
        font-weight: bold;
    }
    .contact-container .contact-section .contact-main .left .tel,
    .contact-container .contact-section .contact-main .left .email {
        height: 30px;
        line-height: 30px;
    }
    .contact-icon {
        font-size: 24px;
        margin-right: 10px;
    }
    .contact-container .contact-section .contact-main .right {
        width: 650px;
        top: 25px;
        right: 15px;
    }
    .contact-container .contact-section .contact-main .right .title {
        font-size: 20px;
        font-weight: bold;
        color: #c41816;
        margin-bottom: 5px;
        padding-left: 30px;
    }
    .contact-container .contact-section .contact-main .right .title span {
        display: inline-block;
        background: white;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        margin: 0 10px;
        border-radius: 50%;
    }
    .contact-container .contact-section .contact-main .item {
        width: calc((100% - 4px) / 3);
        margin-bottom: 2px;
    }
    .contact-container .contact-section .contact-main .item:last-child:nth-child(3n + 2) {
        margin-left: 2px;
        margin-right: auto;
    }

    .contact-container .contact-section .contact-main .item .name {
        width: 60px;
        height: 52px;
        line-height: 16px;
        background: rgb(255, 255, 255, 0.3);
        text-align: center;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }

    .contact-container .contact-section .contact-main .item .text {
        width: calc(100% - 62px);
    }
    .contact-container .contact-section .contact-main .item .text div {
        background: rgb(255, 255, 255, 0.3);
        padding-left: 3px;
        color: white;
        font-size: 13px;
    }
    .contact-container .contact-section .contact-main .item .text .tel {
        height: 20px;
        line-height: 20px;
    }
    .contact-container .contact-section .contact-main .item .text .email {
        height: 30px;
        line-height: 13px;
        display: flex;
        align-items: center;
    }
    .contact-container .contact-section .contact-main .item .text div:first-child {
        margin-bottom: 2px;
    }

    /* ========== 视频列表 ========== */
    .video-list .video-item .pic {
        height: 126px;
    }
}


@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1140px !important;
    }

    .top-bar ul {
        width: 1140px;
    }

    .site-info {
        width: 1140px;
    }

    .carousel-main {
        height: 450px;
    }

    .card-list {
        height: 158px;
    }


    .tabs-section .tab-pane .pic-news a .news-img {
        height: 160px;
    }
    .tabs-section .tab-pane .pic-news a p {
        /* 超出部分省略号 */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ========== 联系我们 ========== */
    .contact-container .contact-section {
        width: 1140px;
        height: 410px;
    }
    .contact-container .contact-section .contact-main .left {
        width: 250px;
        top: 240px;
        left: 50px;
        color: white;
        font-size: 16px;
        font-weight: bold;
    }
    .contact-container .contact-section .contact-main .left .tel,
    .contact-container .contact-section .contact-main .left .email {
        height: 35px;
        line-height: 35px;
        margin-bottom: 5px;
    }
    .contact-icon {
        font-size: 24px;
        margin-right: 10px;
    }
    .contact-container .contact-section .contact-main .right {
        width: 783px;
        top: 35px;
        right: 15px;
    }
    .contact-container .contact-section .contact-main .right .title {
        font-size: 20px;
        font-weight: bold;
        color: #c41816;
        margin-bottom: 10px;
        padding-left: 30px;
    }
    .contact-container .contact-section .contact-main .right .title span {
        display: inline-block;
        background: white;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        margin: 0 10px;
        border-radius: 50%;
    }
    .contact-container .contact-section .contact-main .item {
        width: calc((100% - 4px) / 3);
        margin-bottom: 2px;
    }
    .contact-container .contact-section .contact-main .item:last-child:nth-child(3n + 2) {
        margin-left: 2px;
        margin-right: auto;
    }

    .contact-container .contact-section .contact-main .item .name {
        width: 60px;
        height: 61px;
        line-height: 18px;
        background: rgb(255, 255, 255, 0.3);
        text-align: center;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

    .contact-container .contact-section .contact-main .item .text {
        width: calc(100% - 62px);
    }
    .contact-container .contact-section .contact-main .item .text div {
        background: rgb(255, 255, 255, 0.3);
        padding-left: 3px;
        color: white;
        font-size: 14px;
    }
    .contact-container .contact-section .contact-main .item .text .tel {
        height: 23px;
        line-height: 23px;
    }
    .contact-container .contact-section .contact-main .item .text .email {
        height: 36px;
        line-height: 18px;
        display: flex;
        align-items: center;
    }
    .contact-container .contact-section .contact-main .item .text div:first-child {
        margin-bottom: 2px;
    }

    /* ========== 视频列表 ========== */
    .video-list .video-item .pic {
        height: 153px;
    }
}

@media (min-width: 1440px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1400px !important;
    }

    .top-bar ul {
        width: 1400px;
    }

    .site-info {
        width: 1400px;
    }

    .carousel-main {
        height: 518px;
    }

    .card-list {
        height: 192px;
    }


    .tabs-section .tab-pane .pic-news a .news-img {
        height: 220px;
    }

    .tabs-section .tab-pane .pic-news a p {
        /* 显示两行，超出部分省略号 */
        height: 40px;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-all;
        white-space: normal;
    }

    /* ========== 联系我们 ========== */
    .contact-container .contact-section {
        width: 1400px;
        height: 500px;
    }
    .contact-container .contact-section .contact-main .left {
        width: 300px;
        top: 300px;
        left: 90px;
        color: white;
        font-size: 16px;
        font-weight: bold;
    }
    .contact-container .contact-section .contact-main .left .tel,
    .contact-container .contact-section .contact-main .left .email {
        height: 35px;
        line-height: 35px;
        margin-bottom: 5px;
    }
    .contact-icon {
        font-size: 24px;
        margin-right: 10px;
    }
    .contact-container .contact-section .contact-main .right {
        width: 960px;
        top: 50px;
        right: 25px;
    }
    .contact-container .contact-section .contact-main .right .title {
        font-size: 20px;
        font-weight: bold;
        color: #c41816;
        margin-bottom: 20px;
        padding-left: 50px;
    }
    .contact-container .contact-section .contact-main .right .title span {
        display: inline-block;
        background: white;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        margin: 0 10px;
        border-radius: 50%;

    }
    .contact-container .contact-section .contact-main .item {
        width: calc((100% - 10px) / 3);
        margin-bottom: 5px;
    }
    .contact-container .contact-section .contact-main .item:last-child:nth-child(3n + 2) {
        margin-left: 5px;
        margin-right: auto;
    }

    .contact-container .contact-section .contact-main .item .name {
        width: 80px;
        height: 70px;
        line-height: 18px;
        padding: 0 5px;
        background: rgb(255, 255, 255, 0.3);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

    .contact-container .contact-section .contact-main .item .text {
        width: calc(100% - 85px);
    }
    .contact-container .contact-section .contact-main .item .text div {
        background: rgb(255, 255, 255, 0.3);
        padding-left: 5px;
        color: white;
        font-size: 16px;
    }
    .contact-container .contact-section .contact-main .item .text .tel {
        height: 25px;
        line-height: 25px;
    }
    .contact-container .contact-section .contact-main .item .text .email {
        height: 40px;
        line-height: 16px;
        display: flex;
        align-items: center;
    }
    .contact-container .contact-section .contact-main .item .text div:first-child {
        margin-bottom: 5px;
    }


    /* ========== 领导列表 ========== */
    .leader-list li .pic {
        width: 150px;
    }
    .leader-list li .text {
        width: calc(100% - 150px);
    }

    /* ========== 视频列表 ========== */
    .video-list .video-item .pic {
        height: 192px;
    }

}

@media (max-width: 1439.98px) {
    .banner {
        height: 400px;
        padding: 100px 0;
    }

    .tabs-section .tab-pane .text-news li:nth-child(n+7) { /* 从第7个子元素开始隐藏 */
        display: none;
    }

}

@media (max-width: 1199.98px) {
    .banner {
        height: 400px;
        padding: 100px 0;
    }

    .tabs-section .tab-pane .pic-news {
        display: none;
    }

    .tabs-section .tab-pane .text-news {
        width: 100%;
    }

    .tabs-section .tab-pane .text-news li:nth-child(n+6) { /* 从第6个子元素开始隐藏 */
        display: none;
    }
    .contact-icon {
        display: none;
    }

}

@media (max-width: 991.98px) {
    .mobile-nav {
        display: block;
    }
    .mobile {
        display: block;
        padding: 20px;
    }
    .pc {
        display: none;
    }
    header {
        margin-top: 55px!important;
    }

    .carousel {
        height: 460px;
    }
    .carousel-slide img {
        height: 460px;
    }
    .banner {
        height: 300px;
        padding: 50px 0;
    }
    .quick-entry-card {
        width: calc((100% - 60px) / 3);
        margin-bottom: 20px;
    }
    .quick-entry-card:nth-last-child(1), .quick-entry-card:nth-last-child(2) {
        width: calc((100% - 30px) / 2);
    }

    .detail {
        padding: 20px 0;
    }
    .detail .info {
        padding: 5px 10px;
    }
    .detail .info .views {
        display: none;
    }
}

@media (max-width: 767.98px) {

    .carousel {
        height: 266px;
    }
    .carousel-slide img {
        height: 266px;
    }
    .banner {
        height: 250px;
        padding: 65px 0;
    }



    .tabs-section .nav-pills {
        width: 100%;
    }

    .tabs-section .nav-pills {
        justify-content: space-between;
    }
    .tabs-section .nav-pills .nav-link {
        margin-right: 0;
    }

    .quick-entry-card {
        width: calc((100% - 60px) / 3);
    }
    .quick-entry-card:nth-last-child(1), .quick-entry-card:nth-last-child(2) {
        width: calc((100% - 30px) / 2);
    }

    /* ========== 领导列表 ========== */
    .leader-list li .pic {
        width: 100%;
    }
    .leader-list li .text {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .carousel {
        height: 266px;
    }
    .carousel-slide img {
        height: 266px;
    }
    .banner {
        height: 190px;
        padding: 62px 0;
    }
    .logo {
        width: 230px;
        height: 65px;
    }
    .logo img {
        width: 230px;
    }
    .tabs-section .nav-pills {
        justify-content: space-between;
    }
    .tabs-section .nav-pills .nav-link {
        margin-right: 0;
    }
    .quick-entry-card {
        width: calc((100% - 30px) / 2);
        margin-bottom: 20px;
    }
    .quick-entry-card:nth-last-child(1) {
        width: 100%;
    }

    /* ========== 视频列表 ========== */
    .video-list .video-item .pic {
        height: 111px;
    }
}
