/* The Persian alphabet (alphabet/show): a card per letter with its joining forms, sound and a word to hear. */
.alpha__lead { max-width: 680px; color: var(--text-body); margin: -6px 0 18px; }
.alpha__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.alpha__card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.alpha__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.alpha__letter { font-family: var(--font-arabic); font-size: 46px; line-height: 1; color: var(--clay); }
.alpha__name { font-weight: 600; }
.alpha__sound { font-weight: 400; color: var(--text-muted); }
.alpha__forms { display: flex; gap: 6px; margin: 0; justify-content: space-between; }
.alpha__forms div { display: grid; justify-items: center; gap: 2px; }
.alpha__forms dt { font-family: var(--font-sans); font-size: 11px; color: var(--text-faint); }
.alpha__forms dd { margin: 0; font-family: var(--font-arabic); font-size: 30px; line-height: 1.3; }
.alpha__word { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: baseline; text-align: start;
  padding: 8px 10px; border: 0; border-radius: 10px; background: var(--sand); color: inherit; font: inherit; cursor: pointer; }
.alpha__word:hover { background: var(--sand-hover); }
.alpha__word-fa { font-family: var(--font-arabic); font-size: 22px; grid-row: 1 / 3; }
.alpha__word-roman { color: var(--clay); font-size: 14px; }
.alpha__word-en { color: var(--text-muted); font-size: 13px; grid-column: 2; }
.alpha__play { grid-column: 3; grid-row: 1 / 3; align-self: center; color: var(--text-muted); }
.alpha__note { margin: 0; font-size: 13px; color: var(--text-muted); }
.alpha__note--joins { color: var(--clay-deep); }
.alpha__groups { margin-top: 28px; }
.alpha__h2 { font-size: 22px; margin: 0 0 6px; }
.alpha__group-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.alpha__group-list li { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; }
.alpha__group-sound { font-weight: 600; color: var(--clay); }
.alpha__group-letters { font-family: var(--font-arabic); font-size: 26px; }
