
.blue_slide {
    background-color: var(--primary);
    color: var(--white);

    position: sticky;
    top: 0;
    z-index: -1;

    min-height: 0;
}

.blue_slide > .wrapper {
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 5rem calc(var(--col) * 2);
}

.blue_slide > .wrapper.static {
  position: relative;
}

.content_block.blue_slide + .content_block.blue_slide::before,
.content_block.blue_slide + .content_block.blue_block::before {
  content: "";
  display: block;
  height: 3px;
  width: calc(100% - var(--outside-padding-inner) * 2);
  background-color: var(--white);
  border-radius: 15px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.blue_slide > .wrapper .right {
    width: calc(var(--col) * 9);
    /* flex-grow: 1; */
    min-width: min-content;
    /* margin-top: var(--header); */
    padding-bottom: 10rem;
}

.blue_slide > .wrapper .headline {
    color: inherit;
    max-width: 100%;
}

.blue_slide > .wrapper h2, .blue_slide > .wrapper h3, .blue_slide > .wrapper h4, .blue_slide > .wrapper h5 {
    color: inherit;
}

.blue_slide > .wrapper .headline em {
    font: inherit;
    color: var(--secondary)
}

.blue_slide > .wrapper .text {
    margin-top: 3em;
}

.blue_slide > .wrapper > .list {
    max-width: calc(var(--col) * 9);
    width: 44rem;
    min-width: min-content;
    /* flex-grow: 1; */
    padding-top: 10rem;
    /* font-size: var(--small-font); */
    align-self: flex-end;
    margin: 0 auto 0 calc(var(--col) * 2);
}

.blue_slide > .wrapper .right .list {
    column-width: 30rem;
    column-gap: var(--col);
    margin-top: 1em;
}

.blue_slide > .wrapper .right .list ul + * {
    margin-top: 3em;
}

.blue_slide > .wrapper .list h3 {
    font-weight: 700;
    color: var(--white);
    font-size: var(--highlighted-font);
    margin-bottom: 1em;
}

.blue_slide > .wrapper .list ul {
    width: inherit;
}

.blue_slide > .wrapper .background {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    background-color: black;
    pointer-events: none;
}

.blue_slide > .wrapper .background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: contrast(0.5);
    -webkit-mask-image: linear-gradient(black 15vh, transparent calc(20vh + 15em));
  mask-image: linear-gradient(black 15vh, transparent calc(20vh + 15em));
}

.blue_slide > .wrapper .background ~ * {
    align-self: flex-end;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 20vh;
    padding-bottom: 0;
    filter: drop-shadow(0px 0px 1rem rgba(0,0,0,1));
}

.wrapper.no_gradient .background img {
-webkit-mask-image: none;
  mask-image: none;
  filter: none;
}

.wrapper.no_gradient .background ~ * {
  filter: none;
}


.content_block.blue_slide:has(.background) + .content_block.blue_slide:before {
    content: none;
}

.blue_slide > .wrapper .image {
    width: calc(var(--col) * 9);
    position: relative;
    max-height: 80vh;
    height: auto;
    max-width: fit-content;
    margin-left: auto;
}

.blue_slide > .wrapper .image img {
    /* width: auto; */
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin-left: auto;
}

.blue_slide > .wrapper .right.has_image::before {
    content: "";
    display: block;
    width: calc(var(--col) * 3);
    height: calc(var(--col) * (3 / 28 * 24));
    background-image: url(../img/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: auto;
    margin-right: calc(0px - var(--col));
    margin-bottom: 1em;
}

/* MOBILES STYLING */

/* @media screen and (max-width: 1400px){
    .blue_slide > .wrapper > .list {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
} */


@media screen and (max-width: 1400px) { 
    .blue_slide > .wrapper .headline {
        width: 100%;
        hyphens: auto;
    }

    .blue_slide > .wrapper .list,
    .blue_slide > .wrapper .right {
        width: 100%;
    }
    

    .blue_slide > .wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 0%;
        align-items: flex-start;
        align-content: flex-start;
    }


    .blue_slide > .wrapper .list {
        margin-top: 0rem;
        width: 100%;
        padding-bottom: 5rem;
        max-width: 100%;
    }

    /* .blue_slide > .wrapper {
        top: -5rem;
    } */

    .blue_slide > .wrapper > .list {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .blue_slide > .wrapper .image {
        width: calc(var(--col) * 20);
        /* margin: auto; */
        width: 100%;
    }

    .blue_slide > .wrapper .right.has_image::before {
        content: none;
    }

}



@media screen and (max-width: 1250px) {
    .blue_slide > .wrapper .headline {
        hyphens:auto;
    }

    .blue_slide {
        position:relative;
        height: auto;
    }

    .blie_slide:first-child {
        margin-top: 15rem;
    }

}
