/* Shared navigation: readable desktop layout and stable dropdowns. */
body header.topbar{background:#fff!important;backdrop-filter:none!important;overflow:visible!important;box-shadow:0 4px 18px #063f4308;border-bottom:1px solid #dce5df!important}
body.admin-bar header.topbar{top:32px!important}
body header.topbar .desktop-nav>a,body header.topbar .desktop-nav>.nav-group>a{border-radius:5px;color:#214b4d!important;text-decoration:none!important;letter-spacing:0!important;transition:background .15s,color .15s;outline-offset:3px}
body header.topbar .desktop-nav>a:hover,body header.topbar .desktop-nav>.nav-group:hover>a{background:#edf3ee!important;color:#063f43!important}
body header.topbar .desktop-nav>a[aria-current="page"],body header.topbar .nav-group.is-current>a{background:#f4efdf!important;color:#063f43!important;box-shadow:inset 0 -3px 0 #b88c36}
body header.topbar .desktop-nav>.nav-group{position:relative!important;display:inline-flex!important;align-items:center!important;align-self:stretch!important;gap:0!important;padding:0!important}
body header.topbar .nav-group .ysm-submenu-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:28px;min-width:28px;height:44px;margin:0 2px 0 -7px;padding:0;border:0;border-radius:4px;background:transparent;color:#4a6868;cursor:pointer;flex-shrink:0}
body header.topbar .ysm-submenu-toggle:before{content:"";width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s}
body header.topbar .ysm-submenu-toggle[aria-expanded="true"]:before{transform:translateY(2px) rotate(225deg)}
body header.topbar .ysm-submenu-toggle:hover{background:#e7eee8;color:#053f44}
body header.topbar .desktop-nav .nav-sub{display:block!important;position:absolute!important;top:100%!important;left:0!important;right:auto!important;min-width:275px;max-width:calc(100vw - 36px);margin:0!important;padding:9px!important;border:1px solid #d9e2da;border-top:3px solid #bf963f;border-radius:0 0 9px 9px;background:#fff!important;box-shadow:0 16px 35px #123c4024;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(4px);transition:opacity .12s,transform .12s,visibility .12s;z-index:200!important}
body header.topbar .nav-group .nav-sub:before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px;background:transparent}
body header.topbar .nav-group.is-menu-open .nav-sub,body header.topbar .nav-group:not(.ysm-enhanced):hover .nav-sub,body header.topbar .nav-group:not(.ysm-enhanced):focus-within .nav-sub{opacity:1;visibility:visible;pointer-events:auto;transform:none}
body header.topbar .nav-group.ysm-align-end .nav-sub{left:auto!important;right:0!important}
body header.topbar .desktop-nav .nav-sub a{display:block!important;min-height:43px;padding:11px 14px!important;margin:0!important;white-space:normal!important;color:#244f50!important;font-size:14px!important;font-weight:500!important;line-height:1.5!important;border-radius:4px;outline-offset:-2px}
body header.topbar .desktop-nav .nav-sub a:hover,body header.topbar .desktop-nav .nav-sub a:focus-visible{background:#eff3eb!important;color:#063f43!important}
body header.topbar a:focus-visible,body header.topbar button:focus-visible{outline:2px solid #ad8129!important;outline-offset:3px!important}
@media(min-width:1240px){body header.topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:0 24px!important;min-height:132px!important;height:auto!important;padding:12px clamp(24px,4vw,64px) 0!important;align-items:center!important}body header.topbar .brand{grid-column:1!important;grid-row:1!important;justify-self:start;min-width:0!important;max-width:none!important;flex:none!important;gap:13px!important;padding:0 0 11px!important}body header.topbar .brand img{width:61px!important;height:66px!important;flex:0 0 61px!important}body header.topbar .brand b{font-size:18px!important;line-height:1.25!important}body header.topbar .brand small{font-size:10px!important;line-height:1.5!important;letter-spacing:.07em!important}body header.topbar .top-actions{grid-column:2!important;grid-row:1!important;justify-self:end;display:flex!important;padding:0 0 11px!important;margin:0!important;gap:14px!important;flex:none!important}body header.topbar .head-controls{gap:14px!important}body header.topbar .lang-switch select{height:40px!important;min-width:116px!important;font-size:13px!important;border:1px solid #c5d4cd!important;background:#f8fbf8!important}body header.topbar a.join-ysan-cta{display:inline-flex!important;height:40px!important;min-height:40px!important;font-size:13px!important;padding:0 20px!important}body header.topbar .top-actions>.menu-btn{display:none!important}body header.topbar .desktop-nav{grid-column:1/-1!important;grid-row:2!important;display:flex!important;justify-content:center!important;align-items:stretch!important;gap:5px!important;width:100%!important;height:auto!important;min-width:0!important;margin:0!important;padding:3px 0!important;border-top:1px solid #e6ece5!important;flex:none!important}body header.topbar .desktop-nav>a,body header.topbar .desktop-nav>.nav-group>a{display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:10px 15px!important;font-size:14px!important;line-height:1.4!important;font-weight:650!important;white-space:nowrap!important}body header.topbar .desktop-nav>.nav-group>a{padding-right:12px!important}}
@media(max-width:1239px){body header.topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;min-height:80px!important;height:auto!important;gap:12px!important;padding:9px 20px!important}body header.topbar .desktop-nav{display:none!important}body header.topbar .brand{flex:1 1 auto!important;min-width:0!important;max-width:480px!important;gap:10px!important}body header.topbar .brand img{width:50px!important;height:56px!important;flex:0 0 50px!important}body header.topbar .brand b{font-size:14px!important;line-height:1.25!important}body header.topbar .brand small{font-size:8px!important;line-height:1.4!important}body header.topbar .top-actions{flex:0 0 auto!important;gap:10px!important;margin:0!important}body header.topbar .top-actions>.menu-btn{display:grid!important;margin:0!important;min-width:44px!important;width:44px!important;height:42px!important}body header.topbar a.join-ysan-cta{display:none!important}body header.topbar .lang-switch select{height:38px!important;min-width:98px!important;font-size:12px!important}.drawer-nav>a[href*="/gallery/"]{color:#063f43}}
@media(max-width:782px){body.admin-bar header.topbar{top:46px!important}}
@media(max-width:580px){body header.topbar{padding:9px 12px!important;gap:8px!important}body header.topbar .brand{gap:8px!important}body header.topbar .brand img{width:42px!important;height:49px!important;flex-basis:42px!important}body header.topbar .brand b{font-size:11px!important}body header.topbar .brand small{font-size:7px!important}body header.topbar .lang-switch select{min-width:78px!important;max-width:86px!important;font-size:11px!important;padding-left:7px!important;padding-right:17px!important}body header.topbar .head-controls{gap:0!important}body header.topbar .top-actions{gap:8px!important}}
@media(prefers-reduced-motion:reduce){body header.topbar .nav-sub,body header.topbar a,body header.topbar button:before{transition:none!important}}
/* Single desktop row; six primary items leave room for identity and actions. */
@media(min-width:1240px){body header.topbar{grid-template-columns:250px minmax(0,1fr) auto!important;grid-template-rows:auto!important;gap:12px!important;min-height:88px!important;padding:10px 24px!important}body header.topbar .brand{grid-column:1!important;grid-row:1!important;padding:0!important;gap:10px!important;max-width:250px!important}body header.topbar .brand img{width:52px!important;height:60px!important;flex-basis:52px!important}body header.topbar .brand b{font-size:14px!important;white-space:normal!important}body header.topbar .brand small{font-size:7px!important;letter-spacing:.025em!important;white-space:normal!important}body header.topbar .desktop-nav{grid-column:2!important;grid-row:1!important;justify-content:center!important;gap:1px!important;border:0!important;padding:0!important;width:auto!important}body header.topbar .desktop-nav>a,body header.topbar .desktop-nav>.nav-group>a{font-size:13.5px!important;padding:10px 8px!important}body header.topbar .nav-group .ysm-submenu-toggle{width:24px!important;min-width:24px!important;margin-right:0!important;margin-left:-5px!important}body header.topbar .top-actions{grid-column:3!important;grid-row:1!important;padding:0!important;gap:8px!important}body header.topbar .head-controls{gap:8px!important}body header.topbar .lang-switch select{min-width:85px!important;max-width:90px!important;font-size:12px!important;padding-left:9px!important;padding-right:20px!important}body header.topbar a.join-ysan-cta{padding:0 12px!important;font-size:12px!important}}
body .drawer-nav>.nav-group{display:block!important;padding:0!important;margin:0!important}body .drawer-nav>.nav-group>.nav-sub{position:static!important;display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;box-shadow:none!important;border:0!important;border-left:2px solid #c8a24c!important;margin:0 0 12px 14px!important;padding:0 0 0 12px!important;min-width:0!important;background:transparent!important}body .drawer-nav .nav-sub>a{font-size:14px!important;padding:8px 10px!important;line-height:1.45!important;min-height:38px!important}body .drawer-nav>.nav-group>a{display:block!important}
