* {
    box-sizing: border-box;
}

.cuboid-container02211969 {
    perspective: 1200px;
    width: 100%;
    height: 400px;
    position: relative;
    margin-bottom: 20px;
}

.cuboid02211969 {
    width: 100%;
    height: 400px;
    position: absolute;
    transform-style: preserve-3d;
    display: none;
}

.cuboid02211969.active02211969 {
    display: block;
}

.cuboid-face02211969 {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 24px;
    color: white;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    backface-visibility: hidden;
    box-sizing: border-box;
}

.front02211969,
.back02211969,
.top02211969,
.bottom02211969 {
    height: 400px;
}

.front02211969 { 
    transform: translateZ(200px); 
}

.back02211969 { 
    transform: rotateX(180deg) translateZ(200px); 
}

.top02211969 { 
    transform: rotateX(90deg) translateZ(200px); 
}

.bottom02211969 { 
    transform: rotateX(-90deg) translateZ(200px); 
}

.status02211969 {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    text-align: center;
}

.cuboid-triggers-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.cuboid-trigger-prev,
.cuboid-trigger-next {
    padding: 10px 20px;
    background: #333;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    transition: background 0.3s ease;
    user-select: none;
}

.cuboid-trigger-prev:hover,
.cuboid-trigger-next:hover {
    background: #555;
}

.cuboid-face-triggers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    max-width: 100%;
    position: relative;
    z-index: 9999;
}

.face-trigger {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.2s ease;
    opacity: 0.7;
    position: relative;
    z-index: 9999;
}

.face-trigger:hover {
    transform: scale(1.05);
    opacity: 1;
}

.face-trigger.active-trigger {
    border: 3px solid #333;
    opacity: 1;
}

.child-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 0;
    box-sizing: border-box;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.child-content .style-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.cuboid-face02211969 .child-content .custom-img-theme {
    width: 280px;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-left: 60px;
    margin-right: 60px;
}

.cuboid-face02211969 .child-content .textgroup-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.child-content .textgroup-tags h1 {
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.child-content .textgroup-tags h2 {
    margin: 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.child-content .textgroup-tags h3 {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.child-content .textgroup-tags p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .cuboid-container02211969 {
        height: 200px;
        perspective: 600px;
    }

    .cuboid02211969 {
        height: 200px;
    }

    .front02211969,
    .back02211969,
    .top02211969,
    .bottom02211969 {
        height: 200px;
    }

    .cuboid-face02211969 {
        justify-content: center;
    }

    .front02211969 { 
        transform: translateZ(100px); 
    }

    .back02211969 { 
        transform: rotateX(180deg) translateZ(100px); 
    }

    .top02211969 { 
        transform: rotateX(90deg) translateZ(100px); 
    }

    .bottom02211969 { 
        transform: rotateX(-90deg) translateZ(100px); 
    }

    .child-content .textgroup-tags h1 {
        font-size: 11px;
    }
    
    .child-content .textgroup-tags h2 {
        font-size: 9px;
    }
    
    .child-content .textgroup-tags h3 {
        font-size: 8px;
    }
    
    .child-content .textgroup-tags p {
        font-size: 8px;
    }

    .child-content .textgroup-tags {
        gap: 4px;
        margin-top: 50px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }

    .child-content {
        padding: 10px 20px !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center !important;
        gap: 0;
        margin-top: 25px;
    }
    
    .child-content > div {
        padding: 0 !important;
        margin: 0 !important;
    }

    .child-content .custom-img-theme,
    .cuboid-face02211969 .child-content .custom-img-theme {
        width: auto !important;
        max-width: 150px !important;
        max-height: 60px !important;
        margin: 0 auto -15px auto !important;
        display: block;
    }
    
    /* Hide style background image on mobile */
    .style-bg-image,
    .cuboid-bg-image,
    .child-content .style-bg-image,
    .child-content .cuboid-bg-image,
    .child-content .style-bg-image.cuboid-bg-image {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .child-content .textgroup-tags p,
    .child-content .textgroup-tags h3 {
        display: none !important;
    }

    .cuboid-face02211969 {
        font-size: 11px;
    }

    .face-trigger {
        width: 40px;
        height: 30px;
    }

    .cuboid-face-triggers {
        gap: 5px;
        margin-top: 10px;
    }
}
