/* News list and detail pages */

.news-list .news .image {
    border-radius: 12px;
    overflow: hidden;
    flex: 0 0 auto;
}

.news-list .news .image img {
    display: block;
    border-radius: 12px;
}

.news-detail .news-hero-image {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    max-width: min(42%, 360px);
    height: auto;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .news-detail .news-hero-image {
        float: none;
        display: block;
        margin: 0 0 1rem;
        max-width: 100%;
    }
}
