.news-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, #e3f2fd 0%, #e8eaf6 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-header {
    text-align: center;
    margin-bottom: 40px;
}

.carousel-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    margin: 0 auto;
    border-radius: 2px;
}

.news-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.mobile-instruction {
    display: none;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .mobile-instruction {
        display: block;
    }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

@media (max-width: 768px) {
    .news-carousel-nav {
        display: none;
    }
}

.news-carousel-content {
    padding: 0 80px;
    touch-action: pan-y pinch-zoom;
    user-select: none;
}

@media (max-width: 768px) {
    .news-carousel-content {
        padding: 0 20px;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    transition: opacity 0.4s ease;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}
.news-card a{
    text-decoration: none;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 24px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: #3b82f6;
}

.news-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.news-author, .news-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.news-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
}

.news-indicator.active {
    width: 32px;
    border-radius: 6px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.news-indicator:hover:not(.active) {
    background: #999;
    transform: scale(1.2);
}

.news-progress-info {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.autoplay-status {
    color: #f59e0b;
    font-size: 12px;
    display: none;
}

.autoplay-status.paused {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-fade-transition {
    opacity: 0;
}