.image-alongside-content-block-angled {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    min-height: calc(100vh - 150px);
}

.image-alongside-content-block-angled__left {
    flex: 1;
    min-width: 300px;
    margin-right: -100px; /* Pulls image to visually match angled edge */
    overflow: hidden;
}
.image-alongside-content-block-angled__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0, 0, 0) scale(1.04);
    transform-origin: center;
    will-change: transform;
}

.image-alongside-content-block-angled__right {
    flex: 1;
    min-width: 300px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Creates angled left edge */
    clip-path: polygon(40px 0%, 100% 0%, 100% 100%, 0% 100%);
    padding: 30px 30px 30px 0;
}

.image-alongside-content-block-angled__right-inner {
    /*
      Pushes text to visually match
      the angled edge
    */
    padding-left: 100px;
}

@media (max-width: 500px) {
    .image-alongside-content-block-angled__right {
        clip-path: unset;
        padding: 30px;
    }
    .image-alongside-content-block-angled__right-inner {
        padding-left: unset;
    }
}
