/* FSR next-base. */

body:is(.md-fsr-layout-dock,.md-fsr-layout-rail,.md-fsr-layout-ribbon)
.site-header {
    position: relative;
    overflow: visible !important;
    z-index: 10005;
}

body:is(.md-fsr-layout-dock,.md-fsr-layout-rail,.md-fsr-layout-ribbon)
.site-header :is(.burger,.md-menu-fullscreen-trigger,.site-nav,.mobile-controls) {
    display: none !important;
}

body:is(.md-fsr-layout-dock,.md-fsr-layout-rail,.md-fsr-layout-ribbon)
.site-header .top-navigation-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 82px !important;
    padding: 12px clamp(16px,4vw,48px) !important;
    max-width: 1400px !important;
    margin-inline: auto !important;
}

body:is(.md-fsr-layout-dock,.md-fsr-layout-rail,.md-fsr-layout-ribbon)
.site-header .site-logo {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: min(340px,55vw) !important;
    margin: 0 !important;
}

body:is(.md-fsr-layout-dock,.md-fsr-layout-rail,.md-fsr-layout-ribbon)
.site-header .site-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 62px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

#md-fsr-theme-nav.md-fsr-next-nav,
#md-fsr-theme-nav.md-fsr-next-nav * {
    box-sizing: border-box;
}

#md-fsr-theme-nav.md-fsr-next-nav {
    color: var(--md-fsr-head-text,#fff);
}

#md-fsr-theme-nav.md-fsr-next-nav :is(a,summary):focus-visible,
#md-fsr-site-footer:is(.md-fsr-footer-ticket,.md-fsr-footer-terminal,.md-fsr-footer-origami)
a:focus-visible {
    outline: 3px solid var(--md-fsr-accent,#bcd99f) !important;
    outline-offset: 3px !important;
}

#md-fsr-theme-nav.md-fsr-next-nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#md-fsr-theme-nav.md-fsr-next-nav .md-fsr-next-links {
    display: grid;
    gap: 12px;
}

#md-fsr-theme-nav.md-fsr-next-nav .md-fsr-next-links > li {
    min-width: 0;
}

#md-fsr-theme-nav.md-fsr-next-nav .md-fsr-next-links > li > a {
    display: block;
    padding: 10px 0;
    color: var(--md-fsr-foot-head,#fff) !important;
    font: 700 17px/1.3 system-ui,sans-serif;
    text-decoration: none;
    overflow-wrap: anywhere;
    border-bottom: 1px solid rgba(255,255,255,.22);
}

#md-fsr-theme-nav.md-fsr-next-nav .md-fsr-nav-children {
    padding: 8px 0 8px 12px !important;
    margin: 0 !important;
}

#md-fsr-theme-nav.md-fsr-next-nav .md-fsr-nav-children li {
    margin: 0 !important;
    padding: 0 !important;
}

#md-fsr-theme-nav.md-fsr-next-nav .md-fsr-nav-children a {
    display: block;
    color: var(--md-fsr-foot-text,#eee) !important;
    text-decoration: none;
    font: 500 13px/1.5 system-ui,sans-serif;
    padding: 5px 0;
    overflow-wrap: anywhere;
}

#md-fsr-theme-nav.md-fsr-next-nav summary {
    cursor: pointer;
    user-select: none;
}

#md-fsr-theme-nav.md-fsr-next-nav .md-fsr-next-eyebrow {
    margin: 0 0 16px;
    font: 700 11px/1.3 system-ui,sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--md-fsr-accent,#bcd99f);
}

#md-fsr-site-footer:is(.md-fsr-footer-ticket,.md-fsr-footer-terminal,.md-fsr-footer-origami) {
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--md-fsr-foot-text,#eee) !important;
    background: var(--md-fsr-foot-bg,#182b24) !important;
}

#md-fsr-site-footer .md-fsr-next-foot-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 56px clamp(20px,5vw,70px) 25px;
}

#md-fsr-site-footer .md-fsr-next-foot-label {
    display: block;
    color: var(--md-fsr-accent,#bcd99f);
    font: 800 11px/1.4 system-ui,sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

#md-fsr-site-footer .md-fsr-next-foot-brand h2 {
    margin: 14px 0 10px;
    font: 800 clamp(30px,5vw,76px)/1.08 system-ui,sans-serif;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
}

#md-fsr-site-footer .md-fsr-next-foot-brand h2 a {
    color: var(--md-fsr-foot-head,#fff) !important;
    text-decoration: none;
}

#md-fsr-site-footer .md-fsr-next-foot-tagline {
    max-width: 620px;
    margin: 0;
    color: var(--md-fsr-foot-muted,#c5d7c7) !important;
    font-size: 15px;
}

#md-fsr-site-footer .md-fsr-next-foot-logo {
    margin-top: 14px;
}

#md-fsr-site-footer .md-fsr-next-foot-logo img {
    width: auto !important;
    height: auto !important;
    max-width: min(280px,100%) !important;
    max-height: 84px !important;
}

#md-fsr-site-footer .md-fsr-next-foot-nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#md-fsr-site-footer .md-fsr-next-foot-nav li {
    display: flex;
    gap: 13px;
    align-items: baseline;
    min-width: 0;
}

#md-fsr-site-footer .md-fsr-next-foot-nav li > span {
    color: var(--md-fsr-accent,#bcd99f);
    font: 700 11px/1.4 system-ui,sans-serif;
}

#md-fsr-site-footer .md-fsr-next-foot-nav a {
    color: var(--md-fsr-foot-text,#eee) !important;
    overflow-wrap: anywhere;
    text-decoration: none;
}

#md-fsr-site-footer .md-fsr-next-foot-legal h3 {
    margin: 0 0 10px;
    color: var(--md-fsr-foot-head,#fff);
    font-size: 15px;
}

#md-fsr-site-footer .md-fsr-next-foot-legal p {
    margin: 0 0 13px;
    color: var(--md-fsr-foot-muted,#c5d7c7);
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#md-fsr-site-footer .md-fsr-next-foot-legal a {
    color: var(--md-fsr-foot-text,#eee) !important;
    font-weight: 700;
}

#md-fsr-site-footer .md-fsr-next-foot-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--md-fsr-foot-muted,#c5d7c7);
}

#md-fsr-site-footer .md-fsr-next-foot-bottom a {
    color: inherit !important;
}

@media (max-width: 760px) {
body:is(.md-fsr-layout-dock,.md-fsr-layout-rail,.md-fsr-layout-ribbon)
    .site-header .top-navigation-bar {
        padding: 10px 14px !important;
        gap: 10px !important;
        min-height: 68px !important;
    }

body:is(.md-fsr-layout-dock,.md-fsr-layout-rail,.md-fsr-layout-ribbon)
    .site-header .site-logo {
        max-width: calc(100vw - 155px) !important;
    }

body:is(.md-fsr-layout-dock,.md-fsr-layout-rail,.md-fsr-layout-ribbon)
    .site-header .site-logo img {
        max-height: 47px !important;
    }

#md-fsr-site-footer .md-fsr-next-foot-wrap {
        padding: 38px 20px 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
#md-fsr-theme-nav.md-fsr-next-nav *,
#md-fsr-site-footer:is(.md-fsr-footer-ticket,.md-fsr-footer-terminal,.md-fsr-footer-origami) * {
        animation: none !important;
        transition: none !important;
    }
}

html.md-fsr-next-locked,
body.md-fsr-next-locked {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.md-fsr-next-locked::before {
    content: none !important;
}

body.md-fsr-next-locked
#md-fsr-theme-nav.md-fsr-next-nav {
    isolation: isolate;
    z-index: 10020 !important;
}

body.md-fsr-next-locked
#md-fsr-theme-nav.md-fsr-next-nav::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(8, 14, 17, .62);
    pointer-events: auto;
}

#md-fsr-theme-nav.md-fsr-next-nav
.md-fsr-next-panel {
    overscroll-behavior: contain;
}

#md-fsr-theme-nav.md-fsr-next-nav summary {
    transition:
        background-color .22s ease,
        color .22s ease,
        box-shadow .22s ease,
        transform .22s ease;
}

#md-fsr-theme-nav.md-fsr-next-nav
.md-fsr-next-links a {
    transition: color .2s ease, padding-left .2s ease;
}

@media (hover: hover) {
#md-fsr-theme-nav.md-fsr-next-nav
    .md-fsr-next-links a:hover {
        padding-left: 7px;
        color: var(--md-fsr-accent,#d4ff31) !important;
    }
}

#md-fsr-theme-nav.md-fsr-next-nav a {
    text-decoration: none !important;
}

#md-fsr-site-footer:is(
    .md-fsr-footer-ticket,
    .md-fsr-footer-terminal,
    .md-fsr-footer-origami
) .md-fsr-next-foot-label,
#md-fsr-site-footer:is(
    .md-fsr-footer-ticket,
    .md-fsr-footer-terminal,
    .md-fsr-footer-origami
) .md-fsr-next-foot-nav li > span {
    color: var(--md-fsr-foot-muted, #C5D7C7) !important;
    opacity: 1 !important;
}

#md-fsr-site-footer:is(
    .md-fsr-footer-ticket,
    .md-fsr-footer-terminal,
    .md-fsr-footer-origami
) .md-fsr-next-foot-bottom,
#md-fsr-site-footer:is(
    .md-fsr-footer-ticket,
    .md-fsr-footer-terminal,
    .md-fsr-footer-origami
) .md-fsr-next-foot-bottom > span {
    color: var(--md-fsr-foot-muted, #C5D7C7) !important;
    opacity: 1 !important;
}

#md-fsr-site-footer:is(
    .md-fsr-footer-ticket,
    .md-fsr-footer-terminal,
    .md-fsr-footer-origami
) .md-fsr-next-foot-bottom > a {
    color: var(--md-fsr-foot-text, #E5F4F0) !important;
    opacity: 1 !important;
}

#md-fsr-site-footer:is(
    .md-fsr-footer-ticket,
    .md-fsr-footer-terminal,
    .md-fsr-footer-origami
) a,
#md-fsr-site-footer:is(
    .md-fsr-footer-ticket,
    .md-fsr-footer-terminal,
    .md-fsr-footer-origami
) a:hover,
#md-fsr-site-footer:is(
    .md-fsr-footer-ticket,
    .md-fsr-footer-terminal,
    .md-fsr-footer-origami
) a:focus-visible {
    text-decoration: none !important;
}

#md-fsr-site-footer:is(
    .md-fsr-footer-ticket,
    .md-fsr-footer-terminal,
    .md-fsr-footer-origami
) :is(
    .md-fsr-next-foot-bottom,
    .md-fsr-next-foot-legal
) a {
    display: inline-block;
    transition:
        opacity .25s ease,
        transform .25s ease;
}

@media (hover: hover) {
#md-fsr-site-footer:is(
        .md-fsr-footer-ticket,
        .md-fsr-footer-terminal,
        .md-fsr-footer-origami
    ) :is(
        .md-fsr-next-foot-bottom,
        .md-fsr-next-foot-legal
    ) a:hover {
        opacity: .8;
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
#md-fsr-site-footer:is(
        .md-fsr-footer-ticket,
        .md-fsr-footer-terminal,
        .md-fsr-footer-origami
    ) a,
#md-fsr-site-footer:is(
        .md-fsr-footer-ticket,
        .md-fsr-footer-terminal,
        .md-fsr-footer-origami
    ) a::before,
#md-fsr-site-footer:is(
        .md-fsr-footer-ticket,
        .md-fsr-footer-terminal,
        .md-fsr-footer-origami
    ) a::after {
        transition: none !important;
    }
}
