/* =========================================================
   列表页布局：左侧分类栏 + 右侧顶部标签 + 三列卡片网格
   2026-07-13
   ========================================================= */

.list-page {
    background: var(--gray-bg, #f8f9fa);
    padding: 80px 0 110px;
}
.list-page .side-layout-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 0;
}

/* 左侧分类栏：加宽 */
.list-page .side-nav {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    padding: 26px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}
.list-page .side-title {
    font-size: 17px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FF6B35;
}
.list-page .side-menu { list-style: none; }
.list-page .side-group { margin-bottom: 12px; }
.list-page .side-parent {
    display: block;
    font-weight: 700;
    color: #333;
    padding: 10px 2px 6px;
    font-size: 15px;
}
.list-page .side-sub {
    padding-left: 14px;
    border-left: 2px solid #f0f0f0;
    margin: 4px 0 10px;
}
.list-page .side-item {
    padding: 9px 14px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all .2s;
    margin-bottom: 5px;
}
.list-page .side-item:hover,
.list-page .side-item.active {
    background: #FFF3ED;
    color: #FF6B35;
    font-weight: 600;
}

/* 右侧内容区 */
.list-page .content-area {
    flex: 1;
    min-width: 0;
}
.list-page .content-area .filter-bar {
    margin-bottom: 26px;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}
.list-page .content-area .filter-btn {
    font-size: 14px;
    padding: 8px 22px;
    border-radius: 30px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #555;
    text-decoration: none;
    transition: all .2s;
    display: inline-block;
}
.list-page .content-area .filter-btn:hover,
.list-page .content-area .filter-btn.active {
    background: #FF6B35;
    color: #fff;
    border-color: #FF6B35;
    box-shadow: 0 4px 14px rgba(255,107,53,.25);
}

/* 卡片网格在内容区内的适配 */
.list-page .product-grid,
.list-page .case-grid,
.list-page .venue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.list-page .product-card,
.list-page .case-card,
.list-page .venue-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0,0,0,.07);
    transition: transform .25s, box-shadow .25s;
}
.list-page .product-card:hover,
.list-page .case-card:hover,
.list-page .venue-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 38px rgba(255,107,53,.18);
}
.list-page .product-card .img-wrap,
.list-page .case-card .img-wrap,
.list-page .venue-card .img-wrap {
    position: relative;
    overflow: hidden;
    padding-bottom: 66%;
    background: #f5f5f5;
}
.list-page .product-card .img,
.list-page .case-card .img,
.list-page .venue-card .img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.list-page .product-card:hover .img,
.list-page .case-card:hover .img,
.list-page .venue-card:hover .img {
    transform: scale(1.07);
}
.list-page .product-card .tag,
.list-page .case-card .tag,
.list-page .venue-card .tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #FF6B35;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.list-page .product-card .body,
.list-page .case-card .body,
.list-page .venue-card .body {
    padding: 20px;
}
.list-page .product-card h3,
.list-page .case-card h3,
.list-page .venue-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.4;
}
.list-page .product-card .views,
.list-page .case-card .meta,
.list-page .venue-card .loc {
    font-size: 13px;
    color: #888;
}
.list-page .case-card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.list-page .empty-tip {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    color: #888;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
}

/* 响应式 */
@media (max-width: 1200px) {
    .list-page .product-grid,
    .list-page .case-grid,
    .list-page .venue-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .list-page .side-layout-inner { flex-direction: column; }
    .list-page .side-nav {
        width: 100%;
        position: static;
        max-height: none;
    }
    .list-page .product-grid,
    .list-page .case-grid,
    .list-page .venue-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .list-page .product-grid,
    .list-page .case-grid,
    .list-page .venue-grid { grid-template-columns: 1fr; }
}
