/* Native list structure; article interiors keep the approved parent styling. */
ul.seo-capability-list {
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    list-style: none;
}

ul.seo-capability-list > li {
    display: grid;
    min-width: 0;
}

/* Each article is now first in its li. Placement belongs to the li, so the
   parent's article:nth-child rules must not create columns inside that li. */
ul.seo-capability-list > li > article:nth-child(n) {
    grid-column: auto;
}

/* Two complete columns at intermediate widths avoid an empty space beside the
   fifth card. Desktop and mobile tracks remain in the parent. */
@media (min-width: 721px) and (max-width: 1180px) {
    ul.seo-capability-list > li {
        grid-column: span 6;
    }
}
