/* A directory listing between two rules, a hairline between entries: subdirectories in italics with their file count, files with
   their title (the first heading) as detail. An empty directory is one entry with only a c-listing__detail. */

.c-listing { padding: 0; list-style: none; border-block: var(--stroke-hair) solid var(--color-rule); }
.c-listing__entry { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-4); padding: 0.3em 0; }
.c-listing__entry + .c-listing__entry { border-top: var(--stroke-hair) solid var(--color-rule-faint); }
.c-listing__name { overflow-wrap: anywhere; }
.c-listing__name--directory { font-style: italic; }
.c-listing__detail { color: var(--color-ink-muted); font-size: var(--size-small); font-style: italic; }
