/* EventSabi v5.4: public homepage only; no admin/global navigation overrides */
:root{--es54-ink:#13233c;--es54-accent:#fa712c;--es54-stroke:#e5eaf2}
.es54-header,.es54-header *{box-sizing:border-box}
.es54-header{position:sticky;top:0;z-index:250;background:rgba(255,255,255,.975);border-bottom:1px solid #e9edf3;box-shadow:0 5px 24px rgba(13,30,57,.045);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);font-family:inherit}
.es54-inner{max-width:1370px;min-height:84px;margin:auto;padding:0 clamp(18px,3.1vw,48px);display:flex;align-items:center;gap:clamp(18px,2vw,34px)}
.es54-brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}.es54-brand img{display:block;width:clamp(155px,13vw,187px);height:auto;max-height:64px;object-fit:contain}
.es54-nav{display:flex;align-items:center;gap:clamp(15px,1.7vw,27px);margin-left:clamp(15px,2vw,34px)}
.es54-nav>a,.es54-dropdown>summary{font-size:14px;font-weight:700;color:#273344;text-decoration:none;white-space:nowrap;padding:30px 0;line-height:1.6;transition:color .18s ease}
.es54-nav>a:hover,.es54-nav>a:focus-visible,.es54-dropdown[open]>summary,.es54-dropdown>summary:hover{color:#ee6022}
.es54-dropdown{position:relative}.es54-dropdown>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;user-select:none}.es54-dropdown>summary::-webkit-details-marker,.es54-search-toggle>summary::-webkit-details-marker,.es54-mobile>summary::-webkit-details-marker{display:none}
.es54-dropdown>summary svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}.es54-dropdown[open]>summary svg{transform:rotate(180deg)}
.es54-popover{position:absolute;top:100%;left:-24px;background:#19191c;color:#fff;width:280px;max-height:min(530px,calc(100vh - 110px));overflow-y:auto;overscroll-behavior:contain;border-radius:17px;box-shadow:0 23px 58px rgba(13,25,45,.24);padding:15px 11px 12px;z-index:500;animation:es54Drop .15s ease-out both}
.es54-dropdown:not([open])>.es54-popover{display:none}.es54-popover-title{display:block;padding:2px 12px 12px;font-size:11px;letter-spacing:.095em;color:#92949e;font-weight:850}
.es54-popover a{display:flex;gap:13px;align-items:center;padding:12px 12px;color:#f7f7f8!important;font-size:13.5px;font-weight:650;text-decoration:none;border-radius:10px;line-height:1.2;transition:background .15s,transform .15s}
.es54-popover a:hover,.es54-popover a:focus-visible{background:#303036;color:#fff;transform:translateX(2px)}
.es54-mini-flag{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:20px;min-width:24px;line-height:1}.es54-menu-arrow{margin-left:auto;color:#9a9ba1;opacity:0;transition:opacity .15s}.es54-popover a:hover .es54-menu-arrow{opacity:1}
.es54-popover .es54-all-link{margin-top:7px;border-top:1px solid #393a3e;border-radius:0;padding-top:17px;color:#ffac85!important}.es54-popover .es54-all-link span:last-child{margin-left:auto}.es54-more-popover{width:255px}
.es54-actions{display:flex;align-items:center;gap:22px;margin-left:auto;white-space:nowrap}.es54-actions>a{text-decoration:none;font-size:14px;font-weight:750}.es54-signin{color:#293240;transition:color .15s}.es54-signin:hover{color:#f46e29}.es54-create{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:0 22px;background:linear-gradient(135deg,#fa7935,#f45f25);color:white!important;border-radius:99px;box-shadow:0 5px 11px rgba(246,103,40,.16);transition:transform .17s,box-shadow .17s}.es54-create:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(246,103,40,.28)}
.es54-search-toggle{position:relative}.es54-search-toggle>summary{display:flex;align-items:center;justify-content:center;padding:10px;cursor:pointer;list-style:none;border-radius:50%;transition:background .17s}.es54-search-toggle>summary:hover{background:#f2f5fa}.es54-search-toggle svg{width:20px;height:20px;fill:none;stroke:#243044;stroke-width:1.8;stroke-linecap:round}
.es54-search-panel{position:absolute;top:calc(100% + 22px);right:-22px;width:min(370px,calc(100vw - 35px));background:#fff;border:1px solid var(--es54-stroke);border-radius:15px;padding:18px;box-shadow:0 18px 45px rgba(11,30,62,.17);z-index:501}.es54-search-toggle:not([open])>.es54-search-panel{display:none}.es54-search-panel label{display:block;font-weight:800;color:#1a3453;margin-bottom:10px}.es54-search-panel>div{display:flex;gap:7px}.es54-search-panel input{min-width:0;flex:1;border:1px solid #d6dfeb;border-radius:9px;padding:12px 10px;font:inherit}.es54-search-panel button{border:0;border-radius:9px;background:#f56d2b;color:white;padding:0 14px;font-weight:800;cursor:pointer}
.es54-mobile{display:none}
@keyframes es54Drop{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1160px){.es54-nav{gap:15px;margin-left:8px}.es54-inner{gap:17px}.es54-nav>a,.es54-dropdown>summary{font-size:13px}.es54-actions{gap:13px}.es54-create{padding:0 16px}}
@media(max-width:940px){.es54-inner{min-height:73px;gap:12px;padding:0 18px}.es54-brand img{width:164px}.es54-nav,.es54-actions{display:none}.es54-mobile{display:block;margin-left:auto;position:relative}.es54-mobile>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;border:1px solid #e1e7ef;border-radius:12px;padding:11px 13px;font-weight:800;color:#15345c;background:#fff}.es54-hamburger{width:20px;display:grid;gap:4px}.es54-hamburger i{display:block;background:#183a64;height:2px;border-radius:6px;width:100%;transition:transform .2s}.es54-mobile[open] .es54-hamburger i:first-child{transform:translateY(6px) rotate(45deg)}.es54-mobile[open] .es54-hamburger i:nth-child(2){opacity:0}.es54-mobile[open] .es54-hamburger i:last-child{transform:translateY(-6px) rotate(-45deg)}
.es54-mobile-panel{position:absolute;top:calc(100% + 13px);right:0;width:min(370px,calc(100vw - 28px));max-height:calc(100dvh - 95px);overflow:auto;background:white;border:1px solid #e4eaf2;border-radius:18px;box-shadow:0 22px 62px rgba(8,30,67,.18);padding:15px;display:flex;flex-direction:column;gap:2px;z-index:520;animation:es54Drop .2s ease-out}
.es54-mobile:not([open]) .es54-mobile-panel{display:none}.es54-mobile-panel>a,.es54-mobile-sub>summary{display:flex;align-items:center;justify-content:space-between;color:#1b365a;text-decoration:none;font-size:15px;font-weight:750;padding:13px 12px;border-radius:10px;cursor:pointer;list-style:none}.es54-mobile-panel>a:hover,.es54-mobile-sub>summary:hover{background:#eff5fe}.es54-mobile-sub>summary::-webkit-details-marker{display:none}.es54-mobile-sub>div{padding:2px 6px 12px 14px;max-height:240px;overflow:auto;display:grid;gap:3px}.es54-mobile-sub:not([open])>div{display:none}.es54-mobile-sub>div>a{display:flex;align-items:center;gap:11px;border-radius:7px;padding:9px 11px;font-size:14px;color:#2b405d;text-decoration:none}.es54-mobile-sub>div>a:hover{background:#f2f6fb}.es54-mobile-panel form{display:flex;gap:7px;padding:3px 0 12px}.es54-mobile-panel form input{width:100%;min-width:0;border:1px solid #dfe5ef;background:#f8faff;border-radius:9px;padding:10px;font:inherit;font-size:14px}.es54-mobile-panel form button{border:0;border-radius:9px;background:#f36e2d;color:#fff;font-weight:800;padding:0 15px}.es54-mobile-panel .es54-mobile-cta{background:#f36e2d;color:white;justify-content:center;margin-top:7px}
}
@media(max-width:400px){.es54-brand img{width:139px}.es54-mobile-label{font-size:13px}.es54-inner{padding:0 12px}}
@media(prefers-reduced-motion:reduce){.es54-header *{animation:none!important;transition:none!important}}
