.wpo-header-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    height: 100%;
}

.wpo-header-content--left {
    justify-content: flex-start;
}

.wpo-header-content--center {
    justify-content: center;
}

.wpo-header-content--right {
    justify-content: flex-end;
}

.wpo-header-content .wpo-brand {
    flex-grow: 0;
}

.wpo-header-content .wpo-nav {
    margin-left: auto;
}

.wpo-header-content > br,
.wpo-header-content > .wpo-header-content-break,
.wpo-header-content > [data-wpo-header-content-break="1"] {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.wpo-header-content > :is(p, h1, h2, h3, h4, h5, h6) {
    margin: 0;
}

.wpo-header-content > .wpo-header-content-next-line {
    flex: 0 0 100%;
}

.wpo-header-content > :is(img, svg, iframe, video, audio) + :is(p, h1, h2, h3, h4, h5, h6) {
    flex: 0 0 100%;
}

.wpo-header-content > :is(h1, h2, h3, h4, h5, h6),
.wpo-header-content .wpo-no-break {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.wpo-header-content .wpo-menu {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    --wpo-menu-default-font-size: 30px;
    --wpo-menu-default-font-family: var(--wpo-font-headings, "Montserrat", sans-serif);
    --wpo-menu-default-font-weight: 600;
    --wpo-menu-default-line-height: 1.2;
}

.wpo-header-content .wpo-menu li {
    margin-left: 30px;
}

.wpo-header-content .wpo-menu a {
    font-weight: inherit !important;
    font-family: inherit !important;
    font-style: inherit !important;
    color: var(--wpo-text, #ffffff) !important;
    text-decoration: none !important;
}

.wpo-header-content .wpo-menu a:hover {
    opacity: .8;
}

/* Keep short header labels on one line in the WPBakery inline editor preview. */
body.vc_editor.compose-mode .vc_wpo_header_content .wpo-header-content > :is(h1, h2, h3, h4, h5, h6, p),
body.vc_editor.compose-mode .vc_wpo_header_content .wpo-header-content .wpo-no-break {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}
