.vignette {
    display: inline-block;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: 50%;
    border-radius: var(--size-20px);
    position: relative;

    .content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--white);
        border-radius: var(--size-20px);
        font-family: 'prata-regular', serif;

        h2 {
            font-size: var(--size-20px);
            color: var(--black);

            @media (min-width: 768px) {
                font-size: var(--size-50px);
            }
        }

        .subtitle {
            color: var(--terracotta);
        }

        .teaser {
            color: var(--black);
        }

        .product-specifications {
            .list-inline {
                span {
                    line-height: normal;
                }
            }
        }
    }

    svg {
        width: var(--size-50px);
        height: var(--size-50px);
        border-radius: var(--size-10px);
        background-color: var(--terracotta);
        padding: 1rem;
    }
}

/* Header with background image */
.top {
    height: 80vh;
    position: relative;
    margin: 0 !important;

    img, video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--size-40px);
    }

    .media-container {
        position: relative;
        height: 100%;

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--black-header);
            border-radius: var(--size-40px);
            pointer-events: none;
        }
    }

    .content-container {
        position: absolute;
        top: 0;
        bottom: 2rem;
        left: 1rem;
        right: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: end;

        @media (min-width: 768px) {
            position: initial;
        }

        .text-container {
            text-align: left;
            color: var(--white);
            margin-left: 1rem;

            @media (min-width: 768px) {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
            }

            @media (min-width: 768px) {
                margin-left: 3rem;
            }

            .breadcrumb {
                ul li a {
                    color: var(--white);
                }
            }

            h1 {
                /*@media (max-width: 768px) {*/
                text-align: left;
                /*}*/
            }
        }
    }
}

/* Header without background image */
.top-light {
    width: 90%;
    margin: auto;

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

    .links-container {
        left: 0;
    }

    .breadcrumb {
        justify-content: center;

        ul li a {
            color: var(--black);
        }
    }

    .subtitle {
        font-size: var(--size-20px);
        font-family: 'arapey-regular', 'Roboto', sans-serif;

        @media (min-width: 768px) {
            font-size: var(--size-30px);
        }
    }
}

.article-vignette {
    display: inline-block;
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: 50%;
    border-radius: var(--size-40px);
    position: relative;

    .content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--white);
        border-radius: var(--size-20px);

        .teaser {
            color: var(--black);

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

    svg {
        width: var(--size-50px);
        height: var(--size-50px);
        border-radius: var(--size-10px);
        background-color: var(--terracotta);
        padding: 1rem;
    }
}

.links-container {
    justify-content: center;

    @media (min-width: 768px) {
        position: absolute;
        bottom: 3rem;
        z-index: 3;
        left: 0;
        right: 0;
    }

    &.scroll {
        position: fixed;
        z-index: 3;
        left: 0;
        right: 0;
        bottom: 0.5rem;
        padding: 0 0.5rem;

        @media (max-width: 768px) {
            .link.green {
                flex-grow: 1;
                justify-content: center;

                a {
                    font-size: var(--size-11px);
                    text-align: center;
                }
            }
        }
    }

    .link {
        display: flex;
        align-items: center;
        padding: 1rem 0.5rem;

        @media (min-width: 768px) {
            padding: 1.35rem;
        }

        &.small-padding {
            @media (max-width: 768px) {
                padding-inline: 0.5rem;
            }
        }

        &.lg {
            height: var(--size-80px);
            padding: 1.5rem 2.5rem;

            a {
                font-size: var(--size-20px);
            }
        }

        &:first-of-type {
            border-radius: var(--size-20px) 0 0 var(--size-20px);
        }

        &:last-of-type {
            border-radius: 0 var(--size-20px) var(--size-20px) 0;
        }

        background-color: var(--white);

        &:hover {
            background-color: var(--terracotta);

            a {
                color: var(--white);
            }
        }

        &.green {
            background-color: var(--dark-green);

            a {
                color: var(--white);

                @media (max-width: 768px) {
                    font-size: var(--size-10px);
                }
            }

            &:hover {
                background-color: var(--white);

                a {
                    color: var(--dark-green);
                }
            }
        }
    }
}

.breadcrumb {
    font-size: var(--size-15px);

    ul {
        li {
            list-style-type: none;
            display: inline-block;
        }
    }
}
