/* ===== 分类 + Banner 区域 ===== */
.category-banner-wrapper {
    width: 100%;
    background: #fff;
    padding: 20px 0;
}
.cb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    align-items: stretch;
    min-height: 160px;
}

/* 左侧分类 */
.category-side {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid #f0f0f0;
}
.category-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 12px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    transition: all 0.2s;
}
.category-item:hover {
    background: #fff;
    color: #ff5f2b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cat-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ff5f2b;
    margin-right: 12px;
    background: #fff;
    border-radius: 8px;
    transition: 0.2s;
}
.category-item:hover .cat-icon {
    color: #fff;
}
.cat-name { font-size: 14px; }

/* 右侧 Banner 容器 */
.banner-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    overflow: hidden;
    border-radius: 16px;
}
.banner-side {
    flex: 1;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
#banner-swipe-app {
    width: 100%;
    aspect-ratio: 960 / 330;
    position: relative;
    overflow: hidden;
    background: #f5f7fa;
}
#banner-swipe-app .my-swipe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}
.my-swipe .van-swipe-item { height: 100%; width: 100%; }
.banner-link { display: block; width: 100%; height: 100%; }
.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s;
    background: transparent;
}
@media (min-width: 769px) {
    .banner-link:hover .banner-img { transform: scale(1.02); }
}

/* Banner 下方图片栏 */
.banner-bottom-row {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-shrink: 0;
}
.sub-item {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    min-width: 0;
    position: relative;
}
.sub-item-wrapper {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.sub-item-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.sub-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sub-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.sub-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.sub-desc { font-size: 14px; }

/* ===== 演出列表 ===== */
.event-section { background: #fff; padding: 20px 0; }
.event-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-title { font-size: 22px; font-weight: 700; color: #1a1a1a; }
.section-more {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-more:hover { color: #ff5f2b; }

/* 图片容器 3:4 */
.event-card .card-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f7fa;
    flex-shrink: 0;
    flex-grow: 0;
    border-radius: 12px;
}
.event-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

/* PC端 (≥1025px) */
@media (min-width: 1025px) {
    .event-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 16px;
    }
    .event-card.large {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
        height: auto;
    }
    .event-card.large .card-img-wrapper {
        height: auto;
        aspect-ratio: 3 / 4;
        width: 100%;
    }
    .event-card.large .card-info {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        padding: 20px 16px 16px;
        color: #fff;
    }
    .event-card.large .card-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .event-card.large .card-meta {
        font-size: 13px;
        color: rgba(255,255,255,0.8);
        margin-bottom: 4px;
    }
    .event-card.large .card-price {
        font-size: 18px;
        font-weight: 700;
        color: #ff5f2b;
    }
    .event-card.normal {
        border-radius: 12px;
        overflow: hidden;
        background: #f8f9fa;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        cursor: pointer;
        transition: all 0.2s;
        height: auto;
    }
    .event-card.normal:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }
    .event-card.normal .card-img-wrapper {
        width: auto;
        max-width: 133px;
        height: 100%;
        flex-shrink: 0;
        aspect-ratio: 3 / 4;
    }
    .event-card.normal .card-info {
        flex: 1;
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .event-card.normal .card-title {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 4px;
    }
    .event-card.normal .card-meta {
        font-size: 12px;
        color: #999;
        margin-bottom: 4px;
    }
    .event-card.normal .card-price {
        font-size: 15px;
        font-weight: 700;
        color: #ff5f2b;
    }
}

/* 平板端 (769-1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .event-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 14px;
        grid-auto-flow: column;
        align-items: start;
    }
    .event-card.large {
        grid-column: 1 / 2;
        grid-row: 1 / 4;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
        height: auto;
    }
    .event-card.large .card-img-wrapper {
        height: auto;
        aspect-ratio: 3 / 4;
    }
    .event-card.large .card-info {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        padding: 16px;
        color: #fff;
    }
    .event-card.large .card-title {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .event-card.large .card-meta {
        font-size: 12px;
        color: rgba(255,255,255,0.8);
        margin-bottom: 4px;
    }
    .event-card.large .card-price {
        font-size: 16px;
        font-weight: 700;
        color: #ff5f2b;
    }
    .event-card.normal {
        width: auto;
        height: auto;
        border-radius: 12px;
        overflow: hidden;
        background: #f8f9fa;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        cursor: pointer;
        transition: 0.2s;
        margin: 0;
    }
    .event-card.normal:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }
    .event-card.normal .card-img-wrapper {
        width: 90px;
        flex-shrink: 0;
        aspect-ratio: 3 / 4;
    }
    .event-card.normal .card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .event-card.normal .card-info {
        flex: 1;
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .event-card.normal .card-title {
        font-size: 13px;
        font-weight: 600;
        color: #1a1a1a;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 4px;
    }
    .event-card.normal .card-meta {
        font-size: 11px;
        color: #999;
        margin-bottom: 4px;
    }
    .event-card.normal .card-price {
        font-size: 14px;
        font-weight: 700;
        color: #ff5f2b;
    }
}

/* 手机端 (≤768px) */
@media (max-width: 768px) {
    .category-banner-wrapper { padding: 12px 0; }
    .cb-inner {
        flex-direction: column;
        padding: 0 12px;
        min-height: auto;
        gap: 12px;
    }
    .banner-col {
        min-height: auto !important;
        flex: none !important;
    }
    .banner-side {
        width: 100%;
        border-radius: 12px;
        flex: none;
    }
    .banner-img { object-fit: cover; border-radius: 12px; }
    .banner-bottom-row { display: none !important; }
    .category-side {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 4px 0;
        background: transparent;
        border: none;
    }
    .category-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 4px;
        background: #f9fafb;
        border-radius: 12px;
        font-size: 12px;
        text-align: center;
        min-height: 70px;
        justify-content: center;
        transition: 0.2s;
    }
    @media (max-width: 480px) {
        .category-item { min-height: 60px; font-size: 11px; }
    }
    .cat-icon {
        margin-right: 0;
        margin-bottom: 6px;
        width: 28px;
        height: 28px;
        font-size: 16px;
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
    }
    .category-item:hover .cat-icon {
        background: #ff5f2b;
        color: #fff;
        border-color: #ff5f2b;
    }
    .cat-name { font-size: 12px; }

    .event-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .event-card {
        flex: 0 0 140px;
        scroll-snap-align: start;
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        display: flex;
        flex-direction: column;
    }
    .event-card .card-img-wrapper {
        width: 100%;
        aspect-ratio: 3 / 4;
        flex-shrink: 0;
    }
    .event-card .card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .event-card .card-info {
        padding: 8px 10px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .event-card .card-title {
        font-size: 13px;
        font-weight: 600;
        color: #1a1a1a;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 2px;
    }
    .event-card .card-meta {
        font-size: 11px;
        color: #999;
        margin-bottom: 2px;
    }
    .event-card .card-price {
        font-size: 14px;
        font-weight: 700;
        color: #ff5f2b;
    }
    .event-card.large {
        flex: 0 0 140px !important;
        position: static !important;
        border-radius: 12px !important;
    }
    .event-card.large .card-info {
        position: static !important;
        background: none !important;
        padding: 8px 10px !important;
        color: #1a1a1a !important;
    }
    .event-card.large .card-title {
        color: #1a1a1a !important;
        font-size: 13px !important;
    }
    .event-card.large .card-meta { color: #999 !important; }
    .event-card.large .card-price { color: #ff5f2b !important; }
    .event-card.normal { flex: 0 0 140px !important; }
    .event-card.normal .card-img-wrapper { width: 100% !important; }
}