/* ==========================================================================
   Footer 2026 (Dev Build Plan 2.9, Nov 7, 2026)
   Direction B footer from mockups/site/b-home.html (r2.css .site-footer),
   applied to the Themer layout rows with class "js-footer". The newsletter
   form is HubSpot form 27a1a9ee in an iframe; js/footer.js styles inside it.
   ========================================================================== */
body .js-footer { color: var(--js-on-dark); }
body .js-footer .fl-module-content { margin: 0; }
body .js-footer p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--js-on-dark); }

/* Top row: logo and newsletter, then four link columns */
body .js-footer-news .fl-col-content { display: grid; gap: 14px; align-content: start; padding-right: 32px; }
body .js-footer-logo img { display: block; width: 96px; height: auto; }
body .js-footer p.js-footer-note { font-size: 14px; color: var(--js-on-dark-muted); }
body .js-footer-col .fl-col-content { padding-right: 16px; }

body .js-footer .js-footer-heading .fl-heading,
body .js-footer .js-footer-heading .fl-heading-text,
body .fl-builder-content .js-footer .js-footer-heading h2 {
  margin: 0 0 12px; font: 600 15px/1.3 var(--js-font); font-stretch: 100%; font-variation-settings: normal;
  letter-spacing: 0; color: #FFFFFF;
}
/* Space between a column heading and its first link: on the module, which
   Beaver Builder's own heading margins can't override (Nov 12, 2026) */
body .fl-builder-content .js-footer .fl-module.js-footer-heading { margin-bottom: 16px !important; }
body .fl-builder-content .js-footer .fl-module.js-footer-heading :is(h2, h3, .fl-heading) { margin: 0 !important; }

/* Newsletter Signup module (jobsync-extended 1.3.0) in the footer */
body .js-footer .jsx-nl-consent { max-width: 34em; }

/* Link lists (Beaver Builder Menu module) */
body .js-footer .js-footer-menu .fl-menu ul.menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
body .js-footer .js-footer-menu .fl-menu ul.menu::before, body .js-footer .js-footer-menu .fl-menu ul.menu::after { display: none; } /* clearfix would take a grid/flex slot */
body .js-footer .js-footer-menu .fl-menu ul.menu > li { float: none; border: 0; }
body .js-footer .js-footer-menu .fl-menu ul.menu > li > a {
  display: inline; padding: 0; border: 0; background: none;
  font: 400 15px/1.45 var(--js-font); color: var(--js-on-dark); text-decoration: none;
}
body .js-footer .js-footer-menu .fl-menu ul.menu > li > a:hover,
body .js-footer .js-footer-menu .fl-menu ul.menu > li > a:focus-visible { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }

/* Bottom row: copyright left, legal and social links right, rule above */
body .js-footer-bottom .fl-row-content { border-top: 1px solid var(--js-dark-line); padding: 22px 0 28px; }
body .js-footer-bottom .fl-col-group { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; }
body .js-footer-bottom .fl-col-group::before, body .js-footer-bottom .fl-col-group::after { display: none; } /* Beaver Builder clearfix would act as flex items */
body .js-footer-bottom .fl-col { width: auto !important; float: none; }
body .js-footer-bottom p, body .js-footer-bottom .fl-menu ul.menu > li > a { font-size: 14px; color: var(--js-on-dark-muted); }
body .js-footer-legal .fl-col-content { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; align-items: baseline; }
body .js-footer .js-footer-menu-inline .fl-menu ul.menu { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; }

/* Newsletter form iframe: no white flash before footer.js styles it */
body .js-footer-form iframe.hs-form-iframe { background: transparent; color-scheme: dark; }

/* Two link columns per row on tablets; one column on small phones */
@media (max-width: 960px) {
  body .js-footer-top .fl-col.js-footer-news { width: 100% !important; margin-bottom: 32px; }
  body .js-footer-top .fl-col.js-footer-col { width: 50% !important; margin-bottom: 28px; }
  body .js-footer-news .fl-col-content { padding-right: 0; }
}
@media (max-width: 768px) {
  body .js-footer-bottom .fl-col-group { flex-direction: column; align-items: flex-start; }
  body .js-footer-bottom, body .js-footer-bottom .fl-col, body .js-footer-bottom p { text-align: left; }
  body .js-footer-bottom .fl-col { margin-left: 0 !important; margin-right: 0 !important; } /* Beaver Builder centers stacked columns */
  body .js-footer-legal .fl-col-content, body .js-footer .js-footer-menu-inline .fl-menu ul.menu { justify-content: flex-start; }
}
@media (max-width: 480px) {
  body .js-footer-top .fl-col.js-footer-col { width: 100% !important; }
  body .js-footer-legal .fl-col-content { justify-content: flex-start; }
}

/* Claude: 2026-11-14. "Private Beta" badge: add the class badge-private-beta to a footer menu item. */
body .js-footer .js-footer-menu .fl-menu li.badge-private-beta > a::after {
  content: "Private Beta"; display: inline-block; margin-left: 6px; padding: 3px 7px; vertical-align: 1px;
  font: 600 11.5px/1 var(--js-font); color: var(--js-dark); background: var(--js-yellow); border-radius: 999px;
}
