/*
Theme Name: mb9 Theme
Theme URI: https://example.com/
Description: A WordPress theme for blockchain mining and crypto wallet review website
Author: Your Name
Author URI: https://example.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blockchain-mining
*/

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}
.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a6c;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
nav a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 5px;
    z-index: 1001;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #1a2a6c;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}
nav a:hover {
    color: #1a2a6c;
}
.btn-primary {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 42, 108, 0.3);
}
.hero {
    background: linear-gradient(135deg, #1a2a6c 0%, #2d3a7c 50%, #b21f1f 100%);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline {
    background: transparent;
    color: #fff;
    padding: 12px 28px;
    border: 2px solid #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}
.btn-outline:hover {
    background: #fff;
    color: #1a2a6c;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px;
}
.section-title {
    text-align: center;
    font-size: 36px;
    color: #1a2a6c;
    margin-bottom: 20px;
    position: relative;
}
.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    margin: 15px auto 0;
    border-radius: 2px;
}
.process-section {
    background: #fff;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    counter-reset: step;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-step::before {
    counter-increment: step;
    content: counter(step);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
.process-icon {
    font-size: 40px;
    color: #1a2a6c;
    margin-bottom: 20px;
}
.process-title {
    font-size: 20px;
    color: #1a2a6c;
    margin-bottom: 10px;
}
.process-desc {
    font-size: 14px;
    color: #666;
}
.why-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf5 100%);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
.why-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.why-card:hover {
    transform: translateY(-5px);
}
.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: #fff;
}
.why-title {
    font-size: 22px;
    color: #1a2a6c;
    margin-bottom: 12px;
}
.why-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}
.testimonials-section {
    background: #fff;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 35px;
    border-radius: 12px;
    border-left: 4px solid #1a2a6c;
}
.testimonial-quote {
    font-size: 18px;
    color: #444;
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.7;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}
.author-info h4 {
    font-size: 16px;
    color: #1a2a6c;
    margin-bottom: 3px;
}
.author-info p {
    font-size: 13px;
    color: #888;
}
.stars {
    color: #ffc107;
    margin-bottom: 15px;
}
.news-section {
    background: linear-gradient(135deg, #1a2a6c 0%, #2d3a7c 100%);
    color: #fff;
}
.news-section .section-title {
    color: #fff;
}
.news-section .section-subtitle {
    color: rgba(255,255,255,0.85);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.news-card {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}
.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-content {
    padding: 25px;
}
.news-date {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 10px;
}
.news-title {
    font-size: 19px;
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-excerpt {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}
.news-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.news-link:hover {
    text-decoration: underline;
}
.cta-section {
    background: linear-gradient(135deg, #b21f1f 0%, #1a2a6c 100%);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta-title {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
}
.cta-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}
.btn-large {
    padding: 18px 45px;
    font-size: 18px;
    border-radius: 8px;
    background: #fff;
    color: #1a2a6c;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
footer {
    background: #0f1425;
    color: #fff;
    padding: 50px 20px 30px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}
.footer-col ul {
    list-style: none;
}
.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    line-height: 2.2;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: #fff;
}
.footer-bottom {
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}
.footer-bottom p a{
    font-size: 13px;
    opacity: 0.7;
    color: #fff;
    text-decoration: none;
}
.breadcrumb {
    background: #fff;
    padding: 15px 20px;
    font-size: 13px;
    color: #666;
}
.breadcrumb-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.breadcrumb a {
    color: #1a2a6c;
    text-decoration: none;
}

/* List/Archive Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a2a6c 0%, #2d3a7c 100%);
    border-radius: 12px;
    color: #fff;
}
.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}
.page-header p {
    font-size: 18px;
    opacity: 0.9;
}
.filter-bar {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}
.filter-label {
    font-weight: 600;
    color: #1a2a6c;
}
.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-tag {
    padding: 8px 16px;
    background: #f0f2f8;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    color: #444;
}
.filter-tag:hover, .filter-tag.active {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: #fff;
}
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.article-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    transition: transform 0.3s, box-shadow 0.3s;
}
.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.article-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}
.article-content {
    padding: 25px;
    flex: 1;
}
.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.article-category {
    background: #e8ebf8;
    color: #1a2a6c;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}
.article-date {
    color: #888;
    font-size: 13px;
}
.article-title {
    font-size: 22px;
    color: #1a2a6c;
    margin-bottom: 10px;
    line-height: 1.4;
}
.article-title a {
    color: inherit;
    text-decoration: none;
}
.article-title a:hover {
    text-decoration: underline;
}
.article-excerpt {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}
.read-more {
    color: #b21f1f;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.read-more:hover {
    text-decoration: underline;
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.widget-title {
    font-size: 18px;
    color: #1a2a6c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ebf8;
}
.popular-list {
    list-style: none;
}
.popular-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.popular-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.popular-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}
.popular-info h4 {
    font-size: 14px;
    color: #1a2a6c;
    margin-bottom: 5px;
    line-height: 1.4;
}
.popular-info a {
    color: inherit;
    text-decoration: none;
}
.popular-info a:hover {
    text-decoration: underline;
}
.popular-date {
    font-size: 12px;
    color: #888;
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag-item {
    padding: 6px 14px;
    background: #f0f2f8;
    border-radius: 15px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    transition: all 0.3s;
}
.tag-item:hover {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: #fff;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.page-btn {
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: all 0.3s;
}
.page-btn:hover, .page-btn.active, .page-btn.current {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: #fff;
    border-color: transparent;
}
.archive .container {
    padding: 40px 20px;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }
    nav.active {
        right: 0;
    }
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }
    nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    nav ul li a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }
    nav ul li a.btn-primary {
        margin: 15px 0;
        text-align: center;
    }
    .hero h1 {
        font-size: 32px;
    }
    .section-title {
        font-size: 28px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .cta-title {
        font-size: 30px;
    }
}

/* Archive Page Responsive Styles */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
    }
    .article-img {
        width: 100%;
        height: 220px;
    }
    .page-header h1 {
        font-size: 28px;
    }
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 单篇文章页面样式 */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}
.main-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.article-intro {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.article-category {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.article-date {
    color: #888;
    font-size: 14px;
}
.article-date i {
    margin-right: 5px;
}
.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}
.author-name {
    color: #1a2a6c;
    font-weight: 600;
    text-decoration: none;
}
.article-title {
    font-size: 36px;
    color: #1a2a6c;
    margin-bottom: 20px;
    line-height: 1.3;
}
.article-featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}
.article-content {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}
.article-content h2 {
    font-size: 26px;
    color: #1a2a6c;
    margin: 30px 0 15px;
}
.article-content h3 {
    font-size: 22px;
    color: #1a2a6c;
    margin: 25px 0 12px;
}
.article-content p {
    margin-bottom: 18px;
}
.article-content ul, .article-content ol {
    margin-bottom: 18px;
    padding-left: 25px;
}
.article-content li {
    margin-bottom: 10px;
}
.article-content blockquote {
    background: #f0f2f8;
    border-left: 4px solid #1a2a6c;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}
.article-content a {
    color: #b21f1f;
    text-decoration: none;
    font-weight: 500;
}
.article-content a:hover {
    text-decoration: underline;
}
.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}
.article-content code {
    background: #f0f2f8;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 14px;
}
.article-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.article-tags h4 {
    font-size: 16px;
    color: #1a2a6c;
    margin-bottom: 15px;
}
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tags-list a {
    padding: 8px 16px;
    background: #f0f2f8;
    border-radius: 20px;
    font-size: 14px;
    color: #1a2a6c;
    text-decoration: none;
    transition: all 0.3s;
}
.tags-list a:hover {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: #fff;
}
.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.article-footer h4 {
    font-size: 16px;
    color: #1a2a6c;
    margin-bottom: 15px;
}
.share-buttons {
    display: flex;
    gap: 12px;
}
.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.share-btn:hover {
    transform: translateY(-3px);
}
.share-btn.facebook {
    background: #1877f2;
}
.share-btn.twitter {
    background: #1da1f2;
}
.share-btn.linkedin {
    background: #0077b5;
}
.share-btn.reddit {
    background: #ff4500;
}
.share-btn.email {
    background: #666;
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.widget-title {
    font-size: 18px;
    color: #1a2a6c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ebf8;
}
.popular-list {
    list-style: none;
}
.popular-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.popular-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.popular-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}
.popular-info h4 {
    font-size: 14px;
    color: #1a2a6c;
    margin-bottom: 5px;
    line-height: 1.4;
}
.popular-info a {
    color: inherit;
    text-decoration: none;
}
.popular-info a:hover {
    text-decoration: underline;
}
.popular-date {
    font-size: 12px;
    color: #888;
}
.cta-box {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: #fff;
    text-align: center;
    padding: 30px;
    border-radius: 12px;
}
.cta-box h4 {
    font-size: 20px;
    margin-bottom: 12px;
}
.cta-box p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}
.cta-box .btn-primary {
    background: #fff;
    color: #1a2a6c;
}
.related-articles {
    margin-top: 50px;
}
.related-title {
    font-size: 24px;
    color: #1a2a6c;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ebf8;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.related-card:hover {
    transform: translateY(-5px);
}
.related-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.related-content {
    padding: 20px;
}
.related-content h3 {
    font-size: 18px;
    color: #1a2a6c;
    margin-bottom: 10px;
    line-height: 1.4;
}
.related-content h3 a {
    color: inherit;
    text-decoration: none;
}
.related-content h3 a:hover {
    text-decoration: underline;
}
.related-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}
.related-meta {
    font-size: 13px;
    color: #888;
}

/* 单篇文章页面响应式样式 */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar {
        order: -1;
    }
}
@media (max-width: 768px) {
    .article-title {
        font-size: 28px;
    }
    .article-featured-img {
        height: 250px;
    }
    .main-content {
        padding: 25px;
    }
    .share-buttons {
        flex-wrap: wrap;
    }
}

/* 上一篇/下一篇导航样式 */
.post-navigation {
    margin: 50px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}
.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #e8ebf8;
}
.nav-link {
    padding: 25px 30px;
    background: #fff;
    transition: background 0.3s;
}
.nav-link:hover {
    background: #f8f9fa;
}
.nav-link.prev-link {
    text-align: left;
}
.nav-link.next-link {
    text-align: right;
}
.nav-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link.next-link .nav-label {
    justify-content: flex-end;
}
.nav-label i {
    font-size: 12px;
    color: #1a2a6c;
}
.nav-title {
    color: #1a2a6c;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    display: block;
    transition: color 0.3s;
}
.nav-title:hover {
    color: #b21f1f;
    text-decoration: underline;
}

/* 导航响应式样式 */
@media (max-width: 768px) {
    .nav-links {
        grid-template-columns: 1fr;
    }
    .nav-link.next-link {
        text-align: left;
    }
    .nav-link.next-link .nav-label {
        justify-content: flex-start;
    }
    .nav-label {
        flex-direction: row-reverse;
    }
}




/* 图片板块样式 */
.picture-section {
    padding: 30px 20px;
}
.picture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.picture-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.picture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.picture-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 图片板块响应式样式 */
@media (max-width: 768px) {
    .picture-section {
        padding: 50px 20px;
    }
    .picture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}