body {
    background-color: white;
    margin: auto;
    font-family: "Calibri Light";
    /* Calibri kerning can nearly erase spaces before hyphens, especially in bold.
       Inherit this across public pages, staff forms and editor previews. */
    font-kerning: none;
    font-size: 18px;
}

/* Native form-control font defaults otherwise reset inherited kerning. */
button,
input,
optgroup,
select,
textarea {
    font-kerning: inherit;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.65rem 1rem;
    color: #fff;
    background: #111;
    border-radius: 0.35rem;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(0);
}

:where(
    a,
    button,
    input,
    select,
    textarea,
    [tabindex]
):not([tabindex="-1"]):focus-visible {
    outline: 3px solid #0b5fff;
    outline-offset: 3px;
}

@media (max-width: 992px) {
    body {
        font-size: 1.3rem;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: 0.25rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.65);
    background-image: none;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.35);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
    content: "";
    display: block;
    width: 0.9rem;
    height: 0.9rem;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

.carousel-control-prev-icon::after {
    transform: rotate(-135deg);
}

.carousel-control-next-icon::after {
    transform: rotate(45deg);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.85);
    transform: scale(1.05);
}

a {
    color: #F6002B;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.text-justify {
    text-align: justify;
}

@media (max-width: 992px) {
    .text-justify {
        text-align: left;
    }
}

.nav-menu-link {
    position: relative;
    color: black;
    background: transparent;
    font-size: 20px;
    font-weight: bold;
    line-height: 42px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-menu-current {
    color: #F6002B !important;
}

.nav-menu-link:hover,
.nav-menu-link:focus-visible {
    color: #F6002B;
    background: transparent;
    box-shadow: none;
}

.nav-menu-link::before,
.nav-menu-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #F6002B;
    transition: 400ms ease all;
}

.nav-menu-link::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
}

.nav-menu-link:hover::before,
.nav-menu-link:hover::after,
.nav-menu-link:focus-visible::before,
.nav-menu-link:focus-visible::after {
    width: 100%;
    transition: 800ms ease all;
}

.header-divider {
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 0, 0, 0.15),
        transparent
    );
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-inner a:hover {
    text-decoration: none;
}

.site-logo {
    flex: 0 0 auto;
}

#logoimg {
    width: 230px;
}

.nav-menu {
    display: flex;
    gap: 1rem;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.burger .bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: all 0.2s ease;
}

.burger:not(.collapsed) .bar:nth-of-type(1) {
    transform: rotate(45deg);
    transform-origin: 5% 10%;
}

.burger:not(.collapsed) .bar:nth-of-type(2) {
    opacity: 0;
}

.burger:not(.collapsed) .bar:nth-of-type(3) {
    transform: rotate(-45deg);
    transform-origin: 5% 90%;
}

@media (max-width: 992px) {
    .burger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1000;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem;
        text-align: center;
        background:
            linear-gradient(
                to right,
                transparent,
                rgba(0, 0, 0, 0.15),
                transparent
            ) top / 100% 2px no-repeat,
            linear-gradient(
                to right,
                transparent,
                rgba(0, 0, 0, 0.15),
                transparent
            ) bottom / 100% 2px no-repeat,
            #f8f8f8;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu-link {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        line-height: 1.2;
    }

    .nav-menu-link:last-child {
        border-bottom: 0;
    }

    .nav-menu-link::before,
    .nav-menu-link::after {
        content: none !important;
        display: none !important;
    }

    .nav-menu-link:active {
        transform: scale(0.98);
    }

    .nav-menu.open .nav-menu-link {
        animation: fadeUp 0.7s ease both;
    }

    .nav-menu.open .nav-menu-link:nth-child(n) {
        animation-delay: calc(var(--i, 0) * 40ms);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
