.custom-ac-imagegridtext {
    background: #F5F5F5;
    padding: 120px 0;
}

.grid-4-images {
    font-size: 0;
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(2, calc(50% - 8px));
}

.grid-4-images figure {
    margin: 0;
    line-height: 0;
}

.grid-4-images figure img {
    width: 100%;
    height: auto;
}

.col-text-imgs h6 {
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: -0.02em;
    color: #242424;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E10A1D;
    display: inline-block;
}

.col-text-imgs h3 {
    font-weight: 500;
    font-size: 28px;
    line-height: 30px;
    letter-spacing: -0.03em;
    color: #242424;
    margin: 0 0 40px;
}

.col-text-imgs p {
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.02em;
    color: #666666;
    margin: 0 0 40px;
}

.col-text-imgs a {
    font-weight: 500;
    font-size: 15px;
    height: 50px;
    line-height: 50px;
    background-color: #E10A1D;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    display: block;
    outline: none;
    text-align: center;
    width: 100%;
    transition: all .3s ease;
    margin: 0 0 40px;
}

.col-text-imgs a:hover {
    color: #ffffff;
    background: #e31d2f;
}

.col-text-imgs a:active {
    background: #eb5966;
}

.custom-ac-imagegridtext div[role="button"] {
    color: #ffffff!important;
}

@media screen and (min-width: 768px) {
    .custom-ac-imagegridtext > .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .col-text-imgs {
        padding-right: 36px;
    }
    .col-text-imgs a {
        width: 172px;
        margin: 0;
    }
    .col-text-imgs, .col-grids-imgs {
        width: 50%;
    }
}

@media screen and (min-width: 992px) {
    .col-text-imgs {
        padding-right: 40px;
    }
    .col-text-imgs h3 {
        font-size: 36px;
        line-height: 40px;
    }
}

@media screen and (min-width: 1200px) {
    .col-text-imgs {
        padding-right: 80px;
    }
}

@media screen and (min-width: 1400px) {
    .col-text-imgs {
        padding-right: 124px;
    }
}