

/* 主布局 1200px 居中 */
.main-layout.article-list-layout {
    width: 1200px;
    margin: 30px auto;
    display: flex;
    gap: 25px;
}

/* 新增：面包屑导航样式（统一暖调） */
.breadcrumb {
    font-size: 14px;
    color: #786040;
    margin-bottom: 15px;
    padding: 8px 15px;
    background: rgba(230, 154, 136, 0.08);
    border-radius: 4px;
}

.breadcrumb a {
    color: #e87a6f;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #e69a88;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #584830;
}

.breadcrumb .current {
    color: #e69a88;
    font-weight: 500;
    text-shadow: 0 0 4px rgba(240, 217, 156, 0.25);
}

/* 左侧文章列表区（占75%） */
.article-list-left {
    width: 75%;
}

/* 列表头部（统一暖调分隔线+标题） */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(168, 136, 96, 0.25);
}

.list-title {
    font-size: 24px;
    color: #e69a88;
    font-weight: 600;
    padding-left: 10px;
    border-left: 4px solid #e69a88;
    margin: 0;
    text-shadow: 0 0 8px rgba(240, 217, 156, 0.25);
}

.list-filter {
    display: flex;
    gap: 15px;
}

.list-filter a {
    color: #584830;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.list-filter a.filter-active {
    background: linear-gradient(135deg, #e69a88, #f0d99c);
    color: #fff;
    box-shadow: 0 2px 8px rgba(230, 154, 136, 0.25);
}

.list-filter a:hover:not(.filter-active) {
    color: #fff;
    background: rgba(230, 154, 136, 0.15);
}

/* 文章列表主体（统一卡片样式） */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    padding: 20px;
    background: linear-gradient(135deg, #f0e8d8, #e8e0c8);
    border-radius: 8px;
    border: 1px solid rgba(168, 136, 96, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

/* 新增：卡片顶部装饰线（和核心页面统一） */
.article-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e69a88, #f0d99c, #e87a6f);
    border-radius: 8px 8px 0 0;
}

.article-item > * {
    position: relative;
    z-index: 1;
}

.article-item:hover {
    border-color: rgba(230, 154, 136, 0.35);
    box-shadow: 
        0 4px 20px rgba(168, 136, 96, 0.15),
        0 0 15px rgba(230, 154, 136, 0.08) inset;
    transform: translateY(-2px);
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #786040;
}

.article-category a {
    color: #e87a6f;
    text-decoration: none;
}

.article-category a:hover {
    color: #e69a88;
    text-decoration: underline;
}

.article-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

.article-title a {
    color: #e69a88;
    text-decoration: none;
    transition: color 0.3s;
    text-shadow: 0 0 4px rgba(168, 136, 96, 0.15);
}

.article-title a:hover {
    color: #e87a6f;
    text-shadow: 0 0 5px rgba(240, 217, 156, 0.35);
}

.article-desc {
    font-size: 14px;
    color: #584830;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 右侧分类栏（占25%，统一卡片样式） */
.article-category-right {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.category-card, .hot-recommend-card {
    background: linear-gradient(135deg, #f0e8d8, #e8e0c8);
    border-radius: 8px;
    border: 1px solid rgba(168, 136, 96, 0.2);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

/* 新增：分类卡片顶部装饰线 */
.category-card::before, .hot-recommend-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e69a88, #f0d99c, #e87a6f);
    border-radius: 8px 8px 0 0;
}

.category-card > *, .hot-recommend-card > * {
    position: relative;
    z-index: 1;
}

.category-title, .hot-title {
    font-size: 18px;
    color: #e69a88;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(168, 136, 96, 0.25);
    padding-left: 10px;
    border-left: 4px solid #e69a88;
    text-shadow: 0 0 8px rgba(240, 217, 156, 0.25);
}

.category-list, .hot-list {
    list-style: none;
}

.category-item {
    margin-bottom: 10px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #584830;
    text-decoration: none;
    padding: 8px 0;
    border-radius: 4px;
    transition: all 0.3s;
}

.category-link:hover {
    color: #e87a6f;
    background: rgba(230, 154, 136, 0.15);
    padding-left: 8px;
}

.category-icon {
    font-size: 16px;
    color: #e69a88;
}

.hot-item {
    margin-bottom: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(168, 136, 96, 0.2);
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-item a {
    color: #584830;
    text-decoration: none;
    transition: color 0.3s;
}

.hot-item a:hover {
    color: #e87a6f;
    text-decoration: underline;
}

/* 分页容器（统一暖调+居中） */
.pagination-container{
    width:900px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

/* 补充：分页组件样式（适配暖调） */
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 154, 136, 0.08);
    border: 1px solid rgba(168, 136, 96, 0.2);
    border-radius: 8px;
    padding: 8px 15px;
}

.pagination-btn {
    padding: 8px 15px;
    background: rgba(230, 154, 136, 0.08);
    border: 1px solid rgba(168, 136, 96, 0.2);
    border-radius: 6px;
    color: #584830;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: rgba(230, 154, 136, 0.15);
    border-color: #e69a88;
    color: #e87a6f;
}

.pagination-number.active {
    background: linear-gradient(135deg, #e69a88, #f0d99c);
    color: #fff;
    box-shadow: 0 0 10px rgba(230, 154, 136, 0.25);
}