/* ===== MSO INVESTMENT HEADER ===== */ .mso-header, .mso-header * { box-sizing: border-box; } .mso-header { --mso-navy: #071b50; --mso-blue: #079ccc; --mso-cyan: #12bad9; font-family: "Poppins", Arial, sans-serif; width: 100%; background: #ffffff; position: relative; z-index: 100; box-shadow: 0 3px 22px rgba(10, 40, 80, .045); } .mso-header-inner { max-width: 1540px; margin: 0 auto; min-height: 104px; padding: 15px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; } /* LOGO */ .mso-logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; } .mso-logo img { display: block; width: 340px; max-width: 100%; height: auto; max-height: 83px; object-fit: contain; object-position: left center; } /* MENU */ .mso-navigation { display: flex; align-items: center; gap: 36px; margin-left: auto; } .mso-navigation a { position: relative; display: inline-flex; align-items: center; min-height: 46px; color: var(--mso-navy); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; transition: color .25s ease; } .mso-navigation a::after { content: ""; position: absolute; bottom: 3px; left: 0; width: 0; height: 3px; background: var(--mso-cyan); border-radius: 4px; transition: width .25s ease; } .mso-navigation a:hover, .mso-navigation a.is-active { color: var(--mso-blue); } .mso-navigation a:hover::after, .mso-navigation a.is-active::after { width: 100%; } /* PRZYCISK KONTAKTOWY */ .mso-header .mso-contact-btn { display: inline-flex; align-items: center; justify-content: center; gap: 13px; flex-shrink: 0; min-height: 52px; padding: 12px 29px; border: none; border-radius: 40px; background: linear-gradient(110deg, #09b6db, #007cac); color: white; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; box-shadow: 0 5px 15px rgba(0, 153, 200, .12); transition: transform .25s ease, box-shadow .25s ease; } .mso-header .mso-contact-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 9px 22px rgba(0, 153, 200, .24); } .mso-contact-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; } /* MOBILE TOGGLE */ .mso-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 9px; background: #eaf9fd; color: var(--mso-navy); cursor: pointer; align-items: center; justify-content: center; } .mso-menu-toggle svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 2; fill: none; } /* TABLET */ @media (max-width: 1200px) { .mso-header-inner { padding: 15px 28px; gap: 20px; } .mso-logo img { width: 255px; } .mso-navigation { gap: 19px; } .mso-navigation a { font-size: 13px; } .mso-header .mso-contact-btn { padding: 12px 19px; font-size: 13px; } } /* MOBILE */ @media (max-width: 900px) { .mso-header-inner { min-height: 78px; padding: 12px 20px; flex-wrap: wrap; gap: 12px; } .mso-logo img { width: 230px; max-height: 60px; } .mso-menu-toggle { display: inline-flex; margin-left: auto; } .mso-navigation { display: none; flex-direction: column; align-items: stretch; order: 3; width: 100%; margin: 0; gap: 0; padding: 10px 0; border-top: 1px solid #e9f2f7; } .mso-header.menu-open .mso-navigation { display: flex; } .mso-navigation a { width: fit-content; min-height: 46px; font-size: 15px; } .mso-header .mso-contact-btn { display: none; } .mso-header.menu-open .mso-contact-btn { display: inline-flex; order: 4; width: 100%; margin-bottom: 12px; } } @media (max-width: 380px) { .mso-logo img { width: 190px; } }
(function () { function initMsoHeader() { const header = document.getElementById("mso-header"); if (!header || header.dataset.initialized) return; header.dataset.initialized = "true"; const toggle = header.querySelector(".mso-menu-toggle"); const links = header.querySelectorAll(".mso-navigation a"); toggle.addEventListener("click", function () { const opened = header.classList.toggle("menu-open"); toggle.setAttribute("aria-expanded", String(opened)); toggle.setAttribute( "aria-label", opened ? "Zamknij menu" : "Otwórz menu" ); }); links.forEach(function (link) { link.addEventListener("click", function () { header.classList.remove("menu-open"); toggle.setAttribute("aria-expanded", "false"); }); }); /* Automatyczne zaznaczenie aktywnej podstrony */ const currentPath = window.location.pathname.replace(/\/+$/, "") || "/"; links.forEach(function (link) { const targetPath = new URL(link.href, window.location.href) .pathname.replace(/\/+$/, "") || "/"; const active = currentPath === targetPath; link.classList.toggle("is-active", active); if (active) { link.setAttribute("aria-current", "page"); } else { link.removeAttribute("aria-current"); } }); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", initMsoHeader); } else { initMsoHeader(); } })();

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

1 komentarz do “Hello world!”

Dodaj komentarz

Twój adres email nie zostanie opublikowany. Wymagane pola są oznaczone *

Przewijanie do góry