/* Job pages (/full-stackdeveloper, /identityandoperationsspecialist,
   /aianddevopsengineer). One layout, three pages, in the px system
   (css/px.css); prefix jb-. */

.jb-hero h1 { max-width: 20ch; font-size: clamp(30px, 3.81vw, 48px); }
.jb-kicker a { color: inherit; text-decoration: none; }
.jb-kicker a::before { content: "←"; display: inline-block; margin-right: 6px; transition: transform 200ms var(--ease-out); }
.jb-kicker a:hover { color: var(--nxt-midnight); }
.jb-kicker a:hover::before { transform: translateX(-3px); }
.px .jb-meta { margin-bottom: 0 !important; font-weight: 500; color: var(--nxt-gray); }
.jb-hero-media { aspect-ratio: 16 / 6; }

/* The ad in a readable column, the apply rail beside it. */
.jb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 96px; align-items: start; }
.jb-body { max-width: 720px; font-size: 16px; line-height: 1.7; color: var(--nxt-graphite); }
.px .jb-statement { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.55; letter-spacing: -0.01em; color: var(--nxt-midnight); margin-bottom: 1.1em; }
.jb-body h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; margin: 72px 0 16px; }
.jb-lead { color: var(--nxt-gray); }
.jb-body strong { font-weight: 500; color: var(--nxt-midnight); }
.jb-body .px-lines li { line-height: 1.65; }

.jb-aside { position: sticky; top: calc(var(--nav-height) + 32px); font-size: 15px; line-height: 1.65; color: var(--nxt-graphite); }
.jb-rail { padding-top: 20px; border-top: 1px solid var(--border-default); }
.jb-rail + .jb-rail { margin-top: 40px; }
.jb-aside-title { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 14px; }
.jb-must li { position: relative; padding-left: 18px; margin-bottom: 10px; }
.jb-must li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--nxt-cobalt); }
.jb-rail a:not(.px-btn) { color: var(--nxt-cobalt); overflow-wrap: anywhere; }
.jb-actions { justify-content: flex-start; margin-top: 8px; }

.jb-end { padding-bottom: 136px; }
.jb-eeo { margin-top: 0 !important; padding-top: 24px; border-top: 1px solid var(--border-subtle); font-size: 14px; }
.jb-eeo strong { font-weight: 500; color: var(--nxt-midnight); }

@media (max-width: 1020px) {
  .jb-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
}
@media (max-width: 860px) {
  .jb-grid { grid-template-columns: 1fr; gap: 64px; }
  .jb-aside { position: static; }
}
@media (max-width: 720px) {
  .jb-hero-media { aspect-ratio: 4 / 3; }
  .jb-body h2 { margin-top: 56px; }
  .jb-end { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .jb-kicker a::before { transition: none; }
}
