.section-type-profile_klientow {
    --tsi-pk-gap: 24px;
    --tsi-pk-radius: 2px;
    overflow: hidden;
    padding: clamp(72px, 8vw, 140px) 0;
}

.section-type-profile_klientow .tsi-pk-container {
    width: min(1520px, calc(100% - 64px));
    margin: 0 auto;
}

.section-type-profile_klientow .tsi-pk-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: clamp(40px, 5vw, 72px);
}

.section-type-profile_klientow .tsi-pk-heading-wrap {
    max-width: 980px;
}

.section-type-profile_klientow .tsi-pk-eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .62;
}

.section-type-profile_klientow .tsi-pk-heading {
    max-width: 1050px;
    margin: 0;
    font-size: clamp(42px, 5.2vw, 86px);
    line-height: .98;
    font-weight: 400;
    letter-spacing: -.035em;
}

.section-type-profile_klientow .tsi-pk-description {
    max-width: 770px;
    margin-top: 26px;
}

.section-type-profile_klientow .tsi-pk-description p {
    margin: 0;
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.55;
    opacity: .78;
}

.section-type-profile_klientow .tsi-pk-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    padding-bottom: 4px;
}

.section-type-profile_klientow .tsi-pk-arrow {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, opacity .25s ease;
}

.section-type-profile_klientow .tsi-pk-arrow svg {
    width: 24px;
    height: 24px;
}

.section-type-profile_klientow .tsi-pk-arrow:hover:not(:disabled) {
    transform: scale(1.06);
}

.section-type-profile_klientow.section-color-jasny .tsi-pk-arrow:hover:not(:disabled),
.section-type-profile_klientow.section-color-szary .tsi-pk-arrow:hover:not(:disabled) {
    background: #111110;
    color: #fff;
}

.section-type-profile_klientow.section-color-ciemny .tsi-pk-arrow:hover:not(:disabled) {
    background: #fff;
    color: #111110;
}

.section-type-profile_klientow .tsi-pk-arrow:disabled {
    opacity: .22;
    cursor: default;
}

.section-type-profile_klientow .tsi-pk-track {
    display: flex;
    gap: var(--tsi-pk-gap);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.section-type-profile_klientow .tsi-pk-track::-webkit-scrollbar {
    display: none;
}

.section-type-profile_klientow .tsi-pk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(17, 17, 16, .13);
    border-radius: var(--tsi-pk-radius);
    background: rgba(255, 255, 255, .72);
    color: #111110;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.section-type-profile_klientow.tsi-pk-cols-4 .tsi-pk-card {
    flex: 0 0 calc((100% - 72px) / 4);
}

.section-type-profile_klientow.tsi-pk-cols-3 .tsi-pk-card {
    flex: 0 0 calc((100% - 48px) / 3);
}

.section-type-profile_klientow.section-color-ciemny .tsi-pk-card {
    border-color: rgba(255, 255, 255, .17);
    background: rgba(255, 255, 255, .055);
    color: #fff;
}

.section-type-profile_klientow .tsi-pk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .12);
}

.section-type-profile_klientow.section-color-ciemny .tsi-pk-card:hover {
    border-color: rgba(255, 255, 255, .36);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

.section-type-profile_klientow .tsi-pk-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 14px 18px 0;
}

.section-type-profile_klientow .tsi-pk-card-number {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .15em;
    opacity: .48;
}

.section-type-profile_klientow .tsi-pk-linkedin-mark {
    width: 28px;
    height: 28px;
    display: inline-flex;
    opacity: .58;
}

.section-type-profile_klientow .tsi-pk-linkedin-mark svg {
    width: 100%;
    height: 100%;
}

.section-type-profile_klientow .tsi-pk-photo-wrap {
    display: flex;
    justify-content: center;
    padding: 16px 30px 28px;
}

.section-type-profile_klientow .tsi-pk-photo-ring {
    position: relative;
    width: min(100%, 300px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(17, 17, 16, .08);
}

.section-type-profile_klientow.section-color-ciemny .tsi-pk-photo-ring {
    background: rgba(255, 255, 255, .08);
}

.section-type-profile_klientow .tsi-pk-photo-ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: inherit;
    pointer-events: none;
}

.section-type-profile_klientow .tsi-pk-photo,
.section-type-profile_klientow .tsi-pk-photo-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .65s cubic-bezier(.2, .65, .25, 1);
}

.section-type-profile_klientow .tsi-pk-photo-placeholder {
    background: linear-gradient(145deg, rgba(127, 127, 127, .15), rgba(127, 127, 127, .42));
}

.section-type-profile_klientow .tsi-pk-card:hover .tsi-pk-photo {
    transform: scale(1.045);
}

.section-type-profile_klientow .tsi-pk-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 0 26px 28px;
}

.section-type-profile_klientow .tsi-pk-name {
    margin: 0;
    color: inherit !important;
    font-size: clamp(27px, 2vw, 36px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -.025em;
}

.section-type-profile_klientow .tsi-pk-role {
    min-height: 48px;
    margin: 13px 0 0;
    color: inherit !important;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    opacity: .7;
}

.section-type-profile_klientow .tsi-pk-opinion {
    position: relative;
    margin: 24px 0 0;
    padding: 19px 0 0;
    border-top: 1px solid currentColor;
    color: inherit;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    font-style: normal;
    opacity: .8;
}

.section-type-profile_klientow .tsi-pk-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
    color: inherit !important;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-type-profile_klientow .tsi-pk-link svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    transition: transform .25s ease;
}

.section-type-profile_klientow .tsi-pk-link:hover svg {
    transform: translateX(5px);
}

.section-type-profile_klientow .tsi-pk-empty {
    width: 100%;
    padding: 24px;
    border: 1px dashed currentColor;
    text-align: center;
    opacity: .7;
}

@media (max-width: 1280px) {
    .section-type-profile_klientow.tsi-pk-cols-4 .tsi-pk-card,
    .section-type-profile_klientow.tsi-pk-cols-3 .tsi-pk-card {
        flex-basis: calc((100% - 48px) / 3);
    }
}

@media (max-width: 960px) {
    .section-type-profile_klientow .tsi-pk-container {
        width: min(100% - 40px, 1520px);
    }

    .section-type-profile_klientow .tsi-pk-header {
        align-items: flex-start;
    }

    .section-type-profile_klientow.tsi-pk-cols-4 .tsi-pk-card,
    .section-type-profile_klientow.tsi-pk-cols-3 .tsi-pk-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 700px) {
    .section-type-profile_klientow {
        --tsi-pk-gap: 14px;
        padding: 66px 0 72px;
    }

    .section-type-profile_klientow .tsi-pk-container {
        width: calc(100% - 32px);
    }

    .section-type-profile_klientow .tsi-pk-header {
        display: block;
        margin-bottom: 34px;
    }

    .section-type-profile_klientow .tsi-pk-heading {
        font-size: clamp(39px, 12vw, 58px);
    }

    .section-type-profile_klientow .tsi-pk-description {
        margin-top: 20px;
    }

    .section-type-profile_klientow .tsi-pk-controls {
        display: none;
    }

    .section-type-profile_klientow .tsi-pk-track {
        width: calc(100% + 16px);
        padding-right: 16px;
    }

    .section-type-profile_klientow.tsi-pk-cols-4 .tsi-pk-card,
    .section-type-profile_klientow.tsi-pk-cols-3 .tsi-pk-card {
        flex: 0 0 min(84vw, 360px);
    }

    .section-type-profile_klientow .tsi-pk-photo-wrap {
        padding: 10px 34px 24px;
    }

    .section-type-profile_klientow .tsi-pk-card-content {
        padding: 0 22px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-type-profile_klientow .tsi-pk-track {
        scroll-behavior: auto;
    }

    .section-type-profile_klientow .tsi-pk-card,
    .section-type-profile_klientow .tsi-pk-photo,
    .section-type-profile_klientow .tsi-pk-link svg,
    .section-type-profile_klientow .tsi-pk-arrow {
        transition: none;
    }
}
