/* Stage 18. Home «الكتب»: index of all publications (bio `works` list) above the three featured covers.
   Numbered, two columns between thin gold rules; one column on phones. */
.home-works{margin:0 0 2.8rem;padding:1.3rem 0 1.3rem;border-block:1px solid color-mix(in srgb,var(--gold) 55%,transparent);columns:2 18rem;column-gap:3rem}
[dir=rtl] .home-works{list-style-type:arabic-indic}
/* Indent on each item (not the list) so both columns leave room for their numbers. */
.home-works li{break-inside:avoid;margin:0 0 .5rem;margin-inline-start:1.8rem;line-height:1.5;padding-inline-start:.3rem}
.home-works li::marker{color:var(--gold)}
.home-works a{color:var(--lapis);text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .25s}
[dir=rtl] .home-works a{background-position:100% 100%}
.home-works a:hover,.home-works a:focus-visible{background-size:100% 1px}
/* «قَيْدُ الصُّدُورِ» tag: same pill as the biography list (stage5 .bio-page .bio-works .soon) */
.home-works .soon{display:inline-block;margin-inline-start:.35rem;padding:0 .5rem;border:1px solid color-mix(in srgb,var(--soft) 50%,transparent);border-radius:999px;font-size:.72em;line-height:1.6;vertical-align:.12em;color:var(--soft);white-space:nowrap}
@media(max-width:640px){.home-works{margin-bottom:2rem;padding-block:1rem}}

/* Home: close the gap between the about paragraph (its button) and «الكتب»; section padding was 80px (user, 2026-10-15) */
#about{padding-bottom:1rem}
