header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 120rem;
    z-index: 999;
}

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

main::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.header-inner {
    position: relative;
    max-width: 90rem;
    box-sizing: content-box;
    margin: auto;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.desktop-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.desktop-menu {
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    border-radius: 1rem;
    position: relative;
    min-height: clamp(5rem, 7vw, 7.5625rem);
}

.desktop-menu-left,
.desktop-menu-right {
    display: flex;
    gap: clamp(0.5rem, 1.5vw, 1.5rem);
    align-items: center;
    flex: 1 1 0%;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-menu-left {
    justify-content: flex-start;
}

.desktop-menu-right {
    justify-content: flex-end;
}

.desktop-menu .site-logo-container {
    flex: 0 0 auto;
    margin: 0 clamp(1rem, 3.5vw, 3.5rem);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktop-menu li {
    font-family: "Teko", Sans-serif;
    font-size: clamp(1.6rem, 2vw, 2.5rem);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.desktop-menu .menu-item a {
    color: #FFF;
    padding: clamp(0.5rem, 1vw, 1rem) clamp(0.5rem, 1vw, 1.5rem);
    transition: 0.2s ease;
    border-radius: 0.5rem;
    line-height: 0.7;
    border: 1px solid transparent;
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
}

.desktop-menu .menu-item a:hover {
    background: #560591;
    border-color: #FFF;
}

.desktop-menu .menu-item.menu-item-logo a:hover {
    background: none;
    border-color: transparent;
}

.desktop-menu li .megamenu-dropdown {
    box-sizing: content-box;
    opacity: 0;
    visibility: hidden; 
    position: absolute;
    top: calc(100% + 0.5rem); 
    left: 50%;
    transform: translateX(-50%);
    max-width: 120rem;
    padding: 0 1.5rem;
    margin: 0 auto;
    width: 100%;
    z-index: 999; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.desktop-megamenu-container {
    display: flex;
    background: #000;
    width: 100%;
    max-width: 120rem;
    box-sizing: border-box;
    margin: 0 auto;
}

.menu-item-object-custom a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-item-object-custom svg {
    height: clamp(1rem, 1.5vw, 1.5rem);
    width: clamp(1rem, 1.5vw, 1.5rem);
}

.menu-item-object-custom a svg {
    position: relative;
    top: -2px;
    transition: 0.2s ease;
}

.menu-item-object-custom.is-hovered svg {
    transform: rotate(180deg);
}

.rtp-buy-tickets-container {
    list-style: none;
    padding: 0;
}

li.rtp-buy-tickets a {
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(0.75rem, 1.5vw, 1rem);
    background: #0050AA;
    color: #FFF;
    height: clamp(3rem, 4vw, 4rem);
    align-items: center;
    display: flex;
    font-family: "Teko", Sans-serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.2s ease;
}

li.rtp-buy-tickets a:hover {
    background: #012239;
    text-decoration: none;
}

.desktop-menu li.is-hovered .megamenu-dropdown {
    opacity: 1;
    visibility: visible;
}

.site-logo img {
    width: auto;
    max-height: clamp(5rem, 7vw, 7.5625rem);
}

.site-logo a {
    display: flex;
}

.site-branding {
    padding: 1rem 1.5rem;
    width: 100%;
    background: #010302;
}

.site-branding--container {
    margin: auto;
    max-width: 90rem;
    box-sizing: content-box;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
    color: #FFF;
}

.site-branding p {
    margin: 0;
    color: #FFF;
    font-family: "Roboto";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 300;
    line-height: 110%;
}

.website-support {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.website-support--text {
    display: none;
}

.website-funded-by {
    display: flex;
    align-items: center;
}

.website-funded-by-logos {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* --- MOBILE MENU --- */

div.mobile-menu {
    position: absolute;
    top: 48px;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
	pointer-events: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

div.mobile-menu.active {
    min-height: 100vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
	pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

ul.mobile-menu {
    list-style: none;
    background: #000;
    padding: 0 1rem 2rem 1rem;
    margin: 0;
    opacity: 1 !important; 
    visibility: visible !important;
}

.mobile-menu::-webkit-scrollbar {
    display: none;
}

.mobile-navigation {
    display: none;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
}

.mobile-navigation svg {
    width: 100%;
    background: #FFF;
}

.menu-toggle {
    cursor: pointer;
    grid-column: 1;
    justify-self: start;
}

.mobile-navigation .site-logo {
    grid-column: 2;
    justify-self: center;
}

.menu-toggle .line {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

.menu-toggle.is-active .line-top {
    transform: translateY(10.5px) rotate(45deg);
}

.menu-toggle.is-active .line-middle {
    opacity: 0; 
}

.menu-toggle.is-active .line-bottom {
    transform: translateY(-10.5px) rotate(-45deg);
}

ul.mobile-menu {
    text-align: center;
}

ul.mobile-menu li {
    margin-bottom: 0.4375rem;
}

ul.mobile-menu li:last-of-type {
    margin-bottom: 0;
}

ul.mobile-menu li a {
    display: block;
    color: #FFF;
    font-family: "Roboto";
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    padding: 0.925rem 0;
}

footer li > a:hover {
    text-decoration: underline;
}

@media(max-width:1200px) {
    .site-branding {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0.9375rem;
    }
    .site-branding--container {
        flex-direction: column;
    }
    .website-support {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    .website-support p {
        font-style: italic;
    }
    .website-support--text {
        display: inline;
        font-style: normal;
        font-weight: 400;
    }
    .website-support img {
        width: 6.79244rem;
        height: 3.75rem;
    }
    .website-funded-by {
        flex-direction: column;
    }
    .website-copyrights {
        order: 3;
        text-align: center;
    }
}

@media(max-width: 1024px) {
    .header-inner {
        padding: 0;
    }
    .desktop-navigation {
        display: none;
    }
    .mobile-navigation {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    .mobile-navigation .site-logo {
        grid-column: 2;
        justify-self: center;
    }
    .mobile-navigation .site-logo img {
        max-height: 4.725rem;
    }
}

@media(max-width:768px) {

}