
.pfc-header-v3 {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 3px 15px #00000005;
}

.admin-bar .pfc-header-v3 {
    top: 32px;
}

.pfc-header-v3 .pfc-container {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-inline: auto;
}

.pfc-topbar {
    background: #080808;
    color: #fff;
}

.pfc-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    font-size: 11px;
    font-weight: 500;
}

.pfc-topbar-inner span:last-child {
    color: #c9a84c;
}

.pfc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.pfc-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
    color: #080808;
}

.pfc-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.pfc-brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pfc-brand-text strong {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.5px;
}

.pfc-brand-text small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #80651f;
}

.pfc-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pfc-menu li {
    position: relative;
    list-style: none;
    margin: 0;
}

.pfc-menu a {
    display: block;
    padding: 20px 0;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    text-decoration: none;
}

.pfc-menu a:hover,
.pfc-menu .current-menu-item > a,
.pfc-menu .current-menu-ancestor > a {
    color: #80651f;
}

.pfc-menu .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    vertical-align: 3px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

.pfc-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    padding: 8px;
    margin: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-top: 2px solid #c9a84c;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 30px #00000012;
}

.pfc-menu li:hover > .sub-menu,
.pfc-menu li:focus-within > .sub-menu {
    display: block;
}

.pfc-menu .sub-menu a {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.pfc-menu .sub-menu a:hover {
    background: #f5f5f5;
}

.pfc-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pfc-tv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #080808;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
}

.pfc-tv-button:hover {
    background: #333;
    color: #fff;
}

.pfc-tv-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9a84c;
}

.pfc-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.pfc-menu-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #080808;
}

.pfc-header-v3 a:focus-visible,
.pfc-header-v3 button:focus-visible {
    outline: 2px solid #80651f;
    outline-offset: 3px;
}

@media (max-width: 1100px) {

    .pfc-menu-toggle {
        display: block;
    }

    .pfc-header-inner {
        min-height: 72px;
    }

    .pfc-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px 24px;
        border-bottom: 2px solid #c9a84c;
        box-shadow: 0 12px 24px #00000015;
        max-height: 70vh;
        overflow-y: auto;
    }

    .pfc-navigation.is-open {
        display: block;
    }

    .pfc-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .pfc-menu li {
        border-bottom: 1px solid #eee;
    }

    .pfc-menu a {
        padding: 14px 0;
    }

    .pfc-menu .sub-menu {
        display: block;
        position: static;
        padding: 0 16px;
        border: 0;
        box-shadow: none;
    }
}

@media (max-width: 782px) {
    .admin-bar .pfc-header-v3 {
        top: 46px;
    }
}

@media (max-width: 480px) {

    .pfc-header-v3 .pfc-container {
        width: calc(100% - 28px);
    }

    .pfc-topbar-inner {
        font-size: 10px;
    }

    .pfc-topbar-inner span:last-child {
        display: none;
    }

    .pfc-header-inner {
        gap: 10px;
        min-height: 68px;
    }

    .pfc-brand {
        gap: 8px;
    }

    .pfc-brand img {
        width: 44px;
        height: 44px;
    }

    .pfc-brand-text strong {
        font-size: 16px;
    }

    .pfc-brand-text small {
        font-size: 8px;
    }

    .pfc-header-actions {
        gap: 6px;
    }

    .pfc-tv-button {
        padding: 10px;
        font-size: 11px;
    }
}


/* AECON GOLD IDENTITY V1 */

.pfc-header-v3 {
    border-bottom: 3px solid #c9a84c;
}

.pfc-topbar-inner {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.pfc-topbar-inner span:last-child {
    color: #c9a84c;
}

.pfc-header-v3 .pfc-menu a {
    color: #080808;
}

.pfc-header-v3 .pfc-menu a:hover,
.pfc-header-v3 .pfc-menu a[aria-current="page"]:not([href*="#"]) {
    color: #80651f;
}

.pfc-menu > li > a {
    position: relative;
}

.pfc-menu > li > a::before {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a84c;
    transition: width .2s ease;
}

.pfc-menu > li > a:hover::before,
.pfc-menu > li > a[aria-current="page"]:not([href*="#"])::before {
    width: 100%;
}

.pfc-tv-dot {
    background: #c9a84c;
}

