/**
 * PC端文章分类页面样式
 *
 * @package HiTemp
 * @since 1.0.0
 */

/* 文章分类页面 */
.article-category-page {
    background: #f8fafc;
}

/* 头部区域 - 与产品分类页保持一致 */
.article-hero {
    background: linear-gradient(135deg, #f66600 0%, #ff8534 50%, #ffa366 100%);
    position: relative;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
}

.article-hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
}

.article-hero .hero-content {
    max-width: 600px;
}

.article-hero .hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-hero .hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    min-height: 29px;
}

.article-hero .hero-decoration {
    position: relative;
    width: 200px;
    height: 200px;
}

.article-hero .deco-icon {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30px;
    left: 30px;
    transform: rotate(-8deg);
    backdrop-filter: blur(4px);
}

.article-hero .deco-icon i {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.9);
}

.article-hero .deco-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 2px, transparent 2px);
    background-size: 12px 12px;
    position: absolute;
    bottom: 0;
    right: 0;
}

/* 分类筛选 */
.article-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px 0;
    justify-content: center;
}

.article-filter .filter-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-filter .filter-item:hover {
    border-color: #f66600;
    color: #f66600;
}

.article-filter .filter-item:active {
    transform: scale(0.95);
}

.article-filter .filter-item.active {
    background: #f66600;
    border-color: #f66600;
    color: #fff;
    box-shadow: 0 2px 8px rgba(246, 102, 0, 0.25);
}

.article-filter .filter-item .count {
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.article-filter .filter-item.active .count {
    background: rgba(255, 255, 255, 0.25);
}

/* 内容布局 */
.article-content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
	padding: 0px 0px 12px 0px;
}

/* 文章列表 */
.article-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.article-item {
    margin-bottom: 0;
}

.article-item .article-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.article-item .article-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-item .article-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.article-item .article-icon i {
    font-size: 28px;
    color: #64748b;
}

.article-item .article-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.article-item .article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-item .article-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    width: 0;
}

.article-item .article-title {
    font-size: 16px;
    font-weight: 600;
    color: #f66600;
    margin: 0 0 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.article-item .article-link:hover .article-title {
    color: #d45a00;
}

.article-item .article-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.article-item .article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
}

.article-item .meta-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-item .meta-date i {
    font-size: 12px;
    color: #94a3b8;
}

.article-item .meta-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-item .meta-views i {
    font-size: 12px;
    color: #94a3b8;
}

/* 无文章提示 */
.no-articles {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 16px;
    color: #94a3b8;
}

.no-articles i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-articles p {
    font-size: 16px;
    margin: 0;
}

/* 分页 */
.article-category-page .pagination {
    padding: 30px 0 10px;
    display: flex;
    justify-content: center;
}

.article-category-page .pagination ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 6px;
    gap: 6px;
    background: #f1f5f9;
    border-radius: 12px;
}

.article-category-page .pagination li {
    margin: 0;
}

.article-category-page .pagination a,
.article-category-page .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-category-page .pagination a:hover {
    background: #fff;
    color: #f66600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.article-category-page .pagination .current {
    background: #f66600;
    color: #fff;
    box-shadow: 0 2px 8px rgba(246, 102, 0, 0.3);
}

.article-category-page .pagination .prev,
.article-category-page .pagination .next {
    gap: 4px;
    color: #475569;
    font-weight: 500;
}

.article-category-page .pagination .prev:not(.disabled):hover,
.article-category-page .pagination .next:not(.disabled):hover {
    color: #f66600;
}

.article-category-page .pagination .disabled {
    color: #c5cbd3;
    cursor: not-allowed;
    pointer-events: none;
}

.article-category-page .pagination .dots {
    color: #94a3b8;
    pointer-events: none;
    min-width: 30px;
    padding: 0;
}

/* 响应式 */
@media (max-width: 1200px) {
    .article-content-layout {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .article-hero .hero-title {
        font-size: 32px;
    }
    
    .article-hero .hero-decoration {
        display: none;
    }
    
    .article-content-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-list {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .article-hero .hero-title {
        font-size: 28px;
    }
    
    .article-hero .hero-subtitle {
        font-size: 16px;
    }
    
    .article-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 20px 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .article-filter .filter-item {
        white-space: nowrap;
    }
    
    .article-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
