/* Community Links / "Community Pathways" — C8009 */

/* The richtext filter wraps the headline/body in their own <p>, and the
   global `p { font-weight: 300; line-height: 2; color: ...; padding-bottom }`
   base style sets those directly on the child, overriding the weight, line
   height, color, and spacing set on .c8009-headline / .c8009-body. */
.c8009-headline p,
.c8009-body p {
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  padding-bottom: 0;
}

.c8009-container .eyebrow::after {
  width: 82px;
  height: 3px;
}

/* Pills wrap two-per-row and center; an odd final pill (the 5th in the comp)
   lands centered on its own row */
.c8009-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1256px;
  margin-inline: auto;
}

.c8009-pill {
  display: flex;
  flex: 1 1 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-radius: 8px;
  background-color: #0071ba; /* blue.DEFAULT */
  text-decoration: none;
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.c8009-pill:hover,
.c8009-pill:focus-visible {
  background-color: #ffcc5b; /* yellow.DEFAULT */
  color: #0d123d; /* blue.dark */
  text-decoration: none;
}

.c8009-pill__lead {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.c8009-pill__label {
  font-family: jost-variable, sans-serif;
  font-weight: 500;
  font-size: 1.25rem; /* 20px — mobile */
  line-height: 1.2;
}

.c8009-pill__icon,
.c8009-pill__arrow {
  flex: none;
}

/* Icons are rendered from the SVG sprite as <use>. Setting fill: currentColor
   lets sprite symbols authored with currentColor track the pill text colour
   (white by default, navy on hover), matching the comp. */
.c8009-pill__icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.c8009-pill__arrow {
  width: 24px;
  height: 24px;
}


@media (min-width: 1026px) {
  .c8009-pill {
    flex: 0 1 calc(50% - 8px);
    max-width: 620px;
    padding: 16px 40px;
    border-radius: 100px;
  }

  .c8009-pill__label {
    font-size: 1.75rem; /* 28px */
  }

  .c8009-pill__icon {
    width: 44px;
    height: 44px;
  }
}
