/* FFRJ header logo sizing — preserve the native header and navigation. */
#board-header-links #board-logo {
  width: 280px;
  height: auto;
  max-width: 280px;
  max-height: none !important;
  object-fit: contain;
}
#board-header-links {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
@media (max-width: 639px) {
  #board-header-links #board-logo {
    width: 220px;
    max-width: 220px;
  }
}


/* Jobs page only: native forms, query bindings and result rendering retained. */
main:has(#section-67643) {
  display: grid; grid-template-columns: 267px minmax(0, 1fr); column-gap: 36px;
  max-width: 1280px; width: calc(100% - 40px); margin: 0 auto 48px;
}
main:has(#section-67643) > [data-section-id="67643"],
main:has(#section-67643) > [data-section-id="65481"],
#section-67643, #section-65481, #section-65481 > div,
#section-65481 .job-board-main-grid { display: contents; }
main:has(#section-67643) > .section-add-zone { grid-column: 1 / -1; }
.ffrj-jobs-intro { grid-column: 1 / -1; grid-row: 1; padding: 52px 0 32px; margin-bottom: 28px; color: #193B33; border-bottom: 1px solid #DEE4DD; box-sizing: border-box; }
.ffrj-jobs-intro h2 { font: 400 clamp(38px, 4vw, 56px)/1.15 'Playfair Display', Georgia, serif; letter-spacing: -.025em; margin: 0 0 24px; color: #193B33; overflow-wrap: break-word; }
.ffrj-jobs-intro p { font: 400 18px/1.6 Inter, system-ui, sans-serif; color: #53615A; margin: 0; max-width: 1120px; }
.ffrj-jobs-intro .ffrj-jobs-kicker { font-size: 12px; line-height: 1.55; color: #765B36; text-transform: uppercase; letter-spacing: .045em; margin-bottom: 20px; }
.ffrj-jobs-mobile-intro { display: none; }
#section-65481 > div > .mb-6:first-child { grid-column: 2; grid-row: 2; margin: 0 0 18px; }
#section-65481 h1 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#section-65481 > div > .mb-6:first-child p { color: #53615A !important; margin: 0; font: 400 14px/1.55 Inter, sans-serif; }
#section-65481 > div > .flex.mb-6 { grid-column: 2; grid-row: 3; margin-bottom: 16px; }
#section-65481 .job-board-filter-column { grid-column: 1; grid-row: 2 / span 3; width: auto; }
#section-65481 .job-board-list-column { grid-column: 2; grid-row: 4; width: auto; min-width: 0; }
#section-65481 .theme-builder-jobs-filters { border: 0 !important; border-radius: 3px; box-shadow: none !important; padding: 0; background: transparent !important; }
#section-65481 .theme-builder-jobs-filters form { gap: 12px; }
#section-65481 .theme-builder-jobs-filters .filter-card { height: auto; min-height: 64px; padding: 8px 12px; background: #FAF7EF; border: 1px solid #DEE4DD; border-radius: 3px; box-sizing: border-box; }
#section-65481 .theme-builder-jobs-filters .sr-only { position: static; width: auto; height: auto; padding: 0; margin: 0 0 6px; overflow: visible; clip: auto; white-space: normal; display: block; font: 400 12px/1.4 Inter, sans-serif; color: #53615A; }
#section-65481 .theme-builder-jobs-filters input[type="text"],
#section-65481 .theme-builder-jobs-filters button[type="submit"] { border-radius: 3px; }
#section-65481 .theme-builder-jobs-filters #q { height: 46px; font-weight: 400; }
#section-65481 .filter-card button { height: 24px; font-weight: 400; }
#section-65481 .filter-card [data-controller="places"] { height: 24px; }
#section-65481 .filter-card input { font-weight: 400; }
#section-65481 .theme-builder-jobs-filters button[type="submit"] { height: 46px; font-weight: 400; }
#section-65481 .theme-builder-jobs-filters :is(input,button):focus-visible { outline: 2px solid #193B33; outline-offset: 2px; }
/* This marker is rendered by the documented global board.jobs_count == 0 condition. */
main:has(.ffrj-board-empty) #section-65481 .job-board-list-column > .border-dashed,
main:has(.ffrj-board-empty) #section-65481 > div > .flex.mb-6 { display: none; }
.ffrj-board-empty { grid-column: 2; grid-row: 3 / span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-self: start; color: #193B33; }
.ffrj-board-empty figure { margin: 0; }
.ffrj-board-empty img { display: block; width: 100%; height: auto; }
.ffrj-board-empty figcaption { margin-top: 8px; font: 400 12px/1.5 Inter, sans-serif; color: #53615A; }
.ffrj-empty-copy { padding: 20px 0; }
.ffrj-empty-copy h2 { font: 400 clamp(26px, 2.5vw, 36px)/1.18 'Playfair Display', Georgia, serif; margin: 0 0 20px; letter-spacing: -.02em; color: #193B33; }
.ffrj-board-empty p { font: 400 16px/1.6 Inter, sans-serif; color: #53615A; margin: 0 0 20px; }
.ffrj-empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ffrj-empty-actions a { font: 400 14px/1.4 Inter, sans-serif; color: #193B33; text-decoration: none; }
.ffrj-empty-actions .ffrj-candidate-action { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid #193B33; border-radius: 3px; box-sizing: border-box; }
.ffrj-empty-actions a:focus-visible { outline: 2px solid #193B33; outline-offset: 4px; }
.ffrj-empty-skills { grid-column: 1 / -1; border-top: 1px solid #DEE4DD; padding-top: 24px; }
.ffrj-empty-skills h3 { margin: 0 0 10px; font: 400 24px/1.3 'Playfair Display', Georgia, serif; }
@media (max-width: 1023px) {
  main:has(#section-67643) { display: flex; flex-direction: column; margin-bottom: 32px; }
  .ffrj-jobs-intro { order: 0; }
  #section-65481 > div > .mb-6:first-child { order: 2; margin-bottom: 16px; }
  #section-65481 > div > .flex.mb-6 { order: 3; }
  #section-65481 .job-board-filter-column { order: 1; margin-bottom: 20px; }
  #section-65481 .job-board-list-column { order: 4; }
  .ffrj-board-empty { order: 5; }
  main:has(#section-67643) > .section-add-zone { order: 6; }
  #section-65481 .theme-builder-jobs-filters form > .grid:nth-child(2) { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
  #section-65481 .theme-builder-jobs-filters form > .grid:nth-child(2) > .filter-card:nth-child(n+3) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ffrj-jobs-intro { padding: 32px 0 24px; margin-bottom: 24px; }
  .ffrj-jobs-intro h2 { font-size: 40px; margin-bottom: 20px; }
  .ffrj-jobs-intro p { font-size: 16px; }
  .ffrj-jobs-intro .ffrj-jobs-kicker { font-size: 12px; }
  .ffrj-jobs-desktop-intro { display: none; }
  .ffrj-jobs-mobile-intro { display: block; }
  .ffrj-board-empty { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .ffrj-empty-copy { order: 1; padding: 0; }
  .ffrj-board-empty figure { order: 2; }
  .ffrj-empty-skills { order: 3; }
  .ffrj-empty-copy h2 { font-size: 32px; }
  .ffrj-empty-actions { align-items: stretch; flex-direction: column; }
  .ffrj-empty-actions a { padding: 10px 0; }
}
