/* Employment page fixes (page review 2026-10-15). Loaded after the theme and the page's own styles. */

/* WordPress wrapped the HTML comments and closing tags in empty <p>s; their margins left a white gap
   between the hero and the band below it, and nudged the hero text off centre. */
.emp-section p:empty { display: none; }
/* ...and the <p> WordPress put around the hero's rotor watermark took a share of the hero's centring
   space (the page's ".emp-hero p { margin: 0 auto }" matches it), pushing the hero text 180px right */
.emp-section .emp-hero > p { display: contents; }

/* Hero: the page's own CSS (restored by employment.json) asks for 900px, taller than a laptop screen,
   so the "See current openings" band ended up below the fold. 680px keeps the full photo feel. */
@media (min-width: 901px) {
  .emp-section .emp-hero { min-height: 680px; padding: 120px 20px; }
}
/* Phones: keep the helicopter, not just the statue, in the frame */
@media (max-width: 600px) {
  .emp-section .emp-hero-bg { background-position: 70% center; }
}

/* Rotating band: WordPress put <br>s and a <p> around the button and between the phrases; the <br>s lifted
   the arrow above the text and the <p> margin pushed the button off the band's centre line. */
/* (every rule here starts with .emp-section: the page's own <style> comes later in the page, so a
   selector of equal weight would lose to it) */
.emp-section .emp-rotator-text br,
.emp-section .emp-rotator-button br { display: none; }
.emp-section .emp-rotator-inner > p { margin: 0; }
.emp-section .emp-rotator-button .arrow { line-height: 1; }
/* The phrases take turns by :nth-child, but the <br>s between them count as children too, so phrases
   1, 3 and 4 all started together (drawn on top of each other) and the band was empty half the time.
   Count only the phrases. */
.emp-section .emp-rotator-phrase:nth-of-type(1) { animation-delay: 0s; }
.emp-section .emp-rotator-phrase:nth-of-type(2) { animation-delay: 5s; }
.emp-section .emp-rotator-phrase:nth-of-type(3) { animation-delay: 10s; }
.emp-section .emp-rotator-phrase:nth-of-type(4) { animation-delay: 15s; }
/* On phones the text block's 500px flex-basis became its height (column layout): a 500px empty band */
@media (max-width: 900px) {
  .emp-section .emp-rotator-text { flex: 0 0 auto; }
}
/* Design rules: no heavy hover shadow on the button (the lift stays) */
.emp-section .emp-rotator-button:hover { box-shadow: none; }

/* ---------------------------------------------------------------- the resume form
   (selectors match the plugin's own ".forminator-ui#forminator-module-16376.forminator-design--default" weight so these win) */
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-label {
  font-size: 14px;            /* was 12px, small on phones */
  margin-bottom: 6px;
}
/* Upload and Send buttons: navy like the page's other button (were plugin teal and light blue); 44px tall */
.forminator-ui#forminator-module-16376.forminator-design--default .heli-file::file-selector-button {
  background: #0A285A;
  padding: 0 18px;
  min-height: 44px;
  font-size: 13px;
}
.forminator-ui#forminator-module-16376.forminator-design--default .heli-file::file-selector-button:hover { background: #061B3F; }
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-button-submit {
  background-color: #0A285A;
  color: #fff;
  min-height: 44px;
  padding: 0 32px;
  letter-spacing: 1px;
  border-radius: 2px;
}
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-button-submit:hover,
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-button-submit:active { background-color: #061B3F; color: #fff; }
/* the consent tick: navy, not the plugin's light blue */
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-consent .forminator-checkbox-box { color: #0A285A; }
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-consent input:checked + .forminator-checkbox-box { border-color: #0A285A; }

/* Consent: the 20px box is the whole tap target; give it 44px without moving it */
.forminator-ui#forminator-module-16376.forminator-design--default label.forminator-checkbox { padding: 12px; margin: -12px; }

/* Keyboard focus on the fields (links and buttons get the site-wide ring from all.css) */
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-input:focus-visible,
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-textarea:focus-visible,
.forminator-ui#forminator-module-16376.forminator-design--default .heli-file:focus-visible,
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-button-submit:focus-visible,
.forminator-ui#forminator-module-16376.forminator-design--default input[type="checkbox"]:focus-visible + .forminator-checkbox-box {
  outline: 2px solid #0A285A;
  outline-offset: 2px;
}
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-button-submit:focus-visible { outline-offset: 3px; }

/* Spam check: same gap above and below as between the other fields */
.forminator-ui#forminator-module-16376.forminator-design--default .cf-turnstile { margin: 4px 0 24px; }

/* The form ran the full 1160px width under a centred 680px heading; centre it in a readable column */
.forminator-ui#forminator-module-16376.forminator-design--default { max-width: 760px; margin-left: auto; margin-right: auto; }
/* Field focus border: navy (was the plugin's light blue), matching the site's other forms */
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-input:focus,
.forminator-ui#forminator-module-16376.forminator-design--default .forminator-textarea:focus { border-color: #0A285A; }

/* Consent note: #888 on white failed contrast; slate like the other forms' notes, and 14px on phones */
body .emp-consent { color: #64748B !important; }
@media (max-width: 767px) { body .emp-consent { font-size: 14px !important; } }

/* ---------- Giving Back: the team food drive photo (Bennett 2026-10-16) ----------
   The photo is a 640px copy (the original wasn't found), so it is shown no wider than that, beside the text. */
body .emp-give { padding: 90px 20px 10px; }
body .emp-give-inner { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; align-items: center; }
body .emp-give-photo { margin: 0; border-radius: 4px; overflow: hidden; border: 1px solid #e5e8ee; background: #e8ecf2; }
body .emp-give-photo img { display: block; width: 100%; height: auto; }
body .emp-give-text h2 { margin: 0 0 18px !important; font: 700 36px/1.15 Roboto, Arial, sans-serif !important; color: #0A285A !important; text-align: left !important; }
body .emp-give-text .emp-eyebrow { text-align: left !important; }
body .emp-give-text .emp-divider { margin: 0 0 22px !important; }
body .emp-give-text p:last-child { margin: 0; font: 400 17px/1.65 "Open Sans", Arial, sans-serif; color: #444; }
@media (max-width: 899px) {
  body .emp-give { padding: 64px 0 0; }
  body .emp-give-inner { grid-template-columns: 1fr; gap: 28px; max-width: 560px; }
  body .emp-give-text h2 { font-size: 28px !important; }
}
