/**
 * Ribbon Widget Styles
 */

.im-ribbon {
    box-sizing: border-box;
    width: 100%;
}

.im-ribbon__inner {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.im-ribbon__content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

.im-ribbon__content:hover,
.im-ribbon__content:focus {
    color: inherit;
    text-decoration: none;
}

.im-ribbon__image {
    display: block;
    flex: 0 0 58px;
    width: 58px;
    max-width: 58px;
    line-height: 0;
}

.im-ribbon__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.im-ribbon__text {
    display: block;
    min-width: 0;
    line-height: normal;
}

@media (max-width: 767px) {
    .im-ribbon__image {
        flex-basis: 42px;
        width: 42px;
        max-width: 42px;
    }
}
