/* stylelint-disable */

/*
 * August x Ashby job board
 * Editorial, monochrome styling inspired by the supplied reference.
 *
 * Uses Ashby's documented public class hooks only. Upload this file under:
 * Admin -> Job Boards -> Theme (Job Board) -> Custom CSS.
 */

@import url("https://fonts.googleapis.com/css2?family=Hedvig+Letters+Serif&family=Geist:wght@300;400;500;600;700&display=swap");

:root {
  --colorAppBackground: #ffffff;
  --colorPrimary900: #111111;
  --colorPrimary600: #111111;
  --widthMaxContent: 1100px;
  --widthMaxJobBoard: 1100px;
  --widthMaxSubscriptionPreferences: 680px;
  --borderRadiusContainer: 4px;
  --borderRadiusControl: 3px;
  --borderRadiusButton: 3px;
  --fontFamily: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --august-ink: #111111;
  --august-copy: #3e4555;
  --august-muted: #778093;
  --august-rule: #dfe2e7;
  --august-paper: #ffffff;
  --august-soft: #f7f7f5;
}

html {
  background: var(--august-paper);
}

body {
  color: var(--august-copy);
  background: var(--august-paper);
  font-family: var(--fontFamily);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--august-paper);
  background: var(--august-ink);
}

/* Header / wordmark ----------------------------------------------------- */

.ashby-job-posting-header {
  position: relative;
  z-index: 1;
  min-height: 84px;
  border-bottom: 0;
  background: var(--august-paper);
  box-shadow: none;
}

.ashby-job-posting-header > ul {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  max-width: none;
  padding: 12px 40px;
}

.ashby-job-posting-header img {
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.ashby-job-posting-header a[aria-label^="Back"] {
  position: absolute;
  left: 40px;
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--august-ink);
  border-radius: 50%;
  place-items: center;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.ashby-job-posting-header a[aria-label^="Back"]:hover {
  color: var(--august-ink);
  background: var(--august-soft);
}

.ashby-job-posting-header a[aria-label^="Back"] svg {
  width: 18px;
  height: 18px;
}

/* Job title and two-column posting layout ------------------------------- */

.ashby-job-posting-heading {
  color: var(--august-copy);
  font-family: var(--fontFamily);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ashby-job-posting-left-pane {
  color: var(--august-copy);
  background: transparent;
  box-shadow: none;
}

.ashby-job-posting-left-pane > div {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--august-rule);
}

.ashby-job-posting-left-pane > div:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.ashby-job-posting-left-pane h2 {
  margin: 0 0 8px;
  color: #60697c;
  font-family: var(--fontFamily);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ashby-job-posting-left-pane p,
.ashby-job-posting-left-pane li,
.ashby-job-posting-left-pane span {
  color: var(--august-copy);
  font-size: 1rem;
  line-height: 1.45;
}

.ashby-job-posting-left-pane ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ashby-job-posting-right-pane {
  color: var(--august-copy);
}

.ashby-job-posting-right-pane > nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  min-height: 52px;
}

.ashby-job-posting-right-pane > nav > a {
  display: grid;
  min-height: 52px;
  padding: 0 24px 12px;
  color: var(--august-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  place-items: end center;
}

.ashby-job-posting-right-pane > nav > a[aria-selected="true"] {
  color: var(--august-ink);
}

.ashby-job-posting-right-pane-tab-slider {
  height: 1px;
  margin-bottom: -1px;
  background: var(--august-ink);
}

.ashby-job-posting-description-container,
.ashby-application-form-container {
  padding: 20px 24px 32px;
  color: var(--august-copy);
  border: 0;
  border-radius: var(--borderRadiusContainer);
  background: var(--august-paper);
  box-shadow: none;
}

.ashby-job-posting-right-pane > .ashby-job-posting-description-container,
.ashby-job-posting-right-pane > .ashby-application-form-container {
  border-top: 0;
  border-radius: var(--borderRadiusContainer);
}

.ashby-job-posting-right-pane
  > [role="tabpanel"][aria-labelledby="job-application-form"] {
  padding: 20px 24px 32px;
  border: 0;
  border-radius: var(--borderRadiusContainer);
  background: var(--august-paper);
}

.ashby-job-posting-right-pane
  > [role="tabpanel"][aria-labelledby="job-application-form"]
  > .ashby-application-form-autofill-uploader {
  padding: 0;
  background: transparent;
}

.ashby-job-posting-right-pane
  > [role="tabpanel"][aria-labelledby="job-application-form"]
  > .ashby-application-form-container {
  padding: 24px 0 0;
  border: 0;
  border-radius: 0;
}

/* Posting content ------------------------------------------------------- */

.ashby-job-posting-description {
  max-width: 82ch;
  color: var(--august-copy);
  font-size: 1.0625rem;
  line-height: 1.52;
}

.ashby-job-posting-description h1,
.ashby-job-posting-description h2,
.ashby-job-posting-description h3,
.ashby-job-posting-description h4 {
  color: var(--august-copy);
  font-family: var(--fontFamily);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.ashby-job-posting-description h1,
.ashby-job-posting-description h2 {
  margin: 2.35rem 0 0.6rem;
  font-size: 1.5rem;
}

.ashby-job-posting-description h3,
.ashby-job-posting-description h4 {
  margin: 2rem 0 0.5rem;
  font-size: 1.125rem;
}

.ashby-job-posting-description > :first-child {
  margin-top: 0;
}

.ashby-job-posting-description p {
  margin: 0 0 0.7rem;
}

.ashby-job-posting-description p:empty {
  min-height: 0.45rem !important;
  margin: 0;
}

.ashby-job-posting-description ul,
.ashby-job-posting-description ol {
  padding-left: 1.6rem;
  margin: 0.7rem 0 1.25rem;
}

.ashby-job-posting-description li {
  padding-left: 0.15rem;
  margin: 0.42rem 0;
}

.ashby-job-posting-description li::marker {
  color: var(--august-copy);
}

.ashby-job-posting-description li p {
  margin: 0;
}

.ashby-job-posting-description a {
  color: var(--august-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ashby-job-posting-description blockquote {
  padding: 0.15rem 0 0.15rem 1.25rem;
  margin: 1.75rem 0;
  color: var(--august-copy);
  border-left: 2px solid var(--august-ink);
}

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

.ashby-application-form-section-container +
  .ashby-application-form-section-container {
  padding-top: 30px;
  margin-top: 32px;
  border-top: 1px solid var(--august-rule);
}

.ashby-application-form-section-header-title,
.ashby-application-form-autofill-input-title {
  color: var(--august-copy);
  font-family: var(--fontFamily);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.ashby-application-form-section-header-description,
.ashby-application-form-question-description,
.ashby-application-form-texting-consent-description {
  color: var(--august-muted);
  line-height: 1.5;
}

.ashby-application-form-question-title {
  color: var(--august-copy);
  font-size: 0.875rem;
  font-weight: 600;
}

.ashby-application-form-container input:not([type="checkbox"]):not(
    [type="radio"]
  ),
.ashby-application-form-container textarea,
.ashby-application-form-container select {
  min-height: 46px;
  color: var(--august-ink);
  border: 1px solid #b9bec8;
  border-radius: var(--borderRadiusControl);
  background: var(--august-paper);
  box-shadow: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.ashby-application-form-container textarea {
  min-height: 132px;
}

.ashby-application-form-container input:focus,
.ashby-application-form-container textarea:focus,
.ashby-application-form-container select:focus {
  border-color: var(--august-ink);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

.ashby-application-form-autofill-input-root {
  border: 1px solid var(--august-rule);
  border-radius: var(--borderRadiusContainer);
  background: var(--august-soft);
  box-shadow: none;
}

.ashby-application-form-submit-button,
.ashby-job-posting-description-container button {
  min-height: 48px;
  padding: 0 24px;
  color: var(--august-paper);
  border: 1px solid var(--august-ink);
  border-radius: var(--borderRadiusButton);
  background: var(--august-ink);
  font-family: var(--fontFamily);
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.ashby-application-form-submit-button:hover,
.ashby-job-posting-description-container button:hover {
  color: var(--august-ink);
  background: var(--august-paper);
  transform: translateY(-1px);
}

/* Main job board -------------------------------------------------------- */

.ashby-job-board-heading {
  color: var(--august-ink);
  font-family: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.ashby-job-board-heading-count,
.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
  color: var(--august-muted);
  font-family: var(--fontFamily);
}

.ashby-job-board-filter {
  min-height: 46px;
  color: var(--august-copy);
  border: 1px solid var(--august-rule);
  border-radius: var(--borderRadiusControl);
  background: var(--august-paper);
  box-shadow: none;
}

.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
  color: var(--august-ink);
  font-family: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.ashby-job-posting-brief {
  padding: 22px 0;
  margin: 0;
  border-top: 1px solid var(--august-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition:
    padding 180ms ease,
    background-color 180ms ease;
}

.ashby-job-posting-brief:last-child {
  border-bottom: 1px solid var(--august-rule);
}

.ashby-job-posting-brief:hover {
  padding-right: 16px;
  padding-left: 16px;
  background: var(--august-soft);
}

.ashby-job-posting-brief-title {
  color: var(--august-copy);
  font-family: var(--fontFamily);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.ashby-job-posting-brief-details {
  color: var(--august-muted);
  font-family: var(--fontFamily);
}

.ashby-job-board-back-to-all-jobs-button {
  color: var(--august-ink);
  font-family: var(--fontFamily);
  text-underline-offset: 3px;
}

/* Responsive refinements ----------------------------------------------- */

@media (max-width: 900px) {
  :root {
    --widthMaxContent: 100%;
    --widthMaxJobBoard: 100%;
  }

  .ashby-job-posting-header,
  .ashby-job-posting-header > ul {
    min-height: 88px;
  }

  .ashby-job-posting-header > ul {
    padding: 10px 24px;
  }

  .ashby-job-posting-header a[aria-label^="Back"] {
    left: 20px;
  }

  .ashby-job-posting-heading {
    font-size: 2.125rem;
  }

  .ashby-job-posting-description-container,
  .ashby-application-form-container {
    padding: 88px 20px 32px;
  }

  .ashby-job-posting-right-pane
    > [role="tabpanel"][aria-labelledby="job-application-form"] {
    padding: 88px 20px 32px;
  }
}

@media (max-width: 640px) {
  .ashby-job-posting-header img {
    max-width: 160px;
    max-height: 48px;
  }

  .ashby-job-posting-left-pane > div {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .ashby-job-posting-right-pane > nav,
  .ashby-job-posting-right-pane > nav > a {
    min-height: 56px;
  }

  .ashby-job-posting-right-pane > nav > a {
    padding: 0 12px 15px;
  }

  .ashby-job-posting-description {
    font-size: 1rem;
    line-height: 1.52;
  }

  .ashby-job-posting-description h1,
  .ashby-job-posting-description h2,
  .ashby-application-form-section-header-title,
  .ashby-application-form-autofill-input-title {
    font-size: 1.25rem;
  }

  .ashby-job-posting-heading {
    font-size: 1.75rem;
  }

  .ashby-job-board-heading {
    font-size: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
