/* Scoped to the theme header; vacancy-page branding and footer stay independent. */
#masthead .wr-site-brand-link > img,
#masthead .wr-site-brand-link > noscript { display: none !important; }
#masthead .site-branding:has(.wr-site-brand-link) { flex-shrink: 0; }
#masthead .site-branding .site-title:has(> .wr-site-brand-link) {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}
#masthead .wr-site-brand-link {
    display: inline-flex !important;
    align-items: center;
    text-decoration: none !important;
    height: auto !important;
    line-height: normal !important;
    padding: 0;
}
#masthead .wr-site-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-transform: none;
    white-space: nowrap;
    text-align: left;
    letter-spacing: normal;
}
#masthead .wr-site-brand-name {
    color: #141924;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.4px;
    line-height: 1.15;
}
#masthead .wr-site-brand-w { color: #e51a87; }
#masthead .wr-site-brand-r { color: #3192cf; }
#masthead .wr-site-brand-tagline {
    color: #098cb8;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 5px;
}
#masthead .wr-site-brand-subline {
    color: #73747a;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 2px;
}
@media (min-width: 1201px) {
    #masthead .site-branding:has(.wr-site-brand-link) { margin-right: 28px; }
    #masthead .cspt-navbar .menu > li > a { font-size: 14px; letter-spacing: 0; }
    #masthead .cspt-navbar .menu > li { margin-left: 10px; margin-right: 10px; }
}
#masthead .cspt-sticky-header .wr-site-brand-name { font-size: 26px; }
#masthead .cspt-sticky-header .wr-site-brand-tagline { font-size: 12px; margin-top: 2px; }
#masthead .cspt-sticky-header .wr-site-brand-subline { font-size: 11px; margin-top: 0; }
#masthead .cspt-sticky-header .wr-site-brand-link { padding: 6px 0; }
@media (max-width: 1200px) {
    #masthead .wr-site-brand-name { font-size: 27px; }
    #masthead .wr-site-brand-tagline { font-size: 13px; margin-top: 3px; }
    #masthead .wr-site-brand-subline { font-size: 11px; }
}
@media (max-width: 374px) {
    #masthead .wr-site-brand-name { font-size: 24px; }
    #masthead .wr-site-brand-tagline { font-size: 11px; }
    #masthead .wr-site-brand-subline { font-size: 10px; }
}
