.careers-content {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) 0 7rem;
  background-color: var(--color-surface-subtle);
}

@media (min-width: 900px) {
  .careers-content {
    padding-bottom: clamp(5rem, 8vw, 8rem);
  }
}

.careers-content__inner {
  width: min(100%, 94rem);
  padding-inline: clamp(1rem, 6vw, 7rem);
  margin-inline: auto;
}

.careers-content__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1200px) {
  .careers-content__grid {
    align-items: start;
    grid-template-columns: minmax(0, 40.125rem) minmax(20rem, 28.375rem);
    justify-content: space-between;
    gap: clamp(3rem, 7vw, 6.5rem);
  }
}

.careers-content__main {
  width: min(100%, 40.125rem);
  min-width: 0;
}

.careers-content__prose {
  color: var(--color-text-default);
}

.careers-content__prose > :first-child,
.careers-content-section:first-child > :first-child {
  margin-top: 0;
}

.careers-content__prose > :last-child,
.careers-content-section:last-child > :last-child {
  margin-bottom: 0;
}

.careers-content__prose h2,
.careers-content-section h2 {
  margin: 3rem 0 1rem;
  color: var(--color-text-default);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.careers-content__prose h3,
.careers-content-section h3 {
  margin: 2rem 0 0.75rem;
  color: var(--color-text-default);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.careers-content__prose p,
.careers-content__prose li,
.careers-content-section p,
.careers-content-section li {
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .careers-content__prose p {
    font-size: 1.125rem;
    line-height: 1.45;
  }
}

@media (min-width: 900px) {
  .careers-content__prose li {
    font-size: 1.125rem;
    line-height: 1.45;
  }
}

@media (min-width: 900px) {
  .careers-content-section p {
    font-size: 1.125rem;
    line-height: 1.45;
  }
}

@media (min-width: 900px) {
  .careers-content-section li {
    font-size: 1.125rem;
    line-height: 1.45;
  }
}

.careers-content__prose p,
.careers-content-section p {
  margin: 0 0 1.25rem;
}

.careers-content__prose a {
  color: var(--color-interactive);
  font-weight: 600;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.2em;
}

.careers-content__prose a:hover {
  color: var(--color-interactive-hover);
}

.careers-content__prose blockquote {
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 2rem 0;
  border-left: 0.25rem solid var(--color-brand-secondary);
  color: var(--color-text-muted);
}

.careers-content__prose blockquote > :last-child {
  margin-bottom: 0;
}

.careers-content__prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-collapse: collapse;
}

.careers-content__prose th,
.careers-content__prose td {
  min-width: 10rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border-default);
  text-align: left;
  vertical-align: top;
}

.careers-content__prose th {
  background-color: var(--color-surface-subtle);
  font-weight: 600;
}

.careers-content__prose ul,
.careers-content__prose ol,
.careers-content-section ul,
.careers-content-section ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1.5rem;
}

.careers-content__prose li + li,
.careers-content-section li + li {
  margin-top: 0.5rem;
}

.careers-content-section + .careers-content-section {
  margin-top: 3.25rem;
}

.careers-content__aside {
  width: min(100%, 28.375rem);
  min-width: 0;
}

@media (min-width: 1200px) {
  .careers-content__aside {
    position: sticky;
    top: 9.5rem;
  }
}

.careers-apply-card {
  overflow: hidden;
  border: 1px solid var(--color-border-default);
  border-radius: 0.5rem;
  background-color: var(--color-surface-default);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 8%);
}

.careers-apply-card__rail {
  height: 0.625rem;
  background-image: linear-gradient(60deg, var(--color-palette-eco), var(--color-palette-forest));
}

.careers-content__aside--blue .careers-apply-card__rail {
  background-image: var(--gradient-brand-primary);
}

.careers-content__aside--forest .careers-apply-card__rail {
  background-image: linear-gradient(60deg, var(--color-palette-hydro), var(--color-palette-forest));
}

.careers-apply-card__body {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.careers-apply-card__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.3;
  text-transform: uppercase;
}

.careers-apply-card__title {
  margin: 0;
  color: var(--color-text-default);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-transform: uppercase;
}

.careers-apply-card__intro {
  margin: 0.875rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.careers-apply-card__benefits {
  display: grid;
  padding: 0;
  margin: 1.5rem 0 0;
  gap: 1.125rem;
  list-style: none;
}

.careers-apply-card__benefits li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  align-items: start;
  font-size: 0.9375rem;
  gap: 0.75rem;
  line-height: 1.4;
}

.careers-apply-card__benefits svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-state-success);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.careers-apply-card__facts {
  display: grid;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--color-border-default);
  margin: 1.5rem 0 0;
  gap: 0.875rem;
}

.careers-apply-card__facts div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
}

.careers-apply-card__facts dt,
.careers-apply-card__facts dd {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.careers-apply-card__facts dt {
  color: var(--color-text-muted);
  font-weight: 600;
}

.careers-apply-card__facts dd {
  color: var(--color-text-default);
}

.careers-apply-card__footer {
  padding: 1.25rem clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid var(--color-border-default);
}

.careers-apply-card__footer p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.careers-apply-card__cta,
.careers-content__mobile-cta {
  gap: 0.625rem;
}

.careers-apply-card__cta {
  width: 100%;
}

.careers-apply-card__cta svg,
.careers-content__mobile-cta svg {
  width: var(--button-action-icon-size);
  height: var(--button-action-icon-size);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.careers-content__mobile-apply {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem;
  border: 1px solid var(--color-border-default);
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  background-color: var(--color-surface-overlay);
  box-shadow: 0 0.75rem 2rem var(--color-shadow-overlay);
  gap: 0.75rem;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .careers-content__mobile-apply {
    background-color: var(--color-surface-overlay);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
  }
}

@media (min-width: 1200px) {
  .careers-content__mobile-apply {
    display: none;
  }
}

.careers-content.is-mobile-apply-ready .careers-content__mobile-apply {
  position: fixed;
  right: 1rem;
  bottom: calc(5rem + env(safe-area-inset-bottom));
  left: 1rem;
  width: min(calc(100% - 2rem), 32rem);
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

@media (min-width: 600px) {
  .careers-content.is-mobile-apply-ready .careers-content__mobile-apply {
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

.careers-content.is-mobile-apply-visible .careers-content__mobile-apply {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.careers-content__mobile-label {
  max-width: 12rem;
  color: var(--color-text-default);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.careers-content__mobile-cta {
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .careers-content.is-mobile-apply-ready .careers-content__mobile-apply {
    transition: none;
  }
}
