@media screen and (max-width: 1400px) {
    /* .hero-section {
        height: 120px;
        min-height: 120px;
    } */
    /* 通用容器适配 */
    .container {
        padding: 0 16px;
    }
    
    /* 新闻标题适配 */
    .news-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 16px;
    }
    
    /* 新闻网格适配 */
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
    }
    
    /* 新闻卡片适配 */
    .news-card {
        border-radius: 16px;
    }
    
    .news-image {
        height: 220px;
    }
    
    .news-content {
        padding: 20px 16px;
    }
    
    .news-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
        margin-bottom: 4px;
    }
    
    .news-content p {
        font-size: 15px;
    }

    .news-date {
        font-size: 14px;
        margin-bottom: 4px;
    }

    #news_detail {
        padding: 40px 0;
        margin: 0;
    }

    #news_detail video {
        width: 100%;
    }

    .news-box {
        margin-top: 12px;
    }

    .news-box a {
        width: 48%;
        font-size: 12px;
    }

    .news-box .next-link {
        text-align: right;
    }
}

@media screen and (max-width: 1200px) {
    /* 新闻区域适配 */
    .news-section {
        padding: 80px 20px;
    }
    
    .news-header {
        margin-bottom: 50px;
    }
    
    .news-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 14px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 28px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px 16px;
    }
    
    .news-content h3 {
        font-size: 17px;
        margin-bottom: 10px;
        margin-bottom: 4px;
    }
    
    .news-content p {
        font-size: 14px;
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 768px) {
    /* 新闻区域适配 */
    .news-section {
        padding: 60px 15px;
    }
    
    .news-header {
        margin-bottom: 40px;
    }
    
    .news-title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 12px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 20px 16px;
    }
    
    .news-content h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .news-content p {
        font-size: 14px;
        margin-bottom: 0px;
    }
    
    /* 移动端卡片点击效果 */
    .news-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

@media screen and (max-width: 480px) {
    /* 新闻区域适配 */
    .news-section {
        padding: 40px 10px;
    }
    
    .news-header {
        margin-bottom: 32px;
    }
    
    .news-title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 10px;
    }
    
    .news-grid {
        gap: 20px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 20px 16px;
    }
    
    .news-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* 移动端触摸和滚动优化 */
@media screen and (max-width: 1024px) {
    /* 触摸区域优化 */
    .news-card {
        min-height: 44px;
        touch-action: manipulation;
        cursor: pointer;
    }
    
    /* 滚动优化 */
    .news-section {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* 移动端动画优化 */
@media screen and (max-width: 768px) {
    /* 减少动画以提高性能 */
    .news-card:hover {
        transform: none;
        transition: none;
    }
    
    /* 保留必要的动画 */
    .news-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* 移动端图片优化 */
@media screen and (max-width: 768px) {
    .news-image img {
        object-fit: cover;
        object-position: center;
    }
    
    /* 减少图片加载对性能的影响 */
    .news-image {
        background-color: #f5f5f5;
    }
}

/* 移动端字体大小优化 - 确保最小14px */
@media screen and (max-width: 480px) {
    
    .news-content p {
        font-size: max(14px, 0.875em);
        line-height: 1.5;
    }
    
    .news-title {
        font-size: max(18px, 1.2em);
        line-height: 1.3;
    }
}

/* 移动端间距优化 */
@media screen and (max-width: 768px) {
    /* 减少不必要的间距 */
    .news-section {
        padding: 60px 0;
    }
    
    .news-grid {
        gap: 24px;
    }
    
    .news-header {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 480px) {
    /* 进一步减少间距 */
    .news-section {
        padding: 40px 0;
    }
    
    .news-grid {
        gap: 20px;
    }
    
    .news-header {
        margin-bottom: 32px;
    }
}

/* 移动端链接优化 */
@media screen and (max-width: 768px) {
    .news-card a {
        display: block;
        text-decoration: none;
        color: inherit;
    }
    
    .news-card a:hover,
    .news-card a:focus {
        text-decoration: none;
        color: inherit;
    }
}

/* 移动端卡片阴影优化 */
@media screen and (max-width: 768px) {
    .news-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .news-card:active {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    }
}

/* 移动端圆角优化 */
@media screen and (max-width: 768px) {
    .news-card {
        border-radius: 12px;
    }
    
    .news-image {
        border-radius: 12px 12px 0 0;
    }
}

/* 移动端内容对齐优化 */
@media screen and (max-width: 768px) {
    .news-content {
        text-align: left;
    }
    
    .news-content h3 {
        text-align: left;
    }
    
    .news-content p {
        text-align: left;
    }
}

/* 移动端日期样式优化 */
@media screen and (max-width: 768px) {
    .news-date {
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

/* 移动端标题截断优化 */
@media screen and (max-width: 768px) {
    .news-content h3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }
}

/* 移动端描述截断优化 */
@media screen and (max-width: 768px) {
    .news-content p {
        display:block;
        text-indent:0;
        line-height: 1.4;
    }
}
