.jobs-hero{padding:32px 18px 26px}
.jobs-hero .eyebrow{color:#805b18}
.jobs-hero .tagline{max-width:42ch;margin:10px auto 16px;color:#655647}
.jobs-back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none}
.jobs-main{max-width:1132px;margin:0 auto;padding:15px 22px 44px}
.jobs-hint{margin:0 0 14px;color:#685b4c;font-size:14px;text-align:center}
.jobs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.job-card{min-width:0;margin:0;overflow:hidden;background:#fff;border:1px solid #e1d2b8;border-radius:16px;box-shadow:0 3px 12px rgba(84,63,25,.07)}
.job-photo{display:block;aspect-ratio:4/4.5;padding:10px;background:#fff;cursor:zoom-in}
.job-card.dark .job-photo{background:#000}
.job-photo img{display:block;width:100%;height:100%;object-fit:contain}
.job-caption{min-height:84px;padding:11px 14px 12px;border-top:1px solid #ece1ce}
.job-caption h2{margin:0;font-family:var(--sans);font-size:clamp(15px,1.5vw,19px);line-height:1.23;color:#302419;text-wrap:balance}
.job-caption p{margin:5px 0 0;font-size:13px;line-height:1.35;color:#695229}
.job-photo:focus-visible{outline:3px solid #af7b15;outline-offset:-4px}
.jobs-back:focus-visible,.job-dialog button:focus-visible{outline:3px solid #805b18;outline-offset:3px}
.job-dialog{width:min(760px,calc(100% - 24px));max-height:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #dbc79a;border-radius:16px;background:#fbf7ef;color:#2b2622}
.job-dialog::backdrop{background:rgba(22,17,12,.84)}
.job-dialog-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:8px 12px}
.job-dialog-bar h2{margin:0;font-size:clamp(15px,2.5vw,20px);line-height:1.2}
.job-dialog button{border:1px solid #d0b988;border-radius:9px;min-width:58px;min-height:44px;padding:3px 10px;background:#fffdf8;font:600 14px var(--sans);color:#5d451f;cursor:pointer}
.job-dialog-photo{width:100%;height:auto;max-height:calc(100vh - 116px);max-height:calc(100dvh - 116px);object-fit:contain;background:#fff;display:block}
.job-dialog-photo[hidden]{display:none}
.job-dialog.dark .job-dialog-photo{background:#000}
@media(max-width:710px){.jobs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jobs-main{padding:14px 14px 32px}.jobs-hero{padding-top:26px}.job-photo{padding:7px}.job-caption{padding:9px 10px 12px}}
@media(max-width:359px){.jobs-grid{grid-template-columns:1fr}.job-photo{aspect-ratio:5/4.5}.job-caption{min-height:auto}}
