.partners-wrap {
    /* width: 70%; */
    width: 100%;
    /* max-width: 1000px; */
    margin: 0px auto 0px auto;
    /* margin-top: 300px; */
    margin-top: clamp(230px, calc(6.59vw + 205px), 300px);
    position: relative;

    /* height: 580px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--overlay-045);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-inline: -50px;
    /* background-color:  var(--primary); */

}

.scroll-btn::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color1);
    border-right: 2px solid var(--color1);
    display: block;

}

.scroll-btn.left::before {
    transform: rotate(-135deg);

}

.scroll-btn.right::before {
    transform: rotate(45deg);

}

/* .scroll-btn.left {
    left: -60px;

}

.scroll-btn.right {
    right: -60px;

} */

.scroll-btn.left {
    left: calc(-1 * clamp(0px, calc(10vw - 80px), 60px));
}

.scroll-btn.right {
    right: calc(-1 * clamp(0px, calc(10vw - 80px), 60px));
}


.scroll-btn:hover {
    background: var(--overlay-065);
    transform: translateY(-50%) scale(1.08);
}

.partners-row {
    display: flex;
    gap: 80px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 300px;
}

.partners-row::-webkit-scrollbar {
    display: none;
}

.partner-card {
    width: 250px;
    min-width: 160px;
    font-size: 14px;
    opacity: 0.95;
    flex: 0 0 auto;
}

.partner-card.large {
    width: 350px;
    min-width: 160px;
    font-size: 14px;
    opacity: 0.95;
    flex: 0 0 auto;
}

.partner-card.small {
    width: 225px;
    min-width: 160px;
    font-size: 14px;
    opacity: 0.95;
    flex: 0 0 auto;
}

.img-small {
    width: 120px;
}

.partner-card.xsmall {
    width: 250px;
    min-width: 160px;
    font-size: 14px;
    opacity: 0.95;
    flex: 0 0 auto;
}

.img-xsmall {
    height: 50px !important;
    max-width: none !important;
}

.partner-card.medium {
    width: 250px;
    min-width: 160px;
    font-size: 14px;
    opacity: 0.95;
    flex: 0 0 auto;
}

.img-medium {
    width: 150px;
}

.partner-card img {
    max-width: 100%;
    height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px auto;
}

.partner-name {
    color: var(--color1);
    font-size: 24px;
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.partner-text {
    margin-top: 10px;
    color: var(--color1);
    width: 100%;
    margin: 0 auto;
}

.partner-description {
    height: 100px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 55ch;

    text-align: justify;
    text-align-last: left;

    hyphens: none;
    overflow-wrap: break-word;
    white-space: normal;
}





.partner-description .text-preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.text-preview p {
    display: inline;
}

.partner-description .text-preview.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.read-more {
    color: var(--link);
    cursor: pointer;
    font-weight: 600;
    margin-top: 6px;
    display: inline-block;
}

.partner-description h6 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.partner-click-here {
    display: block;
    width: fit-content;
    margin: 8px auto 0;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--color1);
    background-color: var(--primary-bg);
    border: 2px solid var(--primary);
    border-radius: 6px;
    transition: all 0.25s ease;
}

.partner-click-here:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.partner-click-here {
    transform: translateY(0);
}




@media (max-width:766px) {

    .partners-wrap {
        width: 90%
    }
}

@media (max-width:1000px) {
    .scroll-btn.left {
        display: none
    }

    .scroll-btn.right {
        display: none
    }
}