.syndesi_video_playlist_wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items:center;
}

.syndesi-video-widget {
    position: relative;
    width: 100% !important;
    margin: 0 auto;
    padding: 1em !important;
    box-sizing: border-box;
    display: block !important;
    visibility: visible !important;
    overflow: hidden;
    min-height: 200px;
    z-index: 2;
}

.syndesi-video-widget .syndesi-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.syndesi-video-widget.loading .syndesi-video-player {
    opacity: 0.5;
    pointer-events: none;
}

.syndesi-video-widget:not(.loading) .syndesi-video-player {
    opacity: 1 !important;
    visibility: visible !important;
}

.syndesi-video-player {
    display: block !important;
    padding: 0 !important;
}

#ticker-container-syndesi-vimeo-widget { 
    display: flex !important;
    margin-bottom: 1em;
    z-index: 3;
    width: 100%;
    justify-content: center !important;
    align-items: center;
}

#ticker-content-col-syndesi-vimeo-widget {
    flex-grow: 0;
    overflow: hidden;
    text-align: center;
}

.ticker-item {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.ticker-item.active {
    display: flex;
    justify-content: center;
}

.ticker-text-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-width: 1px;
    border-style: solid;
    border-color: #446344;
    border-radius: 0.5em;
    padding: 0.5em;
    text-align: center !important;
}

#ticker-prev-wrapper-syndesi-vimeo-widget, #ticker-next-wrapper-syndesi-vimeo-widget {
    flex-shrink: 0;
}

.ticker-text {
    /* Removed flex-grow: 1; */
}

.ticker-text-content {
    padding: 0 1em;
    text-align: center !important;
}

.ticker-title {
    color: #446344;
    font-family: 'Averia Serif Libre', serif !important;
    font-size: 20px !important; /* Added px unit for validity */
}

.ticker-content {
    color: #A3C586;
    font-family: 'Averia Serif Libre', serif;
    font-size: 16px !important;
    font-weight:600;
}

#ticker-prev-syndesi-vimeo-widget,
#ticker-next-syndesi-vimeo-widget {
    background: #446344;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}
#ticker-prev-syndesi-vimeo-widget:active,
#ticker-next-syndesi-vimeo-widget:active{
    background: #446344;
} 

#ticker-prev-syndesi-vimeo-widget:hover,
#ticker-next-syndesi-vimeo-widget:hover{
    background: #A3C586;
} 

#ticker-prev-wrapper-syndesi-vimeo-widget {
    display: flex;
    justify-content: flex-end;
}

#ticker-next-wrapper-syndesi-vimeo-widget {
    display: flex;
    justify-content: flex-start;
}

#ticker-prev-syndesi-vimeo-widget:disabled,
#ticker-next-syndesi-vimeo-widget:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.message-div {
    color: red;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

@media (min-width: 1024px) {
    #ticker-container-syndesi-vimeo-widget,
    .syndesi-video-widget {
        width: 60% !important;
    }
}