/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    background: #f7faff;
    color: #222c36;
    min-height: 100vh;
    position: relative;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 导航栏 */
.navbar {
    background: #1976d2;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    color: #fff;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 2px 8px #1976d299;
}
.nav-links a {
    color: #e3f2fd;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 1rem;
    transition: color 0.2s;
    text-shadow: none;
}
.nav-links a:hover {
    color: #1976d2;
    background: #e3f2fd;
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    text-shadow: none;
}

/* 主横幅 */
.hero {
    background: linear-gradient(120deg, #1976d2 0%, #63a4ff 100%);
    padding: 4rem 0 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px #1976d299, 0 1px 2px #0008;
}
.hero-content p {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: none;
}
.hero-actions .btn-primary {
    background: #fff;
    color: #1976d2;
    padding: 0.8rem 2.2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 12px #1976d288;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    text-shadow: none;
}
.hero-actions .btn-primary:hover {
    background: #1976d2;
    color: #fff;
    text-shadow: 0 2px 8px #1976d299;
}

/* 板块通用样式 */
.section {
    padding: 3rem 0 2rem 0;
}
.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1976d2;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #1976d288;
    font-weight: bold;
}

/* 卡片布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px #1976d211, 0 1.5px 8px #1976d211;
    padding: 2rem 1.2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1.5px solid #e3f2fd;
    color: #222c36;
}
.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px #1976d244, 0 2px 12px #1976d244;
}
.card h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: none;
}
.card p {
    color: #222c36;
    font-size: 1rem;
    text-shadow: none;
}

/* 关于我们、联系我们 */
.about-section p, .contact-section p, .contact-section ul {
    text-align: center;
    font-size: 1.1rem;
    color: #e0e0e0;
}
.contact-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #1976d211;
    padding: 2rem 1.2rem;
    margin: 0 auto;
    max-width: 400px;
    color: #222c36;
    border: 1.5px solid #e3f2fd;
}
.contact-card p, .contact-card ul, .contact-card li {
    color: #222c36;
    text-shadow: none;
}
.contact-card li {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.contact-card li span, .contact-card li a {
    color: #1976d2;
    font-weight: bold;
}
.contact-section ul {
    list-style: none;
    margin-top: 1rem;
}
.contact-section li {
    margin-bottom: 0.5rem;
    color: #00ffe7;
    font-weight: bold;
}

/* 页脚 */
.footer {
    background: #1976d2;
    text-align: center;
    padding: 1.2rem 0;
    color: #e3f2fd;
    font-size: 0.95rem;
    margin-top: 2rem;
    box-shadow: 0 -2px 8px #1976d211;
}

/* 背景美化元素 */
.bg-decor {
    display: none;
}

/* 优势板块可复用card-grid，无需额外样式 */

/* 服务流程板块 */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.2rem;
    margin: 2rem 0 0 0;
    flex-wrap: wrap;
}
.step {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px #1976d211;
    padding: 1.2rem 1rem;
    text-align: center;
    flex: 1 1 120px;
    min-width: 110px;
    margin: 0 0.3rem;
    border: 1.5px solid #e3f2fd;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #222c36;
}
.step:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 4px 16px #1976d244;
}
.step-num {
    width: 38px;
    height: 38px;
    background: #1976d2;
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.7rem auto;
    box-shadow: 0 2px 8px #1976d288;
}
.step-desc {
    color: #222c36;
    font-size: 1rem;
}

/* 常见问题FAQ板块 */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px #1976d211;
    padding: 1.2rem 1rem;
    border-left: 4px solid #1976d2;
    color: #222c36;
    border: 1.5px solid #e3f2fd;
}
.faq-q {
    color: #1976d2;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
    text-shadow: none;
}
.faq-a {
    color: #222c36;
    font-size: 1rem;
    text-shadow: none;
}

/* 客户评价板块 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 0 0;
}
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px #1976d211;
    padding: 1.5rem 1.2rem;
    border: 1.5px solid #e3f2fd;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #222c36;
}
.testimonial-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 6px 24px #1976d244;
}
.testimonial-content {
    margin-bottom: 1rem;
}
.testimonial-content p {
    color: #222c36;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: none;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.author-name {
    color: #1976d2;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: none;
}
.author-service {
    color: #aaa;
    font-size: 0.9rem;
    text-shadow: none;
}

/* 安全承诺板块 */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 0 0;
}
.security-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px #1976d211;
    padding: 1.8rem 1.2rem;
    text-align: center;
    border: 1.5px solid #e3f2fd;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #222c36;
}
.security-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 6px 24px #1976d244;
}
.security-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #1976d2;
}
.security-item h3 {
    color: #1976d2;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    text-shadow: none;
}
.security-item p {
    color: #222c36;
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: none;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .hero-content h1 {
        color: #fff;
    }
    .section h2 {
        color: #1976d2;
    }
    .process-steps {
        flex-direction: column;
        gap: 1rem;
    }
    .step {
        margin: 0 0 1rem 0;
    }
    .hero-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-img-col {
        width: 100%;
        order: -1;
    }
    .hero-img img {
        max-width: 90vw;
    }
    .nav-container {
        position: relative;
    }
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #1976d2;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0.5rem 0 1rem 0;
        box-shadow: 0 4px 24px #1976d211;
        display: none;
        z-index: 110;
        transition: all 0.3s;
        width: 100%;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        margin: 0.7rem 0;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 0.7rem 0;
        border-bottom: 1px solid #1976d244;
        background: none;
    }
    .nav-toggle {
        display: flex;
    }
}
@media (max-width: 600px) {
    .container {
        width: 98%;
    }
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        margin-top: 0.7rem;
    }
    .nav-links a {
        margin-left: 1rem;
        font-size: 0.98rem;
    }
    .hero {
        padding: 2.2rem 0 1.5rem 0;
        background: linear-gradient(120deg, #1976d2 0%, #63a4ff 100%);
    }
    .hero-content h1 {
        font-size: 1.3rem;
    }
    .section {
        padding: 1.5rem 0 1rem 0;
    }
    .card {
        padding: 1.2rem 0.7rem;
    }
    .contact-card {
        padding: 1.2rem 0.7rem;
    }
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}
.hero-text {
    flex: 1 1 340px;
    min-width: 240px;
}
.hero-img-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 380px;
    min-width: 240px;
}
.hero-img {
    flex: 1 1 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-img img {
    max-width: 380px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 32px #1976d244;
}
@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-img-col {
        width: 100%;
    }
    .hero-img img {
        max-width: 90vw;
    }
}

.hero-img-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.2rem;
    gap: 1rem;
}
.qq-btn {
    background: #ff9800;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px #ff980088;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    border: none;
    outline: none;
}
.qq-btn:hover {
    background: #1976d2;
    color: #fff;
    box-shadow: 0 4px 16px #1976d288;
}

.qq-copy-btn {
    background: #ff9800;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px #ff980088;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    border: none;
    outline: none;
    margin-top: 1rem;
    cursor: pointer;
    display: block;
}
.qq-copy-btn:hover {
    background: #1976d2;
    color: #fff;
    box-shadow: 0 4px 16px #1976d288;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 1rem;
    z-index: 120;
}
.nav-toggle .bar {
    width: 28px;
    height: 4px;
    background: #fff;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #1976d2;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0.5rem 0 1rem 0;
        box-shadow: 0 4px 24px #1976d211;
        display: none;
        z-index: 110;
        transition: all 0.3s;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        margin: 0.7rem 0;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 0.7rem 0;
        border-bottom: 1px solid #1976d244;
    }
    .nav-container {
        position: relative;
    }
    .nav-toggle {
        display: flex;
    }
}

/* 站点标题链接 */
.site-title a {
    color: #fff;
    text-decoration: none;
}

/* ========== 首页文章板块 ========== */
.articles-section {
    background: #fff;
}
.article-home-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
.article-home-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px #1976d211;
    border: 1.5px solid #e3f2fd;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}
.article-home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px #1976d244;
}
.article-home-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e3f2fd;
}
.article-home-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.article-home-card:hover .article-home-thumb img {
    transform: scale(1.05);
}
.article-home-title {
    font-size: 0.95rem;
    padding: 0.8rem 0.6rem 0.3rem;
    line-height: 1.4;
    font-weight: normal;
}
.article-home-title a {
    color: #222c36;
    text-decoration: none;
    transition: color 0.2s;
}
.article-home-title a:hover {
    color: #1976d2;
}
/* 首页文章板块不显示摘要/正文 */
.article-home-card p,
.article-home-card .article-desc {
    display: none;
}

/* ========== 内页通用布局 ========== */
.page-banner {
    background: linear-gradient(120deg, #1976d2 0%, #63a4ff 100%);
    padding: 2rem 0;
    color: #fff;
}
.breadcrumb {
    font-size: 0.9rem;
    color: #e3f2fd;
}
.breadcrumb a {
    color: #fff;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb .sep {
    margin: 0 0.5rem;
    opacity: 0.7;
}
.breadcrumb .current {
    opacity: 0.85;
}
.page-title {
    font-size: 1.8rem;
    margin-top: 0.8rem;
    font-weight: bold;
    text-shadow: 0 2px 8px #1976d299;
}
.main-wrap {
    padding: 2.5rem 0 3rem;
}
.content-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.main-content {
    flex: 1;
    min-width: 0;
}

/* ========== 内容页 ========== */
.article-detail {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px #1976d211;
    border: 1.5px solid #e3f2fd;
    padding: 2rem;
    margin-bottom: 2rem;
}
.article-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3f2fd;
}
.article-title {
    font-size: 1.8rem;
    color: #1976d2;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.9rem;
    color: #666;
}
.article-meta a {
    color: #1976d2;
    text-decoration: none;
}
.article-meta a:hover {
    text-decoration: underline;
}
.article-litpic {
    margin-bottom: 1.5rem;
    text-align: center;
}
.article-litpic img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px #1976d211;
}
.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    word-break: break-word;
}
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0.5rem 0;
}
.article-body p {
    margin-bottom: 1rem;
}
.article-images {
    margin-top: 1.5rem;
}
.article-figure {
    margin-bottom: 1rem;
    text-align: center;
}
.article-figure img {
    max-width: 100%;
    border-radius: 8px;
}
.article-figure figcaption {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.4rem;
}
.z8e5ecmeta-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e3f2fd;
}
.z8e5ectagitem a {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}
.z8e5ectagitem a:hover {
    background: #1976d2;
    color: #fff;
}
.article-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e3f2fd;
}
.article-nav-prev,
.article-nav-next {
    flex: 1;
    min-width: 0;
}
.article-nav-next {
    text-align: right;
}
.article-nav-links a {
    color: #1976d2;
    text-decoration: none;
    font-size: 0.95rem;
    word-break: break-all;
}
.article-nav-links a:hover {
    text-decoration: underline;
}

/* 相关内容 */
.related-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px #1976d211;
    border: 1.5px solid #e3f2fd;
    padding: 1.5rem 2rem;
}
.section-subtitle {
    font-size: 1.3rem;
    color: #1976d2;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #e3f2fd;
}
.related-list {
    list-style: none;
}
.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f4f8;
}
.related-item:last-child {
    border-bottom: none;
}
.related-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    overflow: hidden;
    border-radius: 8px;
    background: #e3f2fd;
}
.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.related-info {
    flex: 1;
    min-width: 0;
}
.related-title {
    color: #222c36;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.4rem;
    transition: color 0.2s;
}
.related-title:hover {
    color: #1976d2;
}
.related-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ========== 列表页 ========== */
.article-list {
    list-style: none;
}
.list-item {
    display: flex;
    gap: 1.5rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px #1976d211;
    border: 1.5px solid #e3f2fd;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px #1976d244;
}
.list-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    overflow: hidden;
    border-radius: 10px;
    background: #e3f2fd;
    display: block;
}
.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.list-item:hover .list-thumb img {
    transform: scale(1.05);
}
.list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.list-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.list-title a {
    color: #222c36;
    text-decoration: none;
    transition: color 0.2s;
}
.list-title a:hover {
    color: #1976d2;
}
.list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.6rem;
}
.list-meta a {
    color: #1976d2;
    text-decoration: none;
}
.list-intro {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    flex: 1;
}
.list-more {
    display: inline-block;
    margin-top: 0.6rem;
    color: #1976d2;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: bold;
}
.list-more:hover {
    text-decoration: underline;
}

/* 分页 - 左右显示 */
.pagebar {
    margin-top: 2rem;
}
.pagebar-lr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 12px #1976d211;
    border: 1.5px solid #e3f2fd;
    border-bottom: none;
    padding: 0.8rem 1.5rem;
}
.pagebar-pre,
.pagebar-next {
    flex: 1;
}
.pagebar-next {
    text-align: right;
}
.pagebar-pre a,
.pagebar-next a,
.pagebar-pre span,
.pagebar-next span {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #555;
    transition: all 0.2s;
}
.pagebar-pre a:hover,
.pagebar-next a:hover {
    background: #e3f2fd;
    color: #1976d2;
}
.zzpages.z8e5ecpages {
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 12px #1976d211;
    border: 1.5px solid #e3f2fd;
    padding: 0.8rem 1.5rem;
}
.pagelist {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.pagelist li {
    list-style: none;
}
.pagelist li,
.pagelist a,
.pagelist span {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #555;
    transition: all 0.2s;
}
.pagelist a:hover {
    background: #e3f2fd;
    color: #1976d2;
}
.pagelist .thisclass,
.pagelist .current {
    background: #1976d2;
    color: #fff;
}

/* ========== 侧栏 ========== */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}
.sidebar-block {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px #1976d211;
    border: 1.5px solid #e3f2fd;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}
.sidebar-title {
    font-size: 1.1rem;
    color: #1976d2;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e3f2fd;
}
.sidebar-list {
    list-style: none;
}
.sidebar-item {
    display: flex;
    gap: 0.7rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f4f8;
}
.sidebar-item:last-child {
    border-bottom: none;
}
.sidebar-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
    background: #e3f2fd;
    display: block;
}
.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sidebar-item-info {
    flex: 1;
    min-width: 0;
}
.sidebar-item-info a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 0.2rem;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sidebar-item-info a:hover {
    color: #1976d2;
}
.sidebar-date {
    font-size: 0.75rem;
    color: #aaa;
}

.clear {
    clear: both;
}

/* ========== 内页响应式 ========== */
@media (max-width: 1024px) {
    .article-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .sidebar {
        width: 260px;
    }
}

@media (max-width: 900px) {
    .content-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .article-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .list-item {
        flex-direction: column;
    }
    .list-thumb {
        width: 100%;
        height: 180px;
    }
    .article-detail {
        padding: 1.5rem;
    }
    .article-title {
        font-size: 1.4rem;
    }
    .article-nav-links {
        flex-direction: column;
    }
    .article-nav-next {
        text-align: left;
    }
    .related-item {
        flex-direction: column;
    }
    .related-thumb {
        width: 100%;
        height: 160px;
    }
}

@media (max-width: 600px) {
    .article-home-grid {
        grid-template-columns: 1fr;
    }
    .page-banner {
        padding: 1.5rem 0;
    }
    .page-title {
        font-size: 1.3rem;
    }
    .main-wrap {
        padding: 1.5rem 0 2rem;
    }
    .article-detail,
    .related-section,
    .sidebar-block {
        padding: 1rem;
    }
    .list-thumb {
        height: 150px;
    }
    .pagelist {
        justify-content: center;
    }
    .pagelist li,
    .pagelist a,
    .pagelist span {
        padding: 0.35rem 0.6rem;
        font-size: 0.82rem;
    }
    .pagebar-lr {
        flex-direction: column;
        gap: 0.5rem;
        border-radius: 12px 12px 0 0;
    }
    .pagebar-next {
        text-align: left;
    }
}
