/********************************************************************
    News Grid - Clean 3 Column Layout
********************************************************************/

.news-grid .content {
    width: 100%;
}

/* Grid wrapper */
.news_container .news_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

/* Each card */
.news_card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image */
.news_card__media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* Content */
.news_card__body {
    padding-top: 15px;
}

/* Date */
.news_card__date {
    display: block;
    color: #000;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Title */
.news_card__title {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 10px;
}

/* Link */
.news_card__title a {
    text-decoration: none;
    color: inherit;
	font-weight: 700;
}

.news_card__title a:hover {
    text-decoration: underline;
}

/* Read more */
.more-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
}

/********************************************************************
    Responsive
********************************************************************/

/* Tablet = 2 columns */
@media (max-width: 1024px) {
    .news_container .news_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile = 1 column */
@media (max-width: 640px) {
    .news_container .news_grid {
        grid-template-columns: 1fr;
    }

    .news_card__media img {
        height: auto;
    }
}