.careers-openings {
  background: var(--adept-white);
  color: var(--fg-on-light);
  padding: 80px 0 88px;
}
.careers-openings__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: clamp(32px, 7vw, 144px);
}
.careers-openings__kicker {
  color: var(--adept-grey-500);
  margin-bottom: 18px;
}
.careers-openings__title,
.adept-type .careers-openings__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  margin: 0;
}
.careers-openings__empty {
  font-size: 17px;
  line-height: 1.5;
}
.careers-openings__empty a {
  color: var(--adept-green);
}

/* --- static (no-JS) / reactive (Alpine) toggle, same idiom as
   blocks/tm-candidate-search/tm-candidate-search.css's .cs-static/.cs-reactive --- */
.co-reactive { display: none; }
.co-live .co-static { display: none !important; }
.co-live .co-reactive { display: revert; }
.co-live .careers-openings__search { display: flex; }
.co-live .careers-openings__teams { display: grid; }
.co-live .careers-openings__filterrow { display: flex; }
.co-live .careers-openings__chips { display: flex; }
.co-live .careers-openings__list.co-reactive { display: block; }

.careers-openings__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.careers-openings__search {
  align-items: center;
  gap: 12px;
  background: var(--adept-grey-100);
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  min-width: 320px;
}
.careers-openings__search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: inherit;
}

.careers-openings__teams {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 48px;
}
.careers-openings__tile {
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  border: 0;
  border-radius: var(--radius-card);
  padding: 28px 28px 24px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--adept-grey-100);
  color: var(--fg-on-light);
  transition: background-color 120ms cubic-bezier(0.2, 0.8, 0.2, 1), color 120ms;
}
.careers-openings__tile.is-active {
  background: var(--adept-black);
  color: var(--fg);
}
.careers-openings__tile-name {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.careers-openings__tile-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.careers-openings__filterrow {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.careers-openings__chips {
  flex-wrap: wrap;
  gap: 10px;
}
.careers-openings__chip {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 0;
  background: var(--adept-grey-100);
  color: rgba(0, 0, 0, 0.7);
  transition: background-color 120ms cubic-bezier(0.2, 0.8, 0.2, 1), color 120ms;
}
.careers-openings__chip.is-active {
  background: var(--adept-black);
  color: var(--fg);
}
.careers-openings__count {
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.66);
}

.careers-openings__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 26px 8px 26px 0;
  border-bottom: 1px solid var(--hairline-light);
  color: var(--fg-on-light);
  text-decoration: none;
  transition: padding-left 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.careers-openings__row:hover {
  background: #f5f5f5;
  padding-left: 20px;
  text-decoration: none;
}
.careers-openings__row-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.careers-openings__row-title,
.adept-type .careers-openings__row-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.careers-openings__row-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.66);
}
.careers-openings__pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--adept-grey-100);
}
.careers-openings__row-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--adept-green);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .careers-openings__teams { grid-template-columns: minmax(0, 1fr); }
  .careers-openings__search { min-width: 0; width: 100%; }
  .careers-openings__row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
