@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:wdth,wght@75..125,400..900&family=Plus+Jakarta+Sans:wght@500..800&display=swap');
.site-header-top-row::before,.site-header-top-row::after,.site-header-main::before,.site-header-main::after{display:none;content:none}
.site-header .top-cart-content-wrapper{left:auto;right:15px;top:100%;padding-top:0;max-width:calc(100vw - 30px)}
.site-header .top-cart-content{width:360px;max-width:calc(100vw - 30px);margin-top:0;padding:14px;background:#fff;border:1px solid #e5e7ec;border-top:2px solid #bd272d;border-radius:0 0 8px 8px!important;box-shadow:0 8px 24px rgba(0,0,0,.1)}
.site-header .top-cart-content::after{display:none}
.site-header .site-header-dropdown:hover .top-cart-content{display:none!important}
.site-header .site-header-dropdown.is-open .top-cart-content{display:block!important;width:360px!important}
.site-header .top-cart-content .site-header-menu-list{padding:0;margin:0;max-height:65vh;overflow-y:auto;list-style:none}
.site-header .site-header-menu-list>li{padding:0;margin:0;float:none}
.site-header-menu-list a{display:block;padding:11px 10px;font-size:14px;line-height:1.5}
.site-header-menu-list a:hover{background:#f7f8fa}
.site-header-search-form{display:flex;gap:8px}
.site-header-search-form input{min-width:0;flex:1}
.site-header-cart-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;padding-top:12px}
/* MainV2: shared public-site navigation; scoped to avoid Bootstrap collisions. */
.site-header{background:#c62a30;border:0;color:#fff;font-family:'Plus Jakarta Sans',system-ui,sans-serif}
.site-header-spaced{margin-bottom:0}
.site-header .container{width:100%;max-width:1200px;padding-left:24px;padding-right:24px}
.site-header a{color:inherit}
.site-header-top{background:#0a1528;color:#a9b6cc;border:0;font-family:'Mona Sans',system-ui,sans-serif}
.site-header-top-row{min-height:30px;gap:20px}
.site-header-contact{font-size:13px;gap:18px}
.site-header-contact a{display:inline-flex;align-items:center;gap:6px}
.site-header-contact a svg{flex:none}
.site-header .site-header-announcement{padding:0}
.site-header .site-header-announcement .news a{color:#fff;font-size:11.5px;font-weight:700}
.site-header-main{min-height:64px;gap:6px;padding-top:0;padding-bottom:0}
.site-header-logo{display:flex;flex:0 0 346px;align-items:center;gap:12px;padding:0 16px;height:64px;background:#c62a30;box-shadow:0 8px 18px #c62a3038}
.site-header-logo>img{width:76px;height:44px;object-fit:contain}
.site-header-slogan{display:block;flex:none}
.site-header-slogan img{width:226px;height:27px}
.site-header-primary{display:flex;gap:2px;flex:1;min-width:0;overflow:hidden}
.site-header-primary>a{display:flex;align-items:center;gap:7px;padding:8px 9px;font-size:14px;font-weight:600;color:#fff;--duo:#fff;--duo-op:.32}
.site-header-primary>a:hover{background:#0000001f;color:#fff}
.site-header-primary>a[hidden],.site-header-menu-list>li[hidden]{display:none!important}
.site-header-actions{gap:4px;color:white;font-size:14px}
.site-header-account{gap:8px;padding:8px}
.site-header-username{color:white}
.site-header-actions .site-header-study{background:white;color:#a8232a;padding:10px 14px;border-radius:10px!important;text-transform:uppercase;font-size:13px;font-weight:700;letter-spacing:.05em;line-height:1.15}
.site-header-actions .site-header-study:hover{background:#f5f5f5;color:#8e1d23}
.site-header-tools{gap:0}
.site-header-icon-button{width:36px;height:44px;background:transparent;color:white;border:0}
.site-header-icon-button:hover,.site-header-icon-button[aria-expanded=true]{background:#00000029;color:white}
.site-header .top-cart-content{color:#13294b;border-top-color:#c62a30}
.site-header .site-header-menu-list a{color:#13294b}
.site-header .site-header-menu-list a:hover{background:#e8ecf2}
.site-header-mobile-account,.site-header-mobile-search{display:none}
.site-header button:focus-visible,.site-header a:focus-visible{outline-color:#c9a45c}
@media(max-width:1120px){.site-header-account{display:none}.site-header-mobile-account{display:block;border-top:1px solid #d6dde7}}
@media(max-width:760px){
 .site-header .container{padding-left:16px;padding-right:16px}
 .site-header-top-row{display:flex;flex-wrap:wrap;gap:0;min-height:30px;padding-top:4px;padding-bottom:4px}
 .site-header-contact{width:100%;justify-content:space-between;font-size:11px;gap:8px}
 .site-header .site-header-announcement .news a{text-align:left;font-size:10px}
 .site-header-main{display:flex;min-height:66px;gap:0;padding-top:0;padding-bottom:0}
 .site-header-logo{flex:0 0 100px;height:66px;flex-direction:column;justify-content:center;gap:4px;padding:0;margin-right:4px}
 .site-header-logo>img{width:50px;height:29px}
 .site-header-slogan img{width:104px;height:27px;max-width:none}
 .site-header-primary{justify-content:flex-end}
 .site-header-primary>a{flex-direction:column;gap:3px;padding:6px;font-size:11px}
 .site-header-primary>a svg{width:22px;height:22px}
 .site-header-actions{display:flex;gap:0;margin-left:auto}
 .site-header-actions .site-header-study{padding:5px 9px;min-height:44px;font-size:10.5px;letter-spacing:.04em;display:flex;align-items:center}
 .site-header-study>span>span{display:block}
 .site-header-tools{display:flex;gap:0}
 .site-header-icon-button{width:32px;height:44px}
 .site-header-dropdown:has([aria-controls=site-header-search]){display:none}
 .site-header-mobile-search{display:block}
 .site-header .top-cart-content-wrapper{left:16px;right:16px}
}

.site-header .site-header-mobile-search{padding:12px 10px}.site-header-primary>a{flex:none}.site-header .site-header-dropdown.is-open .top-cart-content{display:block!important}
@media(max-width:760px){.site-header .site-header-dropdown.is-open .top-cart-content{width:100%!important;max-width:none}.site-header-search-form input{font-size:16px}}
.site-header{position:relative;z-index:200}
.site-header a{text-decoration:none}
.site-header-top-row{display:flex;align-items:center}
.site-header-contact{display:flex;flex-shrink:0;align-items:center;line-height:1.5}
.site-header .site-header-announcement{flex:1;min-width:0;width:auto;max-width:none;margin:0 0 0 auto;text-align:right}
.site-header-announcement .headline-news-content{margin:0}
.site-header-announcement .news{padding:0;float:none;width:auto}
.site-header .site-header-announcement .news a{display:block;padding:3px 0;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-header-main{display:flex;align-items:center;position:relative}
.site-header-primary{align-items:center;white-space:nowrap}
.site-header-actions{display:flex;align-items:center;justify-content:flex-end;min-width:0;margin-left:auto;font-weight:600;line-height:1.5;flex-shrink:0}
.site-header-actions>a,.site-header-account>a{white-space:nowrap}
.site-header-account{display:flex;align-items:center;min-width:0}
.site-header-username{font-weight:700;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-header-tools{display:flex;align-items:center}
.site-header .site-header-dropdown{position:static;margin:0;float:none}
.site-header-icon-button{display:flex;align-items:center;justify-content:center;padding:0;border-radius:6px!important}
.site-header .site-header-icon-button>i{position:static;top:auto;left:auto;width:auto;background:none;color:inherit;padding:0;margin:0;font-size:16px;border-radius:0!important}
.site-header .top-cart-content-wrapper{position:absolute;z-index:210}
.site-header .top-cart-content{display:none}
@media(max-width:1120px){.site-header-account{display:none}}
@media(max-width:760px){.site-header .site-header-announcement{flex-basis:100%}.site-header .site-header-announcement:has(.headline-news-content:empty){display:none}}
/* Updated MainV2 header: compact horizontal brand and full-width search. */
.site-header-main{min-height:68px}
.site-header-logo-slot{flex:0 0 180px;width:180px;height:68px}
.site-header-logo-slot .site-header-logo{width:175px;height:68px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:0;box-shadow:none}
.site-header-brand-image,.site-header-brand-image img{display:block;width:172px;height:38px;object-fit:contain}
.site-header-slogan,.site-header-slogan img{display:block;width:130px;height:16px}
.site-header-account{padding:0;gap:4px}
.site-header-account>a{display:flex;align-items:center;gap:7px;padding:8px 10px}
.site-header-account>a:hover{background:#0000001f}
.site-header-search-toggle,.site-header-search-close{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:0;background:transparent;color:inherit;padding:0;cursor:pointer}
.site-header-search-toggle:hover,.site-header-search-toggle[aria-expanded=true]{background:#00000029}
.site-header-search-panel{background:#fff;color:#13294b;border-bottom:1px solid #d6dde7;box-shadow:0 10px 24px #13294b1a}
.site-header-search-panel[hidden]{display:none}
.site-header-search-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding-top:14px;padding-bottom:14px}
.site-header-search-row::before,.site-header-search-row::after{display:none}
.site-header-search-field{flex:1 1 360px;display:flex;align-items:center;gap:10px;border:1.5px solid #13294b;padding:0 14px;min-height:48px;margin:0}
.site-header-search-field input{min-width:0;flex:1;border:0;background:transparent;color:#13294b;font:inherit;font-size:16px;box-shadow:none}
.site-header-search-submit{min-height:48px;padding:0 20px;border:0;border-radius:10px!important;background:#c62a30;color:#fff;font:inherit;font-weight:700}
.site-header-search-submit:hover{background:#a8232a}
.site-header-search-close{font-size:28px}
.site-header-search-suggestions{display:flex;flex:1 1 100%;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:#46506a}
.site-header-search-suggestions button{background:#fff;color:#13294b;border:1px solid #c9d2df;padding:6px 10px;font:inherit;font-weight:600}
.site-header-search-suggestions button:hover{border-color:#13294b}
.site-header-actions .site-header-study{min-height:40px;display:flex;align-items:center;justify-content:center;text-align:center}
@media(min-width:981px){.site-header-account{display:flex}.site-header-mobile-account{display:none}}
@media(max-width:980px){.site-header-account{display:none}.site-header-mobile-account{display:block}}
@media(max-width:760px){
 .site-header-top-row{justify-content:center;padding-top:0;padding-bottom:0}
 .site-header-contact{justify-content:center;gap:0 22px;font-size:13px;flex-wrap:wrap}
 .site-header-contact a{display:flex;align-items:center;min-height:30px}
 .site-header .site-header-announcement .news a{text-align:center;padding:0 0 3px}
 .site-header-main{min-height:66px;gap:2px}
 .site-header-logo-slot{flex-basis:74px;width:74px;height:66px;margin-right:6px}
 .site-header-logo-slot .site-header-logo{width:74px;height:66px;margin-left:0;gap:3px}
 .site-header-brand-image,.site-header-brand-image img{width:70px;height:40px}
 .site-header-slogan,.site-header-slogan img{width:62px;height:16px}
 .site-header-search-toggle{width:40px}
 .site-header-search-field{flex-basis:180px}
 .site-header-search-row{gap:10px 8px}
 .site-header-search-submit{padding:0 16px}
 .site-header-actions .site-header-study{min-height:44px}
}

/* The legacy theme forces Gotham on links and text. Keep header typography scoped. */
.site-header :is(a,p,em,strong){font-family:inherit!important}

/* Keep the announcement aligned with the right edge of the header. */
.site-header .container.site-header-announcement .headline-news-content .news a{text-align:right}

/* Compact search bar. */
.site-header .site-header-search-panel{background:#fff;border-bottom:1px solid #e1e7ef;box-shadow:0 6px 18px #13294b0a}
.site-header .site-header-search-row{max-width:800px;width:100%;flex-wrap:nowrap;gap:8px;padding:12px 24px;font-family:'Plus Jakarta Sans',sans-serif}
.site-header .site-header-search-field{flex:1 1 auto;min-width:0;min-height:42px;border:1px solid #d6dde7;border-radius:8px!important;background:#f5f7fa;padding:0 12px;gap:10px}
.site-header .site-header-search-field:focus-within{border-color:#8799b3;background:#fff;box-shadow:0 0 0 3px #13294b08}
.site-header .site-header-search-field>i{font-size:14px;color:#8794a8}
.site-header .site-header-search-field input{width:100%;height:40px;padding:0;outline:0;font-family:inherit;font-size:14px;font-weight:400;line-height:normal}
.site-header .site-header-search-field input::placeholder{color:#8794a8}
.site-header .site-header-search-submit{flex:none;min-height:42px;padding:0 20px;border-radius:8px!important;font-size:13px;background:#13294b;color:#fff}
.site-header .site-header-search-submit:hover{background:#213d65}
.site-header .site-header-search-close{width:36px;height:40px;color:#66738a;border-radius:8px!important}
.site-header .site-header-search-close:hover{background:#eef2f7}
.site-header .site-header-search-close svg{display:block;flex:none}
.site-header .site-header-mobile-search input{border:1px solid #d6dde7;border-radius:8px!important;background:#f5f7fa;box-shadow:none}
.site-header .site-header-mobile-search .btn{background:#13294b;border:0;border-radius:8px!important;font-size:13px}
@media(max-width:760px){.site-header .site-header-search-row{padding:10px 16px;gap:6px}.site-header .site-header-search-field input{font-size:16px}.site-header .site-header-search-submit{padding:0 14px}.site-header .site-header-search-close{width:28px}}

/* Keep overflow next to the navigation links and the basket next to the study room. */
.site-header-navigation{display:flex;align-items:center;flex:1;min-width:0;gap:2px}
.site-header-navigation .site-header-primary{flex:0 1 auto;justify-content:flex-start}
.site-header-navigation>.site-header-dropdown{flex:none}
.site-header-actions .site-header-tools{flex:none;margin-left:4px}
@media(max-width:760px){.site-header-navigation{gap:0}.site-header-actions .site-header-tools{margin-left:2px}}

/* Anchor the overflow panel to its trigger; JS keeps it within the viewport. */
.site-header .site-header-navigation>.site-header-dropdown{position:relative}
.site-header #site-header-menu{left:0;right:auto;top:100%;width:360px;max-width:calc(100vw - 32px)}
.site-header-actions .site-header-tools{margin-left:0;margin-right:4px}
@media(max-width:760px){.site-header-actions .site-header-tools{margin-right:2px}}

/* Decorative announcement icon stays with the rotating headline link. */
.site-header .site-header-announcement .news a::before{content:"";display:inline-block;width:16px;height:16px;margin-right:8px;vertical-align:-3px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M3%2010h4l9-5v14l-9-5H3z%22%20fill%3D%22white%22%20fill-opacity%3D%22.35%22%2F%3E%3Cpath%20d%3D%22M3%2010h4l9-5v14l-9-5H3zM7%2014v5h3v-4M19%209.5v5%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222.25%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
