.tom01 {
    line-height: 36px;
}

/* 文章导航样式 */
.article-navigation .nav-link-box {
    transition: all 0.3s ease;
    background-color: #fff;
    border: 1px solid #dee2e6 !important;
}

.article-navigation .nav-link-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #0d6efd !important;
}

.article-navigation .nav-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.article-navigation .nav-title {
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
    word-break: break-word;
}

.article-navigation .nav-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    word-break: break-word;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-navigation .nav-link-box {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .article-navigation .nav-img {
        margin-right: 0 !important;
        margin-bottom: 0.75rem !important;
        width: 100% !important;
    }
    
    .article-navigation .nav-img img {
        width: 100% !important;
        height: auto !important;
    }
    
    .article-navigation .nav-content {
        width: 100% !important;
    }
}

/* 添加响应式设计，针对手机屏幕进行优化 */
@media (max-width: 768px) {
    .tom01 {
        line-height: 1.6; /* 在手机上使用相对单位，更易读 */
        font-size: 16px; /* 设置合适的字体大小 */
        word-wrap: break-word; /* 长单词换行 */
        overflow-wrap: break-word; /* 现代浏览器的换行支持 */
    }
    
    /* 确保图片在移动端自适应 */
    .tom01 img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 10px auto;
    }
}

/* 更小屏幕的额外优化 */
@media (max-width: 480px) {
    .tom01 {
        line-height: 1.5;
        font-size: 15px;
    }
}
