/*
 * Livestream Banner with Countdown
 * A banner that shows on all pages during a specific time period,
 * featuring a countdown to an event
 */

.livestream-banner {
    z-index: 9999; /* Ensure banner appears on top */
    background-color: #DF0029; /* Red background as specified */
    color: #ffffff; /* White text as specified */
    font-family: inherit;
    width: 100%;
    display: none; /* Hidden by default, will be shown via JS based on dates */
}

.livestream-banner-wrapper {
    background-color: #DF0029;
    position: fixed;
    z-index: 9999;
    width: 100%;
}

@media (max-width: 1280px) {
    .livestream-banner-wrapper .container {
        max-width: 100%;
    }
}

.livestream-banner-header {
    font-family: RotisSemiSansW02-Light,Helvetica,sans-serif;
}

.livestream-banner.is-active {
    display: block;
}

.livestream-banner-inner {
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.livestream-banner-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.livestream-banner-text {
    padding-right: 16px;
    font-weight: bold;
    margin: 5px 0;
}

.livestream-banner-dates {
    height: 100%;
}

.livestream-banner-countdown {
    display: flex;
    align-items: center;
}

.livestream-banner-interaction {
    gap: 24px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.countdown-days,
.countdown-hours,
.countdown-minutes,
.countdown-seconds {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-family: RotisSemiSansW02-Light,Helvetica,sans-serif;
    background-color: white;
    border-radius: 8px;
    border: 0.5px solid #DF0029;
    color: black;
    aspect-ratio: 1/1;
    width: 87.14px;
}

.countdown-value {
    font-size: 24px;
    line-height: 32px;
    font-weight: bold;
}

.countdown-label {
    font-size: 0.8em;
    opacity: 0.9;
}

.livestream-banner-link {
    font-family: RotisSemiSansW02-Light,Helvetica,sans-serif;
    font-size: 24px;
}

.livestream-banner-link a {
    color: #ffffff;
    text-decoration: underline;
    transition: all 0.2s ease;
    gap: 8px;
}

.livestream-banner-link a:hover {
    color: #fff;
}

.livestream-banner-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.livestream-banner-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive styles */
@media (max-width: 992px) {
    .livestream-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .livestream-banner-text {
        padding-right: 0;
        padding-bottom: 10px;
    }

    .countdown-days,
    .countdown-hours,
    .countdown-minutes,
    .countdown-seconds {
        min-width: 50px;
    }
}

@media (max-width: 768px) {
    .livestream-banner-inner {
        margin-bottom: 16px;
        flex-direction: column;
    }

    .livestream-banner-close {
        margin: 10px 0 0 auto;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        flex-wrap: wrap;
    }

    .countdown-days,
    .countdown-hours,
    .countdown-minutes,
    .countdown-seconds {
        margin: 5px;
    }
}
