
.we-image-accordion {
    display: flex;
    justify-content: space-between;
}

.we-item {
    height: 30vh;
    transition: .5s;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    flex: 1 1 0%;
    padding: 15px;
    align-items: center;
    justify-content: end;
    display: flex;
    flex-direction: column;
}

.we-item .we-image-item {
    max-height: 50vh;
}

.we-item:hover {
    flex: 3 1 0%;
}

.we-image-item-header {
    font-size: 1.5rem;
    font-weight: bold;
}

.we-image-item-text, .we-button {
    font-size: 0.8rem;
}

.we-image-item-header, .we-image-item-text, .we-button {
    transition: .2s;
    display: none;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 769px) { 
    #we-image-accordion { 
        display: none !important; 
    } 
    #imageCarousel { 
        display: block !important; 
    } 
}

@media (min-width: 768px) and (max-width: 991px) {
    #we-image-accordion { 
        display: flex !important; 
    } 
    #imageCarousel { 
        display: none !important; 
    } 
}

@media (min-width: 992px) {
    #we-image-accordion { 
        display: flex !important; 
    } 
    #imageCarousel { 
        display: none !important; 
    } 
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

#imageCarousel .carousel-item img {
    max-height: 30vh;
    object-fit: cover;
    width: 100%;
}