/* news.html 专用样式 */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 新闻分类按钮 */
.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.category-btn {
    padding: 10px 25px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #555;
}

.category-btn:hover {
    background: #e8f0fe;
    color: #1a237e;
}

.category-btn.active {
    background: #1a237e;
    color: white;
    border-color: #1a237e;
}

/* 新闻文章列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 60px;
}

.news-article {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.article-image {
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-article:hover .article-image img {
    transform: scale(1.05);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-category {
    background: #1a237e;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-date {
    color: #777;
    font-size: 0.9rem;
}

.article-content h2 {
    color: #1a237e;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

/* 教练介绍样式 */
.coach-intro {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #ff9800;
}

.coach-intro h3 {
    color: #1a237e;
    margin-bottom: 10px;
}

.coach-intro p {
    margin-bottom: 0;
    color: #666;
}

/* 图片画廊 */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.article-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.article-gallery img:hover {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-article {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 20px;
        margin-top: 60px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .news-article {
        padding: 25px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .news-categories {
        justify-content: center;
    }
    
    .category-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .article-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-share span {
    margin-right: 15px;
    color: #666;
}

.share-btn {
    display: inline-block;
    padding: 8px 15px;
    margin-right: 10px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-btn.wechat { background: #07c160; }
.share-btn.weibo { background: #e6162d; }
.share-btn.qq { background: #12b7f5; }
}