:root {
    font-family: 'Manrope', sans-serif;
    line-height: 1.5;
    font-weight: 400;
    background-color: #fff;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    --color-white: #fff;
    --color-black: #000;
    --color-blue: #002D5D;
    --color-orange: oklch(0.7038 0.1986 44.69);

    --max-width: 1412px;
    --max-width-medium: 1309px;
    --padding-inline: 50px;
    --padding-inline-tablet: 35px;
    --padding-inline-mobile: 18px;
    --container-max-width: calc(var(--max-width));
    --container-medium-max-width: calc(var(--max-width-medium));

    @media (width < 1200px) {
        --container-max-width: calc(var(--max-width));
        --container-medium-max-width: calc(var(--max-width-medium));
    }

    @media (width < 768px) {
        --container-max-width: calc(var(--max-width));
        --container-medium-max-width: calc(var(--max-width-medium));
    }
}

@property --vertical-rotation {
    syntax: "<angle>";
    inherits: true;
    initial-value: 90deg;
}

body.high-contrast {
    /*--color-orange: oklch(0.57 0.11 48.78);*/
    --color-orange: var(--color-blue);

    header .header-main nav ul li a,
    footer .footer-top .footer__col h2,
    footer .footer-top .footer__col p,
    footer .footer-top .footer__col a,
    .overview-slider h2, .overview-item span:not(.btn), .overview-item h2, .overview-item h3,
    .video h2 {
        color: var(--color-white);
    }

    &.template-nieuws {
        .overview-item h2, span.date {
            color: var(--color-blue);
        }
    }

    .video::after {
        background: url("/assets/templates/images/pattern-bottom-white.svg");
    }
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-inline: var(--padding-inline);

    @media (width < 1200px) {
        padding-inline: var(--padding-inline-tablet);
    }

    @media (width < 768px) {
        padding-inline: var(--padding-inline-mobile);
    }
}

.container-medium {
    max-width: var(--container-medium-max-width);
    margin: 0 auto;
    padding-inline: var(--padding-inline);

    @media (width < 1200px) {
        padding-inline: var(--padding-inline-tablet);
    }

    @media (width < 768px) {
        padding-inline: var(--padding-inline-mobile);
    }
}

.container-small {
    max-width: 944px;
    margin: 0 auto;
    padding-inline: var(--padding-inline);

    @media (width < 1200px) {
        padding-inline: var(--padding-inline-tablet);
    }

    @media (width < 768px) {
        padding-inline: var(--padding-inline-mobile);
    }
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
}

button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Faculty Glyphic", sans-serif;
    font-weight: 400;
    margin-block: 0;
}

input, textarea {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    background: none;

    &::placeholder {
        color: var(--color-orange);
        font-family: 'Manrope', sans-serif;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1;
    }
}

p {
    font-size: 1.25rem;
    line-height: 1.75;

    @media (width < 768px) {
        font-size: 1.125rem;
    }
}

.rte {
    p, ul, ol, a {
        font-size: 1.25rem;
        line-height: 1.75;
        font-family: 'Manrope', sans-serif;

        @media (width < 768px) {
            font-size: 1.125rem;
        }
    }

    blockquote {
        margin-block: 60px;
        /*/ / 102 px;*/
        text-align: center;

        @media (width < 768px) {
            margin-block: 40px;
        }

        p {
            margin-bottom: 0;
            font-size: 3rem;
            line-height: 1;
            font-family: "Faculty Glyphic", sans-serif;
            margin-block: 0;

            @media (width < 768px) {
                font-size: 2rem;
            }
        }
    }

    ul {
        list-style: disc;
        margin-block: 1rem;
        padding-inline-start: 21px;
    }

    ol {
        padding-inline-start: 21px;
    }

    a {
        text-decoration: underline;
        color: inherit;

        &:hover, &:focus {
            text-decoration: none;
        }
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .rte-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;

        img {
            width: 50%;

            @media (width < 768px) {
                width: 100%;
            }
        }
    }

    iframe, video {
        aspect-ratio: 16/9;
        width: 100%;
        height: auto;
        border: none;
    }
}

.btn {
    background: var(--color-blue);
    color: var(--color-white);
    padding: 14px 22px 16px 22px;
    /*/ / 9 px 21 px;*/
    font-size: 1.25rem;
    font-family: "Faculty Glyphic", sans-serif;
    font-weight: 400;
    line-height: 1;
    border-radius: 100px;
    text-decoration: none;
    position: relative;
    transition: background-color .2s ease-in-out;
    display: inline-block;

    &:hover, &:focus {
        background: var(--color-orange);
        color: var(--color-white);
    }

    &.orange {
        background: var(--color-orange);

        &:hover, &:focus {
            background: var(--color-blue);
        }
    }
}

.pagination {
    display: flex;
    justify-content: center;

    ul {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;

        li {
            a, span {
                width: 40px;
                height: 40px;
                background: var(--color-blue);
                color: var(--color-white);
                font-size: 1rem;
                font-family: "Faculty Glyphic", sans-serif;
                font-weight: 400;
                line-height: 1;
                border-radius: 50%;
                text-decoration: none;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            a {
                &:hover, &:focus {
                    background: var(--color-orange);
                    color: var(--color-white);
                }
            }

            span {
                background: var(--color-orange);
                color: var(--color-white);
            }
        }
    }
}

html {
    overscroll-behavior-y: none;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-width: 320px;
    min-height: 100vh;
    color: var(--color-orange);

    &.menu-active {
        height: 100%;
        overflow-y: hidden;

        &:after {
            content: '';
            display: block;
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, 0.50);
            z-index: 1;
        }

        .mobile-menu {
            display: block;
        }
    }
}

header {
    .header-main {
        position: fixed;
        width: 100%;
        z-index: 2;
        top: 0;

        canvas, video {
            width: 100%;
            height: auto;
        }
    }

    &.fixed {
        .header-main {
            top: 0;
        }
    }

    .header-top {
        background-color: var(--color-white);

        @media (width < 768px) {
            display: none;
        }

        .container {
            display: flex;
            justify-content: end;
            align-items: center;
            padding-block: 11px 11px;
        }

        .search-bar {
            border-radius: 100px;
            border: 1px solid var(--color-black);
            background: var(--color-white);
            padding: 5px 10px;

            form {
                display: flex;
                flex-direction: row-reverse;
                gap: 6px;
            }

            input {
                width: auto;
                border: none;
                font-size: 1rem;
                color: var(--color-orange);
                font-family: 'Manrope', sans-serif;
                background: none;
            }

            button {
                padding: 0;
                margin: 0;
                flex: 0 0 auto;
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                    width: 15px;
                    height: 15px;
                }
            }
        }

        .lang-switch {
            margin-left: 50px;

            @media (width < 1025px) {
                margin-left: 50px;
            }

            ul {
                display: flex;
                gap: 6px;
                margin: 0;

                li {
                    &:not(:last-child) {
                        &:after {
                            content: '/';
                            color: var(--color-orange);
                            position: relative;
                            left: 3px;
                        }
                    }

                    a {

                        font-size: 1rem;
                        color: var(--color-orange);
                    }
                }
            }
        }

        .high-contrast-button button {
            font-size: 1rem;
            color: var(--color-orange);
            background: none;
            border: none;
            margin-left: 100px;
            text-decoration: underline;
        }
    }

    .header-main {
        background-color: var(--color-blue);
        padding-block: 21px 21px;

        @media (width < 768px) {
            position: fixed;
            width: 100vw;
            z-index: 2;
            top: 0;
        }

        .container {
            display: flex;
            justify-content: space-between;
            align-items: center;

            @media (width < 768px) {
                align-items: center;
            }

            > a {
                @media (width < 1025px) {
                    max-width: 186px;
                }
            }
        }

        .btn-hamburger {
            display: none;
            background: none;
            border: none;

            @media (width < 768px) {
                display: block;
            }
        }

        nav > ul {
            display: flex;
            gap: 70px;
            /*/ / 117 px;*/
            margin: 0;

            @media (width < 1200px) {
                gap: 50px;
            }

            @media (width < 768px) {
                display: none;
            }

            li {
                a {
                    font-size: 1.25rem;
                    color: var(--color-orange);
                    text-decoration: none;

                    &:hover, &:focus {
                        text-decoration: underline;
                    }
                }

                &.active {
                    a {
                        text-decoration: underline;
                    }
                }

                &:has(ul) {
                    position: relative;
                    margin-right: 30px;

                    &:after {
                        content: '';
                        width: 17px;
                        height: 17px;
                        transform: rotate(90deg);
                        background-image: url('/assets/templates/images/caret-right-white.svg');
                        background-size: contain;
                        display: block;
                        position: absolute;
                        right: -30px;
                        top: 3px;
                        transition: all 0.3s ease-out;
                        transform-origin: center center;
                    }

                    &:hover, &:focus-within, &:has(>a[aria-expanded="true"]) {
                        > ul {
                            display: block;
                            max-height: 300px;
                        }

                        &:after {
                            transform: rotate(270deg);
                            top: 9px;
                        }

                    }

                    ul {
                        /*display: none;*/
                        position: absolute;
                        top: 100%;
                        left: -15px;
                        background-color: var(--color-blue);
                        /*/ / padding: 10 px 0;*/
                        /*/ / box-shadow: 0 0 10 px rgba(0, 0, 0, 0.1);*/
                        z-index: 13;
                        width: max-content;
                        overflow: hidden;
                        padding: 0;
                        max-height: 0;
                        transition: max-height 0.5s ease-out;
                        display: none;

                        li {
                            a {
                                font-size: 1.125rem;
                                color: var(--color-white);
                                text-decoration: none;
                                display: block;
                                padding: 10px 15px;
                                transition: background-color 0.3s ease-out;

                                &:hover, &:focus {
                                    text-decoration: none;
                                    background-color: var(--color-orange);
                                }
                            }
                        }
                    }

                    @media (width > 768px) {
                        &:last-child {
                            ul {
                                left: unset;
                                right: -35px;
                            }
                        }
                    }
                }
            }
        }
    }

    .mobile-menu {
        display: none;
        width: calc(100vw - 54px);
        background: var(--color-orange);
        color: var(--color-white);
        padding-inline: 27px;
        padding-block: 17px 17px;
        position: fixed;
        z-index: 2;

        > nav {
            ul {
                margin-block: 0;

                li {
                    border-bottom: 1px solid var(--color-white);
                    position: relative;

                    &:after {
                        content: '';
                        display: block;
                        width: 19px;
                        height: 19px;
                        position: absolute;
                        right: 0;
                        top: 50%;
                        transform: translateY(-50%);
                        background-image: url('/assets/templates/images/arrow-mobile-menu.svg');
                        background-repeat: no-repeat;
                        background-position: center;
                        background-size: contain;
                    }

                    &:last-of-type {
                        border-bottom: unset;
                    }

                    &:has(ul) {

                        &:after {
                            content: '';
                            width: 20px;
                            height: 20px;
                            transform: rotate(90deg);
                            background-image: url('/assets/templates/images/caret-right-white.svg');
                            background-size: contain;
                            display: block;
                            position: absolute;
                            right: 0;
                            top: 33px;
                            transition: all 0.3s ease-out;
                            transform-origin: center center;
                        }

                        &:hover, &:focus, &.submenu-active {
                            > ul {
                                display: block;
                            }

                            &:after {
                                transform: rotate(270deg);
                            }

                        }

                        ul {
                            display: none;
                            padding: 10px 0;
                            z-index: 13;

                            li {
                                padding: 0;
                                border-bottom: 0;

                                &:after {
                                    background-image: url('/assets/templates/images/arrow-mobile-menu.svg');
                                    right: 0;
                                }

                                a {
                                    font-size: 1.125rem;
                                    color: var(--color-white);
                                    text-decoration: none;


                                    &:hover, &:focus {
                                        text-decoration: underline;
                                    }
                                }
                            }
                        }
                    }

                    a {
                        color: inherit;
                        font-size: 1.375rem;
                        text-decoration: none;
                        font-family: "Faculty Glyphic", sans-serif;
                        padding-block: 27px;
                        text-align: left;
                        display: inline-block;
                        padding-right: 30px;


                    }
                }
            }
        }

        .mobile-menu-options {
            display: flex;
            gap: 22px;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;

        }

        .search-bar {
            border-radius: 100px;
            border: 1px solid var(--color-black);
            background: var(--color-white);
            padding: 10px 10px;
            width: 100%;

            form {
                display: flex;
                flex-direction: row-reverse;
                gap: 12px;
            }

            input {
                width: 100%;
                border: none;
                font-size: 1rem;
                color: var(--color-orange);
                font-family: 'Manrope', sans-serif;
                background: none;
            }

            button {
                padding: 0;
                margin: 0;
                flex: 0 0 auto;
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                    width: 32px;
                    height: 32px;
                }
            }
        }

        .high-contrast-button button {
            font-size: 1rem;
            color: var(--color-white);
            background: none;
            border: none;
            text-decoration: underline;
            padding-inline: 15px;
            padding-block: 15px;
        }

        .lang-switch {

            margin-left: 0;

            ul {
                display: flex;
                gap: 12px;
                margin-block: 0;

                li {
                    &:not(:last-child) {
                        &:after {
                            content: '/';
                            color: var(--color-white);
                            position: relative;
                            left: 6px;
                        }
                    }

                    a {

                        font-size: 1rem;
                        color: var(--color-white);
                    }
                }
            }
        }
    }
}


main {
    padding-top: 108px;

    @media (width < 1025px) {
        padding-top: 89px;
    }

    @media (width < 768px) {
        padding-top: 88px;
    }
}

footer {
    .footer-top {
        background: var(--color-blue);
        padding-block: 40px;
        /*47px 77px;*/

        @media (width < 768px) {
            padding-block: 30px 14px;
            /*//20px 28px;*/
        }

        .container {
            display: flex;
            flex-wrap: wrap;
            gap: 150px;

            @media (width < 1200px) {
                gap: 70px;
            }

            @media (width < 768px) {
                gap: 27px;
            }

        }

        .footer__col {
            @media (width < 768px) {
                width: 100%;
            }

            h2 {
                color: var(--color-orange);
                font-size: 1.75rem;
                /*/ / 2.5 rem;*/
                line-height: 1.25;
                margin-bottom: 41px;

                @media (width < 1025px) {
                    font-size: 2rem;
                }

                @media (width < 768px) {
                    margin-bottom: 20px;
                    font-size: 1.25rem;
                }
            }

            nav {
                ul {
                    li {
                        line-height: 1.5;

                        a {
                            color: var(--color-orange);
                            font-size: 1.25rem;
                            line-height: 1.5;
                            text-decoration: none;

                            @media (width < 768px) {
                                font-size: 1.125rem;
                            }

                            &:hover, &:focus {
                                text-decoration: underline;
                            }
                        }
                    }
                }

                &.social-media {
                    ul {
                        display: flex;
                        gap: 17px;

                        li.hashtag {
                            font-size: 1.25rem;
                            line-height: 1.5;
                            display: flex;
                            justify-content: flex-start;
                            align-items: center;
                        }
                    }
                }
            }

            p {
                font-size: 1.25rem;
                line-height: 1.5;

                @media (width < 768px) {
                    font-size: 1.125rem;
                }
            }
        }
    }

    .footer-bottom {
        background: var(--color-white);
        padding-block: 20px;

        @media (width < 768px) {
            padding-block: 30px;
            /*//13px 15px;*/
        }

        .footer-bottom-links {
            ul {
                display: flex;
                flex-wrap: wrap;
                gap: 15px;
                margin-block: 0;

                li {
                    a {
                        font-size: 1rem;
                        color: var(--color-orange);

                        &:hover, &:focus {
                            text-decoration: underline;
                        }

                    }
                }

            }
        }

        .container {
            display: flex;
            justify-content: space-between;
            align-items: end;

            @media (width < 768px) {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            > a {
                @media (width < 768px) {
                    max-width: 158px;
                }
            }

            .footer-group {
                display: flex;
                flex-direction: row;
                gap: 16px;
                align-items: center;
            }
        }

        .copyright {
            text-align: right;
            font-size: 1rem;

            @media (width < 768px) {
                text-align: left;
            }

            a {
                color: var(--color-orange);

                &:hover, &:focus {
                    text-decoration: underline;
                }
            }
        }
    }
}

.hero {
    position: relative;
    display: flex;
    align-items: center;

    @media (width < 768px) {
        flex-direction: column-reverse;
    }

    &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 258px;
        background-image: url('/assets/templates/images/pattern-top-orange.svg');
        z-index: 1;

        @media (width < 1025px) {
            height: 172px;
            background-size: cover;
        }

        @media (width < 768px) {
            display: none;
        }
    }

    &.pattern-white {
        &::before {
            background-image: url('/assets/templates/images/pattern-top-white.svg')
        }
    }

    &.pattern-blue {
        &::after {
            background-image: url('/assets/templates/images/pattern-top-blue.svg')
        }
    }

    &.pattern-orange {
        &::before {
            background-image: url('/assets/templates/images/pattern-top-orange.svg')
        }
    }

    .image-container {
        min-height: 963px;
        max-width: 746px;
        width: 100vw;
        display: flex;
        position: relative;

        @media (1024px < width < 1200px) {
            max-width: 50vw;
        }

        @media (width < 768px) {
            min-height: unset;
            max-width: unset;

            &:after {
                content: '';
                position: absolute;
                background-image: url('/assets/templates/images/pattern-bottom-white.svg');
                bottom: 0;
                left: 0;
                width: 100%;
                height: 113px;
                background-size: cover;
            }

        }

        picture {
            flex: 1;
            /*height: 100%;*/
            width: 100%;
            display: block;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .content {
        max-width: 661px;
        margin-top: 100px;

        @media (width < 768px) {
            padding-block: 41px 43px;
            margin-top: 0;
        }

        h1 {
            font-size: 6.25rem;
            /*font-weight: 700;*/
            line-height: 1.2;
            margin-bottom: 45px;

            @media (width < 1540px) {
                font-size: 5.5rem;
            }

            @media (width < 1300px) {
                font-size: 4rem;
            }

            @media (width < 1025px) {
                font-size: 3.175rem;
            }

            @media (width < 768px) {
                font-size: 3.375rem;
                margin-bottom: 22px;
            }
        }

        p {
            margin-bottom: 31px;
            font-size: 1.25rem;
            line-height: 1.75;

            @media (width < 768px) {
                margin-bottom: 20px;
            }
        }

    }
}

.overview-slider {
    background: var(--color-blue);
    padding-block: 95px 258px;
    position: relative;
    overflow: hidden;

    @media (width < 1025px) {
        padding-block: 95px 150px;
    }

    @media (width < 768px) {
        padding-block: 56px 120px;
    }

    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 258px;
        background-image: url('/assets/templates/images/pattern-bottom-white.svg');

        @media (width < 1025px) {
            height: 172px;
            background-size: cover;
        }

        @media (width < 768px) {
            height: 110px;
            background-size: cover;
        }
    }

    &.pattern-white {
        &::after {
            background-image: url('/assets/templates/images/pattern-bottom-white.svg')
        }
    }

    &.pattern-blue {
        &::after {
            background-image: url('/assets/templates/images/pattern-bottom-blue.svg')
        }
    }

    &.pattern-orange {
        &::after {
            background-image: url('/assets/templates/images/pattern-bottom-orange.svg')
        }
    }

    h2 {
        color: var(--color-orange);
        font-size: 3rem;
        margin-bottom: 70px;

        @media (width < 768px) {
            font-size: 1.625rem;
            margin-bottom: 34px;
        }
    }

    .swiper-slide {
        @media (width < 768px) {
            max-width: 170px;

        }
    }
}

.overview-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    height: 100%;

    .overview-item-image {
        overflow: hidden;
        margin-bottom: 1rem;
        max-height: 526px;

        @media (width < 768px) {
            margin-bottom: 10px;
        }
    }

    &:has(.overview-item-image-text) {
        justify-content: space-between;
    }

    picture {
        line-height: 0;
        display: block;
        overflow: hidden;

        img {
            transition: scale .2s ease-in;
        }
    }

    p {
        color: var(--color-orange);
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;

    }

    span:not(.btn), h2, h3 {
        color: var(--color-orange);
        font-size: 1.625rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        font-family: "Faculty Glyphic", sans-serif;
        display: block;
        /*flex: 1 1 auto;*/

        @media (width < 768px) {
            font-size: 1.125rem;
            margin-bottom: 10px;
        }

        &.date {
            font-family: 'Manrope', sans-serif;
            font-size: 1.25rem;
            line-height: 1;
            margin-bottom: 0;

            @media (width < 768px) {
                font-size: 1rem;
            }

            &:has(+ p) {
                margin-bottom: 1rem;
            }
        }
    }

    span.btn {
        margin-top: 41px;
        @media (width < 768px) {
            display: none;
        }
    }

    &:hover {
        img {
            scale: 1.05;
        }
    }
}

.countdown {
    background: var(--color-white);
    padding-block: 140px 140px;

    /*padding-block: 147px 124px;*/

    @media (width < 1025px) {
        padding-block: 100px;
    }

    @media (width < 768px) {
        padding-block: 88px;
    }

    div:not(.after-countdowntext) {
        & > p {
            font-family: "Faculty Glyphic", sans-serif;
            font-size: clamp(5rem, -2.3846rem + 11.5385vw, 6.25rem);
            line-height: 1.35;
            color: var(--color-orange);
            /*margin-bottom: 41px;*/
            margin-block: 0;
            @media (width < 1025px) {
                font-size: 5rem;
            }

            @media (width < 768px) {
                font-size: 2.8125rem;
            }

            span {
                overflow: hidden;
            }
        }
    }


    .after-countdowntext {

    }
}

.video {
    background: var(--color-orange);
    padding-block: 98px 115px;
    /*/ / 98 px 250 px;*/
    position: relative;

    @media (width < 1025px) {
        padding-block: 98px 150px;
    }

    @media (width < 768px) {
        padding-block: 42px 90px;
    }

    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 258px;
        background-image: url('/assets/templates/images/pattern-bottom-blue.svg');

        @media (width < 1025px) {
            height: 172px;
            background-size: cover;
        }

        @media (width < 768px) {
            height: 80px;
            background-size: cover;
        }
    }

    &.pattern-white {
        &::after {
            background-image: url('/assets/templates/images/pattern-bottom-white.svg')
        }
    }

    &.pattern-blue {
        &::after {
            background-image: url('/assets/templates/images/pattern-bottom-blue.svg')
        }
    }

    &.pattern-orange {
        &::after {
            background-image: url('/assets/templates/images/pattern-bottom-orange.svg')
        }
    }

    &.playing {
        .poster {
            display: none;
        }

        .embed-container {
            iframe, video {
                display: block;
            }
        }
    }

    h2 {
        color: var(--color-blue);
        font-size: 3rem;
        margin-bottom: 68px;

        @media (width < 768px) {
            font-size: 1.625rem;
            margin-bottom: 48px;
        }
    }

    .embed-container {
        .poster {
            position: relative;

            button {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                cursor: pointer;
                transition: transform .2s ease-in;
                transform-origin: left;

                @media (width < 768px) {
                    img {
                        width: 70px;
                        height: 70px;
                    }
                }

                &:hover {
                    transform: scale(1.05) translate(-50%, -50%);
                }
            }

            > img {
                aspect-ratio: 16/9;
                object-fit: cover;
                width: 100%;
            }
        }

        iframe, video {
            aspect-ratio: 16/9;
            width: 100%;
            height: auto;
            /*display: none;*/
            border: none;
        }
    }
}

.news-overview {
    position: relative;
    padding-block: 258px 212px;

    @media (width < 768px) {
        padding-block: 124px 100px;
    }

    &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 258px;
        background-image: url('/assets/templates/images/pattern-top-orange.svg');

        @media (width < 1025px) {
            height: 172px;
            background-size: cover;
        }

        @media (width < 768px) {
            height: 110px;
            background-size: cover;
        }
    }

    &.pattern-white {
        &::before {
            background-image: url('/assets/templates/images/pattern-top-white.svg')
        }
    }

    &.pattern-blue {
        &::after {
            background-image: url('/assets/templates/images/pattern-top-blue.svg')
        }
    }

    &.pattern-orange {
        &::before {
            background-image: url('/assets/templates/images/pattern-top-orange.svg')
        }
    }


    /*&.show-all {*/
    /*    .news-overview-container ul {*/
    /*        overflow: visible;*/
    /*        max-height: unset;*/

    /*        &:after {*/
    /*            display: none;*/
    /*        }*/
    /*    }*/

    /*    .action-btn {*/
    /*        display: none !important;*/
    /*    }*/
    /*}*/

    h1 {
        font-size: 6.25rem;
        line-height: 1;
        margin-bottom: 93px;

        @media (width < 768px) {
            margin-bottom: 49px;
            font-size: 3.375rem;
        }
    }

    .news-overview-container {
        ul {
            display: grid;
            gap: 93px 23px;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            position: relative;

            @media (width < 768px) {
                gap: 43px
            }

            /*&:after {*/
            /*    content: '';*/
            /*    position: absolute;*/
            /*    bottom: 0;*/
            /*    left: 0;*/
            /*    right: 0;*/
            /*    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 80%);*/
            /*    z-index: 1;*/
            /*    height: 900px;*/
            /*    width: 100%;*/
            /*}*/

            li {
                max-width: 421px;
                width: 100%;
            }
        }

        /*.action-btn {*/
        /*    display: flex;*/
        /*    justify-content: center;*/
        /*    margin-top: 102px;*/
        /*    position: relative;*/
        /*    z-index: 2;*/

        /*    @media (width < 768px) {*/
        /*        margin-top: 50px;*/
        /*    }*/

        /*    .btn {*/
        /*        font-size: 2.625rem;*/
        /*        padding: 18px 58px 19px 58px;*/

        /*        @media (width < 768px) {*/
        /*            font-size: 1.25rem;*/
        /*        }*/
        /*    }*/
        /*}*/
    }
}

.banner {
    position: relative;

    &:before {
        z-index: 1;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 258px;
        background-image: url('/assets/templates/images/pattern-top-white.svg');

        @media (width < 1025px) {
            height: 172px;
            background-size: cover;
        }

        @media (width < 768px) {
            height: 110px;
            background-size: cover;
        }
    }

    &.pattern-white {
        &::before {
            background-image: url('/assets/templates/images/pattern-top-white.svg')
        }
    }

    &.pattern-blue {
        &::before {
            background-image: url('/assets/templates/images/pattern-top-blue.svg')
        }
    }

    &.pattern-orange {
        &::before {
            background-image: url('/assets/templates/images/pattern-top-orange.svg')
        }
    }

    img {
        width: 100%;
        max-height: 532px;
        object-fit: cover;
        height: 100vh;

        @media (width < 768px) {
            max-height: 329px;
        }
    }

    + .banner-text {
        padding-block: 102px;

        @media (width < 768px) {
            padding-block: 30px;
        }

        &:before {
            display: none;
        }
    }
}

.news-detail {
    padding-block: 75px 100px;
    color: var(--color-blue);

    @media (width < 1025px) {
        padding-block: 80px 100px;
    }

    @media (width < 768px) {
        padding-block: 30px;
        /*// 29px 75px;*/
    }

    h1 {
        font-size: 3rem;
        /*/ / 4.5 rem;*/
        margin-bottom: 1rem;
        /*/ / 52 px;*/
        /*color: inherit;*/
        line-height: 1.3;

        @media (width < 1300px) {
            font-size: 2.5rem;
        }

        @media (width < 768px) {
            font-size: 2rem;
        }
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;

        @media (width < 1300px) {
            font-size: 1.75rem;
        }

        @media (width < 768px) {
            font-size: 1.5rem;
        }
    }
}

.banner-text {
    position: relative;
    padding-block: 260px 102px;

    @media (width < 1025px) {
        padding-block: 175px 75px;
    }

    @media (width < 768px) {
        padding-block: 126px 75px;
    }

    &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 258px;
        background-image: url('/assets/templates/images/pattern-top-orange.svg');

        @media (width < 1025px) {
            height: 172px;
            background-size: cover;
        }

        @media (width < 768px) {
            height: 90px;
            background-size: cover;
        }
    }

    &.pattern-white {
        &::after {
            background-image: url('/assets/templates/images/pattern-bottom-white.svg')
        }
    }

    &.pattern-blue {
        &::after {
            background-image: url('/assets/templates/images/pattern-bottom-blue.svg')
        }
    }

    &.pattern-orange {
        &::after {
            background-image: url('/assets/templates/images/pattern-bottom-orange.svg')
        }
    }

    h1 {
        font-size: 4.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        /*/ / 65 px;*/

        @media (width < 1300px) {
            font-size: 4rem;
        }

        @media (width < 1025px) {
            font-size: 3.5rem;
        }

        @media (width < 768px) {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
    }

    p {
        &:last-child {
            margin-bottom: 0;
        }
    }
}

.faq-items {
    padding-block: 40px 100px;
    background: var(--color-blue);
    color: var(--color-white);
    position: relative;
    margin-bottom: 100px;

    @media (width < 1025px) {
        padding-block: 100px;
    }

    @media (width < 768px) {
        padding-block: 30px;
    }

    h2 {
        font-size: 2rem;

        @media (width < 768px) {
            font-size: 1.625rem;
        }

        &:empty {
            display: none;
        }
    }

    .faq-item {
        border-bottom: 2px solid var(--color-white);

        &:first-of-type {
            .faq-item-title {
                padding-block-start: 0;
            }
        }

        &:has(.faq-item-title button[aria-expanded="true"]) {
            .faq-item-content {
                /*display: block;*/
                padding-block: 0 56px;

                @media (width < 768px) {
                    padding-block: 0 30px;
                }
            }

            .faq-item-title button {
                &:after {
                    /*//background-image: url('/assets/templates/images/faq-minus.svg');*/
                    animation: hide-vertical-line .25s forwards;
                }
            }
        }

        &:last-of-type {
            border-bottom: 0;

            .faq-item-title:has([aria-expanded="false"]) {
                border-bottom: unset;
            }
        }

        .faq-item-title {
            @media (width < 768px) {
                border-bottom-width: 1px;
            }

            button {
                padding-block: 56px;
                color: inherit;
                font-size: 2rem;
                font-family: "Faculty Glyphic", sans-serif;
                width: 100%;
                position: relative;
                text-align: left;
                transition: all .2s ease-in;

                @media (width < 1025px) {
                    font-size: 2rem;
                }

                @media (width < 768px) {
                    font-size: 1.375rem;
                    padding-block: 27px;
                    padding-right: 40px;
                }

                &:after {
                    --width: 2px;
                    --start: calc(50% - var(--width) / 2);
                    --end: calc(50% + var(--width) / 2);
                    --color: var(--color-white);
                    content: '';
                    border-radius: 50%;
                    display: block;
                    width: 51px;
                    height: 51px;
                    position: absolute;
                    right: 5px;
                    top: 50%;
                    transform: translateY(-50%);
                    animation: show-vertical-line .25s forwards;
                    transition: all .2s ease-in;
                    background: linear-gradient(var(--vertical-rotation), transparent var(--start), var(--color) var(--start), var(--color) var(--end), transparent var(--end)), linear-gradient(to bottom, transparent var(--start), var(--color) var(--start), var(--color) var(--end), transparent var(--end));

                    @media (width < 768px) {
                        width: 30px;
                        height: 30px;
                    }

                }

                &:hover:after {
                    animation: hide-vertical-line .25s forwards;
                }
            }
        }

        .faq-item-content {
            padding-block: 0;
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.3s ease-out;

            @media (width < 768px) {
                /*padding-block: 27px;*/
            }

            h3 {
                margin-bottom: 1rem;
                font-size: 1.75rem;

                @media (width < 768px) {
                    font-size: 1.375rem;
                }

            }

            p, ul, ol, a {
                color: inherit;
                font-size: 1.25rem;

                @media (width < 768px) {
                    font-size: 1.125rem;
                }
            }
        }
    }
}

.link-list {
    padding-block: 100px 150px;
    background: var(--color-orange);
    color: var(--color-white);

    @media (width < 1025px) {
        padding-block: 100px;
    }

    @media (width < 768px) {
        padding-block: 58px;
    }

    h2 {
        font-size: 3rem;

        @media (width < 768px) {
            font-size: 1.625rem;
        }

        &:empty {
            display: none;
        }
    }

    ul {
        list-style: none;

        li {
            /*/ / padding-block: 56 px;*/
            border-bottom: 2px solid var(--color-white);

            @media (width < 768px) {
                padding-block: 27px;
                border-bottom-width: 1px;
            }

            /*&:first-child {*/
            /*    a {*/
            /*        padding-block-start: 0;*/
            /*    }*/
            /*}*/

            a {
                padding-block: 50px;
                color: inherit;
                font-size: 2rem;
                font-family: "Faculty Glyphic", sans-serif;
                /*width: 100%;*/
                position: relative;
                text-align: left;
                display: block;
                text-decoration: none;
                line-height: 1.2;
                padding-right: 60px;
                transition: padding-left .2s ease-in;

                @media (width < 1025px) {
                    font-size: 2rem;
                }

                @media (width < 768px) {
                    font-size: 1.375rem;
                    padding-right: 30px;
                    padding-block: 0;
                }

                &:after {
                    content: '';
                    position: absolute;
                    right: 0;
                    width: 34px;
                    height: 34px;
                    background-image: url('/assets/templates/images/arrow-right-white.svg');
                    background-repeat: no-repeat;
                    background-size: contain;
                    background-position: center center;
                    top: 50%;
                    transform: translate(0px, -50%);
                    transition: right 0.2s ease-out;

                    @media (width < 768px) {
                        width: 20px;
                        height: 20px;
                        top: 12px;
                    }
                }

                &:hover {
                    /*background-color: var(--color-blue);*/
                    padding-left: 10px;

                    &:after {
                        right: 10px;
                    }
                }
            }
        }
    }
}

.search-overview {
    position: relative;
    padding-block: 258px 212px;

    @media (width < 768px) {
        padding-block: 124px 100px;
    }

    &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 258px;
        background-image: url('/assets/templates/images/pattern-top-orange.svg');

        @media (width < 1025px) {
            height: 172px;
            background-size: cover;
        }

        @media (width < 768px) {
            height: 110px;
            background-size: cover;
        }
    }

    h1 {
        font-size: 6.25rem;
        line-height: 1;
        margin-bottom: 93px;

        @media (width < 768px) {
            margin-bottom: 49px;
            font-size: 3.375rem;
        }
    }

    .pagination {
        margin-top: 120px;

        @media (width < 768px) {
            margin-top: 50px;
        }
    }

    .search-overview-container {
        ul {
            display: grid;
            gap: 93px 23px;
            grid-template-columns: repeat(auto-fit, minmax(320px, 421px));

            @media (width < 768px) {
                gap: 43px
            }

            li {
                max-width: 421px;
                width: 100%;

                .overview-item {
                    span:not(.btn) {
                        line-height: 1.3;
                        flex: unset;
                    }

                    p {
                        margin-block: 0;
                    }
                }
            }
        }
    }
}

.asset-block {
    padding-block: 0 100px;

    h2 {
        font-size: 3rem;
    }

    .assets-item-wrapper {
        display: flex;

        @media (width < 768px) {
            flex-direction: column;
            gap: 50px;
        }
    }

    .assets-item {
        border-bottom: 2px solid var(--color-orange);
        padding-bottom: 3rem;
        margin-bottom: 2rem;

        &:last-child {
            border-bottom: 0;
        }
    }

    .asset-block__content {
        flex: 1;

        .download-item {
            &:not(:last-child) {
                margin-bottom: 2rem;
            }

            ul {
                padding-left: 21px;

                li {
                    font-size: 1.25rem;
                    line-height: 1.75;
                    list-style: disc;
                }
            }
        }
    }

    .asset-block__preview {
        flex: 1;
        align-items: center;
        display: flex;
        /*justify-content: right;*/
    }
}


@keyframes hide-vertical-line {
    0% {
        --vertical-rotation: 90deg;
    }
    100% {
        --vertical-rotation: 180deg;
    }
}

@keyframes show-vertical-line {
    0% {
        --vertical-rotation: 180deg;
    }
    100% {
        --vertical-rotation: 90deg;
    }
}

.line-mask {
    will-change: transform;
    overflow: unset !important;
    clip-path: inset(-20px);
}

.template-coming-soon {
    main {
        padding-top: 0 !important;
        height: 100vh;
    }

    .banner-text {
        height: 100%;
        
        canvas {
            margin-bottom: 2rem;
        }
        
        img {
            width: 100%;
            max-width: 500px;
            margin-bottom: 3rem;
        }

        h1 {
            text-align: center;
        }
    }

    .video-container {
        display: flex;
        justify-content: center;
    }
}
