/* Content Slider - Frontend Styles */
.content-slider-wrapper {
    width: 100%;
    height: 100vh; /* Fullscreen Höhe */
    max-width: 100%;
    position: relative;
    overflow: hidden; /* Keine Scrollbalken innerhalb */
}
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}
.slider-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}
.fade-overlay.active {
    opacity: 1;
}
/* Alte Vorschau ausblenden */
.slider-preview {
    display: none;
}

/* Untere Leiste - Eine Zeile mit Uhrzeit rechts */
.slider-bottom-bar {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background: #a6a6a6; /* Hellgrau */
    color: #fff;
    font-weight: bold;
    font-family: Calibri, Arial, sans-serif;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}

/* Linker Teil - Als Nächstes + Es folgt */
.slider-bottom-bar .left-content {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Trennzeichen */
.slider-bottom-bar .divider {
    margin: 0 10px;
}

/* Rechter Teil - Uhrzeit */
.slider-bottom-bar .current-time {
    flex-shrink: 0;
    margin-left: 20px;
}

/* Countdown mit fester Breite */
.slider-bottom-bar .countdown {
    display: inline-block;
    min-width: 2ch; /* Platz für 2 Zeichen */
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
}

/* --- Scrollbalken auf Seite komplett unterbinden --- */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    width: 100%;
    overflow: hidden !important;
    background: #000;
}

/* WordPress Admin-Bar ausblenden bei Slider */
.content-slider-wrapper ~ #wpadminbar,
body:has(.content-slider-wrapper) #wpadminbar {
    display: none !important;
}
html:has(.content-slider-wrapper) {
    margin-top: 0 !important;
}