/* X007 主题 - 新闻样式 */

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.news-image {
    height: 220px;
    overflow: hidden;
}
.news-image a {
    display: block;
    height: 100%;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.news-item:hover .news-image img {
    transform: scale(1.05);
}
.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.news-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.news-content h3 a {
    color: var(--primary);
}
.news-content h3 a:hover {
    color: var(--accent);
}
.news-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-readmore {
    font-size: 14px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.news-readmore:hover {
    gap: 12px;
}

/* Article Detail */
.article {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.article-header {
    text-align: center;
    margin-bottom: 30px;
}
.article-date {
    font-size: 14px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 15px;
}
.article-header h1 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}
.article-source {
    font-size: 13px;
    color: var(--text-light);
}
.article-image {
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
}
.article-image img {
    width: 100%;
}
.article-body {
    color: var(--text);
    line-height: 1.9;
    font-size: 15px;
}
.article-body p {
    margin-bottom: 20px;
}
.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}
.article-share span {
    color: var(--text-muted);
    font-size: 14px;
}
.article-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s;
}
.article-share a:hover {
    background: var(--accent);
    color: var(--white);
}

/* Related Articles */
.related-articles {
    margin-top: 50px;
}
.related-articles h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.related-item a {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.related-item a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.related-item h4 {
    padding: 15px;
    font-size: 14px;
    color: var(--primary);
    line-height: 1.4;
}

@media (max-width: 992px) {
    .news-item {
        grid-template-columns: 1fr;
    }
    .news-image {
        height: 200px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .news-image {
        height: 180px;
    }
    .article {
        padding: 20px;
    }
    .article-header h1 {
        font-size: 24px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
}
