.references__list {
    padding-bottom: 30px;
    margin-bottom: -30px;
}
.reference {
    position: relative;
    padding: 16px;
}
.reference h3,
.reference .h3 {
    margin-bottom: 4px;
}
.reference__post {
    font-size: 14px;
    line-height: 20px;
    color: #788290;
    margin-bottom: 8px;
}
.reference__text {
    font-size: 14px;
    line-height: 20px;
}
.reference__img-container {
    position: relative;
    height: 64px;
    margin-bottom: 16px;
}
.reference img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    max-width: 170px;
    max-height: 64px;
}
.reference .btn {
    margin-top: 16px;
}
.references__companies {
    overflow: hidden;
    height: 64px;
    position: relative;
    margin-top: 16px;
}
.references__companies-container {
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.company {
    display: inline-block;
    vertical-align: top;
    margin-right: 14px;
    width: 134px;
    height: 62px;
    border: solid 1px #E8EAEC;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
}
.company:last-child {
    margin-right: 0;
}
.company img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 112px;
    max-height: 42px;
}
.references > .container:last-child > .btn {
    margin-top: 24px;
}
@media (min-width: 768px) {
    .reference {
        padding: 24px;
    }
    .references .btn {
        margin-top: 26px;
    }
    .reference__note {
        padding-top: 30px;
        border-bottom: solid 1px #E8EAEC;
        position: relative;
        margin-left: -24px;
        margin-right: -24px;
        z-index: 1;
    }
    .reference__note h5,
    .reference__note .h5 {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 50%);
        z-index: 1;
        white-space: nowrap;
    }
    .reference__note h5:before,
    .reference__note .h5:before {
        position: absolute;
        content: '';
        background-color: #fff;
        height: 100%;
        width: calc(100% + 16px);
        top: 0;
        left: -8px;
        z-index: -1;
    }
    .references__title-btn {
        position: absolute;
        bottom: 0;
        right: 16px;
    }
    .references__companies {
        margin-top: 24px;
    }
}
@media (min-width: 1260px) {
    .references__title-btn {
        right: 30px;
    }
}
