/* Shared CZ/SK/EN header, navigation and responsive logo layout. */
.ep-desktop-header, .ep-desktop-header * { box-sizing: border-box; }
.ep-desktop-header { color: var(--ep-header-ink, #fff); }
.ep-desktop-header .header-top { display: flex; align-items: center; gap: 32px; min-height: 104px; }
.ep-desktop-header .header-top .logo { float: none; flex: 1 1 auto; width: auto; min-width: 0; margin: 0; padding: 12px 0; text-align: left; }
.ep-desktop-header .logo .clear { display: none; }
body.wp-custom-logo .ep-desktop-header #logo-main { display: none; }
.ep-desktop-header .logo .custom-logo-link { display: inline-flex; align-items: center; }
.ep-desktop-header .logo .custom-logo { display: block; width: auto; height: auto; max-width: 220px; max-height: 76px; }
.ep-desktop-header #logo-main a, .ep-desktop-header .site-title { color: var(--ep-header-ink, #fff); }
.ep-desktop-header .site-title { margin: 0; font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.ep-desktop-header .top-contact { order: 2; float: none; flex: 0 0 auto; height: auto; margin: 0; padding: 0; color: var(--ep-header-ink, #fff); line-height: 1.5; }
.ep-desktop-header .top-contact small { color: inherit; opacity: .8; font-size: 12px; }
.ep-desktop-header .top-contact strong { font-size: 13px; font-weight: 500; }
.ep-desktop-header .top-button { order: 3; float: none; flex: 0 0 auto; height: auto; margin: 0; padding: 0; }
.ep-desktop-header .top-button a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 8px; background: var(--ep-header-cta-bg, #fff); color: var(--ep-header-cta-ink, #096a2a); font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: opacity 160ms ease; }
.ep-desktop-header .top-button a:hover { background: var(--ep-header-cta-bg, #fff); color: var(--ep-header-cta-ink, #096a2a); opacity: .9; }
.ep-desktop-header #navigation { float: none; flex-wrap: wrap; gap: 12px 20px; height: auto; min-height: 60px; padding: 8px 0; border-top: 1px solid var(--ep-header-line, #ffffff30); text-align: left; text-transform: none; }
.ep-desktop-header #site-navigation { display: block; flex: 1 1 auto; width: auto; min-width: 0; font-size: 14px; }
.ep-desktop-header #site-navigation > ul { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ep-desktop-header #site-navigation li { margin: 0; }
.ep-desktop-header #site-navigation a { padding: 10px 14px; border-radius: 7px; color: var(--ep-header-ink, #fff); font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; text-transform: none; transition: background-color 160ms ease; }
.ep-desktop-header #site-navigation li:hover > a,
.ep-desktop-header #site-navigation li:focus-within > a,
.ep-desktop-header #site-navigation .current-menu-item > a,
.ep-desktop-header #site-navigation .current_page_item > a { background: var(--ep-header-soft, #ffffff1f); color: var(--ep-header-ink, #fff); text-decoration: none; }
.ep-desktop-header #site-navigation .current-menu-item > a,
.ep-desktop-header #site-navigation .current_page_item > a { font-weight: 600; }
.ep-desktop-header #site-navigation ul ul { min-width: 240px; padding: 6px; border: 1px solid var(--ep-header-line, #ffffff30); border-radius: 10px; background: var(--ep-header-bg, #096a2a); box-shadow: 0 12px 28px #0002; visibility: hidden; pointer-events: none; }
.ep-desktop-header #site-navigation li:hover > ul,
.ep-desktop-header #site-navigation li.focus > ul,
.ep-desktop-header #site-navigation li:focus-within > ul { visibility: visible; pointer-events: auto; opacity: 1; transform: scale(1); }
.ep-desktop-header #site-navigation ul ul a { padding: 10px 12px; line-height: 1.5; }
.ep-desktop-header #site-navigation .menu-item-has-children > a { padding-right: 28px; }
.ep-desktop-header #site-navigation .menu-item-has-children > a::after { right: 12px; color: inherit; }
.ep-desktop-header .ep-lang-switch { flex: 0 0 auto; margin-left: auto; padding-left: 20px; border-left: 1px solid var(--ep-header-line, #ffffff30); color: var(--ep-header-ink, #fff); font-size: 13px; white-space: nowrap; }
.ep-desktop-header .ep-lang-switch a { color: inherit; opacity: .8; }
.ep-desktop-header .ep-lang-switch a:hover { opacity: 1; }
.ep-desktop-header .ep-currency { color: var(--ep-header-ink, #fff); margin-left: 0; }
.ep-desktop-header a:focus-visible { outline: 2px solid var(--ep-header-ink, #fff); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .ep-desktop-header #site-navigation a, .ep-desktop-header #site-navigation ul ul, .ep-desktop-header .top-button a { transition: none; }
}
@media (max-width: 1024px) { .ep-mobile-header__logo { min-width: 0; } .ep-mobile-header__logo a { overflow-wrap: anywhere; } }
