.aec-blog-wrapper {
    display: grid;
    grid-gap: 4px;
    grid-auto-rows: minmax(10rem, auto);
    background-color: #fff;
    color: #444;
    max-width: 2000px;
    width: 100%;
    position: relative;
    margin-left: -50vw;
    left: 50vw;
    }

.aec-blog-box {
    min-height: 22rem;
    position: relative;
    background-color: #444;
    color: #fff;
    overflow: hidden;
    vertical-align: baseline;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.aec-blog-box-smaller {
     min-height: 16rem;
}

.aec-blog-box > a, .aec-blog-box > a:visited, .aec-blog-box > a:hover {
    color: #fff;
    text-decoration: none;
}

.aec-blog-box-content {
    position: absolute;
    bottom:0px;
    width: 100%;
    text-align:left;
    padding: 1rem;
    word-wrap: break-word;
    background-image: linear-gradient(rgba(20,20,20,0), rgba(20,20,20,1));
}

.aec-blog-box-content > h2 {
    font-size: 2rem!important;
    text-shadow: 0 0 3px #333333 !important;
}

.aec-blog-box-content > h3 {
    font-size: 1.5rem!important;
    text-shadow: 0 0 3px #333333 !important;
}

.aec-blog-box-content > p {
    font-size: smaller;
    text-shadow: 0 0 3px #333333 !important;
}


@media screen and (min-width: 50em) {
.aec-blog-wrapper {
    display: grid;
    grid-gap: 4px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    background-color: #fff;
    color: #444;
   }

    .aec-blog-box-1 {
        grid-area: 1 / 1 / 2 / 3;
    }
    .aec-blog-box-2 {
        grid-area: 1 / 3 / 3 / 4;
    }
    .aec-blog-box-3 {
        grid-area: 2 / 1 / 3 / 2;
    }
    .aec-blog-box-4 {
         grid-area: 2 / 2 / 3 / 3;
    }

    .aec-blog-box-content > h2 {
        font-size: 2.5rem!important;
        text-shadow: 0 0 3px #333333 !important;
    }

    .aec-blog-box-content > h3 {
        font-size: 1.5rem!important;
        text-shadow: 0 0 3px #333333 !important;
    }

    .aec-blog-box-content > p {
        font-size:initial;
    }
}
