/* Bernard Ashby theme — compatibility revision 2, 2026-10-30.
 * Upload this file in Ashby Custom CSS.
 * Uses published single-class selectors and the documented :root variables.
 * Fixed font sizes and media queries replace clamp(); no font shorthand,
 * functional pseudo-classes, descendant selectors, or custom state overrides.
 * Ashby retains its native focus, hover, disabled, and validation styling.
 */

@font-face {
  font-family: "Bernard Inter";
  src: url("https://framerusercontent.com/assets/7lw0VWkeXrGYJT05oB3DsFy8BaY.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bernard Inter";
  src: url("https://framerusercontent.com/assets/7lw0VWkeXrGYJT05oB3DsFy8BaY.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --fontFamily: "Bernard Inter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --colorAppBackground: #ffffff;

  --colorPrimary600: #306eff !important;
  --colorPrimary900: #2458d6 !important;
  --widthMaxContent: 1120px;
  --widthMaxJobBoard: 960px;
  --widthMaxSubscriptionPreferences: 640px;
  --borderRadiusContainer: 16px;
  --borderRadiusControl: 10px;
  --borderRadiusButton: 999px;
}

.ashby-job-board-heading,
.ashby-job-posting-heading {
  color: #020b17;
  font-family: "Bernard Inter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}

.ashby-job-board-heading-count {
  color: #61697a;
  font-size: 0.6em;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.ashby-department-heading {
  margin: 32px 0 16px;
  color: #020b17;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ashby-department-heading-level {
  color: inherit;
  font-family: "Bernard Inter", "Inter", Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.ashby-job-board-filters-label {
  color: #61697a;
  font-size: 14px;
  font-weight: 400;
}

.ashby-job-board-filter {
  min-height: 48px;
  border-width: 1px;
  border-radius: 10px;
  font-family: "Bernard Inter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  padding-top: 11px;
  padding-bottom: 11px;
}

.ashby-job-posting-brief-list {
  display: grid;
  gap: 12px;
}

.ashby-job-posting-brief {
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 16px !important;
  background: #ffffff;
  box-shadow: none;
}

.ashby-job-posting-brief-title {
  margin: 0 0 8px;
  color: #020b17;
  font-family: "Bernard Inter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.ashby-job-posting-brief-details {
  color: #61697a;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.ashby-job-posting-description,
.ashby-job-posting-left-pane,
.ashby-application-form-container {
  color: #020b17;
  font-family: "Bernard Inter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.ashby-job-posting-left-pane,
.ashby-job-posting-description-container,
.ashby-application-form-container,
.ashby-application-form-autofill-pane {
  box-shadow: none;
}

.ashby-application-form-field-entry { margin-bottom: 24px; }

.ashby-application-form-question-title {
  color: #020b17;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.ashby-application-form-question-description,
.ashby-application-form-section-header-description,
.ashby-application-form-texting-consent-description {
  color: #61697a;
  font-size: 14px;
  line-height: 1.6;
}

.ashby-application-form-input-text,
.ashby-application-form-input-textarea {
  box-sizing: border-box;
  min-height: 48px;
  border-radius: 10px;
  font-family: "Bernard Inter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 14px;
}

.ashby-application-form-input-textarea {
  min-height: 144px;
  resize: vertical;
}

.ashby-application-form-submit-button {
  min-height: 48px;
  border-radius: 999px;
  font-family: "Bernard Inter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  padding: 12px 24px;
}

@media (max-width: 600px) {
  .ashby-job-board-heading { font-size: 30px; }
  .ashby-department-heading-level { font-size: 20px; }
  .ashby-job-posting-brief { padding: 20px !important; }
  .ashby-job-posting-brief-title { font-size: 18px; }
  .ashby-department-heading { margin-top: 28px; font-size: 20px; }
  .ashby-job-posting-heading { font-size: 32px; }
}
