* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #16d17f;
    --primary-dark: #0fa765;
    --light-bg: #f8f9fa;
    --dark-text: #333333;
    --light-text: #666666;
    --border-color: #e9ecef;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --primary-green: #16d17f;
    --primary-green-light: #3ce396;
    --primary-green-dark: #10b56d;
    --secondary-green: #e8f9f1;
    --accent-green: #7ae0b5;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f5fdf9;
    --shadow-light: rgba(22, 209, 127, 0.1);
    --border-radius: 8px;
}
.article-content a {
    color:var(--primary-green);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 抽象背景元素 - 基于图片描述 */
.abstract-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

/* 左上角柔和图形 */
.shape-top-left {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 120px;
    height: 140px;
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.15) 0%, rgba(22, 160, 133, 0.08) 100%);
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    filter: blur(1px);
}

/* 右下角近似圆形 */
.shape-bottom-right {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.12) 0%, rgba(22, 160, 133, 0.05) 100%);
    border-radius: 50% 40% 60% 30% / 60% 50% 40% 70%;
    filter: blur(1px);
}

/* 主要内容区域 */
.main-content {
    padding: 60px 0;

}

.page-title {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-green-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;

}

.article-header{
    background-color: var(--bg-light);
    padding: 80px 0 5px 0;
}
.article-header-rq{
    max-width: 1200px;
    margin: 0 auto;

}
.page-description {
    font-size: 18px;
    color: var(--light-text);
    margin-top: 20px;
    margin-bottom: 40px;
}

/* 文章列表 */
.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.article-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.article-image {
    height: 200px;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(22, 209, 127, 0.1));
}

.article-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--dark-text);
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--light-text);
    flex-grow: 1;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 8px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.pagination a:hover {
    background-color: rgba(22, 209, 127, 0.1);
    border-color: var(--primary-color);
}

.pagination .active {
    background-color: var(--primary-color);
    color: white;
}

.pagination .prev-next {
    padding: 0 20px;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .articles-container {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 28px;
    }

    .pagination a, .pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
    }

    .pagination .prev-next {
        padding: 0 12px;
    }
}

/** 详情页面 **/

/* 面包屑导航 */
.breadcrumb {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 文章详情 */
.article-detail {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.article-cover {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
}

.article-info-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--dark-text);
}

.article-body {
    padding: 30px;
}

.article-content {
    padding: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 24px;
    color: var(--dark-text);
    font-weight: 600;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

/* 相关文章 */
.related-articles {
    margin-bottom: 50px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.related-article {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.related-article-image {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-article-content {
    padding: 20px;
}

.related-article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.related-article-title a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .article-cover {
        height: 250px;
    }

    .article-title {
        font-size: 26px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-info-header, .article-body {
        padding: 20px;
    }
}