/* ==========================================================================
   Foundry Financial: Ashby job board theme
   Matches the "Our openings" area on foundryfinancial.org/careers
   Upload in Ashby: Admin > Job Boards > Theme (Job Board) > Custom CSS
   Values pulled from the live careers page on 2026-12-03.
   ========================================================================== */

/* Brand font: Aspekta (same file the Webflow site loads).
   If the font fails to load inside the embed, everything falls back to
   Helvetica Neue / Arial, which is close. */
@font-face {
  font-family: "Aspekta";
  src: url("https://cdn.prod.website-files.com/6855c98ed1abc4e62a9f83f9/6855c98ed1abc4e62a9f848b_AspektaVF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Page background: careers page cream */
  --colorAppBackground: #EDE9E1;

  /* Links, buttons, active tab: Foundry ink, hover a touch lighter */
  --colorPrimary900: #0F1219;
  --colorPrimary600: #2A2F3A;

  /* Width of the careers page content column (1248px section minus 40px padding each side) */
  --widthMaxContent: 1168px;
  --widthMaxJobBoard: 1168px;
  --widthMaxSubscriptionPreferences: 680px;

  /* Corners: cards and inputs at 12px like the placeholder box, buttons as pills */
  --borderRadiusContainer: 12px;
  --borderRadiusControl: 10px;
  --borderRadiusButton: 999px;

  --fontFamily: "Aspekta", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Job list ---------- */

/* The careers page already has its own "Our openings" heading,
   so hide Ashby's "Open Positions (n)" heading. */
.ashby-job-board-heading,
.ashby-job-board-heading-count {
  display: none !important;
}

.ashby-department-heading {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.96px;
  text-transform: uppercase;
  color: rgba(15, 18, 25, 0.5);
}

.ashby-job-posting-brief {
  background: #FFFFFF;
  border: 1px solid rgba(15, 18, 25, 0.12);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}

.ashby-job-posting-brief:hover {
  border-color: #0F1219;
}

.ashby-job-posting-brief-title {
  font-size: 20px;
  font-weight: 400;
  color: #0F1219;
}

.ashby-job-posting-brief-details {
  font-size: 16px;
  color: rgba(15, 18, 25, 0.7);
}

/* ---------- Job posting ---------- */

.ashby-job-posting-heading {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.8px;
  color: #0F1219;
}

.ashby-job-posting-description {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(15, 18, 25, 0.85);
}

/* ---------- Application form ---------- */

.ashby-application-form-container {
  background: #FFFFFF;
  border-radius: 12px;
}

.ashby-application-form-question-title {
  font-size: 16px;
  font-weight: 500;
  color: #0F1219;
}

.ashby-application-form-question-description {
  color: rgba(15, 18, 25, 0.7);
}

.ashby-application-form-input-text,
.ashby-application-form-input-textarea {
  border: 1px solid rgba(15, 18, 25, 0.25);
  background: #FFFFFF;
}

/* ---------- Buttons: match the "See our openings" pill ---------- */

.ashby-application-form-submit-button {
  background: #ACBBC1;
  color: #0F1219;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 400;
}

.ashby-application-form-submit-button:hover {
  background: #9AABB2;
}

/* Back link: match the outlined "Meet the team" pill */
.ashby-job-board-back-to-all-jobs-button {
  background: transparent;
  color: #0F1219;
  border: 1px solid #0F1219;
  border-radius: 999px;
  padding: 10px 22px;
}

/* ---------- Small screens ---------- */

@media (max-width: 600px) {
  .ashby-job-board-heading,
  .ashby-job-posting-heading {
    font-size: 30px;
  }

  .ashby-job-posting-brief {
    padding: 20px;
  }
}
