/* 文章专区容器 - 移除外边框 */
.zib-article-zone {
    width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

/* 分类标签导航 */
.article-zone-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-zone-tabs .tab-item {
    padding: 5px 12px;
    background: var(--theme-item-bg);
    color: var(--theme-font-color);
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--theme-border-color);
}

.article-zone-tabs .tab-item.active,
.article-zone-tabs .tab-item:hover {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}

/* 文章列表容器 */
.article-zone-content {
    position: relative;
}

.article-list {
    display: none;
}

.article-list.active {
    display: block;
}

/* 文章网格布局 */
.article-grid {
    display: flex;
    gap: 15px;
}

/* 左侧文章区域 */
.article-large {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.large-article-item {
    background: var(--theme-item-bg);
    padding: 15px;
    border-radius: 6px;
    transition: all 0.3s;
    border: 1px solid var(--theme-border-color);
}

.large-article-item:hover {
    background: var(--theme-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* 右侧文章列表 */
.article-right {
    width: 65%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.article-item {
    background: var(--theme-item-bg);
    padding: 15px;
    border-radius: 6px;
    transition: all 0.3s;
    border: 1px solid var(--theme-border-color);
}

.article-item:hover {
    background: var(--theme-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* 文章标题 */
.article-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    color: var(--theme-font-color);
    text-decoration: none;
    margin-bottom: 12px;
    line-height: 1.6;
    font-weight: 500;
}

.large-article-item .article-title {
    font-size: 16px;
    -webkit-line-clamp: 3;
}

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

/* 文章元信息 - 日期和查看按钮同行 */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* 日期样式 - 今日发布显示红色 */
.article-date {
    color: var(--theme-gray-color);
}

.article-date.is-new {
    color: #ff4d4f;
    font-weight: 600;
}

/* 查看按钮样式优化 */
.article-view {
    color: var(--theme-color);
    background: rgba(var(--theme-color-rgb), 0.1);
    padding: 3px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.article-view:hover {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-grid {
        flex-direction: column;
    }
    
    .article-large,
    .article-right {
        width: 100%;
    }
    
    .article-right {
        grid-template-columns: 1fr;
    }
    
    .large-article-item .article-title {
        font-size: 15px;
    }
}

/* 子比主题暗色模式适配 */
[data-theme="dark"] .article-view {
    background: rgba(var(--theme-color-rgb), 0.2);
}

[data-theme="dark"] .large-article-item:hover,
[data-theme="dark"] .article-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}