/* ========================================
   尧图网站开发 - 新闻详情页样式
   ======================================== */

.article-detail {
    background: var(--cream-white);
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 60px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.article-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--deep-brown);
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 30px;
    font-size: 15px;
    color: var(--text-light);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-body {
    font-size: 17px;
    line-height: 2;
    color: var(--text-dark);
}

.article-body img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--deep-brown);
    margin: 40px 0 20px;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--deep-brown);
    margin: 30px 0 15px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    border-left: 4px solid var(--light-brown);
    padding: 20px 30px;
    background: var(--cream-white);
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
}

/* 相关新闻 */
.related-news {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid var(--border-color);
}

.related-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-brown);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--light-brown), var(--light-blue));
}

.related-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-item:hover {
    background: var(--cream-white);
}

.related-link {
    display: contents;
}

.related-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.related-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-item-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--deep-brown);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-item:hover .related-item-title {
    color: var(--light-brown);
}

.related-item-date {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .article-content {
        padding: 30px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-body {
        font-size: 16px;
    }

    .related-item {
        grid-template-columns: 100px 1fr;
    }

    .related-item img {
        width: 100px;
        height: 70px;
    }
}
