@import url("./design-system/components.css?v=20260907-pay-filter7");

.jb-home-hero {
  padding-block: var(--jb-space-7);
  border-bottom: 1px solid var(--jb-color-border-subtle);
  background: var(--jb-color-primary-subtle);
}

.jb-home-hero__layout {
  display: block;
}

.jb-home-hero__copy {
  display: flex;
  max-width: 92rem;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.jb-home-hero__copy .jb-heading--hero {
  max-width: 18ch;
  margin-bottom: var(--jb-space-3);
}

.jb-home-hero__copy .jb-lead {
  max-width: 64ch;
  margin-bottom: var(--jb-space-5);
}

.jb-home-hero__copy .jb-search-panel {
  margin-top: 0;
  background: transparent;
}

.jb-home-pathways {
  border-bottom: 1px solid var(--jb-color-border-subtle);
  background: var(--jb-color-surface);
}

.jb-home-pathways__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.jb-home-pathway {
  min-height: 10.8rem;
  border-width: 0 1px 0 0;
  border-radius: 0;
}

.jb-home-pathway:first-child {
  border-left: 1px solid var(--jb-color-border-subtle);
}

.jb-home-pathway .jb-link-card__copy {
  min-height: 10.8rem;
  gap: var(--jb-space-2);
  padding: var(--jb-space-4) 5.2rem var(--jb-space-4) var(--jb-space-4);
}

.jb-home-pathway .jb-link-card__icon {
  right: var(--jb-space-4);
  bottom: 50%;
  transform: translateY(50%);
}

.jb-home-discovery {
  padding-top: var(--jb-space-7);
}

.jb-home-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--jb-space-4);
}

.jb-home-tile {
  min-height: 11.6rem;
}

.jb-home-tile .jb-link-card__copy {
  min-height: 11.6rem;
  gap: var(--jb-space-2);
  padding: var(--jb-space-4) 5rem var(--jb-space-4) var(--jb-space-4);
}

.jb-home-jobs {
  border-block: 1px solid var(--jb-color-border-subtle);
  background: var(--jb-color-surface-subtle);
}

.jb-home-jobs .jb-job-card {
  background: var(--jb-color-surface);
}

.jb-home-section-summary {
  max-width: 62ch;
  margin: var(--jb-space-2) 0 0;
  color: var(--jb-color-text-muted);
}

.jb-home-companies {
  border-top: 1px solid var(--jb-color-border-subtle);
  background: linear-gradient(180deg, var(--jb-color-primary-subtle), var(--jb-color-surface) 72%);
}

.jb-home-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
  gap: var(--jb-space-4);
}

.jb-home-company-card {
  min-width: 0;
  overflow: hidden;
  border-color: var(--jb-color-border-subtle);
  background: var(--jb-color-surface);
  box-shadow: 0 0.4rem 1.6rem rgb(35 61 19 / 7%);
}

.jb-home-company-card .jb-company-card__header {
  background: var(--jb-color-surface);
}

.jb-home-locations {
  background: var(--jb-color-surface);
}

.jb-home-location-browser {
  overflow: hidden;
  border: 1px solid var(--jb-color-border-subtle);
  border-radius: var(--jb-radius-lg);
  background: var(--jb-color-surface-subtle);
  box-shadow: 0 1.6rem 4.8rem rgb(26 26 26 / 7%);
}

.jb-home-location-now {
  padding: var(--jb-space-5);
  background: linear-gradient(135deg, var(--jb-color-primary-subtle), var(--jb-color-surface));
}

.jb-home-location-now__label {
  margin: 0 0 var(--jb-space-3);
  color: var(--jb-color-primary-dark);
  font-size: var(--jb-text-sm);
  font-weight: var(--jb-font-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jb-home-location-featured {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--jb-space-3);
}

.jb-home-location-feature {
  min-height: 10.4rem;
  border-color: rgb(35 61 19 / 18%);
  box-shadow: 0 0.8rem 2.4rem rgb(35 61 19 / 7%);
}

.jb-home-location-feature:first-child {
  grid-column: span 2;
}

.jb-home-location-feature .jb-link-card__copy {
  min-height: 10.4rem;
  gap: var(--jb-space-1);
  padding: var(--jb-space-4) 5rem var(--jb-space-4) var(--jb-space-4);
}

.jb-home-location-feature:first-child .card-heading {
  font-size: var(--jb-text-xl);
}

.jb-home-location-directory {
  border-top: 1px solid var(--jb-color-border-subtle);
  background: var(--jb-color-surface);
}

.jb-home-location-directory > summary {
  display: flex;
  min-height: 6.4rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--jb-space-4);
  padding: var(--jb-space-3) var(--jb-space-5);
  color: var(--jb-color-text);
  font-weight: var(--jb-font-weight-bold);
  cursor: pointer;
  list-style: none;
}

.jb-home-location-directory > summary::-webkit-details-marker {
  display: none;
}

.jb-home-location-directory > summary:hover {
  background: var(--jb-color-primary-subtle);
}

.jb-home-location-directory > summary:focus-visible {
  outline: 3px solid var(--jb-color-focus);
  outline-offset: -3px;
}

.jb-home-location-directory__icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 3.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--jb-color-primary-subtle);
  color: var(--jb-color-primary-dark);
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.jb-home-location-directory[open] .jb-home-location-directory__icon {
  transform: rotate(-90deg);
}

.jb-home-location-directory__content {
  border-top: 1px solid var(--jb-color-border-subtle);
}

.jb-home-location-list {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.jb-home-location-list__item {
  min-width: 0;
  margin: 0;
  padding: 0;
  border-right: 1px solid var(--jb-color-border-subtle);
  border-bottom: 1px solid var(--jb-color-border-subtle);
}

.jb-home-location-list__item:nth-child(4n) {
  border-right: 0;
}

.jb-home-location-list__item::before {
  display: none;
  content: none;
}

.jb-home-location-list__link {
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--jb-space-3);
  padding: var(--jb-space-2) var(--jb-space-3);
  color: var(--jb-color-text);
  text-decoration: none;
}

.jb-home-location-list__link:hover {
  background: var(--jb-color-primary-subtle);
  color: var(--jb-color-link);
  text-decoration: underline;
}

.jb-home-location-list__link:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--jb-color-focus);
  outline-offset: -3px;
}

.jb-home-location-list__name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.jb-home-location-list__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--jb-space-1);
  color: var(--jb-color-link);
  font-size: 1.4rem;
}

.jb-home-location-list__action .jb-icon {
  width: 1.6rem;
  height: 1.6rem;
}

.jb-home-reading {
  border-top: 1px solid var(--jb-color-border-subtle);
  background: var(--jb-color-surface-subtle);
}

.jb-home-reading .jb-article-card,
.jb-home-reading .jb-content-card {
  background: var(--jb-color-surface);
}

.jb-home-employer {
  padding-block: var(--jb-space-7);
}

.jb-home-employer__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--jb-space-6);
  padding: var(--jb-space-6);
  border: 1px solid var(--jb-color-primary);
  border-left-width: 0.8rem;
  background: var(--jb-color-primary-subtle);
}

.jb-home-employer__panel h2 {
  margin-bottom: var(--jb-space-2);
}

.jb-home-employer__panel p:last-child {
  max-width: 64ch;
  margin-bottom: 0;
}

.jb-home-employer__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--jb-space-3);
}

@media (max-width: 900px) {
  .jb-home-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jb-home-pathways__grid {
    grid-template-columns: 1fr;
  }

  .jb-home-location-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jb-home-location-list__item:nth-child(4n) {
    border-right: 1px solid var(--jb-color-border-subtle);
  }

  .jb-home-location-list__item:nth-child(2n) {
    border-right: 0;
  }

  .jb-home-location-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jb-home-pathway,
  .jb-home-pathway:first-child {
    border-width: 0 1px 1px;
  }

  .jb-home-employer__panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .jb-home-hero {
    padding-block: var(--jb-space-5);
  }

  .jb-home-tile-grid {
    grid-template-columns: 1fr;
  }

  .jb-home-location-list {
    grid-template-columns: 1fr;
  }

  .jb-home-location-list__item,
  .jb-home-location-list__item:nth-child(2n),
  .jb-home-location-list__item:nth-child(4n) {
    border-right: 0;
  }

  .jb-home-company-grid {
    grid-template-columns: 1fr;
  }

  .jb-home-location-now {
    padding: var(--jb-space-4);
  }

  .jb-home-location-featured {
    grid-template-columns: 1fr;
  }

  .jb-home-location-feature:first-child {
    grid-column: auto;
  }

  .jb-home-location-directory > summary {
    padding-inline: var(--jb-space-4);
  }

  .jb-home-employer__panel {
    padding: var(--jb-space-5);
  }

  .jb-home-employer__actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .jb-home-employer__actions .jb-button {
    width: 100%;
    justify-content: center;
  }
}
