.newsfeed-block .item {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
}

.newsfeed-block .item .image {
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center center;

}

.newsfeed-block .item .image img.newsfeed-image {
    width: 100%;
    border-bottom: 7px solid var(--secondary);
}

.newsfeed-block span.news-category {
    font-family: var(--founders-medium);
    font-weight: 500;
    letter-spacing: .25rem;
    background-color: var(--primary);
    color: var(--light);
    padding: .35rem .5rem .35rem .75rem;
    font-size: 1rem;
    text-transform: uppercase;
    transform: translateY(-4px);
    display: inline-block;
    margin-right: .25rem;
}

.newsfeed-block .header .categories {
    margin-left: 12px;
}

.newsfeed-block .item .category::after {
    content: '/';
    padding: 0 5px;
}

.newsfeed-block .item .category:last-child::after {
    content: none;
}

.newsfeed-block .item .description {
    background-color: var(--lightblue);
    padding: 1rem .75rem .5rem;
}

.newsfeed-block ul {
    list-style-type: none;
    padding-left: 0;
    width: 100%;
}

.newsfeed-block li {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.newsfeed-block li:first-child {
    border-top: 1px solid #e0e0e0;
}

.newsfeed-block .item .description .category a {
    z-index: 1;
    position: relative;
}

.newsfeed-block .item .description a:hover {
    text-decoration: none !important;
}

/* Item Small */
.newsfeed-block .item.item-small .image {
    width: 330px;
}

.newsfeed-block .item.item-small .image .newsfeed-image {
    border-bottom-width: 5px;
    height: 100%;
    object-fit: cover;
}

.newsfeed-block .item.item-small .description {
    background-color: transparent;
    padding-top: 0;
}

.newsfeed-block .item.item-small .description span.news-category{
    font-size: .85rem;
    padding: .35rem .5rem .35rem .75rem;
    transform: unset;
}

/* .newsfeed-block .item.item-small .description span.news-category::before {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    border-bottom: .5rem solid var(--light);
    border-left: .5rem solid var(--primary);
    width: 0;
} */

.newsfeed-block .item.item-small .description h3.h5 {
    font-size: 1.25rem !important;
}

@media (prefers-reduced-motion: no-preference) and (pointer: fine) {

    /*use zoom-effect for images on hover if chosen*/
    .newsfeed-block.zoomeffect .item img,
    .newsfeed-block.zoomeffect .item:hover img {
        transition: transform 600ms ease-in-out;
    }

    .newsfeed-block.zoomeffect .item:hover img {
        transform: scale(1.1);
    }

}

@media screen and (max-width:425px) {
    
    .newsfeed-block {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    
}
