/* "Featured on" strip (shared/directory-footer): a quiet row of directory badges in light cards. When the badges
   overflow, /_directory-footer.js adds one hidden copy of the row and the pair loops left at about 40 px a second;
   otherwise the row sits still and centred. Colours come from the site's own tokens where it has them. */
.listings { --df-line: var(--line, color-mix(in srgb, currentColor 16%, transparent)); --df-muted: var(--muted, currentColor); --df-accent: var(--accent, currentColor); margin: 2rem 0 0; color: var(--df-muted); }
.listings-title { margin: 0 0 .6rem; font-size: .95rem; color: var(--ink, inherit); }
.listings-bar { display: flex; align-items: center; gap: .5rem; height: 76px; }
.listings-view { flex: 1; min-width: 0; overflow: hidden; }
.listings-track { display: flex; width: max-content; }
.listings-row { display: flex; align-items: center; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.listings-row li { flex: none; margin: 0; }
.listings-row a { display: flex; align-items: center; height: 64px; padding: 0 .6rem; border: 1px solid #e3ebe6; border-radius: 12px; background: #fff; text-decoration: none; }
.listings-row a:hover, .listings-row a:focus-visible { border-color: var(--df-accent); }
.listings-row img { display: block; height: auto; max-height: 50px; width: auto; max-width: 220px; }
.listings-toggle { flex: none; min-height: 32px; padding: .2rem .7rem; border: 1px solid var(--df-line); border-radius: 999px; background: transparent; color: var(--df-muted); font: inherit; font-size: .8rem; cursor: pointer; }
.listings-toggle[hidden] { display: none; }
.listings.is-moving .listings-view { -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5rem, #000 calc(100% - 1.5rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 1.5rem, #000 calc(100% - 1.5rem), transparent); }
.listings.is-moving .listings-row { padding-right: .75rem; }
.listings.is-moving .listings-track { animation: listings-loop var(--listings-dur, 40s) linear infinite; }
.listings:not(.is-moving) .listings-track { margin: 0 auto; }
.listings:hover .listings-track, .listings:focus-within .listings-track, .listings.is-paused .listings-track { animation-play-state: paused; }
@keyframes listings-loop { to { transform: translateX(-50%); } }
[data-motion='reduce'] .listings-track { width: auto; }
[data-motion='reduce'] .listings-bar { height: auto; min-height: 76px; }
[data-motion='reduce'] .listings-row { flex-wrap: wrap; row-gap: .6rem; }
[data-motion='reduce'] .listings-row a { height: 48px; }
[data-motion='reduce'] .listings-row img { max-height: 36px; }
@media (prefers-reduced-motion: reduce) {
  .listings-track { width: auto; }
  .listings-bar { height: auto; min-height: 76px; }
  .listings-row { flex-wrap: wrap; row-gap: .6rem; }
  .listings-row a { height: 48px; }
  .listings-row img { max-height: 36px; }
}
