.test-grid {
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
}

.test-grid:has(.test-card:only-child) {
    justify-content: center;
}

.test-card {
    width: calc(50% - 7.5px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s;
}

.test-card:hover {
    box-shadow: var(--shadow-md)
}

.test-stars {
    color: var(--amber);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.test-q,
.test-q p,
.test-card .test-q+p {
    font-size: 15px;
    font-weight: 300;
    color: #515154;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
    letter-spacing: .005em;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.test-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ai-indigo), var(--ai-violet));
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(91, 91, 255, .3);
}

.test-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -.01em;
}

.test-role {
    font-size: 12px;
    color: var(--body);
    font-weight: 400;
}

.test-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.test-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-indigo);
}

.test-link:hover {
    color: var(--ai-violet);
}

@media(max-width:840px) {
    .test-card {
        width: 100%;
    }
}