/* Job Openings: two square tiles with a faded Kube and one light streak each. Tokens from _base-tokens.css. */
.jobs { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(2rem, 6vw, 4rem) var(--public-gutter); text-align: center; }
.jobs h1 { margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); font-size: var(--h1-size-page); }
.jobs__grid { display: grid; width: min(100%, 720px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin: 0; padding: 0; list-style: none; }
.job-tile { position: relative; display: flex; overflow: hidden; isolation: isolate; aspect-ratio: 1; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem; color: #FFFFFF; background: var(--brand-navy); border: 2px solid var(--brand-navy); border-radius: 6px; box-shadow: 0 10px 28px rgba(var(--brand-navy-rgb), 0.22); text-decoration: none; }
/* The faded Kube. */
.job-tile::before { content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; background: url("../images/logo-2d-cube-light.webp") center / contain no-repeat; opacity: 0.12; }
/* The light streak across one corner. */
.job-tile::after { content: ""; position: absolute; z-index: -1; width: 150%; height: 18%; background: linear-gradient(90deg, transparent, var(--streak) 50%, transparent); filter: blur(10px); opacity: 0.55; }
.job-tile--instructor { --streak: var(--brand-orange); }
.job-tile--instructor::before { bottom: -14%; left: -14%; transform: rotate(-8deg); }
.job-tile--instructor::after { top: 8%; right: -55%; transform: rotate(40deg); }
.job-tile--practicum { --streak: var(--brand-cyan); }
.job-tile--practicum::before { top: -14%; right: -14%; transform: rotate(10deg); }
.job-tile--practicum::after { bottom: 8%; left: -55%; transform: rotate(32deg); }
.job-tile__title { font: 700 clamp(1.25rem, 3vw, 1.75rem)/1.2 var(--font-heading); }
.job-tile__note { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: #E3E7EA; }
a.job-tile:focus-visible { outline: 3px solid var(--brand-navy); outline-offset: 3px; }
a.job-tile { transition: border-color 150ms ease; }
@media (hover: hover) { a.job-tile:hover { color: #FFFFFF; border-color: var(--streak); } }
@media (max-width: 560px) { .jobs__grid { width: min(100%, 320px); grid-template-columns: minmax(0, 1fr); } }
