/* Overrides preserve the original grid while replacing legacy JavaScript. */
[hidden] { display: none !important; }
.fb-header { padding: 0; }
.fb-logo { display: block; background: #fff; padding: 0; }
.fb-logo img { display: block; max-width: 100%; height: auto; }
.fb-nav { position: relative; background: #223f81; color: #fff; }
.fb-navigation { display: flex; justify-content: space-between; }
.fb-menu, .fb-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.fb-menu { display: flex; }
.fb-menu li { position: relative; }
.fb-menu > li { border-left: 1px solid rgba(255,255,255,.22); }
.fb-menu a, .fb-submenu-toggle { display: block; color: #fff; padding: 0 15px; font: 400 13px/45px 'Cabin',sans-serif; margin: 0; border: 0; background: transparent; text-align: left; white-space: nowrap; }
.fb-submenu-toggle { letter-spacing: .03em; padding-right: 20px; }
.fb-menu a:hover, .fb-menu a:focus-visible, .fb-submenu-toggle:hover, .fb-submenu-toggle:focus-visible { background: #7a8cb3; color: #fff; }
.fb-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 225px; background: #223f81; z-index: 50; }
.fb-menu .sub-menu a { line-height: 1.6; padding: 8px 15px; }
.fb-nav:not(.is-ready) .menu-item-has-children:hover > .sub-menu, .fb-nav:not(.is-ready) .menu-item-has-children:focus-within > .sub-menu, .fb-menu .is-open > .sub-menu { display: block; }
.fb-menu .menu-item-has-children > a:after, .fb-submenu-toggle:after { content: ' ▾'; }
.fb-menu-toggle { display: none; }
.fb-footer-wrap { background: #223f81; }
.footer:after { content: ''; display: table; clear: both; }
.fb-image-heading { margin: .2rem 0 .5rem; }
.fb-title-was-h2 { font-size: 2.3125rem; }
.fb-title-was-h3 { font-size: 1.6875rem; }
.fb-title-was-h4, .fb-career-body h1, .fb-job-detail h1 { font-size: 1.4375rem; }
.fb-title-was-h5, .fb-career-body > h2, .fb-job-card h3, .fb-job-description h2, .fb-career-contact h2 { font-size: 1.125rem; }
.fb-content table { max-width: 100%; }
.fb-table-scroll { overflow-x: auto; }
.fb-slider { position: relative; }
.fb-slides { display: grid; list-style: none; margin: 0; padding: 0; }
.fb-slides > li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1s ease; }
.fb-slides > li:first-child, .fb-slides > li.is-active { opacity: 1; visibility: visible; }
.fb-slider.is-ready .fb-slides > li:not(.is-active) { opacity: 0; visibility: hidden; }
.fb-slides img { display: block; width: 100%; height: auto; }
.fb-slider-controls { display: none; position: absolute; inset: auto 12px 12px; justify-content: space-between; pointer-events: none; }
.fb-slider.is-ready .fb-slider-controls { display: flex; }
.fb-slider-controls button { pointer-events: auto; margin: 0; padding: 7px 12px; color: #fff; background: rgba(0,0,0,.65); border: 0; font-size: 14px; line-height: 1.5; }
.fb-skip-link { position: absolute; left: -10000px; top: 0; z-index: 99999; padding: 1rem; background: #fff; color: #223f81; }
.fb-skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid #e9aa28; outline-offset: 3px; }
.fb-content .wp-block-group { margin-block: 0; }
/* This gallery row is inside an unpadded section, so it needs no negative grid gutters. */
.fb-content #window > .row { margin-left: 0; margin-right: 0; }
/* Long German service names must also fit the narrow four-column tablet grid. */
.home .fb-content h4 { overflow-wrap: anywhere; hyphens: auto; }
.fb-career-hero img { display: block; width: 100%; height: auto; }
.fb-career-body { padding-top: 1.75rem; padding-bottom: 2rem; }
.fb-career-eyebrow, .fb-job-location { color: #223f81; font-size: .85rem; }
.fb-career-eyebrow { margin-bottom: .4rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fb-career-lead { color: #223f81; font-size: .96rem; line-height: 1.6; }
.fb-career-body > p { max-width: 52rem; }
.fb-career-body > h2 { margin-top: 2rem; }
.fb-job-card, .fb-jobs-empty { padding: 1.5rem; margin: 1.25rem 0; background: #f3f5f8; border-left: 4px solid #223f81; }
.fb-job-card h3 { margin: .3rem 0 .7rem; line-height: 1.4; }
.fb-job-card h3 a { color: #223f81; }
.fb-job-location { margin: 0; }
.fb-career-button { display: inline-block; padding: .75rem 1rem; background: #223f81; color: #fff; font-size: .96rem; line-height: 1.4; text-align: center; }
.fb-career-button:hover, .fb-career-button:focus-visible { background: #172e63; color: #fff; }
.fb-job-detail { padding-top: 1.5rem; padding-bottom: 2rem; }
.fb-job-detail h1 { margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.fb-job-description h2 { margin-top: 1.5rem; }
.fb-job-description h2:first-child { margin-top: 0; }
.fb-career-contact { margin: 0 0 1.5rem; padding: 1.25rem; background: #f3f5f8; border-top: 4px solid #223f81; overflow-wrap: anywhere; }
.fb-career-contact .fb-career-button { margin-bottom: .75rem; }
.fb-career-contact p, .fb-career-back { font-size: .96rem; }
@media (max-width: 860px) {
  .fb-navigation, .fb-menu { display: block; }
  .fb-menu li { border: 0; }
  .fb-menu .sub-menu { position: static; padding-left: 15px; }
  .fb-menu .sub-menu a { white-space: normal; }
  .fb-nav.is-ready .fb-navigation { display: none; }
  .fb-nav.is-ready.is-open .fb-navigation { display: block; }
  .fb-nav.is-ready .fb-menu-toggle { display: flex; justify-content: space-between; width: 100%; margin: 0; padding: 12px 15px; color: #fff; background: transparent; font-size: 15px; border: 0; }
  .fb-menu a, .fb-submenu-toggle { width: 100%; }
  .fb-nav .menu-item-has-children:not(.is-open) > .sub-menu { display: none; }
  .fb-nav:not(.is-ready) .menu-item-has-children:focus-within > .sub-menu { display: block; }
}
@media (max-width: 640px) {
  .fb-title-was-h2 { font-size: 1.6875rem; }
  .fb-title-was-h4, .fb-career-body h1, .fb-job-detail h1 { font-size: 1.125rem; }
  .fb-career-body { padding-top: 1.25rem; }
  .fb-job-card, .fb-jobs-empty { padding: 1rem; }
  .fb-content table { font-size: 13px; }
  #window { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) { .fb-slides > li { transition: none; } }
