.articlegrid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 4rem;
    flex-wrap: wrap;
}

.article{
    width: 23%;
    text-decoration: none;
    color: unset;
    overflow: hidden;
}

.articleimg {
    overflow: hidden !important;
    position: relative;
    transition: all .4s ease-in-out;
    font-size: 0;
    margin-right: 1rem;
    width: 100%;
    height: 260px;
}



.overlay {
    background: #D9FF80;
    opacity: 1;
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 10px;
    height: 100%;
    transition: all .4s ease-in-out;
    z-index: 10;
    transform: translateX(-100%);
}

.articleimg:hover>.articlepic {
    transform: scale(1.2);
    width: 100%;
}


.articleimg:hover>.overlay {
    opacity: .5;
    width: calc(100% + 10px);
    left: -10px;
    transform: translateX(0);
}

.articletitle {
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    color: #252525;
    padding-top: 1rem;
    padding-left: .5rem;
    min-height: 5rem;
}


@media (max-width: 1380px) {
    .articlegrid {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .article {
        width: 33%;
        padding: 2rem 1rem;
    }

    .sectiontitle {
        font-size: 4rem;
    }
}

@media (max-width: 1026px) {
.articlegrid {
        justify-content: space-around;
    }

    .article {
        padding: 1rem 0;
        width: 100%;
    }

    .articletitle {
        font-size: 1rem;
    }
}