/* "Recent jobs in and around <suburb>" on suburb pages (migration/recent_jobs.py, 3 Dec 2026). Same look as the Completed Works cards. */
.bg-jobs .section-frame { margin-bottom: 3.2rem; }
.bg-jobs__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 120rem; margin: 0 auto; }
.bg-job { display: flex; flex-direction: column; border: 1px solid rgba(var(--color-foreground), .14); border-radius: 6px; overflow: hidden;
  background: rgba(var(--color-foreground), .03); transition: border-color .2s ease, transform .2s ease; }
.bg-job:hover { border-color: rgba(var(--accent-gold), .6); transform: translateY(-4px); }
.bg-job__media { display: block; aspect-ratio: 4 / 3; background: rgba(var(--color-foreground), .06); overflow: hidden; }
.bg-job__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-job__body { padding: 2rem 2rem 2.2rem; display: flex; flex-direction: column; flex: 1; text-align: left; }
.bg-job__meta { font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--accent-gold)); font-weight: 600; }
.bg-job__title { font-family: var(--font-heading-family); font-weight: var(--font-heading-weight); font-size: 1.7rem; line-height: 1.28; margin: 1rem 0 .9rem; overflow-wrap: anywhere; }
.bg-job__title a { color: rgb(var(--color-foreground)); text-decoration: none; }
.bg-job__title a::after { content: ""; position: absolute; inset: 0; }   /* whole card taps through to the job */
.bg-job { position: relative; }
.bg-job__title a:hover { color: rgb(var(--accent-gold)); }
.bg-job__text { font-size: 1.45rem; line-height: 1.6; opacity: .78; margin: 0; }
.bg-jobs__all { text-align: center; margin: 3.2rem 0 0; font-size: 1.5rem; }
.bg-jobs__all a { color: rgb(var(--accent-gold)); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; }
/* Phones: one swipeable row instead of a long stack */
@media screen and (max-width: 649px) {
  .bg-jobs__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.4rem; padding: 0 0 1.2rem; margin: 0 -2rem; padding-left: 2rem; padding-right: 2rem; scroll-padding-left: 2rem; -webkit-overflow-scrolling: touch; }
  .bg-job { flex: 0 0 82%; scroll-snap-align: start; }
  .bg-job:hover { transform: none; }
}
/* Longer local write-ups on the rewritten suburb pages (migration/rewrite_top5.py): easier to read left-aligned, with space between paragraphs */
.section-copy.bg-local { text-align: left; max-width: 68ch; margin-left: auto; margin-right: auto; }
.section-copy.bg-local + .section-copy.bg-local { margin-top: 1.8rem; }
