.home-credential-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 1.5rem;
    row-gap: 2.5rem;
}

.home-credential-item {
    flex: 0 1 10rem;
    width: 100%;
    max-width: 12rem;
}

.home-credential-item > div {
    width: 100%;
}

@media (min-width: 640px) {
    .home-credential-list {
        column-gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .home-credential-list {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        column-gap: 3rem;
    }

    .home-credential-item {
        justify-self: center;
    }
}
.footer-popup-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
}

.footer-popup-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.footer-popup-link:hover {
    text-decoration: underline;
}

.footer-links-dialog {
    margin: auto;
    width: min(640px, calc(100% - 32px));
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #d9d2c5;
    border-radius: 4px;
    background: #fdfcfa;
    color: #302c27;
}

.footer-links-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.footer-links-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

#footer-links-content li + li { margin-top: 12px; }
#footer-links-content a { display: inline-block; }
#footer-links-content a:hover { text-decoration: underline; }

