/* Jump Careers Page - Ashby Embed Styling */

/* ===== FONT IMPORTS ===== */
@font-face {
  font-family: 'Caslon Ionic';
  src: url('https://jump.imgix.net/fonts/CaslonIonic-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Hoves Pro';
  font-weight: 400;
  src: url('https://jump.imgix.net/fonts/TT_Hoves_Pro_Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'TT Hoves Pro';
  font-weight: 500;
  src: url('https://jump.imgix.net/fonts/TT_Hoves_Pro_Medium.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'TT Hoves Pro';
  font-weight: 600;
  src: url('https://jump.imgix.net/fonts/TT_Hoves_Pro_DemiBold.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'TT Hoves Pro Mono';
  font-weight: 500;
  src: url('https://jump.imgix.net/fonts/TT_Hoves_Pro_Mono_Medium.woff2') format('woff2');
  font-display: swap;
}

/* ===== FONT FAMILIES ===== */
.ashby-job-posting-brief,
.ashby-job-posting-left-pane,
.ashby-job-posting-right-pane,
.ashby-application-form-container {
  font-family: 'TT Hoves Pro', ui-sans-serif, system-ui, sans-serif;
}

/* Title font for headings */
.ashby-job-board-heading,
.ashby-job-posting-brief-title,
.ashby-department-heading {
  font-family: 'Caslon Ionic', ui-serif, Georgia, serif;
}

/* Mono font for labels */
.ashby-job-posting-left-pane h2,
.ashby-job-posting-left-pane h3 {
  font-family: 'TT Hoves Pro Mono', 'Courier New', monospace;
}

/* ===== JOB CARDS ===== */
.ashby-job-posting-brief-list {
  display: grid;
  gap: 1.5rem;
}

.ashby-job-posting-brief {
  border: 1px solid #ddd !important;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.ashby-job-posting-brief:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ashby-job-posting-brief-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.ashby-department-heading {
  color: var(--color-mono-100);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 1.5rem 0 0.75rem;
}

/* ===== JOB DETAIL - LEFT PANE ===== */
.ashby-job-posting-left-pane {
  font-size: 1rem;
  line-height: 1.6;
}

/* Small gray labels like "Location", "Employment Type" */
.ashby-job-posting-left-pane h2,
.ashby-job-posting-left-pane h3 {
  font-size: 0.875rem;
  font-weight: 400;
  color: #6b7280;
  margin: 1rem 0 0.25rem;
  text-transform: none;
}

/* ===== JOB DETAIL - RIGHT PANE & TABS ===== */

/* Simple tab styling */
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  padding: 0.75rem 1rem 1.25rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: #6b7280;
  cursor: pointer;
  margin-bottom: -2px;
}

.ashby-job-posting-right-pane-overview-tab[data-active='true'],
.ashby-job-posting-right-pane-application-tab[data-active='true'] {
  color: #00b56a;
  border-bottom-color: #00b56a;
}

/* ===== FORM STYLING ===== */
.ashby-application-form-container input,
.ashby-application-form-container textarea,
.ashby-application-form-container select {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
}

.ashby-application-form-container input:focus,
.ashby-application-form-container textarea:focus,
.ashby-application-form-container select:focus {
  border-color: #00b56a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 181, 106, 0.1);
}

.ashby-application-form-submit-button {
  background-color: #00b56a;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  border: none;
  font-weight: 500;
}

.ashby-application-form-submit-button:hover {
  background-color: #008750;
}