/**
 * ADMIN
 */

.gia-partner-row {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px;

    margin-bottom: 10px;

    background: #ffffff;

    border: 1px solid #dcdcde;
}


.gia-partner-image-preview {
    width: 130px;
    height: 70px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f6f7f7;

    border: 1px solid #dcdcde;
}


.gia-partner-image-preview img {
    display: block;

    max-width: 110px;
    max-height: 55px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/**
 * FRONTEND
 */

.gia-partners-slider {
    width: 100%;

    overflow: hidden;

    box-sizing: border-box;
}


.gia-partners-track {
    display: flex;

    align-items: center;

    gap: 30px;

    width: 100%;

    transition: transform 0.5s ease;

    will-change: transform;
}


.gia-partner-item {
    flex: 0 0 calc((100% - 150px) / 6);

    min-width: 0;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;
}


.gia-partner-link {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;
}


.gia-partner-logo {
    display: block;

    width: auto;

    max-width: 100%;

    height: auto;

    max-height: 48px;

    object-fit: contain;

    transition: opacity 0.2s ease;
}


a.gia-partner-link:hover .gia-partner-logo {
    opacity: 0.7;
}


/**
 * TABLET
 */

@media (max-width: 1024px) {

    .gia-partners-track {
        gap: 20px;
    }


    .gia-partner-item {
        flex-basis: calc((100% - 40px) / 3);
    }

}


/**
 * MOBILE
 */

@media (max-width: 600px) {

    .gia-partners-track {
        gap: 15px;
    }


    .gia-partner-item {
        flex-basis: calc((100% - 15px) / 2);

        height: 55px;
    }


    .gia-partner-logo {
        max-height: 40px;
    }

}


/**
 * ADMIN MOBILE
 */

@media (max-width: 782px) {

    .gia-partner-row {
        flex-direction: column;

        align-items: flex-start;
    }


    .gia-partner-row .regular-text {
        width: 100%;
    }

}