/* ===================================
   Festival Nav Block — sticky page nav
   =================================== */

.festival-nav {
    position: sticky;
    top: 0;
    z-index: 980;
}

.festival-nav__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #001733;
    padding: 0 1.5em;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.festival-nav__bar::-webkit-scrollbar {
    display: none;
}

.festival-nav__title {
    color: #fff;
    font-weight: 900;
    font-size: 0.95rem;
    white-space: nowrap;
    padding-right: 1.5em;
    margin-right: 0.5em;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    line-height: 1;
    text-decoration: none;
    transition: color 0.15s ease;
}
a.festival-nav__title:hover,
a.festival-nav__title:focus-visible {
    color: #f05a5c;
}

.festival-nav__links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    white-space: nowrap;
}

.festival-nav__item a {
    display: block;
    padding: 0.9em 1.1em;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.2s, box-shadow 0.2s;
    border-bottom: 3px solid transparent;
}

.festival-nav__item a:hover {
    color: #fff;
    border-bottom-color: #f05a5c;
}

.festival-nav__item.is-active a {
    color: #fff;
    border-bottom-color: #f05a5c;
}

/* Mobile: wrap into compact grid */
@media (max-width: 767px) {
    .festival-nav__bar {
        flex-wrap: wrap;
        padding: 0;
        overflow: visible;
    }

    .festival-nav__title {
        width: 100%;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.6em 0.75em 0.4em;
        margin: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .festival-nav__links {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        white-space: normal;
    }

    .festival-nav__item a {
        padding: 0.5em 0.75em;
        font-size: 0.75rem;
        border-bottom: 2px solid transparent;
    }
}
