/*跑马灯专用样式文件，包含图片新闻轮播和领导信息跑马灯效果。*/
.marquee-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    height: 256px;
    width: 100%;
}

.marquee-track {
    display: flex;
    position: absolute;
    left: 0;
    will-change: transform;
    padding: 10px;
    height: 100%;
    align-items: center;
}

.marquee-item {
    flex: 0 0 280px;
    margin-right: 20px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s;
    will-change: transform;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.marquee-item:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.marquee-img {
    height: 160px;
    width: 100%;
    object-fit: cover;
    max-height: 160px;
    flex-shrink: 0;
}

.marquee-title {
    padding: 15px;
    font-size: 16px;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    min-height: 44px;
    margin: 0;
    flex: 1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.leader-list .marquee-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
    flex-shrink: 0;
}

.leader-list .marquee-track {
    display: flex !important;
    position: absolute !important;
    left: 0 !important;
    padding: 10px !important;
    animation: leaderMarquee 30s linear infinite !important;
    width: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
}

.leader-list .leader-item {
    flex: 0 0 120px !important;
    margin-right: 15px !important;
    border: none !important;
    padding: 10px !important;
    height: 160px !important;
    width: 120px !important;
    max-width: none !important;
    border-bottom: none !important;
    border-right: none !important;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes leaderMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.leader-list .marquee-container:hover .marquee-track {
    animation-play-state: paused !important;
}

@media (max-width: 1200px) {
    .marquee-item {
        flex: 0 0 260px;
    }
}

@media (max-width: 992px) {
    .marquee-item {
        flex: 0 0 240px;
    }
    
    .marquee-title {
        padding: 12px;
        min-height: 42px;
    }
}

@media (max-width: 768px) {
    .marquee-item {
        flex: 0 0 220px;
    }
    
    .marquee-title {
        padding: 10px;
        min-height: 40px;
        line-height: 1.3;
    }
}

@media (max-width: 576px) {
    .marquee-container {
        height: 220px;
    }
    
    .marquee-item {
        flex: 0 0 200px;
        margin-right: 15px;
    }
    
    .marquee-img {
        height: 140px;
        max-height: 140px;
    }
    
    .marquee-title {
        padding: 8px;
        min-height: 36px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .marquee-container {
        height: 200px;
    }
    
    .marquee-item {
        flex: 0 0 180px;
        margin-right: 12px;
    }
    
    .marquee-img {
        height: 120px;
        max-height: 120px;
    }
    
    .marquee-title {
        padding: 6px;
        min-height: 34px;
    }
}

@media (max-width: 360px) {
    .marquee-container {
        height: 180px;
    }
    
    .marquee-item {
        flex: 0 0 160px;
    }
    
    .marquee-img {
        height: 100px;
        max-height: 100px;
    }
}

@media (max-width: 992px) {
    .leader-list .marquee-container {
        height: 180px;
    }
    
    .leader-list .leader-item {
        flex: 0 0 110px !important;
        height: 150px !important;
    }
    
    .leader-list .leader-avatar {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .leader-list .marquee-container {
        height: 160px;
    }
    
    .leader-list .leader-item {
        flex: 0 0 100px !important;
        height: 140px !important;
        margin-right: 10px !important;
    }
    
    .leader-list .leader-avatar {
        width: 60px;
        height: 60px;
    }
    
    .leader-list .leader-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .leader-list .marquee-container {
        height: 140px;
    }
    
    .leader-list .leader-item {
        flex: 0 0 90px !important;
        height: 130px !important;
    }
    
    .leader-list .leader-avatar {
        width: 50px;
        height: 50px;
    }
}