.bresys-ibr-grid {
    --bresys-ibr-columns: 5;
    display: grid;
    grid-template-columns: repeat(var(--bresys-ibr-columns), minmax(0, 1fr));
    overflow: hidden;
}

.bresys-ibr-item {
    position: relative;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.bresys-ibr-item:hover,
.bresys-ibr-item:focus {
    color: inherit;
    text-decoration: none;
}

.bresys-ibr-item-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.bresys-ibr-equal-height-yes .bresys-ibr-item,
.bresys-ibr-equal-height-yes .bresys-ibr-item-inner {
    height: 100%;
}

.bresys-ibr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bresys-ibr-icon svg {
    display: block;
    fill: currentColor;
}

.bresys-ibr-title {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    line-height: 1.25;
}

.bresys-ibr-text {
    line-height: 1.65;
}

.bresys-ibr-separator-yes .bresys-ibr-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.bresys-ibr-separator-yes .bresys-ibr-item:last-child::after {
    display: none;
}

@media (max-width: 1024px) {
    .bresys-ibr-separator-yes .bresys-ibr-item:nth-child(3n)::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .bresys-ibr-separator-yes .bresys-ibr-item::after {
        top: auto;
        right: 10%;
        bottom: 0;
        left: 10%;
        width: auto !important;
        height: 1px !important;
        transform: none !important;
    }

    .bresys-ibr-separator-yes .bresys-ibr-item:nth-child(3n)::after {
        display: block;
    }

    .bresys-ibr-separator-yes .bresys-ibr-item:last-child::after {
        display: none;
    }
}
