/*
 * kit erigo-career-cta (2026-10-05, Lastuvka #243)
 * Career detail: "Prihlasit se na tuto pozici" + "Zpet na vypis" side by side; they wrap
 * under each other when the row is too narrow (mobile). Button looks come from the existing
 * .erigo-button-* variants (core + theme), nothing new here.
 */
.career-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--erigo-space-sm, 1rem) var(--erigo-space-md, 1.5rem);
}

.career-detail__actions > .career-detail__back {
  margin: 0;
}

/* The back link already has its "<-" (core ::before); a theme whose secondary button adds a
   forward arrow (::after) must not turn it into "<- Zpet na vypis ->". */
.career-detail .career-detail__actions .career-detail__back-link::after {
  content: none;
}

/* Target of the apply CTA (class set by CareerApplyCta.js): native #jumps (no core scroll.js,
   reload with the hash) keep its heading below the sticky/fixed header. */
.erigo-apply-target {
  scroll-margin-top: calc(var(--erigo-header-offset, var(--erigo-header-height, 5rem)) + var(--erigo-space-md, 1.5rem));
}
