/* /featured. Badge artwork is supplied by each directory and is not theme aware,
   so the chip stays a light surface in both themes. */

.ft-page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); }
.ft-page .mk-crumbs ol { justify-content: flex-start; margin-bottom: 18px; }
.ft-page h1 { margin: 10px 0 0; }
.ft-lede {
  max-width: 46ch; margin: 14px 0 0; color: var(--muted);
  font-size: 16px; line-height: 1.55;
}
.ft-list {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px;
}
.ft-list li { margin: 0; min-width: 0; }
.ft-list a {
  display: flex; align-items: center; justify-content: center;
  min-height: 96px; height: 100%; padding: 16px 18px;
  background: #FFFFFF; border: 1px solid #E6E6E6; border-radius: 0;
  text-decoration: none; color: inherit;
  transition: border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ft-list a:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.ft-list a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ft-list img {
  display: block; max-width: 100%; max-height: 64px; width: auto; height: auto;
  min-height: 20px; object-fit: contain; object-position: center;
}
@media (max-width: 640px) {
  .ft-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-list a { transition: none; }
}
