/* ===== Glavni meni na računalniku (2026-11-22) =====
   Steklena vrstica z zlatim robom; hover: bordo tableta + zlata črta; aktivna povezava (scroll-spy
   Nicepage .active) bordo z zlato piko; ob drsenju (html.vk-scrolled, cms/site.js) se vrstica stisne.
   Samo ≥992px z miško — mobilni hamburger meni ostane nespremenjen. */
@media (min-width: 992px) and (hover: hover) {
  html body header#sec-b43d .u-nav-2 {
    gap: 2px !important; padding: 6px !important;
    background: rgba(253, 249, 242, .72);
    -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid rgba(201, 162, 92, .55);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(40, 12, 20, .16), inset 0 1px 0 rgba(255, 255, 255, .7);
    transition: padding .4s ease, background .4s ease, box-shadow .4s ease, transform .4s ease;
  }
  html.vk-scrolled body header#sec-b43d .u-nav-2 {
    padding: 4px !important;
    background: rgba(253, 249, 242, .9);
    box-shadow: 0 10px 30px rgba(40, 12, 20, .24), inset 0 1px 0 rgba(255, 255, 255, .7);
  }
  html body header#sec-b43d .u-nav-2 .u-nav-link {
    position: relative; isolation: isolate; overflow: visible;
    padding: 9px 20px 10px !important;
    background: transparent !important; box-shadow: none !important;
    color: #4a2630 !important;
    font-family: 'Cormorant Garamond', Garamond, Georgia, serif !important;
    font-size: 19px !important; font-weight: 600 !important; letter-spacing: .08em !important;
    border-radius: 999px;
    transition: color .35s ease, padding .4s ease !important;
  }
  html.vk-scrolled body header#sec-b43d .u-nav-2 .u-nav-link { padding: 7px 18px 8px !important; }
  /* bordo tableta, ki zraste iz sredine */
  html body header#sec-b43d .u-nav-2 .u-nav-link::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: linear-gradient(135deg, #8b2c3f, #6e2e3d);
    box-shadow: 0 4px 14px rgba(110, 46, 61, .35);
    opacity: 0; transform: scale(.6);
    transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.25);
  }
  /* zlata črta pod besedilom */
  html body header#sec-b43d .u-nav-2 .u-nav-link::after {
    content: ''; position: absolute; left: 50%; bottom: 5px; height: 1.5px; width: calc(100% - 40px);
    background: linear-gradient(90deg, transparent, #e2c48a, transparent);
    transform: translateX(-50%) scaleX(0); transform-origin: center;
    transition: transform .45s ease .05s;
  }
  html body header#sec-b43d .u-nav-2 .u-nav-link:hover { color: #fdf6e9 !important; background: transparent !important; }
  html body header#sec-b43d .u-nav-2 .u-nav-link:hover::before { opacity: 1; transform: scale(1); }
  html body header#sec-b43d .u-nav-2 .u-nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
  html body header#sec-b43d .u-nav-2 .u-nav-link:active::before { transform: scale(.94); }
  html body header#sec-b43d .u-nav-2 .u-nav-link:focus-visible { outline: 2px solid #c9a25c; outline-offset: 2px; }

  /* aktivni razdelek: bordo besedilo + zlata pika spodaj */
  html body header#sec-b43d .u-nav-2 .u-nav-link.active:not(:hover) { color: #8b2c3f !important; }
  html body header#sec-b43d .u-nav-2 .u-nav-link.active:not(:hover)::after {
    width: 5px; height: 5px; bottom: 3px; border-radius: 50%;
    background: #c9a25c; box-shadow: 0 0 6px rgba(201, 162, 92, .8);
    transform: translateX(-50%) scale(1);
  }

  /* prihod ob nalaganju: povezave priletijo ena za drugo (vrstni red je row-reverse) */
  html body header#sec-b43d .u-nav-2 { animation: vk-menu-in .7s ease-out both; }
  html body header#sec-b43d .u-nav-2 > li { animation: vk-menu-li .6s cubic-bezier(.2, .8, .3, 1) both; }
  html body header#sec-b43d .u-nav-2 > li:nth-last-child(1) { animation-delay: .15s; }
  html body header#sec-b43d .u-nav-2 > li:nth-last-child(2) { animation-delay: .23s; }
  html body header#sec-b43d .u-nav-2 > li:nth-last-child(3) { animation-delay: .31s; }
  html body header#sec-b43d .u-nav-2 > li:nth-last-child(4) { animation-delay: .39s; }
  html body header#sec-b43d .u-nav-2 > li:nth-last-child(5) { animation-delay: .47s; }
  @keyframes vk-menu-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
  @keyframes vk-menu-li { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 992px) and (hover: hover) and (prefers-reduced-motion: reduce) {
  html body header#sec-b43d .u-nav-2, html body header#sec-b43d .u-nav-2 > li { animation: none; }
  html body header#sec-b43d .u-nav-2 .u-nav-link::before, html body header#sec-b43d .u-nav-2 .u-nav-link::after { transition: none; }
}
