html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
[id] {
    scroll-margin-top: 60px;
}


@media all and (min-width: 768px) {
    [id] {
        scroll-margin-top: 132px;
    }
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* header */

.site-header__container {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 200;
    padding-top: 1.25rem;
}

.site-header {
    background: white;
    border: 1px solid #CCDEEA;
    border-radius: 8px;
    padding: .5rem .75rem .5rem 1.25rem;
    margin: 0 auto;
    max-width: 1312px;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header__logo { display: block; width: 100%; max-width: 186px; height: 32px; }
.site-header__logo svg { width: 100%; height: 100%; object-fit: contain; }

.site-header__logo,
.menu-toggle,
.wp-block-button {
    position: relative;
    z-index: 100;
}

.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle .nav-icon {
    width: 18px;
    height: 14px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.menu-toggle .nav-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-toggle .nav-icon span:nth-child(1) { top: 0px; }
.menu-toggle .nav-icon span:nth-child(2),
.menu-toggle .nav-icon span:nth-child(3) { top: 6px; }
.menu-toggle .nav-icon span:nth-child(4) { top: 12px; }
body.menu-open .menu-toggle .nav-icon span:nth-child(1) { top: 6px; width: 0%; left: 50%; }
body.menu-open .menu-toggle .nav-icon span:nth-child(2) { transform: rotate(45deg); }
body.menu-open .menu-toggle .nav-icon span:nth-child(3) { transform: rotate(-45deg); }
body.menu-open .menu-toggle .nav-icon span:nth-child(4) { top: 6px; width: 0%; left: 50%; }

@media all and (max-width: 767px) {
    .site-header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh; /* Dynamic height fixes mobile browser bar issues */
        background-color: #ffffff; /* Change to your brand background color */
        z-index: 99;

        /* Flexbox centering for nav links */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;

        /* Off-screen shift */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        overflow-y: auto;
    }

    .site-header nav ul { list-style: none; margin: 0; padding: 0; text-align: center; }

    .site-header nav a {
        font-size: 1.75rem;
        text-decoration: none;
        color: #000508 !important;
        font-weight: 500;
    }

    body.menu-open .site-header nav { transform: translateX(0); }

    body.menu-open { overflow: hidden; }
}

.site-header .wp-block-button { display: none; }


@media all and (min-width: 768px) {

    .site-header .menu-toggle { display: none; }
    .site-header .wp-block-button { display: block; }

    .site-header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 1rem;
    }

    .site-header__logo {
        justify-self: start;
    }

    .wp-block-button { justify-self: end; }

    .site-header nav {


    }

    .site-header nav ul {

        min-height: 40px;
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: center;
        gap: 1rem;
    }

    .site-header nav a {
        color: var(--wp--preset--color--base-dark);
        font-size: 1rem;
        text-decoration: none;
    }


}

@media all and (min-width: 1024px) {

    .site-header { padding: 1rem 2rem; }
    .site-header nav { gap: 2rem; }
}

/* Footer */

.site-footer__container {
    background: var(--wp--preset--color--blue-darker);
    padding-top: var(--wp--preset--spacing--40);
    padding-bottom: var(--wp--preset--spacing--40);
    color: white;
}

.site-footer {
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.site-footer a { color: white !important; }

.site-footer p.wp-block-paragraph strong { display: block; margin-bottom: 4px; }

.site-footer p.wp-block-paragraph a {
    text-decoration: underline;
}

.site-footer__columns {
    gap: 24px var(--wp--preset--spacing--40);
}

.site-footer__column--contact {

}

.site-footer__socials { margin-top: 1.5rem; }

.site-footer__bottom {
    font-size: 0.75rem;
}

.site-footer__bottom ul {
    border-top: 1px solid rgba(255,255,255,.3);
    padding: 1.5rem 0 0;
    margin: 2.5rem 0 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.site-footer__bottom ul li a {
    text-decoration: none;
}

@media all and (min-width: 782px) {

    .site-footer__column--contact { text-align: right; }
    .site-footer__column--contact p:first-of-type { margin-top: 0; }

    .site-footer__bottom {
        margin-top: 5rem;
        border-top: 1px solid rgba(255,255,255,.3);
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
        padding-top: 1.5rem;
    }

    .site-footer__bottom p { flex-shrink: 1; margin: 0; }

    .site-footer__bottom ul {
        border-top: 0; gap: 1rem; margin: 0; padding: 0;
        flex: 1 0 auto;
    }

}

@media all and (min-width: 1280px) {
    .site-footer__bottom {
        padding-top: 2rem;
        font-size: .875rem;
    }
}