.wp-block-chm-gutenberg-image-grid-item {
    position: relative;
    margin: 0;
    margin-bottom: 2rem;
    width: calc(100% - 1rem);
    height: 0;
    padding: 0;
    padding-top: calc(100% - 1rem);

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    border: none !important;
    border-radius: 0;

    overflow: hidden;
}

.wp-block-chm-gutenberg-image-grid-item,
.wp-block-chm-gutenberg-image-grid-item * {
    box-sizing: border-box !important;
}


.wp-block-chm-gutenberg-image-grid-item:nth-child(2n) {
    margin-left: 1rem;
}

.wp-block-chm-gutenberg-image-grid-item:nth-child(2n+1) {
    margin-right: 1rem;
}

.wp-block-chm-gutenberg-image-grid-item-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    line-height: 1.2;
    padding: 0.7em;
    padding-top: 1.2em;
    color: #000;
    text-shadow: 0 0 0.2em rgba(255,255,255,0.5);
    font-size: 2.5rem;
    text-transform: uppercase;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.5) 3rem, rgba(255,255,255,0.7));
	font-family: 'Losta Masta';
	font-weight: 500;
	font-style: normal;
	/* letter-spacing: 0.1em; */
}

@media(max-width: 992px) {
    .wp-block-chm-gutenberg-image-grid-item-title {
        font-size: 4vw;
    }
}
