/* Job detail (parts/job-single.php). The hero is area-hero (bleed, large) and
   brings its own CSS; this sheet only adds the meta row inside the hero copy,
   the description card and the closing CTA. Body sits on the page #efefef,
   the description is a white card like the overview rows (stellen block). */
/* The flow layout puts a block gap above the hero (2nd child after the absolute crumb). */
.sun-job-page > * { margin-block: 0; }

.sun-job__meta { margin-top: 24px; font-size: 16px; line-height: 24px; }
.sun-job__hero .sun-jobs__meta-icon { width: 20px; height: 20px; color: var(--sun-primary); }

.sun-job__body {
  box-sizing: border-box;
  width: min(880px, 100% - 48px);
  margin-inline: auto;
  padding-block: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sun-job__prose {
  padding: clamp(24px, 4vw, 48px);
  background: var(--sun-base);
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  color: var(--sun-bluegrey);
}
.sun-job__prose > :first-child { margin-top: 0; }
.sun-job__prose > :last-child { margin-bottom: 0; }
.sun-job__prose :is(p, ul, ol) { margin: 0 0 16px; }
.sun-job__prose :is(h2, h3, h4) {
  margin: 40px 0 12px;
  font-family: var(--wp--preset--font-family--brand);
  font-weight: 500;
  color: var(--sun-secondary);
}
.sun-job__prose h2 { font-size: 24px; line-height: 32px; }
.sun-job__prose :is(h3, h4) { font-size: 18px; line-height: 24px; }
.sun-job__prose > :is(h2, h3, h4):first-child { margin-top: 0; }
.sun-job__prose :is(ul, ol) { padding-left: 20px; }
.sun-job__prose li + li { margin-top: 6px; }
.sun-job__prose li::marker { color: var(--sun-primary); }
.sun-job__prose strong { font-weight: 600; color: var(--sun-secondary); }
.sun-job__prose a { color: var(--sun-link); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
.sun-job__prose a:hover { color: var(--sun-link-hover); }

.sun-job__cta { display: block; }

.sun-job__back { margin: 0; }
.sun-job__back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--sun-secondary);
  text-decoration: none;
}
.sun-job__back-link:hover { color: var(--sun-primary); }
.sun-job__back-link:focus-visible { outline: 3px solid var(--sun-primary); outline-offset: 2px; }
.sun-job__back .sun-job__back-icon { width: 16px; height: 16px; transform: rotate(180deg); }   /* sprite has no arrow-left */
