.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 20px;
    height: 24px;
    position: relative;
}

/* 菜单按钮 */
.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #044799;
    display: block;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle .bar:nth-child(1) {
    top: 4px;
}

.mobile-menu-toggle .bar:nth-child(2) {
    top: 11px;
}

.mobile-menu-toggle .bar:nth-child(3) {
    top: 18px;
}

/* 动画效果 */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .main-nav {
        padding: 10px;
        flex-direction: column;
        position: relative;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 5px;
        display: none;
        position: absolute;
        top: 60px;
        background: #fff;
        z-index: 100;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 8px 0;
        font-size: 16px;
    }
    
    .nav-links a.active {
        background-color: #f0f0f0;
        color: #044799;
        border-radius: 4px;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 20px;
        z-index: 101;
    }
    
    .banner {
        height: auto;
        margin-top: 0;
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .banner-slide img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }
    
    .banner-dots {
        display: none;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .news {
        width: 100%;
        padding: 15px;
        margin-top: 5px;
        gap: 10px;
    }
    
    .section-title {
        font-size: 24px!important;
    }
    
    .view-more {
        font-size: 14px;
    }
    
    .news-list {
        gap: 25px;
        display: flex;
        flex-direction: column;
    }
    
    .news-item {
        flex-direction: column;
        height: auto;
        gap: 10px;
        padding-bottom: 25px;
        border-bottom: 1px solid #eee;
        overflow: hidden;
        display: flex;
    }
    
    .news-item:last-child {
        border-bottom: none;
    }
    
    .news-image {
        width: 100%;
        height: 180px;
        overflow: hidden;
    }
    
    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .news-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow: visible;
    }
    
    .news-title {
        font-size: 19px;
        line-height: 1.3;
        margin-bottom: 0;
        overflow: visible;
        color: rgba(0, 0, 0, 1);
        font-weight: 500;
    }
    
    .news-date {
        position: static;
        transform: none;
        font-size: 14px;
        color: rgba(0, 0, 0, 1);
        text-align: left;
        margin: 0;
        order: 1;
        font-style: italic;
    }
    
    .news-desc {
        font-size: 14px;
        width: 100%;
        height: auto;
        max-height: none;
        display: block;
        overflow: visible;
        order: 2;
        margin-bottom: 5px;
        line-height: 1.5;
        color: #444;
    }
    
    .activities {
        width: 100%;
        padding: 15px;
        margin-top: 30px;
    }
    
    .activities-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .activity-card {
        width: 100%;
        height: auto;
    }
    
    
    .activity-overlay {
        padding: 10px;
    }
    
    
    .activity-title {
        font-size: 16px;
    }
    
    
    .activity-desc {
        font-size: 11px;
        max-height: 60px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        text-overflow: ellipsis;
    }
    
    .footer {
        padding: 15px 10px;
    }
    
    .footer-content p {
        font-size: 10px;
        line-height: 1.4;
    }
    
    .beian-info span {
        font-size: 10px;
    }
    
    .beian-icon {
        width: 14px;
        height: 14px;
    }
}

@media screen and (max-width: 375px) {
    .section-title {
        font-size: 20px;
    }
    
    .news-list {
        gap: 20px;
    }
    
    .news-item {
        gap: 8px;
        padding-bottom: 20px;
    }
    
    .news-title {
        font-size: 17px;
    }
    
    .news-date {
        font-size: 12px;
    }
    
    .news-desc {
        font-size: 12px;
        max-height: none;
    }
    
    .activities-grid {
        gap: 20px;
    }
    
    
    .activity-overlay {
        padding: 10px;
    }
    
    .activity-title {
        font-size: 14px;
    }
    
    .activity-desc {
        -webkit-line-clamp: 2;
        display: -webkit-box;
        text-overflow: ellipsis;
    }
} 