.liveticker {
    display: flex;
    align-items: center;
    background: white;
    padding: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.liveticker .ticker-label {
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 20;
    position: relative;
    font-weight: bold;
    color: white;
    font-family: 'Arial Black', 'Segoe UI', sans-serif;
}

.liveticker .ticker-label.slanted-left {
    padding: 0 40px 0 25px;
    font-size: 22px;
    min-width: 140px;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

.liveticker .ticker-label.slanted-right {
    padding: 0 25px 0 30px;
    font-size: 18px;
    min-width: 100px;
    justify-content: center;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
}

.liveticker .ticker-wrapper {
    flex: 1;
    overflow: hidden;
    background: white;
    height: 100%;
    position: relative;
}

.liveticker .ticker-mask {
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-mask-image: linear-gradient(
            90deg,
            transparent 0%,
            black 25px,
            black calc(100% - 25px),
            transparent 100%
    );
    mask-image: linear-gradient(
            90deg,
            transparent 0%,
            black 25px,
            black calc(100% - 25px),
            transparent 100%
    );
}

.liveticker .ticker {
    display: inline-flex;
    white-space: nowrap;
    /*animation: scrollTicker linear infinite;*/
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.liveticker .ticker-item {
    display: inline-flex;
    align-items: center;
    font-family: 'Arial Black', 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 10px;
    flex-shrink: 0;
    white-space: nowrap;
    height: 100%;
}

.liveticker .ticker-item::after {
    content: "•";
    color: #e74c3c;
    margin-left: 25px;
    font-size: 18px;
}


@keyframes scrollTicker {
    0% { left: 100%; transform: translateY(-50%) translateX(0); }
    100% { left: 0; transform: translateY(-50%) translateX(-100%); }
}

/*
.liveticker .ticker:hover { animation-play-state: paused; }
*/
/* Responsive Design */
@media (max-width: 767px) {
    .liveticker .news-ticker-container { height: 55px !important; }
    .liveticker .ticker-label.slanted-left {
        font-size: 18px;
        min-width: 110px;
        padding: 0 25px 0 15px;
    }
    .liveticker .ticker-label.slanted-right {
        min-width: 60px;
        padding: 0 15px 0 20px;
    }
    .liveticker .ticker-item {
        font-size: 16px;
        padding: 0 20px;
    }
}

@media (max-width: 580px) {
    .liveticker .news-ticker-container { height: 50px !important; }
    .liveticker .ticker-label.slanted-left {
        font-size: 16px;
        min-width: 90px;
    }
    .liveticker .ticker-item {
        font-size: 14px;
        padding: 0 15px;
    }
}



/* Drag */


.liveticker .ticker-wrapper {
    /* Existierende Styles beibehalten */
    flex: 1;
    overflow: hidden;
    background: white;
    height: 100%;
    position: relative;

    /* Neue Styles für Drag */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.liveticker .ticker-wrapper:active {
    cursor: grabbing;
}

.liveticker .ticker {
    /* Existierende Styles beibehalten */
    display: inline-flex;
    white-space: nowrap;
    /*animation: scrollTicker linear infinite;*/
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);

    /* Für besseres Scrollen */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto; /* Sofortiges Scrollen für Drag */
}

/* Scrollbar ausblenden aber Funktionalität behalten */
.liveticker .ticker::-webkit-scrollbar {
    display: none;
}

.liveticker .ticker {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.liveticker .event-icon {
    min-width: 40px;

    height: 25px;
    padding:0;
    background-size:  auto 25px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin: 0 10px;
    display: block;

    overflow: visible !important;

}

.liveticker .ticker-items {
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    max-width: none !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

/* Ticker Wrapper - Kein Overflow hidden */
.liveticker .ticker-wrapper {
    overflow: visible !important;
}

/* Ticker Mask entfernen */
.liveticker .ticker-mask {
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* Ticker Items - volle Sichtbarkeit */
.liveticker .ticker-item {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-flex !important;
    white-space: nowrap !important;
    overflow: visible !important;

}


.liveticker .event-icon.run-1 {

}

