/* Fixed on scroll instead of sticky in Blocksy's original layout: no mobile gap. */
#header.ff-smart-header.ff-smart-header--fixed {
  position: fixed !important;
  top: var(--ff-visible-admin-offset, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin-top: 0 !important;
  z-index: 9999;
  transition: transform 220ms ease;
}
#header.ff-smart-header.ff-smart-header--fixed.ff-smart-header--hidden {
  transform: translate3d(0, calc(-100% - var(--ff-visible-admin-offset, 0px)), 0);
}
.ff-smart-header-spacer { display: none; }
@media (prefers-reduced-motion: reduce) {
  #header.ff-smart-header.ff-smart-header--fixed { transition: none; }
}

/* Disable Blocksy's scroll transforms while our fixed-header controller owns the header. */
#header.ff-smart-header.ff-smart-header--fixed:not(.ff-smart-header--hidden) { transform: translate3d(0,0,0) !important; }

/* Race bar (every page): which race a member is modelling, or a membership link for everyone else. Kept quiet on purpose. */
.ff-racebar { background: #0e2c4d; color: #c9d9e6; font-size: 12.5px; line-height: 1.2; position: relative; z-index: 5; border-bottom: 1px solid rgba(120, 169, 199, .25); }
.ff-racebar__in { max-width: 1290px; margin: 0 auto; padding: 4px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 10px; box-sizing: border-box; }
.ff-racebar .ff-racebar__txt { font-size: 12.5px !important; line-height: 1.2 !important; font-weight: 500; margin: 0 !important; padding: 0; color: inherit; letter-spacing: 0; text-transform: none; }
.ff-racebar .ff-racebar__sel { font-size: 12.5px !important; font-family: inherit; font-weight: 600; color: #fff; background-color: transparent; background-image: none !important; -webkit-appearance: menulist; appearance: auto; color-scheme: dark; border: 1px solid rgba(120, 169, 199, .5); border-radius: 4px; padding: 0 4px; margin: 0; min-height: 0 !important; height: 22px !important; line-height: 20px; width: auto; max-width: 100%; box-shadow: none; cursor: pointer; }
.ff-racebar__sel option { color: #071f38; background: #fff; }
.ff-racebar__sel:hover { border-color: #78a9c7; }
.ff-racebar__sel:focus-visible { outline: 2px solid #ff9a00; outline-offset: 1px; }
.ff-racebar a { color: #ff9a00; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ff-racebar a:hover, .ff-racebar a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
	.ff-racebar__in { justify-content: center; flex-wrap: nowrap; }
	.ff-racebar .ff-racebar__txt { white-space: nowrap; }
	.ff-racebar--free .ff-racebar__txt { white-space: normal; }
	.ff-racebar__in { gap: 4px 8px; padding: 4px 10px; }
}
