.ms-carousel-container-c3157ed0 {
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: background 0.3s ease;
}

.ms-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 10px 0;
}

.ms-nav-label {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    min-width: 100px;
    text-align: center;
}

.ms-nav-btn {
    background: #981D24;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
}

.ms-nav-btn:hover {
    background: #222;
    transform: scale(1.05);
}

.ms-nav-btn:active {
    transform: scale(0.95);
}

.ms-slides-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 100px;
    margin: 10px 0;
    touch-action: pan-y; /* Allows normal vertical scrolling while capturing horizontal touch swipe events */
}

.ms-slide {
    display: none;
    width: 100%;
    animation-duration: 400ms;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}

.ms-slide.ms-slide-active {
    display: block;
}

/* Animations */
@keyframes ms-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ms-slide-left {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes ms-slide-right {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes ms-zoom-in {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Direction-Aware Dynamic Swipes */
@keyframes ms-swipe-next-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes ms-swipe-prev-in {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.ms-anim-fade {
    animation-name: ms-fade;
}

.ms-anim-slide-left {
    animation-name: ms-slide-left;
}

.ms-anim-slide-right {
    animation-name: ms-slide-right;
}

.ms-anim-zoom-in {
    animation-name: ms-zoom-in;
}

.ms-anim-swipe-next {
    animation-name: ms-swipe-next-in;
}

.ms-anim-swipe-prev {
    animation-name: ms-swipe-prev-in;
}
