body{
    /*background-color: #f5f5f5;*/
}
.banner-section{
    max-height: 600px;
    overflow: hidden;
}
.banner-container{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-content{
    scroll-margin-top: 85px;
}
.breadcrumb-section{
    padding: 20px 0;
}
.breadcrumb-container{
    max-width: 1226px;
    margin: 0 auto;
    /* padding: 0 40px; */
}
.breadcrumb-container a{
    color: #333;
}
.breadcrumb-container a:hover{
    color: #000;
}
.breadcrumb-container span{
    color: #999;
}

/* 文章列表区域样式 */
.article-list-section {
    /*background-color: #fff;*/
    /*padding: 40px 0;*/
}

.article-container {
    max-width: 1226px;
    margin: 0 auto;
    /*padding: 0 40px;*/
}

/* 顶部导航样式 */
.article-nav {
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.nav-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-tabs li {
    margin-right: 40px;
}

.nav-tab {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
}

.nav-tab:hover {
    color: #e74c3c;
}

.nav-tab.active {
    color: #e74c3c;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e74c3c;
}

/* 主要内容区域 */
.article-content {
    display: flex;
    gap: 40px;
}

/* 左侧推荐区域 */
.recommendation-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.recommendation-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s;
}

.refresh-btn:hover {
    background-color: #f5f5f5;
    color: #333;
}

.refresh-btn i {
    font-size: 12px;
}

.recommendation-list {
    max-height: 600px;
    overflow-y: auto;
}

.recommendation-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommendation-item:hover {
    color: #e74c3c;
}

.recommendation-item:last-child {
    border-bottom: none;
}

/* 右侧文章列表 */
.article-main {
    flex: 1;
}

.article-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-item:hover .article-image img {
    transform: scale(1.05);
}

.article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.3s;
}

.article-title:hover {
    color: #e74c3c;
}

.article-summary {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #999;
    font-size: 14px;
}

.article-date i {
    font-size: 12px;
}

.article-more {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.article-more:hover {
    color: #c0392b;
}

@media (max-width: 1024px) {
    .article-container {
        padding: 0 20px;
    }
    
    .article-content {
        gap: 30px;
    }
    
    .recommendation-sidebar {
        width: 240px;
    }
    
    .article-image {
        width: 180px;
        height: 135px;
    }
    
    .article-title {
        font-size: 16px;
    }
    
    .nav-tabs li {
        margin-right: 30px;
    }
    
    .nav-tab {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .main-content{
        /* margin-top: 60px; */
        scroll-margin-top: 60px;
    }

    .breadcrumb-section{
        padding: 10px 0;
    }

    .breadcrumb-container{
        padding: 0 10px;
    }
    
    .article-list-section {
        padding: 20px 0;
    }
    
    .article-container {
        padding: 0 15px;
    }
    
    .article-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .recommendation-sidebar {
        width: 100%;
        order: 2;
    }
    
    .article-main {
        order: 1;
    }
    
    .article-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
    
    .article-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .article-summary {
        margin-bottom: 15px;
        -webkit-line-clamp: 2;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .nav-tabs li {
        margin-right: 20px;
        margin-bottom: 10px;
    }
    
    .nav-tab {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .recommendation-header h3 {
        font-size: 16px;
    }
    
    .refresh-btn {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .recommendation-item {
        font-size: 13px;
        padding: 10px 0;
    }
}