/* DS-011: token replacement for related-link tiles. */
.link-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--tkc-space-8) * 4)), 1fr));
  gap: var(--tkc-space-5);
  width: 100%;
  margin: var(--tkc-space-4) auto var(--tkc-space-6);
}

/* AUD-008: the shell is the canonical `.tkc-card.tkc-card-flush` and the
   thumbnail the canonical `.tkc-media` frame (16:9); only layout is here. */
.link-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.link-tile:focus-visible {
  outline: medium solid var(--tkc-color-focus);
  outline-offset: var(--tkc-space-1);
}

/* Site screenshots read from the top of the page. */
.link-tile-thumb > img {
  object-position: top center;
}

.link-tile-body {
  display: flex;
  flex-direction: column;
  gap: var(--tkc-space-2);
  padding: var(--tkc-space-4) var(--tkc-space-5);
}

.link-tile-title {
  color: var(--tkc-color-text);
  font-size: var(--tkc-size-200);
  font-weight: var(--tkc-weight-bold);
  line-height: var(--tkc-leading-tight);
}

.link-tile-blurb {
  color: var(--tkc-color-text-muted);
  font-size: var(--tkc-size-100);
  line-height: var(--tkc-leading-normal);
}

.link-tile-cta {
  margin-top: var(--tkc-space-1);
  color: var(--tkc-color-accent);
  font-size: var(--tkc-size-100);
  font-weight: var(--tkc-weight-bold);
}

@media (prefers-reduced-motion: reduce) {
  .link-tile {
    transition-duration: 0s;
  }
}
