.paragraph--type--simple-text-pictures.history-graph {
    padding: var(--section-padding) var(--grid-padding) 64px var(--grid-padding);
    background: var(--color-blue-2);
    margin-bottom: 30px;
    position: relative;
    display: grid;
    grid-template-areas: "title title" "image dates";
    grid-template-columns: 0.75fr 1fr;

    &:after {
        content: url(../../images/icons/top-right-dotts.png);
        position: absolute;
        top: 0;
        right: 0;
        height: auto;
        max-width: 40%;
        opacity: 0.5;
    }

    * {
        color: white !important;
    }

    .field--name-field-text {
        padding: 0;
        margin-top: 0;
        margin-bottom: 36px;
        grid-area: title;
    }

    .field--name-field-text-multiple {
        grid-area: dates;
        padding-right: 105px;

        .field__item {
            padding-bottom: 52px;
            padding-left: 40px;
            max-width: 560px;
            position: relative;

            h1, .h1,
            h2, .h2,
            h3, .h3,
            h4, .h4,
            h5, .h5,
            h6, .h6 {
                font-size: var(--font-size-28);
            }


            p {
                margin: 0 !important;
            }

            &:before {
                content: '';
                height: calc(100% - 42px);
                width: 4px;
                background: #D9D9D9;
                position: absolute;
                left: 0;
                bottom: 0;
            }

            &::after {
                content: '';
                position: absolute;
                width: 40px;
                height: 40px;
                background: url("../../images/icons/bullet.svg");
                background-position: center;
                background-repeat: no-repeat;
                background-size: 16px;
                top: 0;
                left: -18px;
            }


            &:first-child {
                &::after {
                    content: '';
                    position: absolute;
                    width: 40px;
                    height: 40px;
                    background: url("../../images/icons/end-bullet.svg");
                    top: 0;
                    left: -18.5px;
                }
            }

            &:nth-last-child(2) {
                &:before {
                    bottom: 16px;
                    height: calc(100% - 64px);
                }
            }

            &:last-child {
                margin-left: 40px;
                padding: 16px 24px 24px 24px;
                background-color: white;
                position: relative;

                &:before {
                    display: none;
                }

                &::after {
                    content: '';
                    position: absolute;
                    width: 40px;
                    height: 40px;
                    background: url("../../images/icons/end-bullet.svg");
                    top: 0;
                    left: -58px;
                }

                * {
                    color: var(--color-blue-2) !important;
                }
            }
        }

    }

    .field--name-field-images {
        grid-area: image;
        position: relative;

        *:not(.contextual) {
            display: grid;
            width: 100%;
            height: 100%;
        }

        img {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

@media(max-width: 991px) {
    .paragraph--type--simple-text-pictures.history-graph {
        padding-top: 32px;
        grid-template-columns: repeat(1, 1fr);
        grid-template-areas: "title" "dates";

        .field--name-field-images {
            display: none !important;
        }
    }
}



@media(max-width: 768px) {
    .paragraph--type--simple-text-pictures.history-graph {
        padding: var(--section-padding) var(--grid-padding);

        &:after {
            display: none;
        }

        .field--name-field-text-multiple {
            .field__item {
                padding-bottom: 24px;
                padding-top: 8px;

                h1, .h1,
                h2, .h2,
                h3, .h3,
                h4, .h4,
                h5, .h5,
                h6, .h6 {
                    font-size: var(--font-size-20);
                }
            }
        }

        .field--name-field-images {
            display: none !important;
        }
    }
}