@font-face {
    font-family: "Barlow";
    src: url("fonts/race-day/Barlow-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("fonts/race-day/Barlow-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "Barlow Condensed";
    src: url("fonts/race-day/BarlowCondensed-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Barlow Condensed";
    src: url("fonts/race-day/BarlowCondensed-BoldItalic.woff2") format("woff2");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

.race-shell {
    --race-nav-height: 68px;
    --race-body: "Barlow", "Segoe UI", sans-serif;
    --race-display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

body.race-shell > .navbar, body.race-shell > .navbar.scrolled {
    min-height: var(--race-nav-height);
    padding: 0;
    background: #0c1116;
    border-bottom: 1px solid #ffffff20;
    box-shadow: none;
    backdrop-filter: none;
    font-family: var(--race-body);
    z-index: 1030;
}

.race-shell > .navbar .container,
.home-page .race-hero .container {
    width: min(100%, 1560px);
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 5.5rem);
}

.race-shell > .navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #fff !important;
    font: 700 1.6rem/1 var(--race-body);
    letter-spacing: -.05em;
}
.race-shell .race-brand-pulse { width: 32px; height: 28px; color: #99e966; }
.race-shell > .navbar .text-accent, .race-shell > .footer .text-accent { color: #55acf2; }

.race-shell > .navbar .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .5rem clamp(.4rem, 1.05vw, 1rem) !important;
    margin: 0;
    border-radius: 2px;
    color: #e5e8ea !important;
    font-size: 1rem;
    font-weight: 600;
}
.race-shell > .navbar .nav-link:hover,
.race-shell > .navbar .nav-link:focus-visible {
    color: #fff !important;
    background: #ffffff12;
}
.race-shell > .navbar .nav-link > .bi:not(.bi-bell) { display: none; }
.race-shell > .navbar .race-search-link { gap: .55rem; }
.race-shell > .navbar .btn-register {
    background: transparent;
    transform: none;
}
.race-shell > .navbar .navbar-toggler { border: 0; min-width: 44px; min-height: 44px; }
.race-shell > .navbar :focus-visible, .race-shell > .footer :focus-visible {
    outline: 2px solid #aff15a;
    outline-offset: 2px;
}
.race-shell > .navbar .dropdown-menu { font-family: var(--race-body); }
@media (min-width: 992px) {
    .race-shell > .navbar .navbar-nav { align-items: center; }
    .race-shell > .navbar .btn-register {
        margin-left: .5rem;
        padding-left: 1.5rem !important;
        position: relative;
    }
    .race-shell > .navbar .btn-register::before {
        content: "";
        position: absolute;
        left: 0;
        height: 20px;
        border-left: 1px solid #697075;
    }
}
@media (max-width: 991.98px) {
    .race-shell { --race-nav-height: 60px; }
    .race-shell > .navbar .container { min-height: var(--race-nav-height); }
    .race-shell > .navbar .navbar-collapse {
        margin: 0;
        padding: .3rem 0 .85rem;
        border: 0;
        border-radius: 0;
        background: #0c1116;
        box-shadow: none;
        max-height: calc(100vh - var(--race-nav-height));
        overflow-y: auto;
    }
}
.race-shell > .footer {
    margin: 0;
    padding: clamp(2.5rem, 5vw, 4.75rem) 0;
    background: #101619;
    color: #fff;
    border-top: 1px solid #ffffff24;
    font-family: var(--race-body);
}
.race-shell > .footer .footer-brand { color: #fff; font-weight: 600; }
.race-shell > .footer .footer-brand i { color: #99e966; }
.race-shell > .footer .footer-heading { color: white; }
.race-shell > .footer .footer-heading i { display: none; }
.race-shell > .footer .footer-text,
.race-shell > .footer .footer-link,
.race-shell > .footer .copyright { color: #c0c8cb; }
.race-shell > .footer .footer-link:hover { color: #fff; text-decoration: underline; }
.race-shell > .footer .social-link { background: #283034; color: #f4f6f7; }
.race-shell > .footer .social-link:hover { background: #3a4549; }
.race-shell > .footer .footer-language {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
    font-size: .88rem;
}
.race-shell > .footer .footer-lang-link {
    color: #9aa5a9;
    text-decoration: none;
    padding: .15rem 0;
}
.race-shell > .footer .footer-lang-link:hover { color: #fff; text-decoration: underline; }
.race-shell > .footer .footer-lang-link.is-active {
    color: #fff;
    font-weight: 600;
}
.race-shell > .footer .footer-lang-sep { color: #697075; }
