.oew-elementor-banner-grid {
    .content-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        @media (min-width: 768px) {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            grid-column-gap: 30px;
            grid-row-gap: 30px;
        }
        @media (min-width: 1200px) {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    .column {
        display: flex;

        &.content-position-center .item-content {
            align-items: center;
            text-align: center;
        }

        &.content-position-right .item-content {
            align-items: flex-end;
            text-align: right;
        }

        @media (min-width: 768px) {
            &:first-child {
                grid-area: 1 / 1 / 2 / 2;
            }

            &:nth-child(2) {
                grid-area: 2 / 1 / 3 / 2;
            }

            &:nth-child(3) {
                grid-area: 1 / 2 / 3 / 3;
            }
        }

        @media (min-width: 1200px) {
            &:nth-child(4) {
                grid-area: 1 / 3 / 2 / 4;
            }

            &:nth-child(5) {
                grid-area: 2 / 3 / 3 / 4;
            }

            &:nth-child(6) {
                grid-area: 1 / 4 / 2 / 5;
            }

            &:nth-child(7) {
                grid-area: 2 / 4 / 3 / 5;
            }
        }
    }

    .item-inner {
        width: 100%;
        height: 100%;
        font-size: 0;
        position: relative;
    }

    .item-image {
        height: 100%;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .item-content {
        display: flex;
        flex-direction: column;
        padding: 25px 30px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;

        .oew-title {
            margin-top: 0;
            margin-bottom: 10px;
            font-size: 22px;
        }

        .content {
            font-size: 14px;

            p:last-child {
                margin-bottom: 0;
            }
        }

        .oew-default-btn {
            margin-top: 15px;

            a {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                padding: 5px 15px 6px;
                background-color: #ffffff;
                font-size: 12px;
                color: #363636;
                transition: all .4s ease;

                &:hover {
                    background-color: #68a8ad;
                    color: #ffffff;
                }
            }
        }
    }
}