/* News cards share layout rules without changing promotion or blog cards. */
.section--news .js-carousel-news.tns-slider {
    display: flex;
    align-items: stretch;
}

.section--news .js-carousel-news > .card-news {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    min-width: 0;
}

.section--news .js-carousel-news .card-news__img-wrap {
    flex-shrink: 0;
}

.section--news .js-carousel-news .card-news__img-wrap img,
.section--news-list .card-event__img img {
    object-fit: contain;
    object-position: center;
}

.section--news .js-carousel-news .card-news__title {
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
}

.section--news .js-carousel-news .card-news__text {
    flex: 0 0 auto;
    height: auto;
    overflow-wrap: anywhere;
    margin-bottom: 24px;
}

.section--news .js-carousel-news .card-news__link {
    flex-shrink: 0;
    margin-top: auto;
}

.section--news-list .hero {
    height: auto;
    min-height: 400px;
    padding: 48px 24px;
}

.section--news-list .hero__text {
    margin-bottom: 24px;
}

.section--news-list .news-feature__more {
    flex-shrink: 0;
    margin-top: 24px;
}

.section--news-list .card-event {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.section--news-list .card-event__img {
    flex-shrink: 0;
}

.section--news-list .card-event__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.section--news-list .card-event__text time {
    position: static;
    align-self: flex-start;
    max-width: 100%;
    margin-bottom: 16px;
}

.section--news-list .card-event__text .h3,
.section--news-list .card-event__anons {
    overflow-wrap: anywhere;
}

.section--news-list .card-event__anons {
    flex: 0 0 auto;
    margin-bottom: 24px;
    color: #7a7a7a;
}

.section--news .js-carousel-news .card-news__text,
.section--news-list .card-event__anons,
.section--news-list .hero__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    max-height: 5lh;
    overflow: hidden;
}

.section--news-list .card-event__anons > :last-child {
    margin-bottom: 0;
}

.section--news-list .card-event__text .card-event__more {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    margin: auto 0 0;
}

.section--news-list .card-event__more::after {
    content: none;
}

@media (max-width: 575.98px) {
    .section--news .js-carousel-news.tns-slider {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .section--news-list .hero {
        min-height: 216px;
        padding: 32px 16px;
    }
}
