.header {
    position: relative;
    z-index: 1;
}
.sticky-header.main-header {
    background-color: var(--wp--preset--color--accent-2);
    transition: position .25s ease-out;
}
.top-header {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}
.main-header {
    position: relative;
    padding-bottom: 25px;
    &.sticky-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        /* Add any other styling you want for the sticky state */
    }
    &.active {
        padding-bottom: 0;
    }
    & > .container {
        row-gap: 0;
        position: relative;
        flex-wrap: wrap !important;
    }
}
body.logged-in {
    .main-header {
        &.sticky-header {
            position: fixed;
            top: 32px;
        }

    }
}

@media (max-width: 767px) {
    .top-header {
        & > .container {
            &:before {
                content: " ";
                width: 1px;
                height: 100%;
                left: 50%;
                transform: translate(-50%, -50%);
                background-color: #d9d9d9;
                top: 50%;
                position: absolute;
            }
        }
    }
}

@media (min-width: 768px ) {
    .main-header {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .top-header {
        padding-right: 1rem;
        padding-right: 1rem;
    }
    .main-header {
        padding-bottom: 0;
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
@media (min-width: 1280px) {

}

@media (min-width: 1536px) {
    .top-header {
        padding-top: 16px !important;
        padding-bottom: 18px !important;
    }
}