/* 热点新闻模块样式 */
.news-section {
    background-color: #000;
    padding: 80px 0;
    color: #fff;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #fff;
}

.news-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.news-item {
    flex: 1;
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.news-header {
    background-color: #3b82f6;
    padding: 0;
    position: relative;
    min-height: 100px;
    overflow: hidden;
}

.news-header-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 200px;
    /* 浏览器兼容性 */
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    /* 确保图片在所有浏览器中正确渲染 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.news-badge {
    font-size: 12px;
    color: #fff;
    opacity: 0.8;
    margin-bottom: 10px;
}

.news-item-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-icon-circle {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    position: relative;
}

.news-icon-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.news-icon-report {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.news-icon-ceo {
    width: 60px;
    height: 60px;
    background-color: #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ceo-placeholder {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, #333 0%, #555 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.news-body {
    padding: 20px;
}

.news-description {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 20px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
}

.news-source {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date {
    color: #9ca3af;
}

/* 轮播指示器 */
.news-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: #374151;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #3b82f6;
    width: 30px;
    border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-container {
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .news-item {
        flex: 0 0 calc(50% - 12.5px);
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .news-container {
        gap: 20px;
    }
    
    .news-item {
        flex: 0 0 100%;
    }
    
    .news-header-image {
        max-height: 180px; /* 在平板设备上优化图片高度 */
    }
    
    .news-item-title {
        font-size: 18px;
    }
    
    .news-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 40px 0;
    }
    
    .news-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .news-header {
        padding: 0;
        min-height: 70px;
    }
    
    .news-header-image {
        max-height: 200px; /* 在移动设备上进一步减小图片最大高度，使其更美观 */
    }
    
    .news-item-title {
        font-size: 16px;
    }
    
    .news-icon {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
    
    .news-icon-circle, .news-icon-report {
        width: 30px;
        height: 30px;
    }
    
    .news-icon-circle::before {
        width: 15px;
        height: 15px;
    }
    
    .news-icon-report {
        font-size: 18px;
    }
    
    .news-body {
        padding: 15px;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* 浏览器兼容性处理 */
@supports (-webkit-font-smoothing: antialiased) {
    .news-item-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

@supports (backdrop-filter: blur(10px)) {
    .news-header {
        backdrop-filter: blur(10px);
    }
}
