/* Higgsfield job board — custom CSS for Ashby (Admin → Theme (Job Board) → Custom CSS)
   v3-AE 2026-10-17. SCOPED to the GTM Account Executive posting only (job id 01875106-1d36-4483-a469-b660aba7bf97):
   every visible rule matches the apply links that carry that id in their href. Other postings are untouched.
   Remove the [href*=...] filters to roll out to all postings. */

/* top: "Application" tab → "Apply now →" button (AE only) */
.ashby-job-posting-right-pane-application-tab[href*="01875106-1d36-4483-a469-b660aba7bf97"] {
  font-size: 0 !important;
  background: #111;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 22px !important;
  margin-left: 16px;
  border-bottom: none !important;
  display: inline-flex;
  align-items: center;
}
.ashby-job-posting-right-pane-application-tab[href*="01875106-1d36-4483-a469-b660aba7bf97"]::after {
  content: "Apply now \2192";
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
}
.ashby-job-posting-right-pane-application-tab[href*="01875106-1d36-4483-a469-b660aba7bf97"]:hover { background: #333; }

/* desktop: "Apply for this Job" button under the last info row (AE only) */
@media (min-width: 900px) {
  @supports (anchor-name: --x) {
    .ashby-job-posting-left-pane > :last-child { anchor-name: --hf-info; }   /* invisible on its own */
    div:has(> .ashby-job-posting-left-pane) { position: relative; }           /* invisible on its own */
    .ashby-job-posting-description-container > a[href*="01875106-1d36-4483-a469-b660aba7bf97"] {
      position: absolute;
      position-anchor: --hf-info;
      top: calc(anchor(bottom) + 22px);
      left: anchor(left);
      width: anchor-size(width);
      display: block;
    }
    .ashby-job-posting-description-container > a[href*="01875106-1d36-4483-a469-b660aba7bf97"] button { width: 100%; }
  }
  @supports not (anchor-name: --x) {
    .ashby-job-posting-description-container > a[href*="01875106-1d36-4483-a469-b660aba7bf97"] {
      position: sticky;
      bottom: 28px;
      display: block;
      width: 300px;
      margin-left: -300px;
      z-index: 5;
    }
    .ashby-job-posting-description-container > a[href*="01875106-1d36-4483-a469-b660aba7bf97"] button {
      width: 100%;
      box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    }
  }
}
