/* 文章详情页样式 */

/* 文章布局 */
.article-detail {
    padding: 40px 0 60px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* 文章主体 */
.article-main {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-category {
    background: #667eea;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.article-time,
.article-author {
    color: #999;
    font-size: 14px;
}

.article-header h1 {
    font-size: 32px;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 15px;
}

.article-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.stat-item {
    cursor: pointer;
}

.stat-item:hover {
    color: #667eea;
}

/* 文章封面 */
.article-cover {
    margin-bottom: 30px;
}

.cover-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.image-caption {
    font-size: 13px;
    color: #999;
    text-align: center;
}

/* 文章内容 */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.content-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.content-intro p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 24px;
    color: #1a1a2e;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.article-content p {
    margin-bottom: 15px;
    text-indent: 2em;
}

/* CTA盒子 */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
}

.cta-box .btn-primary,
.cta-box .btn-secondary {
    margin: 0 10px;
}

/* 文章标签 */
.article-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.tag-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.tag {
    display: inline-block;
    background: #f8f9fa;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    margin-right: 10px;
    margin-bottom: 10px;
}

.tag:hover {
    background: #667eea;
    color: #fff;
}

/* 文章操作 */
.article-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-action {
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

/* 相关文章 */
.related-articles {
    margin-bottom: 40px;
}

.related-articles h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    display: block;
}

.related-thumb {
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin-bottom: 10px;
}

.related-card h4 {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.related-card h4:hover {
    color: #667eea;
}

/* 评论区 */
.comment-section {
    margin-top: 40px;
}

.comment-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.comment-count {
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

.comment-input {
    margin-bottom: 30px;
}

.comment-input textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 10px;
}

.comment-input textarea:focus {
    outline: none;
    border-color: #667eea;
}

.btn-submit {
    background: #667eea;
    color: #fff;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #764ba2;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 500;
    color: #333;
}

.comment-time {
    font-size: 13px;
    color: #999;
}

.comment-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.comment-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.comment-action {
    background: none;
    border: none;
    font-size: 13px;
    color: #999;
    cursor: pointer;
}

.comment-action:hover {
    color: #667eea;
}

.load-more {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    background: #f8f9fa;
    color: #666;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.btn-load-more:hover {
    background: #667eea;
    color: #fff;
}

/* 侧边栏小部件 */
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1a1a2e;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.widget-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    display: block;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 5px;
}

.widget-list a:hover {
    color: #667eea;
}

.widget-views {
    font-size: 12px;
    color: #999;
}

.event-list li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.event-date {
    font-weight: 500;
    color: #667eea;
    font-size: 14px;
}

.event-match {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.event-league {
    font-size: 12px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-main {
        padding: 20px;
    }

    .article-header h1 {
        font-size: 24px;
    }

    .article-stats {
        flex-wrap: wrap;
    }

    .cover-placeholder {
        height: 250px;
    }

    .cta-box .btn-primary,
    .cta-box .btn-secondary {
        margin: 5px 0;
    }
}
