/* 详情页样式 */
.detail-main {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--bg-light);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.breadcrumb span {
    margin: 0 10px;
}

/* 新闻详情容器 */
.news-detail-container {
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(0, 0.9fr);
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.news-sidebar {
    position: sticky;
    top: 120px;
}

/* 新闻详情 */
.news-detail {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow);
}

/* 精简推广展示 */


.news-header {
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.news-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.3;
}

.news-meta {
    display: flex;
    gap: 30px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.news-content {
    line-height: 2;
    color: var(--text-dark);
}

.news-content h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.news-content h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.news-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 文章导航 */
#article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.article-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    flex: 1;
    max-width: 300px;
}

.article-nav-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-nav-link.prev {
    justify-content: flex-start;
}

.article-nav-link.next {
    justify-content: flex-end;
    margin-left: auto;
}

.article-nav-link.prev .nav-icon {
    order: -1;
}

.article-nav-link.next .nav-icon {
    order: 1;
}

.article-nav-link .nav-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.article-nav-link.prev:hover .nav-icon {
    transform: translateX(-3px);
}

.article-nav-link.next:hover .nav-icon {
    transform: translateX(3px);
}

.article-nav-link .nav-text {
    flex: 1;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-nav-link[style*="display: none"]:not([style*="display: flex"]) {
    display: none !important;
}

@media (max-width: 768px) {
    #article-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-nav-link {
        max-width: 100%;
        width: 100%;
    }
    
    .article-nav-link.next {
        margin-left: 0;
    }
}

/* 文章声明 */
.article-disclaimer {
    margin-top: 50px;
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid #ff6b6b;
    border-radius: 10px;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-light);
}

.article-disclaimer p {
    margin: 0;
    font-size: 0.75rem;
}

.article-disclaimer strong {
    color: #ff6b6b;
    font-weight: bold;
}

.news-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.news-content li {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.news-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    margin-bottom: 30px;
}

.feature-list {
    margin: 30px 0;
}

.feature-item {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.feature-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.news-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-light);
}

.news-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.news-tags .tag {
    padding: 8px 16px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.news-tags .tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 多章节 / 条目列表（带分页） */
ol[data-page] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

ol[data-page] li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid #edf0ff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

ol[data-page] li:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

ol[data-page] li span:first-child {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 1.8rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

ol[data-page] li a {
    flex: 1;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.6;
}

ol[data-page] li a:hover {
    color: var(--primary-color);
}

.news-actions {
    display: flex;
    gap: 15px;
}

.btn-like,
.btn-share {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-like:hover,
.btn-share:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 相关新闻侧边栏 */
.news-sidebar {
    width: 100%;
    height: auto;
}

.sidebar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    position: static;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: block;
}

.sidebar-list a:hover {
    color: var(--primary-color);
    margin-left: 5px;
}

.related-news {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: auto;
    position: static;
}

.related-news h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.related-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-light);
}

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

.related-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.related-title {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.related-title:hover {
    color: var(--primary-color);
    margin-left: 5px;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .news-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-sidebar {
        position: static;
        top: auto;
        order: 2;
    }
    
    .related-news {
        position: static;
    }
    
    .news-detail {
        padding: 30px 20px;
    }
    
    .news-title {
        font-size: 2rem;
    }
    
}

@media (max-width: 768px) {
    .detail-main {
        padding-top: 70px;
    }
    
    .breadcrumb {
        padding: 15px 0;
        font-size: 0.85rem;
    }
    
    .news-detail-container {
        gap: 25px;
    }
    
    .news-detail {
        padding: 20px 15px;
    }
    
    .news-header {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .news-category {
        font-size: 0.85rem;
        padding: 4px 12px;
    }
    
    .news-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
        font-size: 0.9rem;
    }
    
    .news-content {
        line-height: 1.8;
    }
    
    .news-content h2 {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
        margin-top: 25px;
        margin-bottom: 12px;
    }
    
    .news-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.7;
    }
    
    .news-content ul {
        padding-left: 25px;
        margin: 15px 0;
    }
    
    .news-content li {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    
    .binance-banner-content {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .binance-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .binance-title {
        font-size: 1.3rem;
    }
    
    .binance-subtitle {
        font-size: 0.9rem;
    }
    
    .binance-btn {
        width: 100%;
        margin-top: 15px;
        padding: 10px 25px;
    }
    
    .exchange-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .exchange-title {
        font-size: 1rem;
    }
    
    .exchange-desc {
        font-size: 0.8rem;
    }
    
    .exchange-btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* 侧边栏移动端优化 */
    .sidebar-card {
        padding: 20px;
    }
    
    .sidebar-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .sidebar-list li {
        padding: 12px 0;
    }
    
    .sidebar-list a {
        font-size: 0.95rem;
    }
    
    /* 声明移动端优化 */
    .article-disclaimer {
        margin-top: 40px;
        padding: 15px;
        font-size: 0.7rem;
    }

    ol[data-page] li {
        padding: 14px 16px;
        border-radius: 14px;
    }

    ol[data-page] li span:first-child {
        min-width: 1.6rem;
    }

    ol[data-page] li a {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}


.article-hero {
    margin: 30px auto 40px;
    max-width: 900px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
    background: #fff;
}

.article-hero img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    margin: 0 auto;
}

.article-hero figcaption {
    padding: 14px 20px 18px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid #f1f3ff;
    text-align: center;
}

@media (max-width: 768px) {
    .article-hero {
        margin: 24px auto 30px;
        max-width: 100%;
        border-radius: 18px;
    }
    
    .article-hero img {
        max-height: 260px;
    }
    
    .article-hero figcaption {
        font-size: 0.85rem;
        padding: 12px 16px 16px;
        text-align: center;
    }
}

/* 工具详情页样式 */
.tools-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tool-detail-section {
    margin-bottom: 40px;
}

.tool-detail-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.tool-header {
    display: flex;
    gap: 30px;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bg-light);
    margin-bottom: 30px;
}

.tool-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    flex-shrink: 0;
}

.tool-info {
    flex: 1;
}

.tool-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.tool-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.tool-meta {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.tool-content h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-box {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-box h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.6;
}

.tool-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.tool-content li {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.8;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
}

.comparison-table th {
    font-weight: bold;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--bg-light);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: var(--bg-light);
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .tool-header {
        flex-direction: column;
        text-align: center;
    }
    
    .tool-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .tool-title {
        font-size: 1.8rem;
    }
    
    .tool-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
}

.pi-topics a,
.pi-topic-link,
.aster-topic-link,
.trump-topic-link,
.eth-topic-link,
.btc-topic-link,
.altcoin-topic-link,
.policy-topic-link,
.btc-collection-topic-link {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}

.pi-topics a:hover,
.pi-topic-link:hover,
.aster-topic-link:hover,
.trump-topic-link:hover,
.eth-topic-link:hover,
.btc-topic-link:hover,
.altcoin-topic-link:hover,
.policy-topic-link:hover,
.btc-collection-topic-link:hover {
    color: #000000;
    transform: translateX(4px);
}

