.mts-testata-card {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 0.92;
    padding: 18px;
    background: #fff;
    border-top: 3px solid transparent;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color 0.16s ease;
}

.mts-testata-card:hover {
    border-top-color: var(--tc-accent, #AA0202);
}

.mts-testata-card .tc-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #b9c2cb;
    transition: color 0.16s ease;
}

.mts-testata-card:hover .tc-num {
    color: var(--tc-accent, #AA0202);
}

.mts-testata-card .tc-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 6px 10px;
}

.mts-testata-card .tc-logo img {
    max-height: 62px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.mts-testata-card .tc-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid var(--tc-line, #e4e8ec);
    padding-top: 11px;
}

.mts-testata-card .tc-name {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--tc-name-color, #031F30);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mts-testata-card .tc-dom {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 12.5px;
    color: var(--tc-accent, #AA0202);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
