/* ========== 资讯详情页面 ========== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* 面包屑 */
.breadcrumb {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--neon-cyan);
}

.breadcrumb i {
    color: var(--neon-magenta);
    margin: 0 6px;
}

.breadcrumb span {
    color: var(--text-dim);
}

/* 文章头部 */
.article-head {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.article-head .article-cat {
    display: inline-block;
    font-size: 13px;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    padding: 2px 12px;
    border-radius: 3px;
    margin-bottom: 14px;
}

.article-head h1 {
    font-size: 28px;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: var(--text-dim);
    font-size: 14px;
}

.article-info i {
    color: var(--neon-magenta);
    margin-right: 5px;
}

.view-count {
    font-style: normal;
    color: var(--neon-yellow);
}

/* 文章封面 */
.article-cover {
    height: 360px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
    margin-bottom: 26px;
}

/* 正文 */
.article-content {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.95;
}

.article-content .lead {
    font-size: 18px;
    color: var(--neon-cyan);
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.3);
    padding: 14px 18px;
    border-left: 3px solid var(--neon-cyan);
    background: rgba(0, 240, 255, 0.06);
    border-radius: 4px;
    margin-bottom: 22px;
}

.article-content h2 {
    font-size: 22px;
    color: var(--neon-magenta);
    text-shadow: 0 0 8px rgba(255, 0, 170, 0.4);
    margin: 26px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--neon-magenta);
}

.article-content p {
    margin-bottom: 16px;
    color: #c8c8e8;
}

.article-content ul,
.article-content ol {
    margin: 0 0 18px 24px;
}

.article-content li {
    margin-bottom: 8px;
    color: #c8c8e8;
}

.article-content strong {
    color: var(--neon-yellow);
    text-shadow: 0 0 6px rgba(255, 230, 0, 0.3);
}

.article-content blockquote {
    background: rgba(157, 0, 255, 0.08);
    border-left: 4px solid var(--neon-purple);
    border-radius: 4px;
    padding: 16px 20px;
    margin: 20px 0;
}

.article-content blockquote p {
    color: var(--neon-cyan);
    font-size: 17px;
    font-style: italic;
}

.article-content blockquote i {
    color: var(--neon-purple);
    margin-right: 8px;
}

.content-img {
    height: 280px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-glow);
    border-radius: 6px;
    margin: 22px 0;
    box-shadow: 0 0 24px rgba(255, 0, 170, 0.15);
}

.article-content .conclusion {
    background: rgba(255, 230, 0, 0.06);
    border-left: 4px solid var(--neon-yellow);
    padding: 14px 18px;
    border-radius: 4px;
    color: var(--neon-yellow);
}

/* 文章底部:标签与分享 */
.article-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
    margin-top: 26px;
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.article-tags span,
.article-share span {
    color: var(--text-dim);
    font-size: 14px;
    margin-right: 8px;
}

.article-tags a {
    color: var(--text-dim);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 6px;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.article-share {
    display: flex;
    align-items: center;
}

.share-btn {
    width: 34px;
    height: 34px;
    line-height: 32px;
    text-align: center;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 50%;
    color: var(--text-dim);
    margin-left: 8px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 170, 0.4);
}

/* 上下篇导航 */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
}

.nav-prev,
.nav-next {
    flex: 1;
    background: var(--bg-panel);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    padding: 16px;
    transition: all 0.3s ease;
}

.nav-next {
    text-align: right;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 16px rgba(255, 0, 170, 0.2);
}

.nav-label {
    display: block;
    color: var(--neon-cyan);
    font-size: 13px;
    margin-bottom: 6px;
}

.nav-title {
    display: block;
    color: var(--text-light);
    font-size: 15px;
}

/* 侧边栏 */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-box {
    background: var(--bg-panel);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    padding: 20px;
}

.sidebar-title {
    font-size: 17px;
    color: var(--neon-magenta);
    text-shadow: 0 0 8px rgba(255, 0, 170, 0.5);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 0, 170, 0.2);
}

.sidebar-title i {
    margin-right: 6px;
}

/* CTA */
.sidebar-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.15), rgba(255, 0, 170, 0.15));
    border-color: var(--neon-magenta);
}

.sidebar-cta > p {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 10px;
}

.sidebar-phone {
    color: var(--neon-yellow) !important;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 230, 0, 0.5);
    margin-bottom: 16px !important;
}

.sidebar-btn {
    display: inline-block;
    padding: 8px 24px;
    background: var(--neon-yellow);
    color: var(--bg-dark) !important;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 0 0 14px rgba(255, 230, 0, 0.4);
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background: var(--neon-magenta);
    box-shadow: 0 0 18px var(--neon-magenta);
}

/* 相关文章 */
.related-list li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

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

.related-list a {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    display: block;
    margin-bottom: 4px;
}

.related-list a:hover {
    color: var(--neon-cyan);
}

.related-date {
    color: var(--text-dim);
    font-size: 12px;
}

.related-date i {
    color: var(--neon-magenta);
    margin-right: 4px;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    color: var(--text-dim);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* 响应式 */
@media (max-width: 992px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-head h1 {
        font-size: 22px;
    }
    .article-cover {
        height: 220px;
    }
    .article-content h2 {
        font-size: 19px;
    }
    .article-content .lead {
        font-size: 16px;
    }
    .article-info {
        gap: 14px;
    }
    .article-nav {
        flex-direction: column;
    }
    .nav-next {
        text-align: left;
    }
    .content-img {
        height: 200px;
    }
}
