.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 9999; /* 95% opaque background, without fading the text or drawer */ background: var(--header-background); /* fallback */ background: color-mix(in srgb, var(--header-background) 95%, transparent); opacity: 1; box-shadow: 0 4px 16px rgba(0,0,0,.06), 0 12px 35px rgba(0,0,0,.035); color: var(--header-text); font-family: "Myriad Set Pro", "Helvetica Neue", Arial, sans-serif; isolation: isolate; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } .site-header .mobile-title { color: var(--font-menu-color); } .site-header, .site-header * { box-sizing: border-box; } .site-header a { text-decoration: none; } .site-header button { font-family: inherit; } .header-spacer { display: block; width: 100%; height: 110px; } .userbar { width: 100%; min-height: 34px; background: var(--userbar-background) !important; margin-top: -3px; padding-bottom: 3px; } .userbar-inner { width: 100%; max-width: 1170px; min-height: 34px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: flex-end; } .userbar-content { display: flex; align-items: center; justify-content: flex-end; } .mainbar { position: relative; width: 100%; background: transparent; } .mainbar-inner { width: 100%; max-width: 1170px; min-height: var(--header-height); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; } .site-brand { display: flex; align-items: center; flex: 0 0 auto; min-width: 0; } .site-brand a { display: inline-flex; align-items: center; justify-content: center; } .site-logo { display: block; width: auto; height: auto; max-width: 240px; max-height: 70px; object-fit: contain; } .mobile-userpanel { display: none; } .desktop-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; min-width: 0; } .menu-list { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 5px; margin: 0; padding: 0; list-style: none; } .menu-item { position: relative; margin: 0; padding: 0; list-style: none; } .menu-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 13px; border-radius: 8px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--header-text); white-space: nowrap; transition: background .2s ease, color .2s ease; } .menu-link:hover { background: var(--header-hover); } .menu-link:focus-visible, .more-button:focus-visible, .mobile-toggle:focus-visible { outline: 2px solid var(--header-border); outline-offset: 3px; } .menu-icon { display: block; width: 17px; height: 17px; object-fit: contain; flex-shrink: 0; } .menu-text { display: inline-block; color: var(--header-text); font-weight: bold; font-size: 16px; } .more-menu { position: relative; } .more-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--header-text); font-size: 14px; font-weight: 500; cursor: pointer; } .more-button:hover, .more-button[aria-expanded="true"] { background: var(--header-hover); } .menu-chevron { display: inline-block; width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s ease; } .more-button[aria-expanded="true"] .menu-chevron { transform: rotate(225deg); margin-top: 3px; } .more-dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 230px; max-width: 320px; max-height: 65vh; overflow-y: auto; padding: 7px; background: var(--dropdown-background); border: 1px solid var(--header-border); border-radius: 12px; box-shadow: 0 14px 40px rgba(7, 6, 6, 0.13); z-index: 10010; } .more-dropdown.is-open { display: block; } .dropdown-link { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px; padding: 10px 12px; border-radius: 7px; font-size: 14px; line-height: 1.4; } .dropdown-link:hover { background: var(--header-hover); } .dropdown-icon { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; } .mobile-bar, .mobile-drawer { display: none; } .mobile-bar { align-items: center; justify-content: flex-start; gap: 14px; width: 100%; min-height: 60px; padding: 0 18px; border-top: none; border-bottom: none; } .mobile-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--font-menu-color); cursor: pointer; flex: 0 0 auto; } .mobile-toggle:hover { background: var(--header-hover); } .hamburger { position: relative; display: inline-block; width: 24px; height: 18px; } .hamburger span { position: absolute; left: 0; display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, top .25s ease, opacity .2s ease; } .hamburger span:nth-child(1) { top: 0; } .hamburger span:nth-child(2) { top: 8px; } .hamburger span:nth-child(3) { top: 16px; } .mobile-toggle.is-open .hamburger span:nth-child(1) { top: 8px; transform: rotate(45deg); } .mobile-toggle.is-open .hamburger span:nth-child(2) { opacity: 0; } .mobile-toggle.is-open .hamburger span:nth-child(3) { top: 8px; transform: rotate(-45deg); } .mobile-title { display: block; flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; font-family: "FuturaStd-Bold", "Helvetica Neue", Arial, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.3; text-transform: uppercase; letter-spacing: .3px; } .mobile-drawer { position: absolute; top: 100%; left: 0; right: 0; width: 100%; /* Fully opaque, independent from the translucent header */ background: var(--dropdown-background, #ffffff); opacity: 1; border-bottom: none; box-shadow: 0 18px 35px rgba(0,0,0,.13); max-height: calc(100dvh - var(--header-offset, 130px)); overflow-y: auto; overscroll-behavior: contain; z-index: 10005; } .mobile-drawer.is-open { display: block; } .mobile-menu { display: flex; flex-direction: column; width: 100%; margin: 0; padding: 12px 14px 18px; list-style: none; } .mobile-menu li { display: block; margin: 0; padding: 0; list-style: none; } .mobile-menu-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 9px; color: var(--header-text); font-family: "FuturaStd-Bold", "Helvetica Neue", Arial, sans-serif; font-size: 15px; font-weight: 500; line-height: 1.4; } .mobile-menu-link:hover, .mobile-menu-link:focus-visible { background: var(--header-hover); } .mobile-menu-link.is-active { background: #f0f5ff; font-weight: 600; } .mobile-menu-icon { display: block; width: 19px; height: 19px; object-fit: contain; flex: 0 0 19px; } .mobile-menu-label { display: block; flex: 1; } .mobile-menu-divider { width: 100%; height: 1px; margin: 12px 0; background: var(--header-border); } .mobile-footer-link { color: var(--header-muted); font-size: 14px; } @media (max-width: 1100px) { .mainbar-inner { padding: 0 18px; gap: 12px; } .site-logo { max-width: 190px; max-height: 62px; } .menu-list { gap: 1px; } .menu-link { padding: 9px 8px; font-size: 13px; } } @media (max-width: 900px) { .site-header { --header-height: 70px; } .userbar { display: none; } .mainbar-inner { min-height: 70px; padding: 5px 16px; gap: 12px; } .site-brand { flex: 0 1 auto; } .site-logo { max-width: 190px; max-height: 62px; } .desktop-nav { display: none; } .mobile-userpanel { display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end; min-width: 0; } .mobile-userpanel > * { max-width: 100%; } .mobile-bar { display: flex; } .mobile-title { font-size: 17px; } /* Keep the title on the left and move hamburger to the right */ .site-header .mobile-bar .mobile-toggle { order: 2; margin-left: auto; } .site-header .mobile-bar .mobile-title { order: 1; flex: 1 1 auto; text-align: left; } .mainbar-inner.no-package { justify-content: center; } .no-package .site-brand { justify-content: center; } .header-spacer { height: 130px; } } @media (max-width: 480px) { .mainbar-inner { padding: 5px 12px; } .site-logo { max-width: 155px; max-height: 58px; } .no-package .site-logo { max-width: 220px; max-height: 62px; } .mobile-bar { min-height: 58px; padding: 0 12px; gap: 9px; } .mobile-title { font-size: 15px; } .mobile-menu { padding: 9px 10px 15px; } .mobile-menu-link { min-height: 46px; padding: 11px 12px; font-size: 14px; } } @media (prefers-reduced-motion: reduce) { .site-header *, .site-header *::before, .site-header *::after { transition: none !important; } } /* ============================================================ HIGH-CONTRAST, TOUCH-FRIENDLY HAMBURGER Light button stays visible on both dark and light headers. Colours can be overridden by variables defined in another file. Specificity also covers the custom-page mobile header. ============================================================ */ #siteHeader.site-header .mobile-bar .mobile-toggle { background: var(--hamburger-bg, #f1f5f9); color: var(--hamburger-icon-color, #111827); border: 1px solid var(--hamburger-border, rgba(15, 23, 42, .25)); border-radius: 10px; box-shadow: 0 2px 7px rgba(0, 0, 0, .20); transition: background-color .18s ease, box-shadow .18s ease, transform .12s ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; } #siteHeader.site-header .mobile-bar .mobile-toggle:hover { background: var(--hamburger-hover-bg, #ffffff); box-shadow: 0 3px 10px rgba(0, 0, 0, .25); } #siteHeader.site-header .mobile-bar .mobile-toggle:active { background: var(--hamburger-active-bg, #cbd5e1); transform: scale(.96); } #siteHeader.site-header .mobile-bar .mobile-toggle.is-open { background: var(--hamburger-open-bg, #dbeafe); color: var(--hamburger-open-icon-color, #1d4ed8); border-color: var(--hamburger-open-border, #93c5fd); } #siteHeader.site-header .mobile-bar .mobile-toggle:focus-visible { outline: 2px solid var(--hamburger-focus-color, #60a5fa); outline-offset: 3px; } #siteHeader.site-header .mobile-bar .mobile-toggle .hamburger span { height: 3px; } /* ============================================================ TRANSPARENT HEADER, SOLID MOBILE DRAWER Keep outer menu layers transparent so the 95% background is not covered by a second opaque background. ============================================================ */ .site-header .mainbar, .site-header .userbar { background: transparent; } #siteHeader.site-header.custom-header { background: var(--header-background) !important; /* fallback */ background: color-mix(in srgb, var(--header-background) 95%, transparent) !important; opacity: 1 !important; } #siteHeader.site-header .mobile-drawer { background: var(--dropdown-background, #ffffff); opacity: 1; }