/* LLSB custom additions on top of the compiled Tailwind build */

/* Hero ticker animation (was a styled-jsx runtime style in the Next.js build) */
@keyframes b-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Base resets WordPress themes normally get from the original build's layout */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }

/* Offset the fixed navbar when the WP admin bar is visible */
body.admin-bar header[data-llsb-navbar] { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar header[data-llsb-navbar] { top: 46px; }
}

/* Reveal helper — applied by JS when an element scrolls into view */
[data-llsb-revealed] {
  opacity: 1 !important;
  transform: none !important;
}

/* News filter helper */
[data-llsb-hidden-card] { display: none !important; }

/* Contact form status */
[data-llsb-form-status].llsb-ok { color: #0e7a65; display: block !important; }
[data-llsb-form-status].llsb-err { color: #b91c1c; display: block !important; }

/* Skip link for accessibility */
.llsb-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 8px 16px;
  background: #0e7a65;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.llsb-skip-link:focus { left: 0; }
