/* Page-scoped hand fix, Employment family, second pass (2026-09-28 evening): the three Employment tabs —
 * Current Openings (/about-cae/careers/), Why Work at CAE (/about-cae/careers/why-work-at-cae/) and Apply Now
 * (/about-cae/careers/apply-now/). Enqueued on those three routes only (functions.php "fix-employment2"); every rule is
 * also scoped to the tab's body class. Loaded on all three because the tab strip swaps the three in place
 * (assets/interact/tab-anchor.js): the banner is ONE node for the whole visit, so its rules must hold under every
 * tab's body class. Design px (the site presents at zoom 0.8). */

/* (E1) ONE EMPLOYMENT BANNER — Kate 869f8muuk 90120270138565 ("Should be the same on all tabs in that section ...
 * one block used as a pattern on the backend so that we change it once and it reflects on all the tabs"). The three
 * tab patterns now include the one banner pattern patterns/cae-aboutus-careers-employment-banner.php. Its two
 * page-scoped rules lived in fix-employment-cae.css (1) and (9) for Current Openings and Why Work only, so on Apply
 * Now the same banner set the title at 64 px on two lines (H1 140 tall at 1440, copy pushed 35 down) and at 1024
 * the card sat 80 px right of the other tabs' (x 128 vs 48, running past the window). Same two rules, all three tabs. */
:is(body.cae-page--cae-aboutus-jobsandvolunteering-currentopportunities-v4, body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5, body.cae-page--cae-aboutus-careers-applynow-v3) .cae-website-redesign-sitehero .cae-website-redesign-sitehero__title.has-h-1-acumin-font-size {
  font-size: min(var(--wp--preset--font-size--h-1-acumin), 60px) !important;
}
@media (min-width: 1024px) and (max-width: 1151.98px) {
  :is(body.cae-page--cae-aboutus-jobsandvolunteering-currentopportunities-v4, body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5, body.cae-page--cae-aboutus-careers-applynow-v3) .cae-website-redesign-sitehero .cae-website-redesign-sitehero__heading,
  :is(body.cae-page--cae-aboutus-jobsandvolunteering-currentopportunities-v4, body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5, body.cae-page--cae-aboutus-careers-applynow-v3) .cae-website-redesign-sitehero .cae-website-redesign-sitehero__media--decor:not([class*="4151-162786"]) {
    translate: var(--cae-canvas-shift) 0; /* WebKit-safe (full-bleed-cae.css) */
  }
  :is(body.cae-page--cae-aboutus-jobsandvolunteering-currentopportunities-v4, body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5, body.cae-page--cae-aboutus-careers-applynow-v3) .cae-website-redesign-sitehero .cae-website-redesign-sitehero__heading { position: relative; z-index: 2; }
}

/* (E2) WHY WORK AT CAE, EQUITY AND INCLUSION photo — Kate 869ew0w3b 90120270138815 ("Crop the Equity and Inclusion photo
 * so that the focus is on the faces and eat your veggies and it aligns better with the text height"). The slot was the
 * removed OUR VALUES section's 454 x 644 portrait with the 292-tall copy centred on it (1440; 260 at 1024), so the
 * picture ran 176 above and below the text. The file is re-cut from the PhotoShelter original (I0000x6czWdYxBj8,
 * 1125 x 2000, sha256 2a28e4c6…, PACKET-094 rev1 larger_original): full width, rows 410-1134 (cap top to the sign's
 * foot) -> 908 x 584, both faces and the EAT YOUR VEGGIES sign in frame. The row is now as tall as the copy: picture
 * 454 wide on the left, copy column 690 at +510, both the copy's own height; the picture covers its box. */
body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5 section.cae-website-redesign-cae-aboutus-jobsandvolunteering-whyworkatcae-v5-section-generic.cae-emp-equity {
  display: grid;
  grid-template-columns: 454px 690px;
  column-gap: 56px;
  align-items: stretch;
  height: auto;
  min-height: 0;
}
body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5 section.cae-website-redesign-cae-aboutus-jobsandvolunteering-whyworkatcae-v5-section-generic.cae-emp-equity > .cae-website-redesign-cae-aboutus-jobsandvolunteering-whyworkatcae-v5-section-generic__media-figma-image-12011-134068 {
  position: relative;
  left: auto;
  top: auto;
  width: 454px;
  height: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5 section.cae-website-redesign-cae-aboutus-jobsandvolunteering-whyworkatcae-v5-section-generic.cae-emp-equity > .cae-website-redesign-cae-aboutus-jobsandvolunteering-whyworkatcae-v5-section-generic__media-figma-image-12011-134068 > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5 section.cae-website-redesign-cae-aboutus-jobsandvolunteering-whyworkatcae-v5-section-generic.cae-emp-equity > .cae-website-redesign-cae-aboutus-jobsandvolunteering-whyworkatcae-v5-section-generic__column-figma-generic-column-12011-134069 {
  position: static;
  left: auto;
  top: auto;
  width: 690px;
  height: auto;
  justify-content: flex-start;
  margin: 0;
}

/* (E3) APPLY NOW, the dropdown chevron on State — Kate 869ew0wug 90120270138900 ("State field is missing the
 * downward facing arrow indicating it's a dropdown"). The chevron is painted as the SELECT's own background image
 * (forms-cae.css:170 .site-form__control--select, background-image: var(--form-icon)). State is the one select on
 * this form the browser fills from a saved address (autocomplete="address-level1"), and Chrome paints an
 * autofilled control with its UA rule `select:-internal-autofill-selected { background-image: none !important }`,
 * which no author rule can outrank: the moment State is autofilled its chevron is erased, while Select Open
 * Position (never autofilled) keeps its own. Not reproducible without a saved profile (both selects paint the
 * chevron at rest, hover, open and picked in Chromium and Firefox at 1024 / 1280 / 1366 / 1440 / 1920) — cause by
 * the UA sheet, not measured in Kate's browser. Cure: the chevron is drawn by the FIELD (::after, over the select's
 * trailing edge, same 24 px icon, same 16 px inset, same 4 px hover / open move), which autofill cannot reach; the
 * select's own copy is removed so the two never double. Both selects on the form take it, so they stay identical. */
body.cae-page--cae-aboutus-careers-applynow-v3 form[data-site-form="careers-applynow"] .site-form__field--select { position: relative; }
body.cae-page--cae-aboutus-careers-applynow-v3 form[data-site-form="careers-applynow"] .site-form__field--select > .site-form__control--select { background-image: none; }
body.cae-page--cae-aboutus-careers-applynow-v3 form[data-site-form="careers-applynow"] .site-form__field--select::after {
  content: "";
  position: absolute;
  /* label 28 + gap 12 + (control 56 - icon 24) / 2 */
  top: 56px;
  /* the select's 1 px border + the 16 px inset forms-cae.css draws the chevron at */
  right: 17px;
  width: 24px;
  height: 24px;
  background: var(--form-icon, none) no-repeat center / 24px 24px;
  pointer-events: none;
  transition: right 180ms ease;
}
body.cae-page--cae-aboutus-careers-applynow-v3 form[data-site-form="careers-applynow"] .site-form__field--select:has(> .site-form__control--select:not(:disabled):hover)::after,
body.cae-page--cae-aboutus-careers-applynow-v3 form[data-site-form="careers-applynow"] .site-form__field--select[data-cae-dd-open]::after { right: 13px; }
body.cae-page--cae-aboutus-careers-applynow-v3 form[data-site-form="careers-applynow"] .site-form__field--select:has(> .site-form__control--select:disabled)::after { opacity: 0.6; }
@media (prefers-reduced-motion: reduce) {
  body.cae-page--cae-aboutus-careers-applynow-v3 form[data-site-form="careers-applynow"] .site-form__field--select::after { transition: none; }
}

/* (E4) APPLY NOW, the Next button — Kate 869ew0wug 90120270139011 ("The Next label isn't centered correctly in the
 * button or aligned with the > should be vertically centered"). Measured on the painted pixels (2x capture): the
 * button is 55 design px tall with 14 / 9 padding (13.74 / 9.26 at 1024) around a 32 px line box, so the label's ink
 * sat 1.88 design px below the button's centre and the chevron 0.62 below it — the two 1.26 apart. The label is now
 * centred by the flex box itself (no vertical padding, the button keeps its 55 px height, line box = font size) and
 * the chevron is set on the label's ink centre: label and chevron share one centre (0 apart) and sit within 0.62
 * design px (one device pixel at 2x) of the button's centre, 1440 and 1024. */
body.cae-page--cae-aboutus-careers-applynow-v3 .wp-block-button > button.wp-block-button__link[form="site-form-careers-applynow"] {
  padding-top: 0;
  padding-bottom: 0;
  height: 55px;
  line-height: 1;
  align-items: center;
}
body.cae-page--cae-aboutus-careers-applynow-v3 .wp-block-button > button.wp-block-button__link[form="site-form-careers-applynow"] > img.button-icon {
  position: relative;
  top: 1.875px;
}
@media (max-width: 1151.98px) {
  body.cae-page--cae-aboutus-careers-applynow-v3 .wp-block-button > button.wp-block-button__link[form="site-form-careers-applynow"] > img.button-icon { top: 1.25px; }
}

/* (E5) APPLY NOW, submitting — retired 2026-10-11 (ClickUp 869fcz6t2): the busy Next button (label, turning ring,
 * no second press) is now the shared submitting state every site form gets, forms-cae.css "SUBMITTING STATE". */

/* (E6) APPLY NOW, where the page lands after submitting — Kate 869ew0wug 90120270139075 ("After the form submits I
 * should be anchored so that I can see a bit above the Apply for Position form box and be at the top"). The success
 * redirect lands on the thanks view's own id (#site-form-thanks-careers-applynow, forms_handle_submit); with the
 * engine's 24 px margin that put the cream form box's top 117 CSS px ABOVE the window (only the thanks card showed).
 * The landing margin is now the distance from the box's top to the thanks card plus a little above the box, so the
 * box's top edge sits just under the top of the window with the end of the section above it in view. */
/* RETIRED 2026-10-15 (Kate 869fhmxp9): the landing is one sitewide rule now -- forms-lowering.js sentLanding() lands
 * every form's own box top 24 px under the menu and sets the fragment target's margin to match; the 260 px here is gone. */

/* (E7) BECOME PART OF CAE'S COMMUNITY on Apply Now — Kate 869ew0wug 90120270139703 ("Use same CTA banner block as
 * here: /about-cae/careers/") and her CTA task 869f8mvg1. Apply Now served its own copy of the band with the design's
 * lorem ipsum and a "Lorem Ipsum" button; Current Openings and Apply Now now include the ONE shared part
 * patterns/cae-community-cta-become-part.php (the client copy, the Why Work at CAE button, the staff photo). The part's
 * page rules lived in fix-employment-cae.css (2) and (2b) for Current Openings only; the same rules, value for value,
 * for Apply Now: the 1440 split kept at 1024 and the button sized to its label. */
@media (min-width: 1024px) and (max-width: 1151.98px) {
  body.cae-page--cae-aboutus-careers-applynow-v3 section.cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic {
    display: block;
    min-height: 407px;
    padding: 0;
    background-color: var(--wp--preset--color--primary-evergreen);
  }
  body.cae-page--cae-aboutus-careers-applynow-v3 section.cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic > .cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic__column-figma-generic-column-i12011-134102-8152-98997 {
    position: absolute;
    left: 80px;
    top: 48px;
    width: calc(51.875% - 120px);
  }
  body.cae-page--cae-aboutus-careers-applynow-v3 section.cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic > .cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic__media-figma-image-i12011-134102-5089-68745 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 51.875%;
    right: 0;
    width: auto;
    height: auto;
    margin: 0;
  }
  body.cae-page--cae-aboutus-careers-applynow-v3 section.cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic > .cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic__media-figma-image-i12011-134102-5089-68745 > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
body.cae-page--cae-aboutus-careers-applynow-v3 section.cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic > .cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic__media-figma-image-i12011-134102-5089-68745 > img { object-position: center; }

body.cae-page--cae-aboutus-careers-applynow-v3 .cae-website-redesign-cae-aboutus-jobsandvolunteering-currentopportunities-v4-cta-titlewithtext-generic__button-figma-bound-button-i12011-134102-5089-68744-3129-87429 .wp-block-button__link { width: auto; white-space: nowrap; }

/* ── TABLET (mobile2a-1009, Kate 2026-10-09 mobile/tablet). Why Work at CAE: the equity band (section.cae-emp-equity) is a
 *    grid of fixed 454 + 690 design px tracks (photo | copy), 1144 px against the 960 px canvas at 768, so the copy ran
 *    192 px past the right edge. From 600 to 1023 the tracks are fluid (2 : 3); below 600 mobile-cae.css stacks them. */
@media (max-width: 1023.98px) {
  body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5 section.cae-emp-equity.alignfull {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
  body.cae-page--cae-aboutus-jobsandvolunteering-whyworkatcae-v5 section.cae-emp-equity.alignfull > * {
    width: auto; max-width: 100%; min-width: 0;
  }
}

/* APPLY NOW intro Photo Postcard — Kate 869ew0wug, 2026-10-13 18:3xZ (lane employment-1013): "Something is broken with the
 * Photo Postcard display here the magnifier glass is falling into the image" / "Also the heads are getting cut off which
 * shouldn't happen. Can the Photo Postcard more or less match the height of the text to the right?". Design px throughout
 * (the page presents at zoom 0.8).
 * MAGNIFIER: this photo has no caption, and the shared postcard sizes its bottom strip from the caption line (padding 20 +
 * caption), so with no caption the photo ran to 20 above the card's foot and the 30 magnifier (22 from the foot) sat 22
 * inside the photo. Same as on the Mission Vision Values captioned cards, the magnifier needs its own strip under the
 * photo: 12 clear + 30 icon + 22 foot = 64.
 * HEIGHT: the card stretches to its row, i.e. to the text column beside it (411.9 at 1440, 379.9 at 1024; it was 259),
 * and the photo takes the room (the card's 16 top + 64 foot aside).
 * HEADS: the photo (1020x824) filled a 478x223 slot centred: scaled 478x386, 163 of its 386 height cut, 82 of it off the
 * top. Now the slot is 478x332 (1440) / 478x300 (1024) and the photo is anchored at its top edge: 0 cut at the top, 54 / 86
 * cut at the bottom. */
body.cae-page--cae-aboutus-careers-applynow-v3 section.cae-website-redesign-cae-aboutus-careers-applynow-v3-content-with-image-generic figure.cae-postcard.cae-jcf-pc.cae-jcf-pc {
  align-self: stretch;
  padding-bottom: 64px;
}
body.cae-page--cae-aboutus-careers-applynow-v3 section.cae-website-redesign-cae-aboutus-careers-applynow-v3-content-with-image-generic figure.cae-postcard.cae-jcf-pc > .cae-jcf-pc__photo {
  flex: 1 1 auto;
  height: auto;
  min-height: 223px;
}
body.cae-page--cae-aboutus-careers-applynow-v3 section.cae-website-redesign-cae-aboutus-careers-applynow-v3-content-with-image-generic figure.cae-postcard.cae-jcf-pc > .cae-jcf-pc__photo > img {
  object-position: 50% 0%;
}
