/* Explicit component selectors keep WordPress block-layout rules from changing
   the diagram's flex alignment. The installed theme still supplies its design. */
body .ux-network-panel .ux-network-map,
body .ux-network-panel .ux-network-map > .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
body .ux-network-map > .wp-block-group__inner-container { width: 100%; }
body .ux-network-map .ux-network-top {
    width: fit-content !important;
    max-width: 100%;
    flex: 0 0 auto;
    align-self: center;
    margin: 0 auto 24px !important;
    text-align: center;
}
body .ux-network-map .ux-network-core {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 114px;
    width: 114px !important;
    height: 114px !important;
    min-width: 114px;
    min-height: 114px;
    padding: 8px;
    margin: 0 auto !important;
    border-radius: 50%;
    align-self: center;
    text-align: center;
}
body .ux-network-map .ux-network-core > .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0;
    text-align: center;
}
body .ux-network-map .ux-network-core h3 {
    width: 100%;
    margin: 0 0 2px !important;
    text-align: center;
}
body .ux-network-map .ux-network-core p {
    width: 100%;
    max-width: 98px;
    margin: 0 !important;
    font-size: 9px;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: normal;
}
body .ux-network-map .ux-network-nodes {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 26px 0 0 !important;
}
body .ux-network-map .ux-network-nodes > .wp-block-column {
    display: flex;
    flex: 1 1 0 !important;
    align-items: stretch;
    justify-content: center;
    width: auto !important;
    min-width: 0;
}
body .ux-network-map .ux-network-nodes p { margin: 0 !important; }

/* Style by purpose, never by a language link's position in the menu. */
body .site-nav .nav-list > li.ux-language > a {
    border: 0;
    border-radius: 6px;
    padding: 6px 8px;
    color: #52647e;
    background: transparent;
}
body .site-nav .nav-list > li.ux-language > a[aria-current="page"] {
    color: #246bfd;
    background: #edf4ff;
    font-weight: 750;
}
body .site-nav .nav-list > li.ux-contact-item > a {
    border: 1px solid #dce4ef;
    border-radius: 25px;
    padding: 9px 18px;
}
@media (min-width: 781px) and (max-width: 1050px) {
    body .site-header .nav-list { gap: 12px; }
    body .site-header .header-inner { gap: 16px; }
    body .site-nav .nav-list > li.ux-contact-item > a { padding: 8px 12px; }
}
@media (max-width: 780px) {
    body .site-nav .nav-list > li.ux-contact-item > a {
        border: 0;
        border-radius: 0;
        padding: 12px 0;
    }
    body .site-nav .nav-list > li.ux-language {
        display: inline-block;
        border-bottom: 0;
        margin: 10px 8px 0 0;
    }
}
