/* 文章详情页面专用样式 */

/* 上一页下一页导航样式 */
.article-navigation {
    display: flex;
    gap: 20px;
    margin: 32px 0;
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 14px rgba(17,17,26,.06);
}

.nav-item {
    flex: 1;
    min-width: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #2b2f36;
    transition: all 0.2s ease;
    border: 1px solid #e6e8eb;
    background: #ffffff;
}

.nav-link:hover {
    background: #1a73e8;
    color: white;
    text-decoration: none;
    border-color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26,115,232,.2);
}

.nav-link.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ffffff;
    color: #7a828f;
    border-color: #e6e8eb;
}

.nav-link.disabled:hover {
    background: #ffffff;
    color: #7a828f;
    transform: none;
    box-shadow: none;
    border-color: #e6e8eb;
}

.nav-link.disabled .nav-arrow {
    color: #7a828f;
    opacity: 0.5;
}

.nav-link.disabled:hover .nav-arrow {
    color: #7a828f;
}

.nav-arrow {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
    transition: color 0.2s ease;
}

.nav-link:hover .nav-arrow {
    color: white;
}

.nav-content {
    flex: 1;
    min-width: 0;
}

.nav-label {
    font-size: 12px;
    color: #7a828f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover .nav-label {
    color: rgba(255,255,255,0.8);
}

.nav-link.disabled .nav-label {
    color: #7a828f;
}

.nav-link.disabled:hover .nav-label {
    color: #7a828f;
}

.nav-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-link.disabled .nav-title {
    font-weight: 400;
    color: #7a828f;
}

.nav-link.disabled:hover .nav-title {
    color: #7a828f;
}

.next-item .nav-link {
    flex-direction: row-reverse;
}

.next-item .nav-arrow {
    order: 1;
}

.next-item .nav-content {
    order: 2;
    text-align: right;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-navigation {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .nav-link {
        padding: 12px;
    }
    
    .nav-arrow {
        font-size: 20px;
    }
    
    .nav-title {
        font-size: 13px;
    }
}
