
:root {
    --hfg-brandbar-height: 38px;
    --hfg-orange: #e7893c;
    --hfg-black: #0c0c0c;
}

#hfg-brandbar {
    width: 100%;
    height: var(--hfg-brandbar-height);
    background: var(--hfg-black);
    color: #fff;
    border-bottom: 2px solid #fff;
    position: relative;
    z-index: 10001;
    font-family: Inter, Arial, sans-serif;
}

#hfg-brandbar .hfg-brandbar__inner {
    width: min(1400px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

#hfg-brandbar .hfg-brandbar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 0 20px;
    color: #fff;
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .05em;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

#hfg-brandbar .hfg-brandbar__link:hover,
#hfg-brandbar .hfg-brandbar__link:focus-visible {
    background: rgba(255,255,255,.10);
    color: #fff;
}

#hfg-brandbar .hfg-brandbar__link--active,
#hfg-brandbar .hfg-brandbar__link--active:hover,
#hfg-brandbar .hfg-brandbar__link--active:focus-visible {
    background: var(--hfg-orange);
    color: #1d201e;
}

.hfg-header-stack {
    width: 100%;
    z-index: 9999;
}

.hfg-header-stack.hfg-mode-overlay {
    position: absolute;
    top: 0;
    left: 0;
}

.hfg-header-stack.hfg-mode-flow {
    position: relative;
}

.hfg-header-stack.hfg-sticky {
    position: fixed !important;
    top: var(--wp-admin--admin-bar--height, 0px) !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
}

.hfg-header-stack > .hfo-header,
.hfg-header-stack > header,
.hfg-header-stack > .elementor-location-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
}

.hfg-header-stack.hfg-sticky > .hfo-header,
.hfg-header-stack.hfg-sticky > header,
.hfg-header-stack.hfg-sticky > .elementor-location-header {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

body.admin-bar .hfg-header-stack.hfg-sticky {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .hfg-header-stack.hfg-sticky {
        top: 46px !important;
    }
}

@media (max-width: 1024px) {
    #hfg-brandbar .hfg-brandbar__inner {
        width: min(100% - 48px, 1400px);
        justify-content: center;
    }

    #hfg-brandbar .hfg-brandbar__link {
        min-width: 0;
        flex: 1 1 0;
        max-width: 170px;
        padding: 0 14px;
    }
}

@media (max-width: 767px) {
    :root {
        --hfg-brandbar-height: 34px;
    }

    #hfg-brandbar .hfg-brandbar__inner {
        width: 100%;
    }

    #hfg-brandbar .hfg-brandbar__link {
        max-width: none;
        padding: 0 8px;
        font-size: 10px;
        letter-spacing: .02em;
    }

    .hfg-header-stack .hfo-header-inner {
        min-height: 74px;
    }

    .hfg-header-stack .hfo-logo img {
        max-width: 150px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hfg-brandbar *,
    .hfg-header-stack * {
        transition: none !important;
    }
}
