/*
 * Rippling job board on Careers (pm-careers).
 * Uses [rippling_jobs] shortcode — not the Rippling iframe embed (cross-origin).
 */

body.pm-careers #termly-embed-row .gw-rippling-board,
body.pm-careers #rr-job-board.gw-rippling-board {
  width: 100%;
}

body.pm-careers .gw-rippling-board__group + .gw-rippling-board__group {
  margin-top: 3.2rem;
}

body.pm-careers .gw-rippling-board__heading {
  margin: 0 0 2.4rem;
  font-size: clamp(2.2rem, 2.4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--white, #fff);
}

body.pm-careers .gw-rippling-board__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.pm-careers .gw-rippling-board__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.pm-careers .gw-rippling-board__item:first-child {
  padding-top: 0;
}

body.pm-careers .gw-rippling-board__summary {
  flex: 1 1 auto;
  min-width: 0;
}

body.pm-careers .gw-rippling-board__title {
  display: inline-block;
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white, #fff) !important;
  text-decoration: none !important;
}

body.pm-careers .gw-rippling-board__title:hover,
body.pm-careers .gw-rippling-board__title:focus {
  color: var(--white80, rgba(255, 255, 255, 0.8)) !important;
}

body.pm-careers .gw-rippling-board__meta {
  margin: 0;
  font-size: var(--copyFontSmall, 1.5rem);
  line-height: 1.4;
  color: var(--white80, rgba(255, 255, 255, 0.8));
}

body.pm-careers .gw-rippling-board__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: var(--copyFontSmall, 1.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--black, #000) !important;
  text-decoration: none !important;
  background-color: #bff67e;
  border: 1px solid #bff67e;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

body.pm-careers .gw-rippling-board__cta:hover,
body.pm-careers .gw-rippling-board__cta:focus {
  color: var(--black, #000) !important;
  background-color: #a8e555;
  border-color: #a8e555;
  text-decoration: none !important;
}

body.pm-careers .gw-rippling-board__cta-icon {
  font-size: 1.1em;
  line-height: 1;
}

body.pm-careers .gw-rippling-board--empty .gw-rippling-board__empty {
  margin: 0;
  color: var(--white80, rgba(255, 255, 255, 0.8));
  font-size: var(--copyFontSmall, 1.5rem);
}

@media screen and (max-width: 768px) {
  body.pm-careers .gw-rippling-board__item {
    flex-direction: column;
    align-items: flex-start;
  }

  body.pm-careers .gw-rippling-board__cta {
    width: 100%;
    justify-content: center;
  }
}
