/* ============================
   Foundational Industries
   Ashby Job Board Theme
   ============================ */

/* Load Google Fonts inside iframe */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Geist:wght@400;500;600&display=swap");

/* Global tokens */
:root {
  --widthMaxJobBoard: 1100px;

  --colorAppBackground: #F7F5F2;
  --colorNeutral000: #F7F5F2;

  --borderRadiusContainer: 16px;
  --borderRadiusControl: 12px;
  --borderRadiusButton: 999px;

  --fontBody: "Newsreader", ui-serif, Georgia, serif;
  --fontHeading: "Newsreader", ui-serif, Georgia, serif;
}

/* Base */
html, body {
  background: #F7F5F2 !important;
  color: #0F1012 !important;
  font-family: var(--fontBody) !important;
}

/* Headings */
.ashby-job-board-heading,
.ashby-department-heading,
.ashby-job-posting-brief-title,
.ashby-job-posting-heading,
.ashby-application-form-section-header-title,
.ashby-application-form-question-title {
  font-family: var(--fontHeading) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  color: #0F1012 !important;
}

/* Body text */
.ashby-job-posting-brief-details,
.ashby-job-board-heading-count,
.ashby-application-form-section-header-description,
.ashby-application-form-question-description {
  font-family: var(--fontBody) !important;
  color: #0F1012 !important;
  opacity: 0.85;
}

/* Job cards */
.ashby-job-posting-brief {
  background: transparent !important;
  border: 1px solid #CCD0D9 !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  margin-bottom: 14px !important;
}

/* Department spacing */
.ashby-department-heading {
  margin-top: 40px !important;
  margin-bottom: 12px !important;
}

/* Filters */
.ashby-job-board-filter select {
  background: #F7F5F2 !important;
  color: #0F1012 !important;
  border: 1px solid #CCD0D9 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  font-family: var(--fontBody) !important;
}

/* Links */
a {
  color: #0F1012 !important;
  text-decoration-color: #CCD0D9 !important;
  text-underline-offset: 3px;
}
a:hover {
  opacity: 0.85;
}

/* Buttons */
button,
.ashby-application-form-submit-button {
  background: #0F1012 !important;
  color: #F7F5F2 !important;
  border-radius: 999px !important;
  border: 1px solid #0F1012 !important;
  font-family: var(--fontBody) !important;
  padding: 10px 16px !important;
}
button:hover,
.ashby-application-form-submit-button:hover {
  background: #CCD0D9 !important;
  color: #0F1012 !important;
  border-color: #CCD0D9 !important;
}

/* Inputs */
input, textarea, select {
  background: #F7F5F2 !important;
  color: #0F1012 !important;
  border: 1px solid #CCD0D9 !important;
  border-radius: 12px !important;
  font-family: var(--fontBody) !important;
}
input:focus, textarea:focus, select:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(204, 208, 217, 0.45) !important;
}