
section.infographic {
    overflow: hidden;
    margin-bottom: 0;
    padding: var(--unit) 0; padding: 0;
    --unit: 36px;
    /* min-height: 400px;*/
    background: var(--erasmus_lilac);
    background: linear-gradient(180deg, var(--erasmus_lilac) 0%, color-mix(in srgb, var(--erasmus_lilac) 80%, var(--erasmus_green)) 100%);

    position: relative;
    color: white;
    text-align: center;
}
section.infographic::before,
section.infographic::after {
    content:""; display: block; width: 100%; margin: 12px 0;
    opacity: 0.333; mix-blend-mode: screen;
    height: 160px; background-image: url("../../images/info/1.png");
    background-repeat:repeat-x; background-position: center; background-size: auto 100%;
}
section.infographic::after{
    background-image: url("../../images/info/2.png");
}

@media all and (max-width: 600px) {
    section.infographic::before,
    section.infographic::after {
        height: 80px; margin: 8px;
    }
}


section.infographic ul.slick-dots {
    margin-top: 8px !important;
}

section.infographic > b {
    display: block;
    height: 160px;position: relative;
    z-index: 1; margin-bottom: 1rem;
}
section.infographic > b img{
    display: block; height: 100%; margin: 0 auto;
}

section.infographic h2 {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 1em;
}

section.infographic picture {
    display: block;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    position: absolute;
    top: -1px;
    left: -1px;

    background: linear-gradient(180deg, #00B2B9 0%, #00B08F 100%);

    overflow: hidden;
}

section.infographic picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    filter: grayscale(100%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*section.infographic picture::after{
    display: block; width: 100%; height:100%;
    position: absolute; top: 0; left: 0; content:"";
    background: linear-gradient(180deg, #00B2B9 0%, #00B08F 100%);

}*/


section.infographic div.boxes {
    position: relative;
    z-index: 1;
}

section.infographic div.boxes div.box {
    box-sizing: border-box;
    background: white; color:var(--erasmus_lilac);
    border-radius: 8px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column; justify-content: center;
    padding: var(--unit);
}
section.infographic div.slick-slide > div { padding: 0 8px; }

section.infographic div.boxes div p {

    font-weight:600;
    font-size: 24px; line-height: 1.2;
}
section.infographic div.boxes div p:last-child { margin-bottom: 0 !important; }

section.infographic div.boxes div p.number {
    font-weight: 750;
    font-size: 64px;
    margin: 0 0 12px;
    /*margin-top: auto;*/
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;

}

section.infographic div.boxes div p.number span {
    font-size: 0.5em;
    letter-spacing: -0.01em;
    padding-left: 0.05em;
}

@media all and (min-width: 1200px) and (max-width: 1499px) {
    section.infographic div.boxes div p.number {
        font-size: 64px;
    }

}

@media all and (min-width: 600px) {
    section.infographic div.boxes.carousel {
        margin: 20px auto;
        max-width: 400px;
    }

}

@media all and (min-width: 900px) {
    section.infographic div.boxes:not(.carousel) {
        display: flex;
        justify-content: space-between; gap:var(--unit);
        flex-wrap: wrap;
    }

    section.infographic div.boxes div.box {
        width: calc(50% - (var(--unit) * (1 / 2)));
    }
}

@media all and (min-width: 1200px) {

    section.infographic div.boxes div.box {
        width: calc(25% - (var(--unit) * (3 / 4)));
    }


}


section.infographic div.carousel {
    position: fixed;
    top: -2000px;
}


@media all and (max-width: 899px) {

    section.infographic div.boxes {
        position: fixed;
        top: -2000px;
    }

    section.infographic div.carousel {
        position: relative;
        top: 0;
    }

    section.infographic h2 {

        font-size: 24px;
    }
}


@media all and (max-width: 899px) {
    section.infographic div.boxes div.box {
        margin: 0;
    }

    section.infographic div.boxes .slick-arrow {
        position: absolute;
        background: none;
        outline: none;
        background: none;
        z-index: 5;
        width: 30px;
        height: 100%;
        opacity: 0.5;
        top: 50%;
        transform: translateY(-50%);
        text-indent: -9000px;
    }

    section.infographic div.boxes .slick-prev {
        left: -20px;
    }

    section.infographic div.boxes .slick-next {
        right: -20px;
    }

    section.infographic div.boxes .slick-arrow::after {
        width: 24px;
        height: 24px;
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.8));
        transform: translateY(-50%) rotate(45deg);

    }
}

section.infographic div.boxes .slick-prev::after {
    left: 5px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
}

section.infographic div.boxes .slick-next::after {
    right: 5px;
    border-top: 3px solid white;
    border-right: 3px solid white;
}

@media all and (max-width: 599px) {
    section.infographic > b {
        height: 100px;
    }



    section.infographic {
    }




    section.infographic div.boxes {
        margin: 0;
    }

    section.infographic h2 {

        font-size: 24px;
    }


    section.infographic div.boxes div p:first-child {
        font-size: 18px;
    }

    section.infographic div.boxes div p.number {
        font-size: 64px;
    }
}