/* InspireMe public header, third menu item. Canonical component source. */
html body>header.im-public-header .wrap.nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;min-height:84px;padding-block:12px}
html body>header.im-public-header .nav>nav{display:flex;grid-column:auto;grid-row:auto;justify-content:center;gap:24px;flex-wrap:wrap;margin:0;padding:0}
html body>header.im-public-header .nav>nav a,html body>header.im-public-header .nav>nav a:first-child{display:inline-flex;align-items:center;min-height:48px;margin:0;padding:8px 0;font:700 .875rem/1.5 Arial,Helvetica,sans-serif;white-space:normal}
html body>header.im-public-header .nav>nav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:var(--yellow);text-underline-offset:8px}
html body>header.im-public-header .im-public-entry-actions{display:flex;grid-column:auto;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;min-width:0}
html body>header.im-public-header .im-public-entry-link{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;gap:12px;min-width:0;min-height:48px;padding:12px 16px;border:1px solid var(--ink);border-radius:4px;background:transparent;color:var(--ink);font:700 .875rem/1.5 Arial,Helvetica,sans-serif;white-space:normal;text-decoration:none}
html body>header.im-public-header .im-public-entry-link:hover{background:var(--wash)}
html body>header.im-public-header .im-public-entry-link svg{display:block;width:18px;height:18px;flex:none}
html body>header.im-public-header .nav .im-public-entry-actions>.button{flex:0 1 auto;min-width:0;min-height:48px;padding:12px 22px;font:700 .875rem/1.5 Arial,Helvetica,sans-serif;white-space:normal}
html body>header.im-public-header .brand{font-size:28px;gap:6px;letter-spacing:-1.4px}
html body>header.im-public-header .brand-icon{width:30px;height:30px}
@media(max-width:1199px){
 html body>header.im-public-header .wrap.nav{grid-template-columns:auto minmax(0,1fr);gap:8px 24px}
 html body>header.im-public-header .nav>nav{grid-column:2;grid-row:1;justify-content:flex-end}
 html body>header.im-public-header .im-public-entry-actions{grid-column:1/-1}
}
@media(max-width:639px){
 html body>header.im-public-header .wrap.nav{grid-template-columns:minmax(0,1fr);gap:4px;padding-block:8px}
 html body>header.im-public-header .nav>nav{grid-column:1;grid-row:auto;justify-content:space-between;gap:8px 16px}
 html body>header.im-public-header .im-public-entry-actions{display:flex;flex-wrap:wrap;gap:8px;grid-column:1}
 html body>header.im-public-header .im-public-entry-link{flex:1 1 max-content;min-width:min-content;padding:12px 8px;gap:4px}
 html body>header.im-public-header .im-public-entry-link svg{display:none}
 html body>header.im-public-header .nav .im-public-entry-actions>.button{flex:1.5 1 max-content;min-width:min-content;padding:12px 8px}
}
@media(max-height:500px){html body>header.im-public-header{position:static}}

/* Keep the three main destinations visible on narrow screens. */
@media(max-width:767px){
 html body>header.im-public-header .im-public-entry-link{display:none}
 html body>header.im-public-header .im-public-entry-actions:has(> a[href$="#kapcsolat"]){display:none}
 html body>header.im-public-header .wrap.nav{grid-template-columns:minmax(0,1fr);gap:4px;padding-block:8px;min-height:0}
 html body>header.im-public-header .nav>nav{grid-column:1;grid-row:auto;justify-content:space-between;gap:8px 16px}
}
/* Shared mobile contract: keep the main menu and hide extra entry buttons. */
@media(max-width:767px){html body>header.im-public-header .im-public-entry-actions{display:none!important}}
