/* Shared site navigation, isolated from legacy homepage and ad-page rules. */
.s78-header{box-sizing:border-box;position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:1440px;min-height:98px;height:auto;margin:0 auto;padding:16px 48px;background:#E8E0D2;color:#111111;font:400 1rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border:0}
.s78-header *{box-sizing:border-box}
.s78-header .s78-header-brand{display:flex;align-items:center;gap:12px;flex:none;min-width:0;text-decoration:none}
.s78-header .s78-header-brand img{display:block;object-fit:contain;height:auto;max-height:none}
.s78-header .s78-header-bear{width:42px}
.s78-header .s78-header-wordmark{width:220px;min-width:0}
.s78-header nav{display:flex;align-items:center;gap:22px;width:auto;margin:0;padding:0;order:initial;font-size:.9375rem;font-weight:600}
.s78-header nav a,.s78-header .s78-industries>summary{display:flex;align-items:center;min-height:44px;padding:8px 0;line-height:1.45;color:#111111;text-decoration:none;white-space:nowrap;font-size:inherit;font-weight:600;border:0;border-radius:0;background:none}
.s78-header nav a:hover,.s78-header .s78-industries>summary:hover{color:#1E5A48;text-decoration:underline;text-underline-offset:5px}
.s78-header a:focus-visible,.s78-header summary:focus-visible{outline:3px solid #6B3E24;outline-offset:3px}
.s78-header .s78-header-book{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex:none;min-height:44px;padding:12px 20px;border:1px solid #1E5A48;border-radius:5px;background:#1E5A48;color:#E8E0D2;font-size:1rem;font-weight:700;line-height:1.5;text-decoration:none;white-space:nowrap}
.s78-header .s78-header-book:hover{background:#6B3E24;border-color:#6B3E24}
.s78-header details{margin:0;padding:0;border:0;border-radius:0;background:none}
.s78-header summary{list-style:none;cursor:pointer}
.s78-header summary::-webkit-details-marker{display:none}
.s78-header .s78-industries{position:relative}
.s78-header .s78-industries>summary{gap:8px;justify-content:space-between}
.s78-header summary::after{content:none}
.s78-header .s78-industries[open]>summary>span{transform:rotate(180deg)}
.s78-header .s78-industry-menu{position:absolute;top:calc(100% + 8px);left:-20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;width:560px;max-width:calc(100vw - 48px);max-height:min(65dvh,620px);overflow:auto;overscroll-behavior:contain;padding:16px 20px;background:#E8E0D2;border:1px solid #162B46;border-radius:6px;box-shadow:0 14px 32px #11111124}
.s78-header .s78-industry-menu a{white-space:normal;padding:8px 10px;font-size:.9375rem;font-weight:400;border-radius:3px}
.s78-header .s78-industry-menu a:hover{background:#162B4612}
.s78-header .s78-mobile-menu{display:none}
@media(max-width:1200px) and (min-width:801px){.s78-header{flex-wrap:wrap;gap:12px 24px}.s78-header .s78-desktop-nav{order:3;width:100%}.s78-header nav{justify-content:center;flex-wrap:wrap;gap:12px 24px}.s78-header .s78-industry-menu{left:-80px}}
@media(max-width:800px){
 .s78-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;min-height:0;padding:12px 20px}
 .s78-header .s78-header-brand{grid-column:1;grid-row:1;gap:6px}
 .s78-header .s78-header-bear{width:25px;flex:none}
 .s78-header .s78-header-wordmark{width:145px;max-width:calc(100% - 31px)}
 .s78-header .s78-desktop-nav{display:none}
 .s78-header .s78-header-book{grid-column:2;grid-row:1;padding:10px 12px;font-size:.875rem;gap:8px}
 .s78-header .s78-mobile-menu{display:block;grid-column:1/-1;width:100%;min-width:0}
 .s78-header .s78-mobile-menu>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;margin:0;padding:8px 0;border-top:1px solid #162B4666;font-size:1rem;font-weight:600}
 .s78-header .s78-mobile-menu[open]>summary>span{transform:rotate(45deg)}
 .s78-header .s78-mobile-menu nav{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:4px 0 12px;font-size:1rem}
 .s78-header .s78-mobile-menu nav>a,.s78-header .s78-industries>summary{padding:8px 12px;white-space:normal;background:#162B460D;border-radius:4px}
 .s78-header .s78-industry-menu{position:static;display:grid;grid-template-columns:1fr;width:100%;max-width:none;max-height:none;overflow:visible;overscroll-behavior:auto;margin:6px 0 8px;padding:4px 8px 4px 16px;border:0;border-left:2px solid #162B46;border-radius:0;box-shadow:none}
 .s78-header .s78-industry-menu a{font-size:.9375rem}
}
@media(max-width:380px){.s78-header{padding-inline:16px;gap:8px}.s78-header .s78-header-wordmark{width:112px}.s78-header .s78-header-book{padding:10px;gap:5px}}
@media(max-width:340px){.s78-header{grid-template-columns:minmax(0,1fr)}.s78-header .s78-header-book{grid-column:1;grid-row:2;width:100%}}

.s78-header .s78-header-book{border-radius:9999px}

/* Hover bridge spans the gap between Industries and its dropdown. */
@media(min-width:801px) and (hover:hover) and (pointer:fine){
 .s78-header .s78-desktop-nav .s78-industries>summary>span{display:none}
 .s78-header .s78-desktop-nav .s78-industries[open]::after{content:"";position:absolute;top:100%;left:-20px;width:560px;max-width:calc(100vw - 48px);height:10px}
}
@media(min-width:801px) and (max-width:1200px) and (hover:hover) and (pointer:fine){
 .s78-header .s78-desktop-nav .s78-industries[open]::after{left:-80px}
}

/* Fade only the menu content; never draw a layer over the page. */
@media(max-width:800px){
 .s78-header .s78-mobile-menu[open] .s78-industries[open] .s78-industry-menu.has-more-industries{mask-image:linear-gradient(to bottom,#000 var(--industry-fade-start),transparent var(--industry-fade-end));-webkit-mask-image:linear-gradient(to bottom,#000 var(--industry-fade-start),transparent var(--industry-fade-end))}
}

@media(min-width:801px){
 .s78-header .s78-desktop-nav .s78-industry-menu{left:auto;right:0}
 .s78-header .s78-desktop-nav .s78-industries[open]::after{left:auto;right:0}
}

/* The shared header scrolls with the page; section links need only a small gap. */
html{scroll-padding-top:24px}
