 
.articles-banner {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url('../image/pexels-photo-3938035.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
}

 
.articles-banner .banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    width: 100%;
    height: 100%;
}

.articles-banner .page-title {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.articles-banner .page-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.5;
}

.articles-filter-section {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    margin: 2rem 0;
    display: none;
}

.articles-filter-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.articles-filter-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.articles-filter-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--darker-gray);
    white-space: nowrap;
    min-width: 80px;
}

.articles-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.articles-filter-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background-color: white;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-lg);
    color: var(--darker-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.articles-filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.articles-filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.4);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-item {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.article-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.article-image {
    flex-shrink: 0;
    width: 320px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.article-item:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.article-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--darker-gray);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-title a {
    color: var(--darker-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.article-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.article-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-read-more {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.article-read-more:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.articles-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.articles-pagination .pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background-color: white;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-md);
    color: var(--darker-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.articles-pagination .pagination-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.articles-pagination .pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.articles-pagination .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.articles-pagination .pagination-btn:disabled:hover {
    background-color: white;
    color: var(--darker-gray);
    border-color: var(--light-gray);
}

.articles-pagination .pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .article-item {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
    
    .articles-banner .page-title {
        font-size: 2.5rem;
    }
    
    .articles-banner .page-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .articles-banner {
        height: 300px;
    }
    
    .articles-banner .page-title {
        font-size: 2rem;
    }
    
    .articles-banner .page-subtitle {
        font-size: 1rem;
    }
    
    .articles-filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .articles-filter-buttons {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    
    .articles-filter-btn {
        flex: 0 0 auto;
        text-align: center;
        min-width: 100px;
        padding: 0.5rem 1rem;
    }
    
    .article-title {
        font-size: 1.15rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .articles-banner {
        height: 250px;
    }
    
    .articles-banner .page-title {
        font-size: 1.75rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1rem;
    }
    
    .articles-pagination .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 0.5rem;
        font-size: 0.85rem;
    }
}

/* 文章详情页样式 */
.article-detail-page {
    padding: 2rem 0;
    background-color: #f5f5f5;
}

.article-detail-page .content-wrapper {
    display: flex;
    gap: 2rem;
}

.article-detail-page .main-content {
    flex: 1;
    min-width: 0;
}

.article-detail-page .article-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #1a365d;
}

.breadcrumb .separator {
    color: #ccc;
}

.breadcrumb .current {
    color: #1a365d;
    font-weight: 500;
}

.article-detail {
    background-color: white;
    border-radius: 8px;
  
    margin-bottom: 0;
}

.article-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.article-header .article-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: #1a365d;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.article-header .article-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-header .article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #888;
}

.article-cover {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.article-body .article-intro {
    font-size: 1.05rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.article-body h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid #eee;
}

.article-tags .tag-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

.article-tags .tag {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.article-tags .tag:hover {
    background-color: #1a365d;
    color: white;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid #eee;
}

.article-share .share-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

.article-share .share-btn {
    padding: 0.4rem 0.8rem;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.article-share .share-btn:hover {
    background-color: #1a365d;
    color: white;
    border-color: #1a365d;
}

.article-interaction {
     
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    margin-top: 0.75rem;
    border-top: 1px solid #eee;
}

.interaction-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.interaction-btn:hover {
    background-color: #1a365d;
    color: white;
    border-color: #1a365d;
}

.interaction-btn .icon {
    font-size: 1rem;
}

.interaction-btn .count,
.interaction-btn .text {
    font-size: 0.85rem;
}

/* 侧边栏样式 */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.sidebar-section {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--darker-gray);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.related-article:hover {
    transform: translateX(5px);
}

.related-article img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.related-article-info {
    flex: 1;
    min-width: 0;
}

.related-article-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--darker-gray);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-date {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hot-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: var(--light-gray);
    color: var(--darker-gray);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

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

.sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-category {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--light-gray);
    color: var(--darker-gray);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.sidebar-category:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.sidebar-category.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .article-detail-page .container {
        display: flex;
        flex-direction: column;
    }
    
    .article-detail {
        margin-bottom: 2rem;
    }
    
    .article-header .article-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .article-detail-page .content-wrapper {
        flex-direction: column;
    }
    
    .article-detail-page .article-sidebar {
        width: 100%;
        margin-top: 2rem;
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    
    .article-detail {
        padding: 1.5rem;
    }
    
    .article-header .article-title {
        font-size: 1.5rem;
    }
    
    .article-header .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-tags {
        flex-wrap: wrap;
    }
    
    .article-interaction {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .interaction-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
    
    .related-article {
        flex-direction: column;
    }
    
    .related-article img {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.85rem;
    }
    .main-content {
    
    padding: 1rem;
	}
	.article-detail-page .content-wrapper {
    gap: 0rem;
}
    .article-detail {
        padding: 0rem;
    }
    
    .article-header .article-title {
        font-size: 1.25rem;
    }
    
    .article-body .article-intro {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.25rem;
    }
    
    .article-share {
        flex-wrap: wrap;
    }
    
    .article-share .share-btn {
        flex: 1;
        text-align: center;
    }
}