/* ZSA fejléc – fehér változat, finom 3D átmenettel a hero felé (jóváhagyott minta: https://claude.ai/artifact/BdfzxzDR7LSjNaTaiG2NpD, 2026-11-03).
   Forrás: C:\Claude-Code\Zsigmond Ádám\fejlec\fejlec.css → szerveren: wp-content/mu-plugins/zsa-assets/fejlec-<verzió>.css */
.zh{--zh-n:#24324f;--zh-n2:#24324f;--zh-b:#3550a0;--zh-g:#fac917;--zh-l:#eef4fd;--zh-t:#4a5468;
  position:sticky;top:0;z-index:9990;font-family:'Nunito',Arial,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}
.admin-bar .zh{top:32px}
@media(max-width:782px){.admin-bar .zh{top:46px}}
@media(max-width:600px){.admin-bar .zh{top:0}}
.zh *,.zh *::before,.zh *::after{box-sizing:border-box}
.zh a{text-decoration:none}
.zh ul{list-style:none;margin:0;padding:0}
.zh svg{display:inline-block}
.zh-in{max-width:1240px;margin:0 auto;padding-inline:28px}

/* felső sáv */
.zh-top{background:var(--zh-n);color:rgba(255,255,255,.75);font-size:13px;font-weight:600;overflow:hidden;max-height:38px;transition:max-height .3s}
.zh-top .zh-in{display:flex;justify-content:space-between;gap:16px;align-items:center;height:38px}
.zh-top b{color:var(--zh-g);font-weight:800}
.zh-top .zh-ct{display:flex;gap:22px}
.zh-top a{color:rgba(255,255,255,.75)!important}
.zh-top a:hover{color:#fff!important}
.zh-top svg{width:14px;height:14px;vertical-align:-2px;margin-right:6px;stroke:var(--zh-g)}

/* fő sáv – rétegzett, nagyon halvány árnyék = a fejléc a hero fölött lebeg */
.zh-bar{background:#fff;box-shadow:inset 0 -1px 0 rgba(36,50,79,.06),0 1px 1px rgba(16,24,40,.06),0 4px 8px -2px rgba(16,24,40,.14),0 14px 26px -14px rgba(16,24,40,.42);transition:box-shadow .3s}
.zh-bar .zh-in{display:flex;align-items:center;gap:28px;height:84px;transition:height .3s}
.zh.scr .zh-top{max-height:0}
.zh.scr .zh-bar .zh-in{height:66px}
.zh.scr .zh-bar{box-shadow:inset 0 -1px 0 rgba(36,50,79,.06),0 1px 1px rgba(16,24,40,.06),0 6px 12px -3px rgba(16,24,40,.16),0 20px 34px -16px rgba(16,24,40,.45)}

.zh-brand{display:flex;align-items:center;gap:13px;flex:none}
.zh-brand img{width:48px;height:48px;transition:width .3s,height .3s}
.zh.scr .zh-brand img{width:40px;height:40px}
.zh-brand b{display:block;font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:23px;line-height:1.1;color:var(--zh-n);letter-spacing:.2px}
.zh-brand em{display:block;font-style:normal;font-size:11px;font-weight:800;letter-spacing:2.2px;text-transform:uppercase;color:var(--zh-b);margin-top:3px;line-height:1.3}

/* menü */
.zh-nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.zh-nav>li{position:relative}
.zh-nav>li>a{display:flex;align-items:center;gap:5px;font-weight:700;font-size:15.5px;color:var(--zh-n)!important;padding:10px 13px;position:relative;border-radius:8px}
.zh-nav>li>a::after{content:"";position:absolute;left:13px;right:13px;bottom:4px;height:2px;background:var(--zh-g);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.zh-nav>li>a:hover::after,.zh-nav>li.zh-cur>a::after,.zh-nav>li.zh-open>a::after{transform:scaleX(1)}
.zh-nav>li>a svg{width:12px;height:12px;transition:transform .25s}
.zh-nav>li.zh-open>a svg{transform:rotate(180deg)}
.zh-nav>li>a:focus-visible,.zh-cta:focus-visible,.zh-mi:focus-visible,.zh-burger:focus-visible{outline:2px solid var(--zh-b);outline-offset:2px}
.zh-cta{flex:none;display:inline-flex;align-items:center;gap:8px;background:var(--zh-g);color:var(--zh-n)!important;font-weight:900;font-size:15px;line-height:1.2;padding:12px 22px;border-radius:100px;transition:transform .2s,box-shadow .2s}
.zh-cta:hover{transform:translateY(-1px);box-shadow:0 8px 20px -8px rgba(250,201,23,.8)}
.zh-cta svg{width:16px;height:16px}

/* lenyíló megamenü */
.zh-mega{position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%,6px);width:720px;background:#fff;border-radius:18px;box-shadow:0 24px 60px -18px rgba(16,24,40,.45),0 0 0 1px rgba(36,50,79,.04);display:grid;grid-template-columns:1fr 230px;overflow:hidden;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s}
.zh-mega.zh-sm{width:260px;grid-template-columns:1fr;left:0;transform:translate(0,6px)}
.zh-open .zh-mega{opacity:1;visibility:visible;transform:translate(-50%,0)}
.zh-open .zh-mega.zh-sm{transform:translate(0,0)}
.zh-mega::before{content:"";position:absolute;top:-14px;left:0;right:0;height:14px}
.zh-mg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:16px}
.zh-sm .zh-mg{grid-template-columns:1fr}
.zh-mi{display:flex;gap:12px;align-items:flex-start;padding:11px 12px;border-radius:12px;transition:background .15s}
.zh-mi:hover,.zh-mi.zh-cur{background:var(--zh-l)}
.zh-ic{flex:none;width:38px;height:38px;border-radius:11px;background:var(--zh-l);display:grid;place-items:center;transition:background .15s}
.zh-mi:hover .zh-ic,.zh-mi.zh-cur .zh-ic{background:#fff}
.zh-ic svg{width:20px;height:20px;stroke:var(--zh-b);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.zh-mi b{display:block;color:var(--zh-n);font-size:15px;font-weight:800;line-height:1.25}
.zh-mi span span{display:block;color:var(--zh-t);font-size:13px;line-height:1.35;margin-top:2px}
.zh-side{background:var(--zh-n);color:rgba(255,255,255,.82);padding:22px 20px;display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:1.5}
.zh-side .zh-k{font-size:11px;font-weight:900;letter-spacing:1.6px;text-transform:uppercase;color:var(--zh-g)}
.zh-side strong{font-family:'Playfair Display',Georgia,serif;color:#fff;font-size:20px;line-height:1.2;font-weight:700}
.zh-side a{margin-top:auto;font-weight:900;color:var(--zh-g)!important}
.zh-side a:hover{color:#fff!important}

/* hamburger és mobilmenü */
.zh-burger{display:none;margin-left:auto;width:46px;height:46px;border:0;border-radius:12px;background:var(--zh-l);cursor:pointer;place-items:center;padding:0}
.zh-burger span,.zh-burger span::before,.zh-burger span::after{display:block;width:22px;height:2.5px;border-radius:2px;background:var(--zh-n);position:relative;transition:transform .25s,background .25s}
.zh-burger span::before,.zh-burger span::after{content:"";position:absolute;left:0}
.zh-burger span::before{top:-7px}.zh-burger span::after{top:7px}
.zh.zh-mopen .zh-burger span{background:transparent}
.zh.zh-mopen .zh-burger span::before{transform:translateY(7px) rotate(45deg)}
.zh.zh-mopen .zh-burger span::after{transform:translateY(-7px) rotate(-45deg)}
.zh-mp{display:none;background:var(--zh-n);color:#fff;padding:8px 20px 22px;max-height:calc(100vh - 68px);overflow-y:auto}
.zh-mp>a,.zh-mp .zh-acc{display:flex;justify-content:space-between;align-items:center;width:100%;font:800 17px 'Nunito',Arial,sans-serif;color:#fff!important;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.1);padding:15px 2px;text-align:left;cursor:pointer}
.zh-mp .zh-acc svg{width:14px;height:14px;transition:transform .25s}
.zh-mp .zh-acc[aria-expanded="true"] svg{transform:rotate(180deg)}
.zh-mp .zh-sub{padding:4px 0 8px 12px}
.zh-mp .zh-sub a{display:block;font-size:15.5px;font-weight:700;color:rgba(255,255,255,.8)!important;padding:9px 2px}
.zh-mp>a.zh-cta{justify-content:center;margin-top:18px;width:100%;padding:15px;background:var(--zh-g);color:var(--zh-n)!important;border:0;font-weight:900;font-size:16px}
.zh-mp .zh-mct{display:grid;gap:4px;margin-top:16px;font-size:14px;color:rgba(255,255,255,.7);text-align:center}
.zh-mp .zh-mct a{font-size:15px;font-weight:800;color:#fff!important}

@media(max-width:1100px){
  .zh-top,.zh-nav,.zh-bar .zh-in>.zh-cta{display:none}
  .zh-burger{display:grid}
  .zh.zh-mopen .zh-mp{display:block}
  .zh-in{padding-inline:16px}
  .zh-bar .zh-in{height:68px;gap:12px}
  .zh.scr .zh-bar .zh-in{height:60px}
  .zh-brand img,.zh.scr .zh-brand img{width:40px;height:40px}
  .zh-brand b{font-size:19px}
  .zh-brand em{font-size:10px;letter-spacing:1.8px}
}

/* a hero teteje enyhén „besüllyed” a fejléc alá (csak árnyék, a háttérképet nem bántja) */
.zh-on .zsh-hero.et_pb_section{box-shadow:inset 0 10px 14px -12px rgba(4,8,20,.6),inset 0 1px 0 rgba(255,255,255,.05)}
/* horgonyra ugráskor a fent maradó fejléc ne takarja ki a célt */
.zh-on [id]{scroll-margin-top:96px}
/* a régi Divi Theme Builder fejléc elrejtése, amíg az új fut */
.zh-on .et-l--header{display:none!important}
@media(prefers-reduced-motion:reduce){.zh *{transition:none!important}}
