.hambo-brand-header{display:flex;align-items:center;justify-content:space-between;gap:2rem;position:relative}
.wp-site-blocks>header.wp-block-template-part{position:sticky;top:0;z-index:100;background:#151515}
.hambo-brand{display:inline-flex;align-items:center;gap:1rem;text-decoration:none;flex-shrink:0}
.hambo-brand img{width:64px;height:64px;object-fit:contain;display:block}
.hambo-wordmark{display:inline-flex;gap:0;color:#fff;font-size:1.75rem;font-weight:800;line-height:1;letter-spacing:-.04em;white-space:nowrap}
.hambo-domain{color:#c4ff00}
.hambo-header-menu{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1.25rem;list-style:none;margin:0;padding:0;font-size:1rem}
.hambo-header-menu a{display:block;color:#fff;text-decoration:none;padding:.5rem 0;overflow-wrap:anywhere}
.hambo-header-menu a:hover,.hambo-header-menu .current-menu-item>a{color:#c4ff00}
.hambo-header-menu li{position:relative}
.hambo-header-menu .sub-menu{display:none;position:absolute;right:0;top:100%;min-width:12rem;max-width:calc(100vw - 2rem);background:#242424;border:1px solid #48483e;padding:.5rem 1rem;list-style:none;z-index:20}
.hambo-header-menu li:hover>.sub-menu,.hambo-header-menu li:focus-within>.sub-menu{display:block}
.hambo-header-menu .sub-menu .sub-menu{position:static;padding-left:1rem}
.hambo-mobile-nav{display:none}
.hambo-brand-header :focus-visible{outline:3px solid #c4ff00;outline-offset:4px}
@media(max-width:767px){
.hambo-wordmark,.hambo-desktop-nav{display:none}
.hambo-brand img{width:48px;height:48px}
.hambo-mobile-nav{display:block}
.hambo-mobile-nav summary{cursor:pointer;color:#fff;border:1px solid #c4ff00;border-radius:.4rem;padding:.5rem 1rem;font-size:1rem}
.hambo-mobile-nav nav{position:absolute;top:calc(100% + 1rem);left:0;right:0;background:#151515;border:1px solid #48483e;padding:1rem;z-index:30;max-height:70vh;overflow:auto}
.hambo-mobile-nav .hambo-header-menu{display:block}
.hambo-mobile-nav .hambo-header-menu .sub-menu{display:block;position:static;border:0;background:transparent;padding:0 0 0 1rem}
}
.hambo-signup{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.4rem 1.1rem;border-radius:999px;background:#c4ff00;color:#151515!important;font-size:1rem;font-weight:750;text-decoration:none;white-space:nowrap;margin-left:auto}
.hambo-signup:hover{background:#dcff65}
@media(max-width:767px){.hambo-brand-header{gap:.75rem}.hambo-signup{padding:.4rem .9rem}}
.hambo-header-menu .hambo-submenu-toggle{display:flex;align-items:center;gap:.6rem;background:transparent;color:#fff;border:0;padding:.5rem 0;min-height:44px;font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.hambo-submenu-toggle::after{content:"";width:.4rem;height:.4rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-.25rem;flex-shrink:0}
.hambo-submenu-toggle[aria-expanded=true]::after{transform:rotate(225deg);margin-top:.25rem}
.hambo-header-menu .hambo-submenu-toggle:hover,.hambo-header-menu .current-menu-ancestor>.hambo-submenu-toggle{color:#c4ff00}
.hambo-header-menu.hambo-enhanced-menu .menu-item-has-children>.sub-menu{display:none}
.hambo-header-menu.hambo-enhanced-menu .menu-item-has-children.hambo-submenu-open>.sub-menu{display:block}
.hambo-submenu-toggle:focus-visible{outline:3px solid #c4ff00;outline-offset:4px}
@media(max-width:767px){.hambo-mobile-nav .hambo-header-menu .hambo-submenu-toggle{width:100%;justify-content:space-between}.hambo-mobile-nav .hambo-header-menu.hambo-enhanced-menu .menu-item-has-children>.sub-menu{display:none}.hambo-mobile-nav .hambo-header-menu.hambo-enhanced-menu .menu-item-has-children.hambo-submenu-open>.sub-menu{display:block}}

.hambo-account{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-left:auto;min-height:44px;padding:.4rem 0;background:transparent;border:0;border-radius:0;color:#c4ff00!important;font-size:1rem;font-weight:650;text-decoration:underline;text-underline-offset:.2em;white-space:normal;max-width:20rem;text-align:right}
.hambo-account:hover{color:#dcff65!important;background:transparent}
.hambo-member-header .hambo-desktop-nav{flex:1;min-width:0}


.hambo-visitor-actions{display:flex;align-items:center;gap:1rem;margin-left:auto;flex-shrink:0}.hambo-visitor-actions .hambo-signup{margin-left:0}.hambo-login{display:inline-flex;align-items:center;min-height:44px;color:#fff;text-decoration:none;white-space:nowrap}.hambo-login:hover{color:#c4ff00}@media(max-width:767px){.hambo-visitor-actions{gap:.6rem}.hambo-brand-header:has(.hambo-visitor-actions){flex-wrap:wrap}}

/* Matching account actions at the right of the signed-in header. */
.hambo-member-actions{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;margin-left:auto;flex-shrink:0}
.hambo-member-actions .hambo-account,.hambo-member-actions .hambo-logout{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;min-width:7.5rem;margin:0;padding:.4rem 1.1rem;border:1px solid #c4ff00;border-radius:999px;background:#c4ff00;color:#151515!important;font-size:1rem;font-weight:750;line-height:1.4;text-decoration:none;white-space:nowrap;text-align:center}
.hambo-member-actions .hambo-account:hover,.hambo-member-actions .hambo-logout:hover{background:#dcff65;border-color:#dcff65;color:#151515!important}
/* Keep logo/menu on row one and equal account buttons on row two. */
@media(max-width:767px){
.hambo-member-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.65rem .75rem}
.hambo-member-header .hambo-brand{grid-column:1;grid-row:1;justify-self:start}
.hambo-member-header .hambo-mobile-nav{grid-column:2;grid-row:1;margin:0;justify-self:end}
.hambo-member-header .hambo-member-actions{grid-column:1 / -1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;width:100%;min-width:0;margin:0}
.hambo-member-actions .hambo-account,.hambo-member-actions .hambo-logout{width:100%;min-width:0;max-width:none;min-height:44px;padding:.55rem .65rem;font-size:.95rem;white-space:normal;overflow-wrap:anywhere}
}


/* Compact member header: locations beside the globe, topics below. */
.hambo-member-topics{display:none}
@media(min-width:768px){
.hambo-site-header:has(.hambo-member-header){padding-block:.75rem}
.hambo-member-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.25rem 1.25rem;align-items:center}
.hambo-member-header>.hambo-brand{grid-column:1;grid-row:1}
.hambo-member-header>.hambo-desktop-nav{grid-column:2;grid-row:1;min-width:0}
.hambo-member-header>.hambo-member-actions{grid-column:3;grid-row:1;margin:0}
.hambo-member-header>.hambo-member-topics{display:block;grid-column:1 / -1;grid-row:2;margin:0;padding:0}
.hambo-member-topics .hambo-header-menu{gap:0 1.25rem}
.hambo-member-topics a{min-height:44px;box-sizing:border-box;align-content:center}
}
.hambo-mobile-nav .hambo-member-topics{display:block}
/* Keep both account actions visible and in a fixed left-to-right order. */
.hambo-member-header>.hambo-member-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));direction:ltr;gap:.6rem}
.hambo-member-actions>a.hambo-account,.hambo-member-actions>a.hambo-logout{display:inline-flex!important;visibility:visible!important;opacity:1;min-width:0;width:100%;max-width:none}
.hambo-member-actions>a.hambo-account{grid-column:1;grid-row:1}
.hambo-member-actions>a.hambo-logout{grid-column:2;grid-row:1}
/* Keep the sticky site header below the administrator toolbar. */
body.admin-bar .wp-site-blocks>header.wp-block-template-part{top:32px}
@media(max-width:782px){body.admin-bar .wp-site-blocks>header.wp-block-template-part{top:46px}}
@media(max-width:600px){body.admin-bar .wp-site-blocks>header.wp-block-template-part{top:0}}

/* Keep the desktop menu immediately after the globe and wordmark. */
@media(min-width:768px){.hambo-brand-header>.hambo-desktop-nav{flex:1;min-width:0}}
