/* EDK Authors index */
.edkauthors {
    margin: 1.5rem 0 2.5rem;
}

.edkauthors__title {
    margin: 0 0 1.25rem;
}

.edkauthors__alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.25rem;
}

.edkauthors__letter,
.edkauthors__page {
    display: inline-flex;
    min-width: 2.5rem;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: .45rem .65rem;
    border: 1px solid #d8d8d8;
    text-decoration: none;
    line-height: 1;
}

.edkauthors__letter:hover,
.edkauthors__page:hover {
    border-color: currentColor;
    text-decoration: none;
}

.edkauthors__letter.is-active,
.edkauthors__page.is-active {
    background: var(--edkauthors-letter-bg-color, #222222);
    border-color: var(--edkauthors-letter-bg-color, #222222);
    color: var(--edkauthors-letter-color, #fff);
}

.edkauthors__meta {
    margin-bottom: 1.25rem;
    opacity: .7;
}

.edkauthors__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2rem;
}

.edkauthors__author {
    border-bottom: 1px solid #eee;
}

.edkauthors__author-link {
    display: block;
    padding: .8rem 0;
    color: inherit;
    text-decoration: none;
}

.edkauthors__author-link:hover {
    text-decoration: underline;
}

.edkauthors__pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 2rem;
}

.edkauthors__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.edkauthors__page--nav {
    min-width: auto;
}

.edkauthors__ellipsis {
    padding: 0 .25rem;
}

/* The Authors root category is a navigation index, not a product listing. */
#js-product-list,
#js-product-list-top,
#js-product-list-bottom,
.products-selection {
    display: none !important;
}

@media (max-width: 991px) {
    .edkauthors__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .edkauthors__grid {
        grid-template-columns: 1fr;
    }
}
