/* Shared public/portal masthead: one column per link, plus a dedicated crest. */
body .efa-unified-header .efa-header-meta{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;padding:10px 3% 18px;background:#fff;color:#0040bf}
body .efa-unified-header .efa-header-meta .efa-sponsors{display:block!important;min-width:0;padding:0;position:relative}
body .efa-unified-header .efa-header-meta .efa-sponsor-strip{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;align-items:center;width:100%}
body .efa-unified-header .efa-sponsor-strip .header-sponsor{display:flex;align-items:center;justify-content:center;min-width:0;padding:0}
body .efa-unified-header .efa-sponsor-strip img{display:block;width:100%;max-width:180px;height:48px;object-fit:contain}
body .efa-unified-header .efa-header-meta .sponsor-disclosure{position:static;display:block;margin:4px 0 0;font:400 11px/1.3 Montserrat,Arial,sans-serif;text-align:center;color:#586b87}
body .efa-unified-header .efa-header-meta .efa-utilities{padding:0;margin:0;align-self:center;background:transparent}
body .efa-unified-header .efa-header-meta .language-select{font:400 14px/1.25 Montserrat,Arial,sans-serif;background:#fff;color:#0040bf;border:1px solid #ccd8ee;min-width:62px;padding:7px 8px}
body .efa-unified-header .efa-unified-nav.sticky-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) 120px repeat(6,minmax(0,1fr));align-items:center;gap:12px;padding:12px 2%;background:#fff}
body .efa-unified-header .efa-unified-nav.sticky-navigation .brand{grid-column:6!important;grid-row:1!important;justify-self:center;margin:0}
body .efa-unified-header .efa-unified-nav.sticky-navigation .home-nav-link{grid-column:1!important;grid-row:1!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav{display:contents!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a,
body .efa-unified-header .efa-unified-nav.sticky-navigation .home-nav-link{font-size:18px!important;font-weight:800;letter-spacing:0!important;white-space:nowrap;text-transform:uppercase;justify-self:center;grid-row:1!important;padding:14px 0;min-width:0}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(1){grid-column:2!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(2){grid-column:3!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(3){grid-column:4!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(4){grid-column:5!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(5){grid-column:7!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(6){grid-column:8!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(7){grid-column:9!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(8){grid-column:10!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(9){grid-column:11!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(10){grid-column:12!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation .menubtn{display:none!important}
/* Compact layouts reserve the centre for the crest and put links below it. */
body .efa-unified-header .efa-unified-nav.sticky-navigation:is(.efa-compact,.efa-nav-overflow){grid-template-columns:1fr auto 1fr!important;padding:12px 3%;column-gap:12px!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation:is(.efa-compact,.efa-nav-overflow) .brand{grid-column:2!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation:is(.efa-compact,.efa-nav-overflow) .menubtn{display:block!important;grid-column:3!important;grid-row:1;justify-self:end}
body .efa-unified-header .efa-unified-nav.sticky-navigation:is(.efa-compact,.efa-nav-overflow) nav{display:none!important}
body .efa-unified-header .efa-unified-nav.sticky-navigation:is(.efa-compact,.efa-nav-overflow) nav.open{display:grid!important;grid-column:1/-1!important;grid-row:2!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0;padding:12px 0;gap:10px 20px}
body .efa-unified-header .efa-unified-nav.sticky-navigation:is(.efa-compact,.efa-nav-overflow) nav a:nth-child(n){grid-column:auto!important;grid-row:auto!important;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1399px){
 body .efa-unified-header .efa-unified-nav.sticky-navigation{grid-template-columns:1fr auto 1fr!important;padding:12px 3%;column-gap:12px!important}
 body .efa-unified-header .efa-unified-nav.sticky-navigation .brand{grid-column:2!important}
 body .efa-unified-header .efa-unified-nav.sticky-navigation .menubtn{display:block!important;grid-column:3!important;grid-row:1;justify-self:end}
 body .efa-unified-header .efa-unified-nav.sticky-navigation nav{display:none!important}
 body .efa-unified-header .efa-unified-nav.sticky-navigation nav.open{display:grid!important;grid-column:1/-1!important;grid-row:2!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0;padding:12px 0;gap:10px 20px}
 body .efa-unified-header .efa-unified-nav.sticky-navigation nav a:nth-child(n){grid-column:auto!important;grid-row:auto!important;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:650px){
 body .efa-unified-header .efa-header-meta{gap:12px;padding:8px 4%}
 body .efa-unified-header .efa-header-meta .efa-sponsor-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px}
 body .efa-unified-header .efa-sponsor-strip img{height:30px}
 body .efa-unified-header .efa-unified-nav.sticky-navigation nav.open{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Keep masthead content within the same centred width as the footer. */
body .efa-unified-header .efa-header-meta{padding-left:max(6%,calc((100% - 1440px)/2));padding-right:max(6%,calc((100% - 1440px)/2))}
body .efa-unified-header .efa-unified-nav.sticky-navigation{width:88%;max-width:1440px;margin-inline:auto;box-sizing:border-box}
@media(min-width:1400px){
 body .efa-unified-header .efa-unified-nav.sticky-navigation :is(.home-nav-link,nav a){font-size:16px!important}
 body .efa-unified-header .efa-unified-nav.sticky-navigation:not(.efa-compact):not(.efa-nav-overflow) :is(.home-nav-link,nav a){font-size:16px!important;justify-self:start}
 body .efa-unified-header .efa-unified-nav.sticky-navigation:not(.efa-compact):not(.efa-nav-overflow) nav a:nth-child(n+5){justify-self:end}
}
@media(max-width:650px){body .efa-unified-header .efa-unified-nav.sticky-navigation{width:92%}}
