/* Welcome header owns its layout; shared desktop and phone shell rules cannot override it. */
html body header.top.bk-shared-header{display:flex!important;align-items:center!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:16px!important;height:auto!important;min-height:108px!important;padding:8px 28px!important;grid-template-columns:none!important;grid-template-rows:none!important;background:#173b2b!important;color:#fff4d4!important;overflow:visible;box-sizing:border-box!important;border:0!important;border-radius:0!important;box-shadow:none!important;line-height:1.3!important;position:sticky!important;top:0!important;z-index:60!important}
html body header.top.bk-shared-header>.brand{display:flex!important;align-items:center!important;gap:16px!important;min-height:92px!important;margin:0 auto 0 0!important;grid-column:auto!important;grid-row:auto!important;align-self:center!important;flex:1 1 auto;font:700 24px/1.15 system-ui!important;color:#fff4d4!important;min-width:0}
html body header.top.bk-shared-header>.brand img{display:block;width:92px!important;height:92px!important;min-width:92px!important;max-width:none!important;flex:0 0 92px!important;object-fit:contain}
html body header.top.bk-shared-header>.brand>span{font:700 24px/1.15 system-ui!important;letter-spacing:0!important}
html body header.top.bk-shared-header>.brand small{display:block!important;font:500 10px/1.5 system-ui!important;letter-spacing:1px;color:#ead4a6;margin-top:5px}
html body header.top.bk-shared-header>.sn-utilities{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;width:auto!important;flex:0 0 auto!important;flex-basis:auto!important;margin:0!important;order:0!important;grid-column:auto!important;grid-row:auto!important;grid-template-columns:none!important}
html body header.top.bk-shared-header>.member-access{display:flex!important;align-items:center!important;gap:10px!important;width:auto!important;min-height:0!important;grid-column:auto!important;grid-row:auto!important;margin:0!important}
html body header.top.bk-shared-header>.member-access:empty{display:none!important}
html body header.top.bk-shared-header .sn-store,html body header.top.bk-shared-header .welcome-menu>summary,html body header.top.bk-shared-header .sn-utilities>.member-signin,html body header.top.bk-shared-header .sn-utilities>.sn-search-trigger,html body header.top.bk-shared-header .member-access>a,html body header.top.bk-shared-header .member-access>a.leadership-entry,html body header.top.bk-shared-header .sn-utilities>a.leadership-entry,html body header.top.bk-shared-header>.sn-signout{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-sizing:border-box!important;height:46px!important;min-height:46px!important;min-width:110px!important;padding:10px 14px!important;border:1px solid #c7b786!important;border-radius:8px!important;background:#f4eddc!important;color:#214535!important;font:650 14px/1.3 system-ui!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;cursor:pointer}
html body header.top.bk-shared-header .welcome-menu>summary:hover,html body header.top.bk-shared-header .sn-utilities>a:hover,html body header.top.bk-shared-header .sn-utilities>button:hover{background:#e6d9b9!important}
html body header.top.bk-shared-header svg{width:19px;height:19px;flex:none}
html body header.top.bk-shared-header .welcome-menu{position:relative;align-self:center;z-index:65;font:600 14px/1.4 system-ui;margin:0}
html body header.top.bk-shared-header .welcome-menu>summary{list-style:none}
html body header.top.bk-shared-header .welcome-menu>summary::-webkit-details-marker{display:none}
html body header.top.bk-shared-header .welcome-menu nav{position:absolute;right:0;top:calc(100% + 10px);width:240px;max-width:calc(100vw - 32px);max-height:70dvh;overflow:auto;padding:8px;background:#fffdf7;color:#214535;border:1px solid #c8cbbd;border-radius:10px;box-shadow:0 12px 40px #0003}
html body header.top.bk-shared-header .welcome-menu nav a{display:block;min-height:44px;padding:10px 12px;text-decoration:none;color:#214535!important;border-radius:6px;font:500 14px/1.5 system-ui}
html body header.top.bk-shared-header .welcome-menu nav a:hover{background:#e8efdf}
html body header.top.bk-shared-header :focus-visible{outline:3px solid #e6c871;outline-offset:3px}
@media(max-width:1100px){html body header.top.bk-shared-header{gap:10px!important;padding:8px 18px!important}html body header.top.bk-shared-header>.brand{flex-basis:calc(100% - 125px)!important}html body header.top.bk-shared-header>.sn-utilities{flex:1 1 auto!important;justify-content:flex-end!important}html body header.top.bk-shared-header>.brand img{width:80px!important;height:80px!important;min-width:80px!important;flex-basis:80px!important}html body header.top.bk-shared-header>.brand{min-height:80px!important}}
@media(max-width:500px){html body header.top.bk-shared-header{gap:8px!important;padding:8px 16px 12px!important}html body header.top.bk-shared-header>.brand{gap:10px!important;flex-basis:calc(100% - 105px)!important}html body header.top.bk-shared-header>.brand img{width:72px!important;height:72px!important;min-width:72px!important;flex-basis:72px!important}html body header.top.bk-shared-header>.brand>span{font-size:20px!important}html body header.top.bk-shared-header>.brand small{font-size:9px!important;letter-spacing:.4px}html body header.top.bk-shared-header .sn-store,html body header.top.bk-shared-header .welcome-menu>summary,html body header.top.bk-shared-header .sn-utilities>.member-signin,html body header.top.bk-shared-header .sn-utilities>.sn-search-trigger{min-width:94px!important;height:44px!important;min-height:44px!important;padding:8px 12px!important;font-size:13px!important}}

html body header.top.bk-shared-header a.leadership-entry::before{display:none!important}

html body header.top.bk-shared-header>#club-header-navigation{order:0!important;flex:0 1 auto!important;display:flex!important;grid-template-columns:none!important;justify-content:flex-end!important;width:auto!important;margin:0!important}
html body header.top.bk-shared-header>#club-header-navigation>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:10px 14px!important;border:1px solid #c7b786!important;border-radius:8px!important;background:#f4eddc!important;color:#214535!important;font:650 14px/1.3 system-ui!important;box-shadow:none!important;white-space:nowrap!important;min-width:110px!important;height:46px!important;text-decoration:none!important}
html body header.top.bk-shared-header>#club-header-navigation>a.leadership-entry{background:#f4eddc!important;color:#214535!important;border:1px solid #c7b786!important;box-shadow:none!important}
html body header.top.bk-shared-header .sn-utilities{order:3!important}
html body header.top.bk-shared-header .member-access{order:4!important}
html body header.top.bk-shared-header>#club-header-navigation{order:2!important}
@media(max-width:1100px){html body header.top.bk-shared-header>#club-header-navigation{flex:1 1 auto!important;justify-content:flex-start!important;flex-wrap:wrap!important}html body header.top.bk-shared-header .member-access{flex-wrap:wrap!important}}

html body header.top.bk-shared-header>#club-header-navigation{order:4!important}
html body header.top.bk-shared-header>#club-header-navigation:empty{display:none!important}
html body header.top.bk-shared-header .sn-utilities>.sn-utilities{order:0!important;flex:0 1 auto!important;width:auto!important}
/* Menu navigation remains a vertical list within the member header as well. */
html body header.top.bk-shared-header .welcome-menu>nav{display:block!important;flex-wrap:nowrap!important;gap:0!important;margin:0!important;width:240px!important;max-width:calc(100vw - 32px)!important;height:auto!important}
html body header.top.bk-shared-header .welcome-menu>nav>a{display:block!important;width:auto!important;min-height:44px!important;padding:10px 12px!important;font:500 14px/1.5 system-ui!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body header.top.bk-shared-header .welcome-menu>nav>a:hover{background:#e8efdf!important}

/* Public and signed-in account groups have no legacy navigation padding or divider. */
html body header.top.bk-shared-header>.member-access,html body header.top.bk-shared-header>#club-header-navigation{padding:0!important;border:0!important;box-shadow:none!important;height:auto!important;min-height:0!important;flex-basis:auto!important;gap:10px!important;align-self:center!important}
html body header.top.bk-shared-header>*{box-sizing:border-box}
@media(min-width:1101px){html body header.top.bk-shared-header{height:108px!important;min-height:108px!important;flex-wrap:nowrap!important}html body header.top.bk-shared-header>.brand{flex:1 1 auto!important}}

html body header.top.bk-shared-header>.sn-store{order:2!important;flex:0 0 auto!important;margin:0!important}
/* A compact phone shell shared by public pages and signed-in workspaces. */
html body header.top.bk-shared-header .welcome-menu>nav>.bk-mobile-menu-link{display:none!important}
@media(max-width:767px), (hover:none) and (pointer:coarse) and (max-width:1100px){
 html body header.top.bk-shared-header{display:flex!important;flex-wrap:nowrap!important;grid-template-rows:none!important;gap:12px!important;padding:8px 16px!important;height:72px!important;min-height:72px!important}
 html body header.top.bk-shared-header>.brand{flex:1 1 auto!important;flex-basis:auto!important;width:auto!important;min-height:56px!important;padding:0!important;gap:8px!important;border:0!important;box-shadow:none!important;grid-column:auto!important;grid-row:auto!important}
 html body header.top.bk-shared-header>.brand img{width:56px!important;height:56px!important;min-width:56px!important;flex-basis:56px!important}
 html body header.top.bk-shared-header>.brand>span{font-size:18px!important}
 html body header.top.bk-shared-header>.brand small{display:none!important}
 html body header.top.bk-shared-header>.welcome-menu{flex:0 0 76px!important;width:76px!important;min-width:0!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
 html body header.top.bk-shared-header>.welcome-menu>summary{width:76px!important;min-width:76px!important;height:44px!important;min-height:44px!important;padding:8px!important;font-size:13px!important}
 html body header.top.bk-shared-header>.sn-store,html body header.top.bk-shared-header>.member-signin,html body header.top.bk-shared-header>.member-access,html body header.top.bk-shared-header>#club-header-navigation,html body header.top.bk-shared-header>.sn-signout{display:none!important}
 html body header.top.bk-shared-header .sn-utilities{display:contents!important}
 /* Match the specificity of desktop controls, including nested React utilities. */
 html body header.top.bk-shared-header .sn-utilities>a,
 html body header.top.bk-shared-header .sn-utilities>button,
 html body header.top.bk-shared-header .sn-utilities>.member-signin,
 html body header.top.bk-shared-header .sn-utilities>.sn-search-trigger,
 html body header.top.bk-shared-header .sn-utilities>a.leadership-entry{display:none!important}
 html body header.top.bk-shared-header .welcome-menu>nav{position:absolute!important;top:calc(100% + 8px)!important;right:0!important;left:auto!important;width:min(280px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:min(60dvh,440px)!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box!important;padding:6px!important}
 html body header.top.bk-shared-header .welcome-menu>nav>.bk-mobile-menu-link{display:block!important}
 html body header.top.bk-shared-header .welcome-menu>nav>a,html body header.top.bk-shared-header .welcome-menu>nav>button{display:block!important;width:100%!important;min-height:44px!important;height:auto!important;padding:10px 12px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#214535!important;font:500 14px/1.5 system-ui!important;text-align:left!important;box-sizing:border-box!important;white-space:normal!important;text-decoration:none!important}
 html body header.top.bk-shared-header .welcome-menu>nav>button:hover{background:#e8efdf!important}
 html{scroll-padding-top:80px}
}

html body header.top.bk-shared-header .welcome-menu>nav>.bk-mobile-menu-link[hidden]{display:none!important}

/* BEGIN MEDIEVAL WORDMARK TEST. Original text font rules above are preserved.
   Only the lettering uses a mask; the crest artwork is untouched. */
@supports (mask-image:url("/assets/brew-knights-header-wordmark-mask-v1.svg")) or (-webkit-mask-image:url("/assets/brew-knights-header-wordmark-mask-v1.svg")){
 html body header.top.bk-shared-header>.brand>span>.bk-brand-wordmark{display:block;width:6.5em;max-width:100%;height:1.5em;overflow:hidden;text-indent:-9999px;background:currentColor;-webkit-mask:url("/assets/brew-knights-header-wordmark-mask-v1.svg") left center/contain no-repeat;mask:url("/assets/brew-knights-header-wordmark-mask-v1.svg") left center/contain no-repeat}
}
@media(max-width:767px), (hover:none) and (pointer:coarse) and (max-width:1100px){
 html body header.top.bk-shared-header>.brand>span>.bk-brand-wordmark{width:6.5em;height:1.45em}
 html body header.top.bk-shared-header>.brand small{display:block!important;font-size:8px!important;line-height:1.4!important;letter-spacing:.5px!important;margin-top:3px!important;white-space:nowrap}
}
/* END MEDIEVAL WORDMARK TEST */
