﻿.news h2, .news h3, .news h4, news-header {
    font-family: 'Crimson Text';
}

.news h1, .news-header > h1 {
    font-size: var(--font-size-xxxl);
    line-height: 1.1;
    font-weight: 600;
}

.news-header > h1 {
    text-align: center;
    letter-spacing: 0;
    margin-block: 0;
}

.news h2 {
    font-size: var(--font-size-xxl);
    line-height: 1.1;
    font-weight: 600;
    margin-block: 0;
}

.news h3 {
    font-size: var(--font-size-xxl);
    line-height: 1.1;
    font-weight: 600;
    margin-block: 0;
}

.news .ingress {
    font-size: var(--font-size-s);
    line-height: 1.5;
    font-weight: 400;
    margin-block: 0;
}
.news-chevron {
    width: 20px;
    height: 20px;
}

.extended-click-area:hover h2, .extended-click-area:hover h3, .extended-click-area:hover h4 {
    text-decoration: underline;
}

    .extended-click-area:hover h2.no-underline, .extended-click-area:hover h3.no-underline, .extended-click-area:hover h4.no-underline {
        text-decoration: none;
    }


p.ingress:hover {
    text-decoration: none;
}

p.ingress:active {
    text-decoration: underline;
}

.heading {
    display: flex;
    justify-content: center;
}

.news-item {
    margin-top: var(--spacing-xxs);
    padding-top: var(--spacing-s);
}


    .news-item img {
        width: 100%;
        object-fit: cover;
        aspect-ratio: 4/3;
        margin-bottom: var(--spacing-xxs);
        padding: 0;
        vertical-align: top;
    }

    .news-item .no-image {
        width: 100%;
        margin-bottom: 8px;
        padding: 0;
        background-color: var(--color-gray-200);
        aspect-ratio: 4/3;
    }

    .news-item:nth-child(1) {
        border-top: 0;
        margin-top: 0;
        padding-top: var(--spacing-sm);
    }

    .news-item:nth-child(n+4) {
        display: none;
    }

    .news-item:nth-child(n+2) img, .news-item:nth-child(n+2) .no-image {
        display: none;
    }

    .news-item .date {
        display: inline-block;
        vertical-align: initial;
        font-weight: 400;
        font-size: var(--font-size-xs);
        line-height: 23px;
        color: var(--color-gray-500);
        margin: 10px 0;
    }

.new-more-news {
    font-weight: 600;
    font-size: 16px;
    line-height: 32px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.news-divider {
    display: none;
}

.section--news .content {
    padding: 0 var(--spacing-xxs);
}

    .section--news .content .fi-heading-link {
        margin-top: var(--spacing-sm);
    }

        .section--news .content .fi-heading-link h2 {
            font-weight: 400;
            font-size: var(--font-size-xl);
            line-height: 28px;
        }

    .section--news .content .fi-button-link.mobile-only {
        margin-top: var(--spacing-l);
        margin-bottom: var(--spacing-xl);
    }

@media screen and (min-width: 700px) {
    .white.section, .contentArea {
        contain: initial;
    }

    .news-chevron {
        width: 16px;
        height: 16px;
    }

    .news {
        display: grid;
        margin-top: 0;
        margin-bottom: 0;
        grid-template-columns: repeat(8, 1fr);
        column-gap: var(--spacing-xs);
    }

    .with-link + .news {
        vertical-align: top;
        display: grid;
        width: 98.5%;
    }

    .news h1, .news-header > h1 {
        font-size: 56px;
        line-height: 1.1;
        font-weight: 600;
    }

    .news-header > h1 {
        text-align: center;
        letter-spacing: 0;
    }

    .news h2 {
        font-size: 35px;
        line-height: 1.1;
        font-weight: 600;
    }

    .news h3 {
        font-size: 24px;
        line-height: 1;
        font-weight: 600;
    }

    .news h4 {
        font-size: 20px;
        line-height: 1.1;
        font-weight: 600;
        margin-block: 0;
    }

    .news .ingress {
        font-size: 16px;
        line-height: 1.4;
        font-weight: 400;
    }

    .news-item {
        border-top: 0;
        padding-top: var(--spacing-sm);
        padding-bottom: var(--spacing-sm);
        margin-top: 0;
        grid-column: span 4;
    }

    .news-item:nth-child(-n+2) {
        border-top: 0;
        padding-top: var(--spacing-xxs);
        padding-bottom: 14px;
    }

        .news-item img {
            display: block;
            object-fit: cover;
            width: 100%;
            aspect-ratio: 4/3;
            margin-bottom: var(--spacing-xxs);
            padding: 0;
        }

        .news-item .no-image {
            width: 100%;
            aspect-ratio: 4/3;
            margin-bottom: 8px;
            padding: 0;
        }

        .news-item:nth-child(n+4) {
            display: block;
        }

        .news-item:nth-child(n+5) {
            display: none;
        }

        .news-item:nth-child(2) img, .news-item:nth-child(2) .no-image {
            display: block;
        }


    .news-divider {
        display: block;
        grid-column: span 8;
        grid-row: 2;
    }

    .section--news .content .fi-heading-link {
        margin-top: var(--spacing-smm);
    }

        .section--news .content .fi-button-link.mobile-only {
            margin-top: var(--spacing-xxs);
            margin-bottom: var(--spacing-big-xl);
        }

    /*.section--news .content .new-more-news a {
        display: inline-block;
        margin-top: var(--spacing-xxs);
        margin-bottom: var(--spacing-small-xxl);
    }*/

        .section--news .content .new-more-news a.tablet-and-bigger:hover {
            text-decoration: underline;
        }

    @media screen and (min-width: 1200px) {

        .news {
            grid-template-columns: repeat(12, 1fr);
            padding-bottom: var(--spacing-s);
            border-bottom: 1px solid var(--color-gray-300);
        }

            .news h1, .news-header > h1 {
                font-size: 66px;
                line-height: 1.1;
                font-weight: 600;
            }

        .news-header > h1 {
            text-align: center;
            letter-spacing: 0;
        }

        .news-title-arrow {
            display: none;
        }

        .news h2 {
            font-size: var(--font-size-xxxl);
            line-height: 1.1;
            font-weight: 600;
        }

        .news h3 {
            font-weight: 600;
            font-size: var(--font-size-xxl);
            line-height: 1.1;
        }

        .news h4 {
            font-size: var(--font-size-xxl);
            line-height: 1.1;
            font-weight: 600;
        }

        .news .ingress {
            font-size: var(--font-size-m);
            line-height: 1.5;
            font-weight: 400;
        }

        .news-item {
            grid-column: span 4;
            padding-top: var(--spacing-sm);
        }
        .news-item:nth-child(-n+2) {
            padding-top: var(--spacing-sm);
        }
            .news-item:nth-child(-n+3) {
                padding-bottom: 14px;
            }


            .news-item:nth-child(n+5) {
                display: block;
            }

            .news-item:nth-child(3) img {
                display: block;
            }

            .news-item:nth-child(3) .no-image {
                display: block;
            }

        .title-tags-wrapper {
            min-height: 10em;
        }

        .news-divider {
            display: block;
            grid-column: span 12;
        }


        .section--news .content .fi-button-link {
            margin-top: var(--spacing-xxl);
        }

        .section--news .content .new-more-news a {
            display: inline-block;
            margin-top: var(--spacing-xxs);
            margin-bottom: var(--spacing-xxxl);
        }
    }
