.halo-site-logo {
    display: flex;
    align-items: center;
}

.halo-site-logo__link {
    display: inline-flex;
    align-items: center;
    justify-content: inherit;
    color: inherit;
    text-decoration: none;
    transition-property: color;
    transition-duration: 0.25s;
    transition-timing-function: ease;
}

.halo-site-logo__visual,
.halo-site-logo__image {
    display: block;
    height: auto;
    max-width: 220px;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        filter 0.25s ease,
        box-shadow 0.25s ease,
        border-radius 0.25s ease;
}

.halo-site-logo__title {
    display: inline-block;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.halo-site-menu {
    --halo-site-menu-item-padding-y: 0.5rem;
    --halo-site-menu-item-padding-x: 0.75rem;
    --halo-site-submenu-width: 220px;
    --halo-site-submenu-padding-y: 0.6rem;
    --halo-site-submenu-padding-x: 0.85rem;
    --halo-site-menu-toggle-size: 28px;
    --halo-site-menu-align: center;
    display: flex;
    flex-direction: column;
    align-items: var(--halo-site-menu-align);
    width: 100%;
}

.halo-site-menu__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.halo-site-menu__toggle-visual {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.halo-site-menu__toggle-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.halo-site-menu__toggle-state--hover,
.halo-site-menu__toggle-state--active {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.halo-site-menu__toggle:hover .halo-site-menu__toggle-state--normal,
.halo-site-menu.is-open
    .halo-site-menu__toggle
    .halo-site-menu__toggle-state--normal {
    opacity: 0;
}

.halo-site-menu__toggle:hover .halo-site-menu__toggle-state--hover {
    opacity: 1;
}

.halo-site-menu.is-open
    .halo-site-menu__toggle
    .halo-site-menu__toggle-state--hover {
    opacity: 0;
}

.halo-site-menu.is-open
    .halo-site-menu__toggle
    .halo-site-menu__toggle-state--active {
    opacity: 1;
}

.halo-site-menu__toggle-image,
.halo-site-menu__toggle svg {
    width: var(--halo-site-menu-toggle-size);
    height: var(--halo-site-menu-toggle-size);
    display: block;
}

.halo-site-menu__toggle svg {
    fill: currentColor;
}

.halo-site-menu__toggle-bars {
    width: var(--halo-site-menu-toggle-size);
    height: var(--halo-site-menu-toggle-size);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: calc(var(--halo-site-menu-toggle-size) / 6);
}

.halo-site-menu__toggle-bars span {
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    display: block;
}

.halo-site-menu__list,
.halo-site-menu__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.halo-site-menu__list {
    --halo-site-menu-gap: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: var(--halo-site-menu-gap);
    align-items: center;
    justify-content: var(--halo-site-menu-align);
    align-self: stretch;
}

.halo-site-menu--vertical .halo-site-menu__list {
    flex-direction: column;
    align-items: var(--halo-site-menu-align);
}

.halo-site-menu a {
    color: inherit;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.halo-site-menu__list li {
    position: relative;
}

.halo-site-menu__list > li > a,
.halo-site-menu__list .sub-menu a {
    display: inline-flex;
    align-items: center;
    padding: var(--halo-site-menu-item-padding-y)
        var(--halo-site-menu-item-padding-x);
}

.halo-site-menu__list .sub-menu a {
    width: 100%;
    padding: var(--halo-site-submenu-padding-y)
        var(--halo-site-submenu-padding-x);
}

.halo-site-menu--effect-underline .halo-site-menu__list > li > a {
    position: relative;
}

.halo-site-menu--effect-underline .halo-site-menu__list > li > a::after {
    content: "";
    position: absolute;
    left: var(--halo-site-menu-item-padding-x);
    right: var(--halo-site-menu-item-padding-x);
    bottom: 0.2rem;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.halo-site-menu--effect-underline .halo-site-menu__list > li > a:hover::after {
    transform: scaleX(1);
}

.halo-site-menu__button-item > a::after {
    display: none;
}

.halo-site-menu__button-item > a {
    justify-content: center;
}

.halo-site-menu--effect-lift .halo-site-menu__list > li > a:hover {
    transform: translateY(-2px);
}

.halo-site-menu__list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: var(--halo-site-submenu-width);
    background: #fff;
    padding: 0.45rem 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    z-index: 30;
}

.halo-site-menu__list li:hover > .sub-menu,
.halo-site-menu__list li:focus-within > .sub-menu {
    display: block;
}

.halo-site-menu--vertical .halo-site-menu__list .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0.5rem 0 0 1rem;
    background: transparent;
    box-shadow: none;
}

.halo-site-menu--empty,
.halo-site-copyright {
    width: 100%;
}

.halo-site-menu--mobile .halo-site-menu__toggle {
    display: inline-flex !important;
    align-self: var(--halo-site-menu-align);
}

.halo-site-menu:not(.halo-site-menu--mobile) .halo-site-menu__toggle {
    display: none !important;
}

.halo-site-menu:not(.halo-site-menu--mobile) .halo-site-menu__list {
    display: flex !important;
}

.halo-site-menu--mobile .halo-site-menu__list {
    display: none !important;
    width: 100%;
    margin-top: 1rem;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
}

.halo-site-menu--mobile.is-open .halo-site-menu__list {
    display: flex !important;
}

.halo-site-menu--mobile .halo-site-menu__list > li > a,
.halo-site-menu--mobile .halo-site-menu__list .sub-menu a {
    width: 100%;
}

.halo-site-menu--mobile .halo-site-menu__list .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0.35rem 0 0.35rem 1rem;
    background: transparent;
    box-shadow: none;
}

.halo-site-menu--mobile .halo-site-menu__list > li + li {
    margin-top: 0.35rem;
}

body.halo-wcb-has-global-header #masthead,
body.halo-wcb-has-global-header .site-header,
body.halo-wcb-has-global-header .main-header,
body.halo-wcb-has-global-header #site-header,
body.halo-wcb-has-global-header .header-wrapper,
body.halo-wcb-has-global-header .header-area,
body.halo-wcb-has-global-header .ast-builder-header-wrap,
body.halo-wcb-has-global-header .fusion-header-wrapper,
body.halo-wcb-has-global-header header[role="banner"] {
    display: none !important;
}

body.halo-wcb-has-global-footer #colophon,
body.halo-wcb-has-global-footer .site-footer,
body.halo-wcb-has-global-footer .main-footer,
body.halo-wcb-has-global-footer #site-footer,
body.halo-wcb-has-global-footer .footer-wrapper,
body.halo-wcb-has-global-footer .footer-area,
body.halo-wcb-has-global-footer .ast-footer-wrap,
body.halo-wcb-has-global-footer .fusion-footer,
body.halo-wcb-has-global-footer footer[role="contentinfo"] {
    display: none !important;
}

.halo-wcb-theme-hidden {
    display: none !important;
}

.halo-wcb-global-template {
    position: relative;
}

.halo-wcb-global-template-toolbar {
    position: absolute;
    top: 12px;
    right: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 40;
}

.halo-wcb-global-template-editable:hover {
    outline: 2px solid #ef233c;
    outline-offset: -2px;
}

.halo-wcb-global-template-editable:hover .halo-wcb-global-template-toolbar,
.halo-wcb-global-template-editable:focus-within
    .halo-wcb-global-template-toolbar {
    opacity: 1;
    pointer-events: auto;
}

.halo-wcb-global-template-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.875rem;
    border-radius: 0;
    border: 1px solid #ef233c;
    background: #ef233c;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.halo-wcb-global-template-edit-link:hover,
.halo-wcb-global-template-edit-link:focus {
    color: #fff;
    background: #ef233c;
    border-color: #ef233c;
}

body.admin-bar .halo-wcb-global-template-toolbar {
    top: 44px;
}

@media (max-width: 782px) {
    .halo-site-menu__list {
        gap: 1rem;
    }

    .halo-wcb-global-template-toolbar {
        top: 8px;
        right: 8px;
    }

    body.admin-bar .halo-wcb-global-template-toolbar {
        top: 54px;
    }
}
