/* List + items */
.rp-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.rp-item {
  padding: 32px 0;
  border-top: 1px solid #cad4de;
}
.rp-item:first-child {
  border-top: none;
  padding-top: 0;
}

.rp-row {
  width: 100%;
  display: grid;
  grid-template-columns: 138px 1fr 44px;
  gap: 24px;
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.rp-avatar {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f5f7;
}
.rp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rp-name {
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 28.8px */
  letter-spacing: -0.24px;
}

.rp-line1 {
  display: flex;
  gap: 12px;
  align-items: center;
}

.rp-pronouns {
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 34px; /* 212.5% */
}

.rp-sep {
  margin: 0 8px;
  color: #999;
}
.rp-accent-mini {
  margin-top: 10px;
  display: inline-block;
  width: 117px;
  height: 5px;
  background-image: url("../img/accents/resource_person/rp-accent.svg");
  background-repeat: no-repeat;
  background-size: contain; /* or 'cover', depending on your art */
  background-position: left center;
}
.rp-position {
  color: var(--Black, #000);

  /* Body/P3 */
  font-family: Poppins;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 160% */
}
.rp-caret {
  width: 44px;
  height: 44px;
  background: url("../img/chevrons/rp-expand.svg") no-repeat left/contain;
  transition: transform 0.2s;
}
.rp-item[aria-expanded="true"] .rp-caret {
  transform: rotate(180deg);
}
.rp-body {
  padding: 40px 0 0 168px;
}
.rp-subhd {
  font-weight: 700;
  margin-bottom: 24px;

  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px; /* 114.286% */
  letter-spacing: -0.14px;
  text-transform: uppercase;
}

.rp-subhd.lang {
  margin-bottom: 14px;
}

.rp-lang {
  color: var(--Black, #000);
  /* Body/P2 */
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 175% */
}

.rp-about {
  margin-bottom: 40px;
}

.rp-about > p {
  color: var(--Black, #000);

  /* Body/P1 */
  font-family: Poppins;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 176.471% */
}

.rp-about a {
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 155.556% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-color: #fbc84e;
  text-decoration-thickness: 13%; /* 2.34px */
  text-underline-offset: 25%; /* 4.5px */
  text-underline-position: from-font;
}

/* Container for theme pills under the RP header line */
.rp-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

/* Yellow pill style (matches your “Knowledge Brief” badge vibe) */
.rp-theme-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 41px;
  background: var(--500-Yellow, #ffc845);
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--Black, #000);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .rp-item {
    width: 100%;
    opacity: 1;
    padding: 24px 0;
  }
  .rp-row {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }
  .rp-avatar {
    width: 100px;
    height: 100px;
    border-radius: 153px;
    flex-shrink: 0;
    order: 1;
    margin-right: 12px;
  }
  .rp-caret {
    flex-shrink: 0;
    order: 1;
    margin-left: auto;
    width: 18px;
    height: 10px;
    background: url("../img/chevrons/rp-expand-mobile.svg") no-repeat
      left/contain;
    transition: transform 0.25s ease;
    transform: rotate(180deg);
  }
  .rp-item[aria-expanded="true"] .rp-caret {
    transform: rotate(0);
  }

  .rp-themes {
    display: none;
  }
  .rp-meta {
    width: 100%;
    display: block;
    margin-top: 12px;
    order: 2;
  }
  .rp-name {
    color: #000;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 24px */
    letter-spacing: -0.2px;
  }
  .rp-body {
    width: 315px;
    opacity: 1;
    padding: 20px 0 0 10px;
    font-weight: 400;
    font-size: 15px;
    line-height: 26px;
    letter-spacing: 0%;
  }

  .rp-item:first-child {
    padding: 32px 0;
    border-top: 1px solid #cad4de;
  }
  .rp-item:last-child {
    padding-bottom: 0;
  }
  .rp-list {
    gap: 0;
  }
  .rp-accent-mini {
    margin-bottom: 24px;
  }
}
