/* the floating Register bar on the lecture and Strawberry Jam pages (eventbar.py); same look as the class pages' */
html{scroll-behavior:smooth}
#booking,#form{scroll-margin-top:72px}
.apb{position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(255,255,255,.96);border-top:1px solid var(--hair,#c6d6e4);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.apb{transition:transform .3s ease}.apb.apb-off{transform:translateY(110%)}
.apb-in{max-width:960px;margin:0 auto;display:flex;align-items:center;gap:14px;color:var(--navy,#2f5d34)}
.apb-txt{flex:1;min-width:0;font-size:13px;line-height:1.45}
.apb-txt b{display:block;font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.apb-btn{flex:0 0 auto;background:var(--navy,#2f5d34);color:#fff!important;text-decoration:none;font-size:15px;letter-spacing:.06em;padding:13px 26px}
body:has(.apb:not([hidden])){padding-bottom:76px}
body:has(.nxb:not([hidden])){padding-bottom:98px}
/* the next-event bar (nextbar.py): the next 3 events, each a link; side by side, or one at a time on a phone */
.apb[hidden]{display:none}
.nxb{padding-top:0;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
/* the label strip over it (Genio 2026-10-10, option 1): navy, white small caps, to all the events; × closes it with the bar */
.nxb-lbl{display:block;margin:0 -16px 8px;background:var(--navy,#2f5d34);color:#fff!important;text-align:center;font-size:11px;
  letter-spacing:.14em;text-transform:uppercase;line-height:22px;text-decoration:none!important;transition:filter .25s ease}
.nxb-lbl:hover{filter:brightness(1.1)}
.nxb .apb-in{max-width:1080px;gap:6px}
.nxb-track{flex:1;min-width:0;display:flex}
.nxb-i{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:10px;padding:6px 18px;color:inherit;text-decoration:none;
  border-left:1px solid var(--hair,#c6d6e4);transition:background .25s ease}
.nxb-i:first-child{border-left:0;padding-left:0}
.nxb-i:hover{background:rgba(47,93,52,.04)}
.nxb .apb-txt{font-size:12.5px;color:var(--ink-mute,#5a6b62)}
.nxb .apb-txt b{color:var(--navy,#2f5d34);font-size:14px}
.nxb-i:hover .apb-txt b{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.nxb-go{flex:0 0 auto;color:var(--navy,#2f5d34);font-size:15px;opacity:.6;transition:transform .25s ease,opacity .25s ease}
.nxb-i:hover .nxb-go{opacity:1;transform:translateX(3px)}
.nxb-dots{display:none}
.nxb-x{flex:0 0 auto;background:none;border:0;color:var(--ink-mute,#5a6b62);font-size:22px;line-height:1;padding:8px 4px 8px 10px;cursor:pointer}
@media (max-width:760px){
  .nxb-track{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .nxb-track::-webkit-scrollbar{display:none}
  .nxb-i{flex:0 0 100%;scroll-snap-align:start;border-left:0;padding:6px 2px}
  .nxb-dots{display:flex;flex-direction:column;gap:5px}
  .nxb-dots i{width:5px;height:5px;border-radius:50%;background:var(--navy,#2f5d34);opacity:.22;transition:opacity .3s ease}
  .nxb-dots i.on{opacity:.8}
}
@media (prefers-reduced-motion:reduce){.nxb-i,.nxb-go{transition:none}}
