body{
    background-color: #f8f9fa;
}
/* 面包屑导航（新样式） */
.breadcrumb-nav {
    margin: 0 0 25px 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}
.breadcrumb-nav li {
    display: inline-block;
    position: relative;
    padding-right: 18px;
}
.breadcrumb-nav li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 40%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-top: 1px solid #999;
    border-right: 1px solid #999;
    transform: rotate(45deg);
}
.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-nav a:hover {
    color: var(--hover-color);
}
.breadcrumb-nav .active {
    color: #333;
    font-weight: 500;
    position: relative;
    top: 1px;
}
/* 文章主体样式 */
.article-main {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.article-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}
.article-meta {
    color: #6c757d;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.article-content p {
    margin-bottom: 20px;
}
.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #333;
}
/* 右侧推荐栏样式 */
.sidebar {
    padding-left: 25px;
}
/* 推荐新闻样式 - 修改后 */
.recommend-item {
    display: flex;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px; /* 预先设置内边距，避免悬停时尺寸变化 */
    border-radius: 4px; /* 预先设置圆角 */
}
.recommend-item:hover {
    background: #f0f7ff;
    /* 移除悬停时的padding变化，改用阴影增强视觉反馈 */
    box-shadow: 0 2px 10px rgba(41, 153, 253, 0.15);
    transform: translateY(-5px); /* 微小上浮效果，不影响布局 */
}
.recommend-img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}
.recommend-text {
    flex: 1;
}
.recommend-text a{
    color: #333
}
.recommend-title {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.recommend-date {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}
/* 热门标签样式 */
.tag-item {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f5ff;
    color: var(--primary-color);
    font-size: 13px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}
.tag-item:hover {
    background: var(--primary-color);
    color: #fff;
}
.sidebar-title{
    border-left: 0.2rem solid var(--primary-color);
    padding-left: 0.5rem;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.recommend-list{
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}
/* 响应式适配 */
@media (max-width: 991px) {
    .sidebar {
        display: none;
    }
    body{
        padding-top: 4.5rem;
    }
}
@media (min-width: 992px) {
    body{
        padding-top: 6rem;
    }
}