.images-diagmed-1 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
}
.images-diagmed-1 .filter {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    z-index: 3;
    transition-duration: 0.4s;
    background: linear-gradient(
        to top,
        rgba(255, 2, 2, 0.9),
        rgba(255, 2, 2, 0.2) 150%
    );
}
.images-diagmed-1 .filter.hidden {
    top: 100%;
}
.images-diagmed-1 .content-wrapper {
    display: flex;
    width: 100%;
    padding: 0 12.75rem;
    flex-direction: column;
    align-items: baseline;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}
.images-diagmed-1 .content-wrapper .card {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: baseline;
    position: relative;
    z-index: 5;
}
.images-diagmed-1 .content-wrapper .card .headline {
    margin-top: 16.125rem;
    color: white;
    font-size: 4rem;
    line-height: 4rem;
    font-weight: 700;
    text-align: left;
}
.images-diagmed-1 .content-wrapper .card .article {
    width: 60%;
    margin-top: 2.25rem;
    color: white;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
    text-align: left;
}
.images-diagmed-1 .content-wrapper .card .button {
    margin-top: 4rem;
    margin-bottom: 8.125rem;
    width: fit-content;
    padding: 0 3rem;
    color: white;
    border-radius: 0.5rem;
    height: 4rem;
    font-size: 1.25rem;
    line-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: solid 1px white;
    text-decoration: none;
}
.images-diagmed-1 .content-wrapper .card .image {
    position: absolute;
    width: 35%;
    height: 90%;
    right: 0;
    bottom: 0;
}
.images-diagmed-1 .content-wrapper .card .image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}
.images-diagmed-1 .arrow-container {
    z-index: 5;
    position: absolute;
    top: 0;
    width: 9rem;
    height: 100%;
    transition-duration: 0.4s;
}
.images-diagmed-1 .arrow-container:hover {
    cursor: pointer;
}
.images-diagmed-1 .arrow-container .arrow {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    top: 50%;
    background-color: white;
    transform: translateY(-50%);
    border-radius: 50%;
    transition-duration: 0.4s;
}
.images-diagmed-1 .left {
    left: 0;
}
.images-diagmed-1 .left .arrow {
    left: 3rem;
}
.images-diagmed-1 .right {
    right: 0;
}
.images-diagmed-1 .right .arrow {
    right: 3rem;
}

.variant-2 .filter {
    background: radial-gradient(
        circle at bottom,
        #0095b2,
        rgba(0, 149, 178, 0.3) 150%
    );
}
.variant-2 .content-wrapper {
    align-items: center;
}
.variant-2 .content-wrapper .card {
    align-items: center;
}
.variant-2 .content-wrapper .card .headline {
    text-align: center;
}
.variant-2 .content-wrapper .card .article {
    text-align: center;
}
.variant-2 .content-wrapper .card .button {
    box-shadow: 0px 0px 20px #0095b2ff;
}
.variant-2 .content-wrapper .card .image {
    display: none;
}
@media (max-width: 96.5rem) {
    .images-diagmed-1 .filter {
        background: linear-gradient(
            to top,
            rgba(255, 2, 2, 0.9),
            rgba(255, 2, 2, 0.9) 40%,
            rgba(255, 2, 2, 0.2) 120%
        );
    }
    .images-diagmed-1 .content-wrapper {
        padding: 0 6rem;
        align-items: baseline;
    }
    .images-diagmed-1 .content-wrapper .arrow-container {
        top: unset;
        bottom: 0;
        width: 15rem;
        height: 15rem;
    }
    .images-diagmed-1 .content-wrapper .arrow-container .arrow {
        background: radial-gradient(#00d5ff 0%, #00a5dd 100%);
        border: 1px solid #00d5ff;
    }
    .images-diagmed-1 .content-wrapper .left .arrow {
        left: 6rem;
    }
    .images-diagmed-1 .content-wrapper .right .arrow {
        right: 6rem;
    }
    .images-diagmed-1 .content-wrapper .card {
        flex-direction: column;
        align-items: baseline;
        position: relative;
    }
    .images-diagmed-1 .content-wrapper .card .headline {
        margin-top: 6rem;
        font-size: 3rem;
        line-height: 3rem;
        font-weight: 600;
    }
    .images-diagmed-1 .content-wrapper .card .article {
        margin-top: 1.5rem;
        font-size: 1.25rem;
        line-height: 1.5rem;
        width: 100%;
    }
    .images-diagmed-1 .content-wrapper .card .button {
        margin-top: 4rem;
        margin-bottom: 37.125rem;
        padding: 0 3rem;
        height: 4rem;
        font-size: 1.25rem;
    }
    .images-diagmed-1 .content-wrapper .card .image {
        width: 60%;
        min-width: 30rem;
        height: 35rem;
        right: -6rem;
    }
    .images-diagmed-1 .arrow-container {
        height: 50%;
        bottom: 0;
        top: unset;
    }
    .images-diagmed-1 .arrow-container .arrow {
        top: unset;
        bottom: 0%;
        background-color: #00d5ff;
    }
    .images-diagmed-1.variant-2 .arrow-container .arrow {
        background-color: white;
    }
    .variant-2 .filter {
        background: radial-gradient(
            circle at top left,
            #0095b2,
            rgba(0, 149, 178, 0.3) 150%
        );
    }
    .variant-2 .content-wrapper {
        align-items: baseline;
    }
    .variant-2 .content-wrapper .arrow-container .arrow {
        background: white;
        border: none;
    }
    .variant-2 .content-wrapper .card {
        align-items: baseline;
    }
    .variant-2 .content-wrapper .card .headline {
        text-align: left;
    }
    .variant-2 .content-wrapper .card .article {
        text-align: left;
    }
    .variant-2 .content-wrapper .card .button {
        box-shadow: 0px 0px 20px #0095b2ff;
    }
    .variant-2 .content-wrapper .card .image {
        display: none;
    }
}
@media (max-width: 43.75rem) {
    .images-diagmed-1 .filter {
        background: linear-gradient(
            to top,
            rgba(255, 2, 2, 0.9),
            rgba(255, 2, 2, 0.3) 120%
        );
    }
    .images-diagmed-1 .content-wrapper {
        padding: 0 1.5rem;
    }
    .images-diagmed-1 .content-wrapper .arrow-container {
        top: unset;
        width: 6rem;
        height: 6rem;
    }
    .images-diagmed-1 .content-wrapper .left .arrow {
        left: 1.5rem;
    }
    .images-diagmed-1 .content-wrapper .right .arrow {
        right: 1.5rem;
    }
    .images-diagmed-1 .content-wrapper .card .headline {
        margin-top: 4rem;
        font-size: 2.25rem;
    }
    .images-diagmed-1 .content-wrapper .card .article {
        margin-top: 1rem;
        font-size: 1rem;
    }
    .images-diagmed-1 .content-wrapper .card .button {
        margin-top: 3rem;
        margin-bottom: 24.375rem;
        padding: 0 1.5rem;
        height: 3rem;
        font-size: 1rem;
    }
    .images-diagmed-1 .content-wrapper .card .image {
        width: 60%;
        min-width: 18rem;
        height: 21rem;
        right: -3rem;
    }

    .variant-2 .filter {
        background: radial-gradient(
            circle at top left,
            #0095b2,
            rgba(0, 149, 178, 0.3) 150%
        );
    }
    .variant-2 .content-wrapper {
        align-items: baseline;
    }
    .variant-2 .content-wrapper .arrow-container .arrow {
        background: white;
        border: none;
    }
    .variant-2 .content-wrapper .card {
        align-items: baseline;
    }
    .variant-2 .content-wrapper .card .headline {
        text-align: left;
    }
    .variant-2 .content-wrapper .card .article {
        text-align: left;
    }
    .variant-2 .content-wrapper .card .button {
        box-shadow: 0px 0px 20px #0095b2ff;
    }
    .variant-2 .content-wrapper .card .image {
        display: none;
    }
}
