/* ==========================================================================
   BLOCK: Careers Page
   Custom styles for careers hero & open-roles sections.
   Reuses about.css tokens and patterns.
   ========================================================================== */

/* --- Hero --- */
.careers-hero {
  background: var(--vox-light-gray, #F3F4F6);
  padding: 5rem 0 4rem;
  text-align: center;
}

.careers-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--vox-purple, #341C4C);
  line-height: 1.15;
  margin: 0 auto 1.25rem;
  max-width: 40rem;
}

.careers-hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--vox-cool-gray, #6B7280);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

/* --- Alternating white / grey backgrounds --- */
.faqs-page__hero + .about-info {
  padding-top: 0;
}

.faqs-page__hero                        { background: var(--vox-white, #FFFFFF); }
.faqs-page__hero + .about-info          { background: var(--vox-white, #FFFFFF); }
/* stats-bar is grey by default — no override needed */
.stats-bar ~ .about-testimonial         { background: var(--vox-white, #FFFFFF); }
/* about-values is grey by default — no override needed */
.about-values + .careers-roles          { background: var(--vox-white, #FFFFFF); }
/* CTA footer on grey */
.careers-roles ~ .hp-cta                { background: var(--vox-light-gray, #F3F4F6); }

/* --- Open Roles header --- */
.careers-roles__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.careers-roles .careers-roles__title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--vox-purple, #341C4C);
  margin: 0;
}

/* --- Role card layout — align all rows across cards --- */
.careers-roles .about-info__grid {
  align-items: stretch;
}

.careers-roles .about-info__card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
}

/* Force title to 2-line height so location/divider/text align across cards */
.careers-roles .about-info__title {
  min-height: 3.6rem;
}

.careers-roles__location {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vox-lilac, #95569E);
  margin: 0.25rem 0 0;
}

.careers-roles__divider {
  border: none;
  border-top: 1px solid var(--vox-border, #E5E7EB);
  margin: 1rem 0;
}

.careers-roles__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--vox-purple, #341C4C);
  margin-top: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.careers-roles__link:hover {
  color: var(--vox-lilac, #95569E);
}

.careers-roles__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- Remove italic from testimonial quote --- */
.about-testimonial .about-testimonial__quote-text {
  font-style: normal;
}
