/* NEWS */

h1 + .teaser {
    margin-top: 20px;
}

.news ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
    max-width: 1100px;
    margin: 0 auto 7px;
}

.news * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.news .news-item {
    padding-top: 0.5rem;
    border-top: 1px solid #333333;
    gap: 2rem 0;
    cursor: pointer;
    font-family: inherit;
    padding-bottom: 37px;
}

.news .news-item.no-image .news-text {
    width: 100%;
}

.news-grid {
    text-decoration: none;
    cursor: pointer;
}

.news .news-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    height: 239px;
}
.news .news-img {
    width: 195px;
    overflow: hidden;
    min-height: 239px;
}
.news .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: all ease-in-out 0.33s;
}
.news a:hover .news-img img {
    transform: scale(1.05);
}

.news-text {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.news-img + .news-text {
    gap: 1.25rem 0;
    width: calc(100% - 195px);
}

.news .news-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    gap: 0.5rem 0;
    margin-bottom: 8px;
}

.news .news-info span {
    font-family: var(--secondary-font-family);
    background-color: var(--color-primary-1);
    color: white;
    font-weight: 400;
    text-transform: uppercase;
    font-size: var(--font-size-16);
    margin: 0;
    padding: 8px 13px;
    text-align: center;
    line-height: 1rem;
    max-width: 21rem;
    width: fit-content;
}

.news .news-title p {
    font-family: var(--secondary-font-family);
    gap: 0 0.5rem;
    font-size: 0.75rem;
    margin-bottom: 5px;
    margin-top: 6px;
}

.news .news-title p > span {
    position: relative;
    margin-right: 9px;
    color: var(--color-secondary-60);
}

.news .news-title p > span::after {
    content: '';
    color: #9d9d9d;
    position: absolute;
    right: -6px;
}

.news .news-title p > span:last-of-type:after {
    display: none;
}

.news .news-title {
    margin: 0 0 -8px 0;
    padding: 0 1.5rem 0 0.75rem;
}

.news .news-title h3 {
    color: var(--color-secondary);
    position: relative;
    font-size: var(--font-size-28);
    font-weight: 500;
    line-height: var(--line-height-56);
    text-transform: none;
    transition: all 0.25s;
    margin-bottom: 6px;
}

.news a:hover .news-title h3 {
    color: var(--color-primary-1);
}
.news .news-title svg {
    width: 30px;
    position: absolute;
    transform: translateY(0.4rem);
    bottom: 5px;
}

.news .news-desc {
    padding: 0.5rem 1.5rem 0 0.75rem;
}

.news .news-desc p {
    color: var(--color-secondary-80);
    font-size: var(--font-size-16);
    line-height: 18px;
    font-weight: 400;
}

/* REVERSE AND NO-IMAGE ITEMS */

.news .news-item.reverse .news-img {
    order: 2;
}

.news .news-item.no-image .news-grid {
    grid-template-columns: 1fr;
}

.news .news-item.no-image .news-title {
    padding: 0 2.5rem 0 0.5rem;
}

.news .news-item.no-image .news-info p,
.news .news-item.no-image .news-desc,
.news .news-item.reverse .news-info p,
.news .news-item.reverse .news-desc,
.news .news-item.no-image .news-title,
.news .news-item.reverse .news-title {
    padding-left: 1.5rem;
}

/* DETAIL PAGE */

.news-page .news-title span {
    font-size: var(--font-size-10);
    color: var(--color-secondary-60);
}
.news-page {
    clear: both;
}
.teaser {
    margin-top: 5px;
    line-height: var(--line-height-32);
    font-size: var(--font-size-24);
    color: var(--color-secondary-80);
    hyphens: auto;
}

.content-after > div:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .teaser {
        font-size: var(--font-size-16);
    }

    .news ul {
        grid-template-columns: initial;
        margin-bottom: 22px;
    }

    .news .news-item:nth-child(even) .news-grid .news-img {
        order: 2 !important;
    }

    .news .news-item:nth-child(even) .news-grid .news-desc {
        order: 1 !important;
    }

    .news .news-item.reverse .news-img {
        order: initial;
        height: 144px;
    }

    .news .news-item {
        padding: 5px 0 15px 0;
    }

    .news .news-desc {
        display: none;
    }

    .news .news-img {
        width: 144px;
        height: 156px !important;
        min-height: auto;
    }
    .news .news-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news .news-title {
        padding: 0 0.75rem;
    }
    .news .news-info {
        margin-bottom: 0;
    }

    .news .news-info span {
        padding: 2px 13px;
        font-size: var(--font-size-14);
    }

    .news .news-text {
        gap: 1.25rem 0;
        width: calc(100% - 144px);
    }

    .news .news-text {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 156px;
    }

    .news .news-title {
        margin-bottom: 0;
    }

    .news .news-title h3 {
        font-size: var(--font-size-18);
        line-height: 20px;
    }

    .news .news-title p {
        margin-bottom: 4px;
    }

    .news .news-title svg {
        bottom: 5px;
    }
}
