/* Careers — rebuilt 2 Oct 2026 to "Career (Revision 2/10/2026)" and its wireframe. The hero is
   the shared banner hero (.hero-image.bs-hero--banner, 24 Nov 2026); everything below it is crv-. Photo slots appear only when their file exists in assets/img/careers/ (see the template). */

/* the last section (Employment verification) takes an alternating tint, so the closing band's top
   margin would show as a white strip between the two — closed up, as on /data/ and Trust & Excellence */
body.interior-v2.pg-careers .cta-band{margin-top:0!important;}

/* Grow with us — centred, as in the wireframe */
.crv-intro{text-align:center;}
.crv-intro-in{max-width:860px;margin:0 auto;}
.crv-intro .h2{margin:0 0 20px;}
.crv-intro .h2::after{margin-inline:auto;}
.interior-v2 .crv-intro .crv-intro-in p{max-width:72ch;margin:0 auto 12px;font-size:17px;line-height:1.7;color:var(--text);}

/* shared section head */
.crv-head{max-width:760px;margin-bottom:30px;}
.crv-head .h2{margin:0 0 12px;}
.interior-v2 .crv-head .crv-lede{max-width:none;margin:0;font-size:17px;line-height:1.65;color:var(--text);}

/* Why Beyondsoft — three ruled points, then the photo set */
.crv-why{background:#F3F7FC;}
.crv-why-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px clamp(24px,3vw,48px);margin:0;padding:0;list-style:none;}
.interior-v2 .crv-why .crv-why-item{position:relative;max-width:none;padding-top:18px;border-top:1px solid rgba(22,40,63,.12);}
.crv-why-item::before{content:"";position:absolute;left:0;top:-1px;width:36px;height:2px;background:var(--blue);}
.crv-why-item h3{margin:0 0 8px;font:700 19px/1.3 var(--f-display);letter-spacing:-.01em;color:var(--ink);}
.interior-v2 .crv-why .crv-why-item p{max-width:none;margin:0;font-size:15.5px;line-height:1.6;color:var(--text);}
.crv-gallery{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;height:clamp(280px,30vw,440px);margin-top:clamp(32px,4vw,48px);}
.crv-gallery img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;border-radius:14px;background:#E6EEF6;}
.crv-gallery img:first-child{grid-row:1 / 3;}
.crv-gallery--2{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);}
.crv-gallery--2 img:first-child,.crv-gallery--1 img:first-child{grid-row:auto;}
.crv-gallery--1{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);}

/* Opportunities — one card per market, the whole card is the link */
.crv-opps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none;}
.interior-v2 .crv-opps .crv-opps-grid>li{max-width:none;}
.crv-opp{display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid var(--card-line);border-radius:16px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 18px 40px -36px rgba(8,43,75,.55);transition:transform var(--dur-base,.25s) var(--ease,ease),box-shadow var(--dur-base,.25s) var(--ease,ease),border-color var(--dur-base,.25s);}
.crv-opp:hover{transform:translateY(-3px);border-color:#C9DCEE;box-shadow:0 24px 48px -34px rgba(8,43,75,.6);}
.crv-opp-img{display:block;aspect-ratio:16/10;overflow:hidden;background:#EEF3F8;}
.crv-opp-img img{display:block;width:100%;height:100%;object-fit:cover;}
.crv-opp-body{display:flex;flex:1;flex-direction:column;gap:4px;padding:18px 20px 20px;}
.crv-opp:not(.has-photo) .crv-opp-body{border-top:3px solid var(--blue);}
.crv-opp-name{font:700 19px/1.25 var(--f-display);letter-spacing:-.01em;color:var(--ink);}
.crv-opp-sub{font-size:13.5px;line-height:1.4;color:var(--muted);}
.crv-opp-cta{margin-top:auto;padding-top:14px;font:600 14.5px/1.3 var(--f-body);color:var(--blue);}
.crv-opp-cta .arrow{display:inline-block;transition:transform var(--dur-fast,.2s) var(--ease,ease);}
.crv-opp:hover .crv-opp-cta .arrow{transform:translateX(4px);}

/* Employment verification — one quiet panel */
.crv-verify-box{display:flex;align-items:flex-start;gap:22px;padding:clamp(22px,3vw,32px);border:1px solid #DCE8F3;border-radius:16px;background:#F3F7FC;}
.crv-verify-ic{display:grid;flex:none;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;color:var(--blue);box-shadow:0 0 0 1px #DCE8F3;}
.crv-verify-ic svg{width:24px;height:24px;}
.crv-verify-h{margin:0 0 8px;font:700 20px/1.3 var(--f-display);letter-spacing:-.01em;color:var(--ink);}
.interior-v2 .crv-verify .crv-verify-copy p{max-width:none;margin:0 0 6px;font-size:15.5px;line-height:1.6;color:var(--text);}
.interior-v2 .crv-verify .crv-verify-copy p:last-child{margin-bottom:0;}
.crv-verify-copy a{color:var(--blue);text-decoration:underline;text-underline-offset:2px;}

/* Closing band — the wireframe's design: the band keeps the closing-zone navy (so it still reads
   as the top of the footer), the photo sits on the right and fades into it, a short cyan rule
   sits over the heading in place of the underline, and the button is white under the copy. */
.cta-band.crv-cta{isolation:isolate;padding:clamp(60px,6.4vw,92px) 0;}
.crv-cta-media{position:absolute;top:0;right:0;bottom:0;z-index:-1;width:min(62%,1040px);}
.crv-cta-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:60% 42%;-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 22%,#000 46%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 22%,#000 46%);}
.cta-band.crv-cta .inner{display:block;}
.crv-cta-copy{max-width:600px;}
.cta-band.crv-cta .crv-cta-copy .h2{margin:0 0 14px;}
.cta-band.crv-cta .crv-cta-copy .h2::before{content:"";display:block;width:32px;height:2px;margin:0 0 20px;background:#3BB0C9;}
.cta-band.crv-cta .crv-cta-copy .h2::after{display:none;}
.cta-band.crv-cta .crv-cta-copy p{max-width:46ch;margin:0 0 28px;font-size:clamp(16px,1.3vw,19px);line-height:1.55;}
.cta-band.crv-cta .crv-cta-btn{height:50px;padding:0 26px;border-radius:4px;background:#fff;color:#0A2A52;font-weight:600;box-shadow:0 12px 28px -18px rgba(0,0,0,.6);}
.cta-band.crv-cta .crv-cta-btn:hover{background:#EAF2FB;color:#0A2A52;transform:translateY(-2px);}

@media(max-width:1000px){
  .crv-opps-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  /* narrower screens: the copy reaches further right, so the photo starts later and stays softer
     (white text measured 4.5:1 at 761–800px before this; see the 2 Oct notes) */
  .crv-cta-media{width:52%;opacity:.75;}
}
@media(max-width:900px){
  .crv-why-list{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:760px){
  /* phones: the building stays as a faint ground behind the copy */
  .crv-cta-media{width:100%;opacity:.28;}
  .crv-cta-media img{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 70%);mask-image:linear-gradient(180deg,transparent 0,#000 70%);}
}
@media(max-width:640px){
  .crv-gallery,.crv-gallery--2{grid-template-columns:minmax(0,1fr);grid-template-rows:none;height:auto;}
  .crv-gallery img,.crv-gallery img:first-child{grid-row:auto;height:auto;aspect-ratio:16/10;}
  .crv-verify-box{flex-direction:column;gap:14px;}
}
@media(max-width:520px){
  .crv-opps-grid{grid-template-columns:minmax(0,1fr);}
}
@media(prefers-reduced-motion:reduce){.crv-opp,.crv-opp-cta .arrow{transition:none;}}


/* 24 Nov 2026: the hero is the shared banner hero (bs_hero_banners 'careers'). Two Careers-only crops:
   phones show the right end of the photo so both faces stay in frame (the shared 74% cut the standing man off),
   and between 821 and 1100px, where the lead has no width cap, it stops short of the seated man's face. */
@media (max-width:820px){ html body.interior-v2 .careers-hero.bs-hero--banner img[data-bs-hero]{object-position:92% 50%!important;} }
@media (min-width:821px) and (max-width:1100px){ html body.interior-v2 .careers-hero.bs-hero--banner .lead{max-width:min(50vw,520px)!important;} }
