/* The group.
 *
 * The same hairline grid and water hover as the range and resource cards —
 * a rectangle you can click behaves the same way wherever it is.
 */

.pl-group__title {
  font-size: var(--step-2);
  letter-spacing: var(--track-tight);
  max-width: 22ch;
  margin: 0 0 var(--sp-2);
}

.pl-group__note {
  margin-bottom: var(--sp-4);
}

.pl-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* The grid draws its own hairlines on the cells, so the list items must not
 * add a second box around them. */
.pl-group__list > li {
  display: flex;
  padding: 0;
  border: 0;
}

/* The logo sits above the place line, in a fixed band so four marks of four
 * different shapes line up along a common baseline instead of each card
 * starting wherever its own artwork happens to end. object-fit: contain keeps
 * every mark whole: a logo cropped to fill a box is somebody else's trademark
 * damaged on our page. */
.pl-group__logo {
  display: flex;
  align-items: center;
  height: 72px;
  margin-bottom: var(--sp-3);
}

.pl-group__logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.pl-group__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-4) var(--sp-3);
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--transition);
}

a.pl-group__item:hover,
a.pl-group__item:focus-visible {
  background: var(--c-water);
  color: var(--pl-navy);
}

a.pl-group__item:hover .pl-muted,
a.pl-group__item:focus-visible .pl-muted {
  color: var(--pl-navy);
}

.pl-group__place {
  font-size: 0.75rem;
}

.pl-group__name {
  font-size: 1.1875rem;
}

.pl-group__text {
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* The host, last: an outbound link should say where it goes before it is
 * clicked, and the domain is the only honest way to say it. */
.pl-group__host {
  font-size: 0.75rem;
  margin-top: auto;
  padding-top: var(--sp-2);
}
