.carousel-box .pg-wall{
    display: flex;
    margin:0 35px 35px;
    
}
.carousel-box .pg-l {
    width: 33%;
    /* height: 50px;
    background-color: rgb(255, 0, 162); */
}
.carousel-box .pg-r {
    width: 67%;
}
.carousel-box .grid-box {
    display: flex;
    flex-wrap: wrap;
    
}
/* 控制 blocks 内容的直接子元素大小（如图片、文字） */
.carousel-box .pg-r .grid-box>* {
    width: 25%;
        aspect-ratio: 1/1;
        overflow: hidden;
}

/* 针对图片设置大小 */
.carousel-box .pg-r .grid-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-box .pg-r .grid-box img:hover {
    transform: scale(1.05);
    /* 轻微放大效果 */
    transition: transform 0.3s ease;
    /* 平滑过渡 */
}
.carousel-box .pg-l .carousel-track img {
    width: 100%;
    height: 100%;    object-fit: cover;
}
.carou-box{
    height: 100%;
}
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}

.carousel-track {
    display: flex;height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 auto;
    width: 100%;height: 100%;    /* 默认全屏宽度，可通过 desktop_columns 调整 */
    /* padding: 0 8px; */
    /* 卡片间距 */
    box-sizing: border-box;
}

/* 根据设置的列数调整卡片宽度 */
/* [data-desktop-columns="2"] .carousel-item {
    width: 50%;
}

[data-desktop-columns="3"] .carousel-item {
    width: 33.333%;
}

[data-desktop-columns="4"] .carousel-item {
    width: 25%;
}

[data-desktop-columns="5"] .carousel-item {
    width: 20%;
}

[data-desktop-columns="6"] .carousel-item {
    width: 16.666%;
} */

/* 控制按钮样式 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}
.carousel-track .text-columns-with-image__card-link {
    height: 100%;
}
.grid-box .text-columns-with-image__card-link {
    height: 100%;
}
.carousel-control:hover {
    background: rgba(255, 255, 255, 0.449);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* 指示器样式 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #333;
    width: 24px;
    border-radius: 4px;
}

/* 移动端适配 */
@media (max-width: 959px) {
    .carousel-box{
        display: none;
    }
    .carousel-item {
        width: 100% !important;
        /* 移动端默认全屏 */
    }

    .carousel-control {
        width: 32px;
        height: 32px;
    }
}




.bb-ugc-pc-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.bb-ugc-posters-pc {
    margin-bottom: 30px;
}

.swiper-wrapper {
    display: flex;
}

.bb-ugc-posters-item-pc {
    width: 100%;
    text-decoration: none;
    display: block;
}

.bb-ugc-shows-pc {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 1024px) {
    .bb-ugc-shows-pc {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .bb-ugc-shows-pc {
        grid-template-columns: repeat(2, 1fr);
    }
}

.image-loading-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-loading-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-loading-container img[data-scale="hover-scale"]:hover {
    transform: scale(1.05);
}

.loading-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
}

.display-none-tablet {
    display: block;
}

@media (max-width: 768px) {
    .display-none-tablet {
        display: none;
    }
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}