/* ========== 文章内容页面样式 ========== */

/* 位置导航 */
.position {
    background: #f0f7f4;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.position a {
    color: #2eaa6e;
    text-decoration: none;
}

.position a:hover {
    color: #1d8a55;
}

/* 文章标题 */
.title_info {
    margin-bottom: 24px;
    text-align: center;
}

.title_info h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
    padding: 0 24px;
}

/* 文章正文 */
#text {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
}

#text p {
    margin-bottom: 16px;
    text-indent: 2em;
}

#text img {
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#text h2 {
    font-size: 24px;
    color: #2eaa6e;
    margin: 32px 0 16px 0;
    font-weight: 600;
}

#text h3 {
    font-size: 20px;
    color: #2eaa6e;
    margin: 24px 0 12px 0;
    font-weight: 600;
}

#text ul, #text ol {
    margin: 16px 0;
    padding-left: 32px;
}

#text li {
    margin-bottom: 8px;
}



/* 侧边栏 */
.sider {
    width: 300px;
}

.title {
    background: linear-gradient(135deg, #2eaa6e 0%, #5bc49f 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.margin_top {
    margin-top: 30px;
}

.box {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.box ul {
    list-style: none;
}

.box li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f7f4;
}

.box li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.box a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.box a:hover {
    color: #2eaa6e;
}

/* 分页 */
.pageLink {
    margin-top: 24px;
    text-align: center;
}

.pageLink a {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f7f4;
    color: #2eaa6e;
    border-radius: 4px;
    margin: 0 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.pageLink a:hover {
    background: #2eaa6e;
    color: #fff;
}

.article-banner {
    background: linear-gradient(135deg, #f0f7f4 0%, #e6f5ed 100%);
    padding: 60px 0;
    border-bottom: 1px solid #d6e8e0;
}

.article-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

.article-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 400;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: #999;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    padding: 60px 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.article-main {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-body {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.article-body h2 {
    font-size: 24px;
    color: #2eaa6e;
    margin: 32px 0 16px 0;
    font-weight: 600;
}

.article-body h3 {
    font-size: 20px;
    color: #2eaa6e;
    margin: 24px 0 12px 0;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 16px;
    text-indent: 2em;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-body ul, .article-body ol {
    margin: 16px 0;
    padding-left: 32px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e6f5ed;
}

.article-tags h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 600;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-list a {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f7f4;
    color: #2eaa6e;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.tag-list a:hover {
    background: #2eaa6e;
    color: #fff;
}

.article-nav {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e6f5ed;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-prev, .nav-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-prev span, .nav-next span {
    font-size: 14px;
    color: #999;
    font-weight: 600;
}

.nav-prev a, .nav-next a {
    font-size: 16px;
    color: #2eaa6e;
    transition: color 0.3s;
}

.nav-prev a:hover, .nav-next a:hover {
    color: #1d8a55;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6f5ed;
}

.hot-articles, .related-articles {
    list-style: none;
}

.hot-articles li, .related-articles li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f7f4;
}

.hot-articles li:last-child, .related-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hot-articles a, .related-articles a {
    font-size: 14px;
    color: #333;
    transition: color 0.3s;
    display: block;
    line-height: 1.5;
}

.hot-articles a:hover, .related-articles a:hover {
    color: #2eaa6e;
}

/* ========== 全局重置与基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f7f4;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: #2eaa6e;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #1d8a55;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========== 顶部导航 ========== */
.site-header {
    background: linear-gradient(135deg, #2eaa6e 0%, #5bc49f 100%);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(46, 170, 110, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.site-logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.site-logo a {
    color: #fff;
}

.site-nav {
    display: flex;
    gap: 6px;
}

.site-nav a {
    color: rgba(255,255,255,0.9);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
}

/* ========== Hero Banner ========== */
.hero-banner {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    padding: 48px 0 40px;
    text-align: center;
}

.hero-banner h1 {
    font-size: 32px;
    color: #1a6b42;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-banner .hero-desc {
    font-size: 16px;
    color: #4a8c6a;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-banner .hero-img {
    max-width: 680px;
    margin: 0 auto 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(46, 170, 110, 0.12);
}

.hero-banner .hero-img img {
    width: 100%;
    height: auto;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: ctaPulse 2s ease-in-out infinite;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
    color: #fff;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* ========== 区块通用 ========== */
.section {
    padding: 40px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a6b42;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: #7ab89a;
    text-align: center;
    margin-bottom: 32px;
}

/* ========== 栏目列表入口 ========== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(46, 170, 110, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0f2e9;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(46, 170, 110, 0.15);
}

.category-card .cat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: #e8f5e9;
}

.category-card .cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    font-size: 15px;
    color: #2d7a52;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 12px;
    color: #999;
}

/* ========== 信息卡片区域 ========== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(46, 170, 110, 0.08);
    border: 1px solid #e0f2e9;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-card h3 {
    font-size: 17px;
    color: #1a6b42;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
}

.info-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.info-card .highlight {
    color: #e74c3c;
    font-weight: 600;
}

.info-card .tag {
    display: inline-block;
    background: #e8f5e9;
    color: #2eaa6e;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin: 4px 4px 4px 0;
}

/* ========== 真相揭秘区域 ========== */
.truth-section {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    margin: 0 auto;
    max-width: 1100px;
    box-shadow: 0 2px 16px rgba(46, 170, 110, 0.08);
}

.truth-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.truth-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid #e74c3c;
}

.truth-card.green {
    background: linear-gradient(135deg, #f0faf4 0%, #fff 100%);
    border-left-color: #2eaa6e;
}

.truth-card h4 {
    font-size: 16px;
    color: #e74c3c;
    margin-bottom: 8px;
}

.truth-card.green h4 {
    color: #2eaa6e;
}

.truth-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ========== 办理指南区域 ========== */
.guide-section {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 2px 16px rgba(46, 170, 110, 0.08);
}

.guide-steps {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.guide-step {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    text-align: center;
    padding: 20px;
}

.guide-step .step-num {
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2eaa6e, #5bc49f);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 12px;
}

.guide-step h4 {
    font-size: 15px;
    color: #1a6b42;
    margin-bottom: 6px;
}

.guide-step p {
    font-size: 13px;
    color: #888;
}

/* ========== FAQ区域 ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(46, 170, 110, 0.06);
    border: 1px solid #e0f2e9;
}

.faq-item h4 {
    font-size: 15px;
    color: #1a6b42;
    margin-bottom: 8px;
}

.faq-item h4::before {
    content: "Q: ";
    color: #2eaa6e;
    font-weight: 700;
}

.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    padding-left: 24px;
}

.faq-item p::before {
    content: "A: ";
    color: #ff6b35;
    font-weight: 600;
    margin-left: -24px;
}

/* ========== CTA浮动按钮（移动端） ========== */
.mobile-cta-float {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

/* ========== 底部 ========== */
.site-footer {
    background: #1a6b42;
    color: rgba(255,255,255,0.8);
    padding: 32px 0 20px;
    margin-top: 40px;
}

.footer-inner {
    text-align: center;
}

.footer-nav {
    margin-bottom: 16px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    margin: 0 12px;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-info {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 2;
}

.footer-info a {
    color: rgba(255,255,255,0.6);
}

/* 文章内容页面自适应布局 */
@media (max-width: 768px) {
    /* 文章正文 */
    #text {
        max-width: 100%;
        margin: 0 16px 24px 16px;
        padding: 24px;
    }

    /* 文章标题 */
    .title_info h1 {
        font-size: 24px;
        text-align: center;
    }

    /* 位置导航 */
    .position {
        margin: 0 16px 20px 16px;
    }
}

/* 文章列表页面 */
.article-list {
    width: 100%;
    margin: 0 auto;
}

/* 位置导航 */
.position {
    margin: 0 auto 20px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* 栏目名卡片 */
.column-card {
    margin: 0 auto 20px auto;
    max-width: 1200px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 文章列表 */
#list {
    margin: 0 auto 24px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* 文章列表项 */
#list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#list ul li {
    margin-bottom: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#list ul li a {
    text-decoration: none;
    color: #333;
}

#list ul li a:hover {
    color: #009900;
}

#list ul li h3 {
    font-size: 20px;
    margin: 0 0 12px 0;
    color: #333;
}

#list ul li p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 12px 0;
}

#list ul li .meta {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* 分页 */
.list_page {
    width: 100%;
    margin: 40px 0 20px 0;
    text-align: center;
}

/* 文章列表页面自适应布局 */
@media (max-width: 768px) {
    /* 位置导航 */
    .position {
        margin: 0 16px 20px 16px;
        padding: 0;
    }

    /* 栏目名卡片 */
    .column-card {
        margin: 0 16px 20px 16px;
        padding: 24px;
    }

    /* 文章列表 */
    #list {
        margin: 0 16px 24px 16px;
        padding: 0;
    }

    /* 文章列表项 */
    #list ul li {
        margin-bottom: 20px;
        padding: 24px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    /* 分页 */
    .list_page {
        margin: 40px 16px 20px 16px;
    }
}

/* ========== 自适应布局 ========== */
@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #2eaa6e;
        flex-direction: column;
        padding: 12px 16px;
        gap: 4px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .site-nav.active {
        display: flex;
    }

    .site-nav a {
        padding: 10px 16px;
        border-radius: 8px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-banner {
        padding: 32px 0 28px;
    }

    .hero-banner h1 {
        font-size: 24px;
    }

    .hero-banner .hero-desc {
        font-size: 14px;
        padding: 0 16px;
    }

    .cta-btn {
        padding: 12px 32px;
        font-size: 16px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 16px 8px;
    }

    .category-card .cat-icon {
        width: 44px;
        height: 44px;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .truth-cards {
        grid-template-columns: 1fr;
    }

    .truth-section {
        padding: 24px 16px;
    }

    .guide-steps {
        flex-direction: column;
        align-items: center;
    }

    .guide-step {
        max-width: 100%;
    }

    .guide-section {
        padding: 24px 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .mobile-cta-float {
        display: block;
    }

    .container {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-banner h1 {
        font-size: 20px;
    }
}
