/* Institutional actor profiles. Every rule is scoped to this component. */
.actor-profile {
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.actor-profile .actor-profile__wrap {
  padding-top: 24px;
  padding-bottom: 36px;
}

.actor-profile .actor-profile__jumps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.actor-profile .actor-profile__jumps li {
  margin: 0;
}

.actor-profile .actor-profile__jumps a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--wash);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.actor-profile .actor-profile__jumps a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.actor-profile .actor-profile__summary {
  max-width: 920px;
  margin: 0 0 32px;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.actor-profile .actor-profile__section {
  min-width: 0;
  margin: 0 0 38px;
  scroll-margin-top: calc(var(--header-height, 86px) + var(--journey-trail-height, 164px) + 16px);
}

.actor-profile .actor-profile__section > h2,
.actor-profile .actor-profile__heading h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.actor-profile .actor-profile__section > h2 {
  margin-bottom: 18px;
}

.actor-profile .actor-profile__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.actor-profile .actor-profile__status {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--wash);
  font-size: .8125rem;
  line-height: 1.5;
}

.actor-profile .actor-profile__funding-lead {
  padding: 23px 26px;
  margin-bottom: 16px;
  border: 1px solid #bcded7;
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  background: #eef8f5;
}

.actor-profile .actor-profile__funding-lead h3 {
  max-width: 980px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.actor-profile .actor-profile__cards,
.actor-profile .actor-profile__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.actor-profile .actor-profile__card,
.actor-profile .actor-profile__fact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.actor-profile .actor-profile__card:only-child,
.actor-profile .actor-profile__fact:only-child {
  grid-column: 1 / -1;
}

.actor-profile .actor-profile__card > p,
.actor-profile .actor-profile__fact > p {
  margin: 0 0 16px;
  font-size: .9375rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.actor-profile .actor-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.actor-profile .actor-profile__meta span:first-child {
  font-weight: 700;
}

.actor-profile .actor-profile__route .actor-profile__route-type {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.actor-profile .actor-profile__route h3 {
  margin-bottom: 12px;
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.actor-profile .actor-profile__route h3 a {
  text-decoration-thickness: 1px;
}

.actor-profile .actor-profile__source {
  margin: auto 0 0 !important;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8125rem !important;
  line-height: 1.6 !important;
  overflow-wrap: anywhere;
}

.actor-profile .actor-profile__source > span {
  font-weight: 600;
}

.actor-profile .actor-profile__empty {
  max-width: 850px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: var(--wash);
}

.actor-profile .actor-profile__footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8125rem;
}

.actor-profile .actor-profile__review {
  margin: 0 0 8px;
}

.actor-profile .actor-profile__notes summary {
  display: list-item;
  width: fit-content;
  padding: 10px 0;
  min-height: 44px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
}

.actor-profile .actor-profile__notes ul {
  max-width: 960px;
  padding-left: 21px;
  margin: 8px 0 0;
}

.actor-profile .actor-profile__notes li {
  margin-bottom: 9px;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .actor-profile .actor-profile__cards,
  .actor-profile .actor-profile__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .actor-profile .actor-profile__section {
    margin-bottom: 30px;
  }

  .actor-profile .actor-profile__card,
  .actor-profile .actor-profile__fact {
    padding: 19px;
  }

  .actor-profile .actor-profile__funding-lead {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .actor-profile .actor-profile__jumps ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .actor-profile .actor-profile__jumps a {
    height: 100%;
    padding: 10px;
    font-size: .8125rem;
  }
}

@media print {
  .actor-profile .actor-profile__jumps {
    display: none;
  }

  .actor-profile .actor-profile__wrap {
    padding: 15px 0;
  }

  .actor-profile .actor-profile__cards,
  .actor-profile .actor-profile__facts {
    display: block;
  }

  .actor-profile .actor-profile__card,
  .actor-profile .actor-profile__fact,
  .actor-profile .actor-profile__funding-lead {
    break-inside: avoid;
    margin-bottom: 12px;
  }

  .actor-profile .actor-profile__section h2 {
    break-after: avoid;
  }
}
