/* Defense Unicorns job board — a light touch on Ashby's default layout.
   Upload this file under Admin > Job Boards > Theme (Job Board) > Custom CSS. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Martian+Mono:wght@300;400;600&family=Teko:wght@600;700&display=swap");

:root {
  --colorAppBackground: #ffffff;
  --colorPrimary900: #021f49;
  --colorPrimary600: #002d82;
  --fontFamily: "Inter", Arial, sans-serif;
}

/* The approved wordmark, scaled without distorting its proportions. */
img[src*="/org-theme-wordmark/"] {
  width: 412px;
  height: auto;
  max-width: 90vw;
  max-height: none;
}

/* Board title and posting count. */
.ashby-job-board-heading {
  padding-top: 48px;
  color: #021f49;
  font-family: "Teko", Impact, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.ashby-job-board-heading-count {
  display: inline-block;
  margin: 0 0 0 8px;
  color: #021f49;
  font-family: "Martian Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
}

/* Department headings. Target both the heading and Ashby's inner span. */
.ashby-department-heading,
.ashby-department-heading-level {
  color: #021f49;
  font-family: "Teko", Impact, sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.ashby-department-heading {
  margin-top: 56px;
}

/* Small labels and listing details retain Ashby's default grays. */
.ashby-job-board-filters-label {
  color: #6b7280;
  font-family: "Martian Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Quieter controls, with Ashby's native select arrow and keyboard behavior. */
.ashby-job-board-filter {
  color: #021f49;
  background-color: #ffffff;
  border: 1px solid rgba(2, 31, 73, 0.24);
  border-radius: 8px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.ashby-job-board-filter:hover {
  border-color: #345797;
}

.ashby-job-board-filter:focus-visible {
  border-color: #002d82;
  outline: 2px solid #002d82;
  outline-offset: 2px;
}

.ashby-job-posting-brief-details {
  margin-top: 6px;
  color: #545b6d;
  font-family: "Martian Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
}

/* Keep Ashby's plain text listings; round only their existing hover surface. */
.ashby-job-posting-brief,
.ashby-job-posting-brief:hover,
.ashby-job-posting-brief:focus-within {
  border-radius: 14px;
}

.ashby-job-posting-brief {
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ashby-job-posting-brief:hover,
.ashby-job-posting-brief:focus-within {
  background-color: rgba(31, 223, 255, 0.08);
  box-shadow: 0 5px 14px rgba(2, 31, 73, 0.08);
  transform: translateY(-2px);
}

/* Position detail page: keep the title strong without changing job copy. */
.ashby-job-posting-heading {
  padding-top: 48px;
  margin-bottom: 28px;
  color: #021f49;
  font-family: "Teko", Impact, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

/* Ashby exposes the sidebar pane, but not separate classes for its labels. */
.ashby-job-posting-left-pane h2 {
  color: #545b6d;
  font-family: "Martian Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  text-transform: uppercase;
}

.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-family: "Teko", Impact, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.ashby-job-posting-right-pane-tab-slider {
  background-color: #002d82;
}

.ashby-job-posting-right-pane a:hover {
  border-bottom-color: #021f49;
}

/* Rich-text section headings are smaller, stronger, and easier to scan. */
.ashby-job-posting-description h1 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.ashby-job-posting-description h1 strong {
  font-weight: 700;
}

.ashby-job-posting-description h3 {
  margin-top: 32px;
}

.ashby-job-posting-right-pane button {
  box-shadow: none !important;
}

/* Ashby's 16px description text is reduced slightly for denser reading. */
.ashby-job-posting-description p,
.ashby-job-posting-description li {
  font-size: 15px;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .ashby-job-posting-brief {
    transition: none;
  }
}

@media (max-width: 640px) {
  img[src*="/org-theme-wordmark/"] {
    width: 346px;
  }

  .ashby-job-board-heading {
    padding-top: 36px;
    font-size: 36px;
  }

  .ashby-department-heading,
  .ashby-department-heading-level {
    font-size: 26px;
  }

  .ashby-job-posting-heading {
    padding-top: 32px;
    margin-bottom: 20px;
    font-size: 32px;
  }

  .ashby-job-posting-right-pane-overview-tab,
  .ashby-job-posting-right-pane-application-tab {
    font-size: 22px;
  }
}
