/* MEX Akadémia – közös fejléc, 2026-11-01 */
header{background:#07111d!important;border-bottom:1px solid rgba(209,168,89,.25)!important;position:sticky!important;top:0!important;z-index:100!important;backdrop-filter:blur(10px)}
header .container.nav{max-width:1200px!important;width:calc(100% - 36px)!important;margin:0 auto!important;min-height:78px!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding-top:8px!important;padding-bottom:8px!important;box-sizing:border-box!important}
header .brand{display:flex!important;align-items:center!important;gap:11px!important;flex-shrink:0!important;text-decoration:none!important;line-height:1.2!important}
header .brand img{width:48px!important;height:48px!important;max-width:48px!important;object-fit:contain!important;border-radius:50%!important;margin:0!important}
header .brand span{line-height:1.2!important;position:static!important;transform:none!important;margin:0!important}
header #mexMainNav{align-items:center;gap:12px;line-height:1.35!important}
header #mexMainNav a{line-height:1.35!important;text-decoration:none}
@media(min-width:851px){header #mexMainNav{display:flex!important}header #mexMenuButton{display:none!important}}
@media(max-width:850px){header .container.nav{flex-wrap:wrap!important}header .brand{flex:1 1 auto!important;min-width:0!important}header #mexMenuButton{display:block!important;position:relative!important;z-index:120!important;cursor:pointer!important}header #mexMainNav{display:none!important;position:relative!important;flex:0 0 100%!important;width:100%!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:12px 0!important;background:#07111d!important;border-top:1px solid rgba(209,168,89,.25)!important}header #mexMainNav.menu-open{display:flex!important}header #mexMainNav a{display:block!important;padding:12px!important}header #mexMainNav .nav-cta{margin:8px 10px!important;text-align:center!important}}

/* 2026-11-02: uniform desktop nav sizing and mobile tap styling */
@media(min-width:851px){header #mexMainNav{font-size:14px!important;gap:12px!important}header #mexMainNav a{font-size:14px!important;font-weight:500!important;padding:8px 0!important}header #mexMainNav a.nav-cta{padding:9px 13px!important}}
@media(max-width:850px){header #mexMenuButton{background:#07111d!important;color:#e3bd6c!important;-webkit-tap-highlight-color:transparent;touch-action:manipulation}header #mexMenuButton:focus-visible{outline:2px solid #e3bd6c!important}}
