/* PARTFIT TECH BRANDS V1 */

.tech-brands-hero {
    padding: 28px;
    border: 1px solid #e2eaf4;
    background: #fff;
    border-radius: 18px;
}

.tech-brands-hero h2 {
    font-size: clamp(22px, 3vw, 30px);
    margin: 12px 0 8px;
}

.tech-brands-hero p {
    color: #728198;
    line-height: 1.6;
    font-size: 14px;
}

.tech-brands-search {
    margin-top: 24px;
    max-width: 700px;
}

.tech-brands-search label {
    display: block;
    margin-bottom: 9px;
    font-weight: 700;
    font-size: 13px;
}

.tech-brands-search-row {
    display: flex;
    gap: 10px;
}

.tech-brands-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid #d9e2ee;
    border-radius: 10px;
    padding: 14px;
    outline-color: #156de2;
}

.tech-brands-search button {
    border: 0;
    border-radius: 10px;
    padding: 12px 20px;
    background: #146de9;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.tech-brands-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 13px;
}

.tech-brands-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 19px 15px;
    background: #fff;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
}

.tech-brands-card:hover {
    border-color: #78a9ed;
    background: #f8fbff;
}

.tech-brands-letter {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    border-radius: 11px;
    background: #edf4ff;
    color: #1766cd;
    font-weight: 800;
}

.tech-brands-name {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 700;
}

.tech-brands-arrow {
    color: #98a9bd;
}

.tech-brands-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 25px 0;
    font-size: 13px;
}

.tech-brands-pagination a {
    padding: 11px 15px;
    background: #e8f1ff;
    color: #155db8;
    border-radius: 9px;
    font-weight: 700;
}

@media(max-width:1100px) {
    .tech-brands-list {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media(max-width:650px) {
    .tech-brands-hero {
        padding: 20px 15px;
    }

    .tech-brands-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px;
    }

    .tech-brands-card {
        padding: 12px 9px;
        gap: 8px;
    }

    .tech-brands-letter {
        width: 32px;
        height: 32px;
    }

    .tech-brands-name {
        font-size: 12px;
    }

    .tech-brands-search-row {
        flex-direction: column;
    }

    .tech-brands-search button {
        width: 100%;
    }
}
