/* Comparison hub additions for the Usage guide editorial layout. */

.vs-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.guide-check-grid {
    margin-bottom: 10px !important;
}

.vs-guide-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    min-height: 150px;
    padding: 16px;
    border: 1px solid #e1e2e6;
    border-radius: 5px;
    background: #fff;
    color: #1a1d2e;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.vs-guide-card:hover,
.vs-guide-card:focus-visible {
    transform: translateY(-2px);
    border-color: #3f51b5;
    box-shadow: 0 8px 20px rgba(63, 81, 181, .1);
}

.vs-guide-card > span:nth-child(2) {
    min-width: 0;
}

.vs-guide-logo {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: min(112px, calc(100% - 28px));
    height: 34px;
    margin-bottom: 12px;
}

.vs-guide-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 32px;
    object-fit: contain;
    object-position: left top;
}

.vs-guide-logo--krisp img { max-width: 82px; }
.vs-guide-logo--wordly img { max-width: 92px; }
.vs-guide-logo--interprefy img { max-width: 108px; }
.vs-guide-logo--kudo img { max-width: 76px; }
.vs-guide-logo--deepl img { max-width: 76px; }
.vs-guide-logo--google img { max-width: 34px; max-height: 34px; }

.industry-guide-logo {
    color: #3f51b5;
}

.industry-guide-logo svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.vs-guide-card strong {
    display: block;
    margin-bottom: 5px;
    color: #11141c;
    font: 650 1.05rem/1.25 'Sora', sans-serif;
}

.vs-guide-card small {
    display: block;
    color: #586071;
    font-size: .9rem;
    line-height: 1.5;
}

.vs-guide-arrow {
    width: 17px;
    height: 17px;
    color: #8790a2;
    position: absolute;
    top: 17px;
    right: 16px;
    transition: color .18s ease, transform .18s ease;
}

.vs-guide-card:hover .vs-guide-arrow,
.vs-guide-card:focus-visible .vs-guide-arrow {
    color: #3f51b5;
    transform: translate(2px, -2px);
}

.vs-related-links {
    margin-top: 18px;
    padding: 20px 24px;
    border: 1px solid #e1e2e6;
    background: #fafafa;
}

.vs-related-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
    margin: 0;
}

.vs-related-links li {
    margin: 0;
}

@media (max-width: 700px) {
    .vs-guide-grid,
    .vs-related-links ul {
        grid-template-columns: 1fr;
    }

    .vs-guide-card {
        min-height: 136px;
    }
}
