/* Matches the main site's top stripe, hanging BBS badge and pill navigation. */
@font-face{font-family:BBSHeaderNord;src:url('/fonts/NORD-Medium.woff') format('woff');font-display:swap}
@font-face{font-family:BBSHeaderMenu;src:url('/fonts/Montserrat-SemiBold.woff') format('woff');font-display:swap}
header.bbs-shared-header{position:relative;display:block;height:44px;min-height:44px;padding:0;margin:0;background:#fff;overflow:visible;isolation:isolate;z-index:20;border:0}
.bbs-shared-header .bbs-shared-brand{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;box-sizing:border-box;color:#122a37;font:400 1.2rem/1.25 BBSHeaderNord,sans-serif;letter-spacing:0;text-align:center}
.bbs-shared-header .bbs-shared-badge{position:absolute;top:44px;left:10%;width:180px;height:220px;padding:0 0 35px;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;border-radius:0 0 90px 90px;background:#192936;box-shadow:4px 4px 27px 2px #00000025;z-index:2}
.bbs-shared-header .bbs-shared-badge img{display:block;width:120px;height:auto;max-width:100%;margin:0;padding:0}
.bbs-shared-header nav.bbs-shared-nav{position:absolute;top:64px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:30px;width:max-content;max-width:calc(100vw - 32px);padding:10px 40px;box-sizing:border-box;margin:0;border:0;border-radius:90px;background:#fff;box-shadow:3px 3px 6.3px #00000040;z-index:3;font:600 1rem/1.25 BBSHeaderMenu,sans-serif}
.bbs-shared-header .bbs-shared-nav a{position:static;color:#122a37;text-decoration:none;white-space:nowrap;padding:0;margin:0;border:0;font:inherit;letter-spacing:0;background:none}
.bbs-shared-header .bbs-shared-nav a::after{display:none!important}
.bbs-shared-header a:focus-visible{outline:3px solid #b27952;outline-offset:5px}
/* Text-first detail pages need room for the hanging header elements. */
body.bbs-text-first>main{padding-top:250px}
@media(max-width:900px){
 .bbs-shared-header .bbs-shared-badge{left:5%;width:140px;height:180px;border-radius:0 0 70px 70px;padding-bottom:28px}
 .bbs-shared-header .bbs-shared-badge img{width:94px}
 .bbs-shared-header nav.bbs-shared-nav{left:auto;right:5%;transform:none;gap:20px;padding:12px 24px;font-size:14px}
}
@media(max-width:600px){
 header.bbs-shared-header{height:40px;min-height:40px}
 .bbs-shared-header .bbs-shared-brand{min-height:40px;font-size:13px;padding:10px 8px}
 .bbs-shared-header .bbs-shared-badge{top:40px;left:16px;width:84px;height:112px;padding-bottom:18px;border-radius:0 0 42px 42px}
 .bbs-shared-header .bbs-shared-badge img{width:58px}
 .bbs-shared-header nav.bbs-shared-nav{top:56px;right:12px;gap:12px;max-width:calc(100vw - 118px);padding:11px 14px;font-size:11px}
 body.bbs-text-first>main{padding-top:142px}
}

/* Compact course header: all navigation stays above the page content. */
header.bbs-shared-header{height:148px;min-height:148px;background:linear-gradient(#fff 0 44px,#f6f3ee 44px 100%)}
.bbs-shared-header .bbs-shared-badge{left:max(24px,calc((100vw - 1200px)/2));width:82px;height:96px;padding-bottom:16px;border-radius:0 0 41px 41px;box-shadow:2px 3px 14px #00000018}
.bbs-shared-header .bbs-shared-badge img{width:58px}
body.bbs-text-first>main{padding-top:40px}
@media(max-width:900px){
 .bbs-shared-header .bbs-shared-badge{left:24px;width:76px;height:90px;padding-bottom:15px;border-radius:0 0 38px 38px}
 .bbs-shared-header .bbs-shared-badge img{width:54px}
}
@media(max-width:600px){
 header.bbs-shared-header{height:132px;min-height:132px;background:linear-gradient(#fff 0 40px,#f6f3ee 40px 100%)}
 .bbs-shared-header .bbs-shared-badge{left:16px;width:64px;height:80px;padding-bottom:14px;border-radius:0 0 32px 32px}
 .bbs-shared-header .bbs-shared-badge img{width:46px}
 .bbs-shared-header nav.bbs-shared-nav{max-width:calc(100vw - 100px);right:12px;gap:10px;padding:11px 12px;font-size:11px}
 body.bbs-text-first>main{padding-top:28px}
}

/* Remove the top wordmark stripe while preserving the compact badge/menu. */
header.bbs-shared-header{height:104px;min-height:104px;background:#f6f3ee}
.bbs-shared-header .bbs-shared-brand{display:none}
.bbs-shared-header .bbs-shared-badge{top:0}
.bbs-shared-header nav.bbs-shared-nav{top:20px}
@media(max-width:600px){
 header.bbs-shared-header{height:92px;min-height:92px;background:#f6f3ee}
 .bbs-shared-header .bbs-shared-badge{top:0}
 .bbs-shared-header nav.bbs-shared-nav{top:16px}
}
