.ow-three-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.ow-image-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.ow-image-card:not(a) {
    cursor: default;
}

.ow-image-card:hover,
.ow-image-card:focus {
    text-decoration: none;
}

.ow-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.ow-image-title {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    word-break: break-word;
}

@media (max-width: 767px) {
    .ow-three-image-grid {
        grid-template-columns: 1fr;
    }
}
