/* ========== J9页面样式 - SEO优化版 ========== */

.j9-page {
    padding: 20px 0;
}

/* 面包屑导航 */
.breadcrumb {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb a {
    color: #ff6a00;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #e55f00;
    text-decoration: underline;
}

/* 页面标题 */
.page-header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    color: #fff;
}

.page-header h1 {
    font-size: 2em;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
}

.page-header .subtitle {
    font-size: 1.1em;
    color: rgba(255,255,255,0.7);
    margin: 0 0 25px 0;
}

/* ========== 通用卡片样式 ========== */
.j9-page .card {
    background: #fff;
    padding: 30px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.j9-page .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    border-color: #d0d0d0;
}

.j9-page .card h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #222;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff6a00;
    display: inline-block;
}

.j9-page .card h3 {
    font-size: 1.15em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.j9-page .card p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.j9-page .card a {
    color: #ff6a00;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #ff6a00;
    transition: all 0.2s;
}

.j9-page .card a:hover {
    color: #e55f00;
    border-bottom-style: solid;
}

.j9-page .card ul {
    padding-left: 20px;
    margin: 15px 0;
}

.j9-page .card li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #555;
}

.j9-page .card li strong {
    color: #333;
}

/* 热门标签卡片 */
.j9-page .card-highlight {
    border: 2px solid #ff6a00;
    background: linear-gradient(to bottom, #fff 0%, #fff8f0 100%);
    box-shadow: 0 4px 16px rgba(255,106,0,0.1);
}

.j9-page .card-highlight:hover {
    box-shadow: 0 6px 24px rgba(255,106,0,0.18);
    border-color: #e55f00;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6a00;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.cta-inline {
    margin-top: 25px;
    text-align: center;
}

/* CTA引导卡片 */
.j9-page .cta-card {
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 50px 30px;
    border: none;
}

.j9-page .cta-card:hover {
    border: none;
}

.j9-page .cta-card h2 {
    color: #fff;
    border-bottom-color: #ff6a00;
    font-size: 1.8em;
}

.j9-page .cta-card p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* FAQ卡片 */
.faq-card h2 {
    margin-bottom: 30px;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.1em;
    color: #222;
    margin-bottom: 12px;
    padding-left: 15px;
    position: relative;
}

.faq-item h3::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    color: #ff6a00;
    font-weight: bold;
    font-size: 0.9em;
}

.faq-item p {
    padding-left: 15px;
    color: #666;
    line-height: 1.8;
}

/* 相关推荐文章 */
.related-articles h2 {
    margin-bottom: 25px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.article-item {
    display: flex;
    align-items: flex-start;
    padding: 18px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #e8e8e8;
}

.article-item:hover {
    background: #ff6a00;
    color: #fff;
    border-color: #ff6a00;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255,106,0,0.3);
}

.article-item:hover .article-info strong,
.article-item:hover .article-info span {
    color: #fff;
}

.article-icon {
    font-size: 1.8em;
    margin-right: 15px;
    flex-shrink: 0;
    line-height: 1.2;
    margin-top: 2px;
}

.article-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.article-info strong {
    font-size: 1em;
    margin-bottom: 4px;
    color: #222;
    transition: color 0.3s;
    line-height: 1.4;
}

.article-info span {
    font-size: 0.85em;
    color: #888;
    transition: color 0.3s;
    line-height: 1.4;
}

.article-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: #888;
    font-size: 0.95em;
}

/* 内链区域 */
.nav-links h3 {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.link-item:hover {
    background: #ff6a00;
    color: #fff;
    border-color: #ff6a00;
    transform: translateX(5px);
}

.link-icon {
    font-size: 1.4em;
    margin-right: 10px;
}

.link-text {
    font-weight: 500;
    font-size: 0.95em;
}

/* ========== 按钮样式 - 强制文字显示 ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    background: #ff6a00;
    box-shadow: 0 4px 15px rgba(255,106,0,0.3);
}

.btn:hover {
    background: #e55f00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,106,0,0.4);
    color: #fff;
}

.btn-primary {
    background: #ff6a00;
    color: #fff;
}

.btn-primary:hover {
    background: #e55f00;
    color: #fff;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.15em;
}

/* 确保a标签按钮文字可见 */
a.btn,
a.btn-primary,
a.btn-large {
    color: #fff !important;
}

a.btn:hover,
a.btn-primary:hover,
a.btn-large:hover {
    color: #fff !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .j9-page {
        padding: 10px 0;
    }

    .page-header {
        padding: 30px 15px;
    }

    .page-header h1 {
        font-size: 1.4em;
    }

    .page-header .subtitle {
        font-size: 0.95em;
    }

    .j9-page .card {
        padding: 20px;
        margin: 15px 0;
        border-radius: 10px;
    }

    .j9-page .card h2 {
        font-size: 1.25em;
    }

    .card-badge {
        font-size: 0.75em;
        padding: 4px 10px;
    }

    .cta-card {
        padding: 35px 20px;
    }

    .cta-card h2 {
        font-size: 1.4em;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-item {
        padding: 14px 16px;
    }

    .link-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .breadcrumb {
        padding: 10px 15px;
        font-size: 13px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.2em;
    }

    .j9-page .card {
        padding: 15px;
    }

    .faq-item h3 {
        font-size: 0.95em;
    }

    .link-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95em;
    }

    .article-item {
        padding: 12px 14px;
    }

    .article-icon {
        font-size: 1.5em;
        margin-right: 10px;
    }
}
.articles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.articles-header h2 {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.view-more {
    font-size: 14px;
    color: #ff6a00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.view-more:hover {
    color: #e55f00;
    text-decoration: underline;
}