/*** News Snippet ***/
.newsfeed .container-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.newsfeed .col-b .col-sm-12, .newsfeed .col-sm-24 {
    padding: 0;
}

/* See All News CTA */
.newsfeed a.button,
.newsfeed a.link-arrow,
.eventslist a.link-arrow {
    float: right;
    margin-top: 10px;
    right: 0;
    position: relative;
}

/* Column A - Left Side */
.newsfeed .col-a {
    padding: 0;
    padding-right: 10px;
}

.newsfeed .col-sm-24 .newsitem {
    max-height: 400px;
}

.newsfeed .col-a img {
    height: 400px;
}


/* Column B - Right Side */
.newsfeed .col-b img {
    height: 195px;
}

.newsfeed .col-b .col-sm-12 {
    width: calc(50% - 5px);
}

.newsfeed .col-b {
    display: flex;
    padding: 0;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    row-gap: 10px;
    column-gap: 5px;
}

.newsfeed .col-sm-6 .secondRow {
    padding-top: 9px;
}


/* News Items - Individual Blocks */
.newsfeed .newsitem, .newsfeed .col-sm-12 .newsitem  {
    position: relative;
}

.newsfeed .col-sm-12 img {
    width: 100%;
    object-fit: cover;
}

.newsfeed .col-sm-6 img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Category */
.newsitem .description .category {
    position: absolute;
	background-color: #00794c;
    transition: color 0.3s, background 0.3s;
    color: #ffffff;
    top: -27px;
    padding: 3px 7px;
    left: 0;
    text-transform: uppercase;
    font-size: 13px;
    font-family: 'rig-sans', arial;
    width: fit-content;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsfeed a:hover .category {
    background: #004785;
}

/* Description */
.newsfeed .description {
    position: absolute;
    bottom: 0;
    transition: color 0.3s, background 0.3s;
    padding-left: 0;
    padding-right: 0;
    max-width: 450px;
}

.newsfeed .col-sm-12 .description p {
    margin: 5px;
    font-size: 18px;
    line-height: 18px;
    color: #ffffff;
    padding: 6px;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* Tablet */
@media (max-width: 1000px) {
    .newsfeed .description,
    .newsfeed .col-sm-12 .description {
        padding-left: 0;
        padding-right: 0;
    }

    .newsfeed .description .category,
    .newsfeed .col-sm-12 .description .category {
        position: relative;
        top: 0;
        font-size: 12px;
    }

    .newsfeed .col-sm-6 .description,
    .newsfeed .col-sm-12 .description p {
        font-size: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        padding-bottom: 0;
    }

    .newsfeed .col-sm-12 .description p {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .newsfeed .container-flex {
        flex-direction: column;
        justify-content: center;
    }

    .newsfeed .col-sm-12 img {
        max-height: 130px;
    }

    .newsfeed .col-sm-12.col-a img {
        max-height: 250px;
    }

    .newsfeed .col-sm-24 {
        width: 100%;
    }

    .newsfeed .col-a {
        padding-right: 0;
        margin-bottom: 10px;
    }
}