.slideshow {
    height: 400px;
    object-fit: cover;
}

/* 移动端导航及 SDK 样式 */
.qa-sdk-wrapper {
    position: fixed;
    width: 400px;
    right: -600px;
    max-height: 530px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
    background: #fff;
}

.qa-sdk-close-btn {
    display: inline-block;
    width: 18px;
    height: 18px;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
}

.qa-sdk-close-btn:hover {
    border-radius: 50%;
    background-color: #d5d9df;
}

#qa-sdk-iframe {
    width: 400px;
}

#main {
    margin-bottom: 0.6rem;
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .qa-sdk-wrapper {
        width: 356px;
    }

    #qa-sdk-iframe {
        width: 356px;
    }
}

/* 移动端导航优化样式 */
.wap-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    transition: all 0.3s;
    line-height: 0;
}

/* 图片列表风格样式 */
.image-list ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.15rem;
    padding-top: 0.2rem;
}

.image-list ul li {
    width: 33.333%;
    padding: 0 0.15rem;
    margin-bottom: 0.4rem;
}

.image-list .img-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.image-list .img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,97,174,0.15);
    border-color: #0061ae;
}

.image-list .img-box {
    position: relative;
    width: 100%;
    height: 2rem;
    overflow: hidden;
}

.image-list .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-list .img-card:hover .img-box img {
    transform: scale(1.1);
}

.image-list .date-tag {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(0, 97, 174, 0.9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.image-list .date-tag .day {
    font-size: 0.18rem;
    font-weight: bold;
}

.image-list .date-tag .year-month {
    font-size: 0.12rem;
    opacity: 0.8;
}

.image-list .info-box {
    padding: 0.2rem;
}

.image-list .info-box .title {
    font-size: 0.18rem;
    color: #333;
    margin-bottom: 0.1rem;
    font-weight: bold;
    transition: color 0.3s;
}

.image-list .img-card:hover .info-box .title {
    color: #0061ae;
}

.image-list .info-box .desc {
    font-size: 0.14rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0.15rem;
    height: 0.45rem; /* 固定高度确保对齐 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.image-list .info-box .more {
    font-size: 0.14rem;
    color: #0061ae;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.image-list .info-box .more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.image-list .img-card:hover .info-box .more i {
    transform: translateX(3px);
}

/* 移动端自适应 */
@media screen and (max-width: 1200px) {
    .image-list ul li {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    #main {
        margin-bottom: 0.2rem;
        padding: 1.5rem 0.15rem !important;
    }
.container{padding-top: 0 !important; /* 移除上内边距 */}
    /* 隐藏列表页右侧栏 */
    #main .container .right {
        display: none !important;
    }

    /* 列表页左侧内容区全屏 */
    #main .container .left {
        width: 100% !important;
        padding-right: 0 !important;
    }

    /* 调整栏目名称和当前位置样式 */
    .lmmc-dqwz-wrap {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 0.2rem 0 !important;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 0.2rem;
    }
    .lmmc-dqwz-wrap .lmmc {
        font-size: 0.28rem !important;
        color: #0061ae;
        margin-bottom: 0.1rem;
        padding-left: 0 !important;
        border-left: none !important;
        font-weight: bold;
    }
    .lmmc-dqwz-wrap .dqwz-wrap {
        width: 100%;
    }
    .lmmc-dqwz-wrap .dqwz {
        font-size: 0.14rem !important;
        color: #999;
        line-height: 1.5;
    }
    .lmmc-dqwz-wrap .dqwz img {
        width: 0.14rem;
        margin-right: 0.05rem;
        vertical-align: middle;
        margin-top: -2px;
    }
    .lmmc-dqwz-wrap .dqwz a {
        color: #666;
    }

    /* 图片列表移动端微调 */
    .image-list ul {
        margin: 0;
    }
    .image-list ul li {
        width: 100%;
        padding: 0;
        margin-bottom: 0.3rem;
    }
    .image-list .img-box {
        height: 2.5rem;
    }

    /* 分页样式自适应优化 */
    .page-wrap .pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    /* 文字列表页(newslist_text.html)移动端优化 */
    .wp {
        width: 100% !important;
     
    }
    
    /* 栏目头部优化 */
    .lanwarp {
        flex-direction: column;
        align-items: flex-start !important;
        margin-bottom: 0.2rem;
        background: none !important;
        padding-bottom: 0;
        border-bottom: 1px solid #eee;
    }
    .lanwarp::after {
        display: none;
    }
    .lanwarp .lan {
        padding-bottom: 0.1rem;
        background: none !important;
        padding-right: 0;
        width: 100%;
    }
    .lanwarp .lan h2 {
        font-size: 0.3rem !important;
        font-weight: bold;
        color: #333;
        border-left: 4px solid #0061ae;
        padding-left: 0.15rem;
        line-height: 1;
        margin-bottom: 0.1rem;
    }
    .bread {
        position: static !important;
        padding-left: 0 !important;
        margin-bottom: 0.1rem;
        background: none !important;
        font-size: 0.24rem !important;
        color: #999;
    }
    
    /* 列表内容优化 */
    .sub_right2 {
        width: 100% !important;
        float: none !important;
        margin-top: 0 !important;
    }
    .sub_right2 .list ul {
        display: block !important;
    }
    .sub_right2 .list ul li {
        width: 100%;
        border-bottom: 1px dashed #eee;
    }
    .sub_right2 .list ul li a {
        display: flex !important;
        padding: 0.2rem 0 !important;
        align-items: center;
    }
    .sub_right2 .list ul li a .date {
        width: 1.1rem;
        margin-right: 0.2rem !important;
        text-align: center;
        background: #f5f7fa;
        padding: 0.1rem 0;
        border-radius: 4px;
        flex-shrink: 0;
    }
    .sub_right2 .list ul li a .date p {
        font-size: 0.32rem;
        color: #0061ae;
        font-weight: bold;
        line-height: 1.2;
        margin-bottom: 0;
    }
    .sub_right2 .list ul li a .date span {
        font-size: 0.2rem;
        color: #999;
        display: block;
    }
    .sub_right2 .list ul li a h2 {
        flex: 1;
        font-size: 0.28rem;
        color: #333;
        font-weight: normal;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
    }

    /* 图片列表页(newslist_pic.html)移动端优化 */
    .pic_news_list ul li a {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0.3rem 0 !important;
    }
    .pic_news_list ul li a .img-cover {
        width: 100% !important;
        margin-right: 0 !important;
        height: auto !important;
        aspect-ratio: 16/9;
        margin-bottom: 0.2rem;
    }
    .pic_news_list ul li a .img-cover img {
        height: 100% !important;
    }
    .pic_news_list .content {
        width: 100% !important;
        padding: 0 !important;
    }
    .pic_news_list .title {
        font-size: 0.3rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.15rem !important;
        white-space: normal !important;
        height: auto !important;
    }
    .pic_news_list .desc {
        font-size: 0.24rem !important;
        color: #666;
        margin-bottom: 0.15rem !important;
        -webkit-line-clamp: 2;
    }
    .pic_news_list .to-detail {
        display: none !important;
    }
}

.wap-menu-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.wap-nav-panel {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    overflow-y: auto;
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.wap-nav-list {
    padding: 15px 0;
}

.wap-nav-list > li {
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    margin: 0 15px;
}

.wap-nav-list > li > .nav-item-wrap a {
    display: block;
    padding: 12px 10px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.wap-nav-list li.active > .nav-item-wrap a {
    color: #27a8e1;
}

.wap-nav-list li.active > .nav-item-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    background: #27a8e1;
    border-radius: 2px;
}

.nav-item-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sub-toggle.on {
    transform: rotate(180deg);
    color: #27a8e1;
}

.wap-sub-nav {
    display: none;
    background: #f8fcfd;
    margin: 0 -15px;
    padding: 5px 25px;
    border-top: 1px solid rgba(0,0,0,0.02);
}

.wap-sub-nav li {
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.wap-sub-nav li:last-child {
    border-bottom: none;
}

.wap-sub-nav li a {
    padding: 10px 10px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
}

.wap-sub-nav li a::before {
    content: "•";
    margin-right: 8px;
    color: #27a8e1;
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .navbar {
        display: none !important;
    }
    .wap-menu-btn {
        display: block;
    }
    .head-navk {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
        min-height: 60px;
        max-width: 100% !important;
    }
    .head-logo {
        margin: 0 !important;
        padding: 0 !important;
    }
    .head-logo img {
   
        width: auto;
        display: block;
    }
    .head-nav {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px !important;
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        z-index: 1002;
        transform: none !important;
    }
   
}
