#news-top .news-list {
    display: none;
}

    #news-top .news-list.current {
        display: block
    }

.news-list {
    transition: all 0.3s ease;
}

    .news-list li {
        background: url(../images2025/dot.png) 0 0.9em no-repeat;
        padding-left: 12px;
        font-size: 0.95rem;
    }

        .news-list li a {
            display: inline-block;
            width: calc(100% - 130px);
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }

        .news-list li span {
            float: right;
            color: var(--gray-color);
        }


#about .card, #committee .card {
    height: 27rem;
}

#about a.more {
    color: var(--secondary);
}

.about-list li {
    width: 25%;
    float: left;
    text-align: center;
}

    .about-list li img {
        width: 30%;
        height: auto;
    }

    .about-list li p {
        font-size: 1.2rem;
        margin-top: 1rem;
    }

    .about-list li:hover a {
        color: var(--secondary);
        transition: color 0.3s ease;
    }

    .about-list li:hover img {
        transform: scale(1.1);
        transition: transform 0.3s ease;
    }

#committee .news-list {
    margin: 0
}

    #committee .news-list li a {
        width: 100%;
    }



/* 行业服务 */
#server {
    background: none;
    border: none;
    box-shadow: none;
}

    #server .card-header {
        border-bottom: 3px solid var(--secondary);
    }

    #server .card-body {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        background: var(--gray-light);
        border-radius: 0px;
    }

    #server li a {
        display: block;
        width: 100%;
        transition: all 0.3s ease;
        text-align: center;
        margin-top: 2rem;
        padding: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    #server h2 {
        display: block;
        text-align: center;
    }

    #server li:hover a {
        background-color: var(--primary);
        color: white !important;
    }

    #server li img {
        width: 40%;
        height: auto;
    }

    #server li:hover img {
        filter: grayscale(100%) brightness(300%) contrast(2000%);
    }

    #server li h5 {
        font-weight: bold;
        margin-top: 1rem;
    }

    #server li p {
        line-height: 1.5em;
        color: var(--gray-color);
        margin-top: 1rem;
    }

    #server li:hover p {
        color: #fff;
    }

#banner-join a {
    overflow: hidden;
    display: block;
}

#banner-join img:hover {
    transform: scale(1.05);
}

#unit .news-list.current {
    display: block!important;
}

#unit-type li a {
    display: block;
    background: var(--gray-color);
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
}

    #unit-type li a:hover {
        background: var(--primary);
    }

#laws .news-list a {
    width: 100%;
}


/* 轮播图标题样式 */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: left;
    padding: 10px 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 10;
}

.carousel-title {
    width: 70%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* 轮播图指示符样式调整 */
.carousel-indicators {
    right: 10px;
    width: auto;
    top: auto;
    left: auto;
    bottom: 5px;
    margin-bottom: 0;
    margin-right: 0;
    z-index: 11;
}

    .carousel-indicators button {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50%;
        margin: 3px 0;
    }



/* 设置轮播图图片宽高比为2:3 */
.carousel-item {
    position: relative;
    width: 100%;
    padding-top: 66.66%;
    overflow: hidden;
}

    .carousel-item img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
/* 响应式调整 */



@media (max-width: 768px) {


    #news-top {
        margin-top: 30px;
    }

    .news-list li {
        font-size: 1rem;
    }

        .news-list li span {
            display: none;
        }

        .news-list li a {
            width: calc(100%);
        }

    #about, #unit, #laws .col-md-4, #banner-bottom .col-md-4 {
        margin-bottom: 30px;
    }

    .about-list li p {
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    #server .card-header h2 {
        margin-top: 0;
    }

    #server li h5 {
        font-size: 1rem;
    }

    #server li p {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    #laws .col-md-4:last-child {
        margin-bottom: 0;
    }
}
