/* Additions scoped to the homepage, the Merci block and the Aftermovie dialog. */
#home-slider {
    margin-bottom: 22vw;
}

#home-slider .overlay_slider {
    zoom: 1;
    padding: 80px 16px;
    pointer-events: none;
}

#home-slider .overlay_slider > .col-12 {
    padding-bottom: clamp(60px, 12vw, 200px);
}

#home-slider .overlay_slider .logo_svg_slider {
    margin: auto;
    width: min(80vw, 1000px);
}

#home-slider .logo_svg_slider svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

#home-slider .slider-footer {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: -22vw;
    width: 100%;
    height: auto;
    padding: 0;
    background: none;
    pointer-events: none;
}

#home-slider .slider-footer object {
    display: block;
    width: 100%;
}

.lnde-merci {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 60vh;
    min-height: 60svh;
    padding: clamp(48px, 6vw, 96px) 20px;
    overflow: hidden;
    background: #171717;
    color: #ffe436;
    font-family: 'Rethink Sans', Arial, sans-serif;
}

.lnde-merci .lnde-merci__background {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lnde-merci::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55));
    pointer-events: none;
}

.lnde-merci .lnde-merci__content {
    width: 100%;
    max-width: 740px;
    text-align: center;
}

.lnde-merci .lnde-merci__title {
    margin: 0 0 20px;
    padding: 0;
    color: inherit;
}

.lnde-merci .lnde-merci__logo {
    display: block;
    width: clamp(220px, 30vw, 400px);
    max-width: 100%;
    height: auto;
    margin: auto;
}

.lnde-merci .lnde-merci__intro {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 0;
    color: #ffe436;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 400;
    line-height: 1.5;
}

.lnde-merci .lnde-merci__figures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lnde-merci .lnde-merci__figures li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lnde-merci .lnde-merci__figures li::before {
    content: none;
}

.lnde-merci .lnde-merci__value {
    display: block;
    color: #ffe436;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.3;
}

.lnde-merci .lnde-merci__label {
    color: #ffe436;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.5;
    opacity: .9;
}

#aftermovie_modal .modal-dialog {
    width: calc(100% - 32px);
    max-width: min(1100px, calc((100vh - 96px) * 16 / 9));
    margin: 24px auto;
    min-height: calc(100% - 48px);
}

#aftermovie_modal .modal-content {
    background: #000;
    border: 0;
    border-radius: 0;
    color: #fff;
}

#aftermovie_modal .lnde-aftermovie__toolbar {
    display: flex;
    justify-content: flex-end;
}

#aftermovie_modal .lnde-aftermovie__close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    font: 36px/1 Arial, sans-serif;
    cursor: pointer;
}

#aftermovie_modal .lnde-aftermovie__close:focus-visible {
    outline: 2px solid #ffe436;
    outline-offset: -4px;
}

#aftermovie_modal iframe {
    border: 0;
}

@media (max-width: 767px) {
    #home-slider .overlay_slider .logo_svg_slider {
        width: min(76vw, 340px);
    }

    .lnde-merci .lnde-merci__figures {
        gap: 20px 24px;
    }
}
