/* Match the service buttons while keeping age selection distinct. */
.f-ages .pill {
  min-height: 44px;
  min-width: 96px;
  padding: 10px 14px;
  background-color: var(--forest);
  background-size: 400% auto;
  background-position: 35% 75%;
  color: #fff;
}

.f-ages .pill .age-label,
.f-ages .pill.on .age-label,
.f-ages .pill:hover:not(.on) .age-label {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-shadow: 0 1px 2px rgba(7, 33, 31, .8);
}

.f-ages .pill.on {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.f-ages .pill.on .age-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .f-ages {
    display: grid;
    grid-template-columns: repeat(2, 96px);
  }
}
