/* Nearby subway on the Location & Hours card (ported from the Leap template,
   #1116): one pill per station with MTA line bullets and the walk time.
   Text colours use this site's own greys; bullet colours are the MTA's. */
.transit {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}

.transit__head {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.transit__icon {
  width: 1rem;
  height: 1rem;
  color: #757575;
}

.transit__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.transit-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.625rem;
  max-width: 100%;
  padding: 0.375rem 0.5rem 0.375rem 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 6.25rem;
  background: #fff;
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.3;
}

.transit-pill__station {
  font-weight: 500;
}

.subway-bullets {
  display: inline-flex;
  gap: 0.25rem;
}

.subway-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #808183;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.subway-bullet.is-green { background: #00933c; }
.subway-bullet.is-purple { background: #b933ad; }
.subway-bullet.is-blue { background: #0039a6; }
.subway-bullet.is-orange { background: #ff6319; }
.subway-bullet.is-slate { background: #808183; }

.transit-pill__walk {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem 0.125rem 0.375rem;
  border-radius: 6.25rem;
  background: rgba(0, 0, 0, 0.05);
  color: #757575;
  font-size: 0.8rem;
  white-space: nowrap;
}

.transit-pill__walk-icon {
  width: 0.875rem;
  height: 0.875rem;
}
