.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: flex-start;
    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 {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.bresys-ibr-icon img {
    display: block;
    max-width: 100%;
    object-fit: contain;
}

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

.bresys-ibr-text {
}

.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;
}

/*
 * Do not hide every third separator on tablet.
 * The number of Elementor columns is responsive/configurable and may be 4 on iPad.
 * A hard-coded :nth-child(3n) therefore removed the separator after item 3.
 */

@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:last-child::after {
        display: none;
    }
}


.bresys-ibr-button {
    display: inline-flex;
    align-items: center;
    align-self: inherit;
    width: fit-content;
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.bresys-ibr-button:hover,
.bresys-ibr-button:focus {
    text-decoration: none;
}

.bresys-ibr-button-arrow {
    display: inline-block;
    flex: 0 0 auto;
    transition: transform .2s ease;
}

.bresys-ibr-button:hover .bresys-ibr-button-arrow,
.bresys-ibr-button:focus .bresys-ibr-button-arrow {
    transform: translateX(3px);
}
