.jable-carousel.jable-animate {
    opacity: 1;
}

.video-img-box .ribbon-top-left {
    position: absolute;
    background: #ff7801;
    font-size: calc(1.196rem * 2);
    color: #fff;
    text-align: center;
    top: calc(-6.0rem * 2);
    left: calc(-6.0rem * 2);
    height: calc(10.0rem * 2);
    width: calc(10.0rem * 2);
    line-height: calc(17.8rem * 2);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    z-index: 100;
}

@media (min-width: 50rem) {
    .video-img-box .ribbon-top-left {
        position: absolute;
        background: #ff7801;
        font-size: 1.196rem;
        color: #fff;
        text-align: center;
        top: -6.0rem;
        left: -6.0rem;
        height: 10.0rem;
        width: 10.0rem;
        line-height: 17.8rem;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        z-index: 100;
    }
}

.jable-animate {
    opacity: 0;
}

.overflow-h {
    overflow: hidden;
}

.video-img-box .img-box.cover-half a {
    display: block;
    background: #161a26;
    background-position: right;
    background-size: auto 100%;
    padding-bottom: 142%;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.video-img-box .img-box.cover-half a img.zximg:not(.loading):hover {
    transform: translateX(1.3333rem);
    transition: all 0.3s ease-in-out;
}

.video-img-box .img-box.cover-half a img.zximg {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: max-content;
    max-width: max-content;
}

.jable-carousel .video-img-box .img-box.cover-half a img.zximg.loading {
    width: 100%;
}

.jable-carousel .video-img-box .img-box.cover-half a img.zximg {
    width: auto;
}

.card .with-icon-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-height: 19.2rem;
    overflow: hidden;
}

.card .with-icon-title .icon-title {
    position: relative;
    background: rgba(55, 85, 190, .1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 14.0rem;
    width: 14.0rem;
    right: 1rem;
    bottom: 1rem;
    border-radius: 50%;
    -webkit-transform: scale(2.5);
    transform: scale(2.5);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.card .overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 0;
}

.card.bg-pink {
    background: linear-gradient(-45deg, #ff7e7e 0%, #ff536b 100%);
}

.card.bg-pink .icon-title {
    background: rgba(255, 255, 255, .1);
}

.card.bg-gray {
    background: linear-gradient(-45deg, #a6b5ca 0%, #8d93b1 100%);
}

.card:hover .with-icon-title .icon-title {
    -webkit-transform: scale(2.8);
    transform: scale(2.8);
}

.home-banner{
    position: relative;
    width: 100%;
    height: 8rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 0.4rem;
}
.home-banner .swiper {
    display: flex;
    align-items: center;
    height: 100%;
}
.home-banner .slide-box {
    height: 100%;
}
.home-banner .swiper-slide{
    margin-right: 1rem !important;
}
.home-banner img{
    width: 100% !important;
    height: 100%;
    border-radius: 0.3rem;
}

@media (max-width: 750px) {
    .video-img-box .ribbon-top-left {
        font-size: calc(1.196rem * 0.65) !important;
        top: calc(-6.0rem * 0.65) !important;
        left: calc(-6.0rem * 0.65) !important;
        height: calc(10.0rem * 0.65) !important;
        width: calc(10.0rem * 0.65) !important;
        line-height: calc(17.8rem * 0.65) !important;
    }
}

.home-theme-section {
    margin: 3rem 0;
}

.theme-main-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1rem;
}
.home-theme-section .home-list-title{
    padding: 0 0 0.8rem 0;
}
.home-theme-section .home-list-title .title-left h2{
    font-size: 1.2rem;
}

.theme-grid-wrapper {
    flex: 1;
}

.theme-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 1.5rem 2rem; 
    align-content: space-between; 
}

.theme-item {
    display: flex;
    align-items: center; 
    background: transparent;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: visible;
}

.theme-item:hover .theme-item-title {
    color: var(--theme-color, #ffca0d); 
}

.theme-item-img {
    position: relative;
    width: 3.8rem !important; 
    height: 3.8rem;
    flex-shrink: 0;
    border-radius: 0.3rem;
    overflow: hidden;
}

.theme-item-img img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.theme-item:hover .theme-item-img img {
    transform: scale(1.1);
}

.theme-item-badge {
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 0.0667rem 0.1333rem rgba(0, 0, 0, 0.5);
    transform: rotate(0deg); 
}

.theme-item-info {
    flex: 1;
    margin-left: 1.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theme-item-title {
    font-size: 0.95rem; 
    font-weight: normal; 
    color: #eee; 
    margin: 0 0 0.4rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.theme-item-count {
    font-size: 0.8rem;
    color: #6b7280; 
    margin: 0;
}

.theme-collection-wrapper {
    width: auto;
    display: flex;
    flex-direction: column;
}

.theme-collection-wrapper .collection-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: block; 
    color: #fff;
}

.collection-list-inner {
    flex: 1;
    display: flex;
    flex-direction: row; 
    justify-content: flex-start;
    gap: 1.2rem;
}

.collection-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 2rem;
    border-radius: 0.8rem;
    margin-bottom: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 18.6667rem;
    height: auto;
    min-height: 30rem;
    box-sizing: border-box;
}

.collection-card:last-child {
    margin-bottom: 0;
}

.collection-card:hover {
    transform: translateY(-0.2667rem);
    box-shadow: 0 0.8rem 2.1333rem rgba(0, 0, 0, 0.4);
}

.collection-card-pink {
    background: linear-gradient(135deg, #ff8a95 0%, #ff6b7a 50%, #ff5a6e 100%);
}

.collection-card-blue {
    background: linear-gradient(135deg, #9cb3d8 0%, #8fa6cc 50%, #7d94be 100%);
}

.collection-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0.2667rem 0.5333rem rgba(0, 0, 0, 0.1));
    line-height: 1;
    color: #fff;
}

.collection-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 0.1333rem 0.2667rem rgba(0, 0, 0, 0.1);
    opacity: 0.95;
}

.collection-card-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: left;
    width: 100%;
    text-indent: 0;
    letter-spacing: 0.02em;
}

@media (max-width: 63.9333rem) {
    .theme-main-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .theme-collection-wrapper {
        display: none;
    }

    .theme-grid-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .theme-item {
        padding: 0.6rem;
    }

    .theme-item-img {
        width: 4.2rem !important;
        height: 4.2rem;
    } 

    .theme-item-info {
        margin-left: 0.8rem;
    }

    .theme-item-title {
        font-size: 1.1rem;
    }

    .theme-item-count {
        font-size: 1rem;
    }
}
