/* Alternative: Create specific classes for simulator carousel */
.simulator-content-row {
    display: flex;
    justify-content: space-between;

    gap: 1 rem;
    width: 100%;
}

.simulator-content-item {
    flex: 1;
    max-width: calc(33.333% - 0.67rem);
    text-align: center;
}

.simulator-content-item img,
.simulator-content-item video {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.simulator-content-divider {
    width: 2px;
    background-color: #e0e0e0;
    margin: 0 0.5rem;
    align-self: stretch;
    flex-shrink: 0;
}
/* Simulator Carousel Styles */
.simulator-carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    padding: 0 rem;
}

.simulator-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.simulator-carousel-slide {
    flex: 0 0 100%;
    width:100%;
    min-width:100%;
    padding: 0 6%;
    box-sizing: border-box;
}

/* Video row adjustments for carousel */
.simulator-carousel-slide .video-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.simulator-carousel-slide .video-container {
    flex: 1;
    max-width: calc(33.333% - 0.67rem);
    margin: 0;
}

.simulator-carousel-slide .divider {
    width: 1px;
    background-color: #ccc;
    margin: 0 0.5rem;
    align-self: stretch;
    flex-shrink: 0;
}

/* Ensure images and videos fit properly */
.simulator-carousel-slide .interpolation-image,
.simulator-carousel-slide video {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.simulator-carousel-slide .description {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Navigation Arrows - 与提供的样式保持一致 */
.simulator-carousel-prev,
.simulator-carousel-next {
    position: absolute;
    top: 67%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
    line-height: 1;
    padding: 0;
    padding-bottom: 1.5%;  /* 微调垂直位置 */
}

.simulator-carousel-prev:hover,
.simulator-carousel-next:hover {
    background-color: rgba(0,0,0,0.8);
}

.simulator-carousel-prev {
    left: 0.5rem;
}

.simulator-carousel-next {
    right: 0.5rem;
}

.hero .simulator-carousel-prev:hover,
.hero .simulator-carousel-next:hover {
    opacity: 0.6; /* hover时改变透明度而不是背景色 */
}


/* 使用更好的箭头字符 */
.simulator-carousel-prev::after {
    content: '‹';
    font-size: 3rem;
}

.simulator-carousel-next::after {
    content: '›';
    font-size: 3rem;
}

/* Dots indicator */
.simulator-carousel-dots {
    text-align: center;
    padding: 1rem 0;
}

.simulator-carousel-dots .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.simulator-carousel-dots .dot.active,
.simulator-carousel-dots .dot:hover {
    background-color: #717171;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .simulator-carousel-slide .video-row {
        flex-direction: column;
        align-items: center;
    }
    .simulator-carousel-slide {

        padding: 0 5%;

    }

    .simulator-carousel-slide .video-container {
        max-width: 100%;
        margin-bottom: 1rem;
    }
    .simulator-carousel-prev {
        left: -0.5rem;
    }

    .simulator-carousel-next {
        right: -0.5rem;
    }

    .simulator-carousel-slide .divider {
        display: none;
    }


}