/* VISMED menu centralne 1.1.2. Only for pages explicitly managed by the plugin. */
body.vmn-enabled #mfn-header-template,
body.vmn-enabled .mfn-header-tmpl,
body.vmn-enabled .mfn-header-template,
body.vmn-enabled .mfn-header-tmpl-menu-sidebar,
body.vmn-enabled .mfn-header-tmpl-mobile,
body.vmn-enabled #Top_bar,
body.vmn-enabled #Action_bar,
body.vmn-enabled #Side_slide,
body.vmn-enabled .mfn-header-sticky,
body.vmn-enabled .mfn-header-scrolled { display:none !important; }
/* Keep #Header and #Subheader so native breadcrumbs are not discarded. */
body.vmn-enabled #Header,
body.vmn-enabled #Header_wrapper { height:auto !important; min-height:0 !important; }
body.vmn-enabled #Header { background-image:none !important; }
body.vmn-enabled #Header_wrapper { background-image:none !important; }
body.vmn-enabled { --vmn-navy:#2B354C; --vmn-hover:#496485; --vmn-bg:#fff; --vmn-muted:#EEF2F8; }
body.vmn-enabled .vmn-header,
body.vmn-enabled .vmn-header * { box-sizing:border-box; }
body.vmn-enabled .vmn-header {
  position:relative; z-index:1100; width:100%; background:var(--vmn-bg); color:var(--vmn-navy);
  border-bottom:1px solid #edf0f5; box-shadow:0 3px 12px rgba(43,53,76,.045);
  font:400 16px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
/* Sticky is upgraded to viewport-fixed on scroll by menu.js. The in-flow
   spacer reserves exactly the original header height, avoiding layout jumps.
   It does not depend on BeTheme wrappers/overflow or sticky containing blocks. */
body.vmn-enabled .vmn-header.vmn-sticky {position:relative;top:auto;}
body.vmn-enabled .vmn-header.vmn-sticky.vmn-fixed {
  position:fixed !important; top:0; left:0; right:0; width:100%;
  z-index:1100;
}
body.admin-bar.vmn-enabled .vmn-header.vmn-sticky.vmn-fixed {top:32px;}
body.vmn-enabled .vmn-sticky-space {display:none;height:0;min-height:0;margin:0;padding:0;border:0;}
html.vmn-has-sticky {scroll-padding-top:calc(var(--vmn-sticky-height, 106px) + 12px);}
body.vmn-enabled .vmn-container {width:min(100% - 40px,1200px); min-height:106px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px;}
body.vmn-enabled .vmn-brand {display:flex; align-items:center; flex:0 0 auto; text-decoration:none; background:none; padding:0; border:0; box-shadow:none;}
body.vmn-enabled .vmn-brand img {display:block; width:auto; height:82px; max-width:112px; object-fit:contain;}
body.vmn-enabled .vmn-list,body.vmn-enabled .vmn-list ul {margin:0; padding:0; list-style:none;}
body.vmn-enabled .vmn-list {display:flex; align-items:center; justify-content:flex-end; gap:clamp(7px,1.35vw,23px);}
body.vmn-enabled .vmn-list > li {display:block; position:relative; margin:0; padding:0;}
body.vmn-enabled .vmn-list li {position:relative;}
body.vmn-enabled .vmn-list a {display:block; position:relative; padding:11px 3px; color:var(--vmn-navy) !important; font-size:15.5px; line-height:1.3; font-weight:500; text-decoration:none !important; border:0; box-shadow:none; background:transparent; white-space:nowrap; transition:color .15s ease;}
body.vmn-enabled .vmn-list a:hover,body.vmn-enabled .vmn-list a:focus-visible,body.vmn-enabled .vmn-list .current-menu-item > a,body.vmn-enabled .vmn-list .current-menu-ancestor > a {color:var(--vmn-hover) !important;}
body.vmn-enabled .vmn-list a:focus-visible,body.vmn-enabled .vmn-toggle:focus-visible,body.vmn-enabled .vmn-sub-toggle:focus-visible {outline:3px solid #91a9cb; outline-offset:3px;}
body.vmn-enabled .vmn-list li > ul {display:none;position:absolute;z-index:1110;top:100%;left:0;min-width:225px;background:#fff;padding:9px;border:1px solid #e4eaf1;border-radius:10px;box-shadow:0 14px 32px rgba(43,53,76,.13);}
body.vmn-enabled .vmn-list li:hover > ul,body.vmn-enabled .vmn-list li:focus-within > ul {display:block;}
body.vmn-enabled .vmn-list ul li > ul {left:100%; top:0;}
body.vmn-enabled .vmn-list li ul a {white-space:normal;font-size:14px;padding:10px 12px;border-radius:7px;}
body.vmn-enabled .vmn-list li ul a:hover {background:#eef2f8;}
body.vmn-enabled .vmn-toggle {display:none; width:44px;height:44px;border:1px solid #dee5f0;border-radius:10px;background:white;cursor:pointer;padding:11px;align-items:center;justify-content:center;flex-direction:column;gap:5px;box-shadow:none;}
body.vmn-enabled .vmn-toggle span {display:block;width:19px;height:2px;background:#2B354C;border-radius:3px;}
body.vmn-enabled .vmn-sub-toggle {display:none;}
body.vmn-enabled #Subheader {position:relative;z-index:0;}
@media(max-width:980px){
  /* Center the logo across the viewport, not between logo and hamburger. */
  body.vmn-enabled .vmn-container {width:min(100% - 28px,1200px);min-height:79px;gap:0;justify-content:center;}
  body.vmn-enabled .vmn-brand {margin-left:auto;margin-right:auto;position:relative;z-index:1;}
  body.vmn-enabled .vmn-brand img {height:62px;max-width:95px;}
  body.vmn-enabled .vmn-toggle {display:flex;position:absolute;right:14px;top:50%;transform:translateY(-50%);z-index:2;}
  body.vmn-enabled .vmn-nav {position:absolute;z-index:1112;top:100%;left:0;width:100%;max-height:min(75vh,680px);overflow:auto;display:none;background:#fff;border-top:1px solid #e5ebf2;box-shadow:0 18px 28px rgba(43,53,76,.1);}
  body.vmn-enabled .vmn-header.vmn-open .vmn-nav {display:block;}
  body.vmn-enabled .vmn-list {display:block;padding:12px 18px 22px;}
  body.vmn-enabled .vmn-list > li {border-bottom:1px solid #edf1f5;}
  body.vmn-enabled .vmn-list a {font-size:16px;padding:14px 10px;white-space:normal;}
  body.vmn-enabled .vmn-list li > ul {display:none;position:static;min-width:0;padding:0 0 8px 12px;box-shadow:none;border:0;border-radius:0;}
  body.vmn-enabled .vmn-list li:hover > ul,body.vmn-enabled .vmn-list li:focus-within > ul {display:none;}
  body.vmn-enabled .vmn-list li.vmn-expanded > ul {display:block;}
  body.vmn-enabled .vmn-list ul li > ul {position:static;}
  body.vmn-enabled .vmn-list li.menu-item-has-children > a {padding-right:48px;}
  body.vmn-enabled .vmn-sub-toggle {display:flex;align-items:center;justify-content:center;position:absolute;top:7px;right:0;min-width:36px;height:38px;background:transparent;border:0;border-radius:8px;color:#2B354C;font-size:22px;line-height:1;cursor:pointer;}
  body.vmn-enabled .vmn-sub-toggle[aria-expanded="true"] {background:#eef2f8;}
  html.vmn-lock {overflow:hidden;}
}
@media(max-width:782px){body.admin-bar.vmn-enabled .vmn-header.vmn-sticky.vmn-fixed {top:46px;}}
@media(max-width:600px){body.admin-bar.vmn-enabled .vmn-header.vmn-sticky.vmn-fixed {top:0;}}
@media(prefers-reduced-motion:reduce){body.vmn-enabled .vmn-header *{transition:none !important;}}
