.flexa-site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 999; display: flex; align-items: center; min-height: 80px; background-color: transparent !important; border-bottom-color: transparent !important; color: #ffffff; transition: min-height 0.3s ease, padding 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; } .flexa-site-header > .wp-block-group { flex: 1; width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--wp--preset--spacing--30, 24px); display: flex; align-items: center; justify-content: space-between; gap: 2rem; } .flexa-site-header .flexa-site-brand { gap: 0.75rem; } .flexa-site-header .flexa-site-brand .wp-block-site-logo img { display: block; height: auto; } .flexa-site-header .flexa-primary-nav ul { gap: 2rem; } .flexa-site-header.is-scrolled { min-height: 60px; background-color: #0E7490 !important; border-bottom-color: #0E7490 !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); } .flexa-site-header a, .flexa-site-header .flexa-primary-nav a { color: #ffffff; } .flexa-site-header .flexa-primary-nav a:hover, .flexa-site-header .flexa-primary-nav .current-menu-item > a { color: #22d3ee !important; } .flexa-menu-overlay { display: none; } .flexa-menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; margin: 0; border: 0; background: transparent; cursor: pointer; } .flexa-menu-toggle__bar { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s ease, opacity 0.3s ease; } .flexa-site-header.menu-open .flexa-menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); } .flexa-site-header.menu-open .flexa-menu-toggle__bar:nth-child(2) { opacity: 0; } .flexa-site-header.menu-open .flexa-menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } @media (max-width: 782px) { .flexa-menu-toggle { display: flex; color: #ffffff; position: relative; z-index: 4; } .flexa-site-header .flexa-site-brand { position: relative; z-index: 4; } .flexa-menu-overlay { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 2; } .flexa-site-header.menu-open .flexa-menu-overlay { opacity: 1; visibility: visible; } .flexa-site-header .flexa-primary-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 80%; height: 100vh; height: 100dvh; background: #0E7490; box-shadow: 8px 0 24px rgba(0, 0, 0, 0.25); padding-top: 80px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 3; } .flexa-site-header.menu-open .flexa-primary-nav { transform: translateX(0); } .flexa-site-header .flexa-primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0; } .flexa-site-header .flexa-primary-nav li { width: 100%; } .flexa-site-header .flexa-primary-nav a { display: block; padding: 1rem var(--wp--preset--spacing--30, 24px); } }