.logo-review {
    position: relative;
}

.logo-review.next-bg-light-red {
    background: rgba(240, 51, 55, 0.05);
}

.logo-review.next-bg-white {
    background: var(--white);
}

.logo-review.next-bg-blue {
    background: var(--light-blue);
}

.logo-review.next-bg-soft-blue {
    background: var(--soft-blue);
}

.logo-review.next-bg-blue .logo-review__flex {
    box-shadow: 0px 4px 20px 5px rgba(23, 37, 73, 0.1);
}

.logo-review.next-bg-navy {
    background: var(--dark-blue);
}

.logo-review.next-bg-periwinkle {
    background: var(--blue);
}

.logo-review__flex {
    margin: -94px 0 0;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    position: relative;
    z-index: 3;
    background: var(--light-blue);
    border-radius: 20px;
}

.logo-review__item img {
    max-height: 63px;
    max-width: 148px;
    object-fit: contain;
}

.logo-review__item--text {
    width: 132px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px 5px rgba(23, 37, 73, 0.10);
    padding: 4px 0 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3px 5px;
    text-align: center;
}

.logo-review__item--text p {
    font-size: 8px;
    font-weight: bold;
    line-height: 1.4em;
    color: var(--text);
}


.logo-review + .highlight-text-content {
    margin-top: 30px;
}

@media(min-width: 768px) {
    .logo-review__flex {
        margin: -70px auto 0;
        padding: 30px 10px;
        gap: 10px 5px;
        max-width: 661px;
    }

    .logo-review__item img {
        max-height: 73px;
        max-width: 176px;
    }

    .logo-review__item--text {
        width: 161px;
        padding: 8px 0 8px;
        gap: 6px 5px;
    }

    .logo-review__item--text p {
        font-size: 10px;
    }

    
    .logo-review + .highlight-text-content {
        margin-top: 40px;
    }
}

@media(min-width: 1200px) {
    .logo-review__flex {
        margin: -92px auto 0;
        padding: 30px 10px;
        gap: 10px 45px;
        max-width: 930px;
    }

    .logo-review__item img {
        max-height: 106px;
        max-width: 222px;
    }

    .logo-review__item--text {
        width: 194px;
        padding: 13px 0 18px;
    }

    .logo-review__item--text p {
        font-size: 12px;
    }

    .logo-review + .highlight-text-content {
        margin-top: 60px;
    }
}