.risks {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: flex-start;
}

.risk-item {
    padding: 8px;
    border: solid 1px black;
    width: fit-content;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 12px;
    margin-right: 24px;
    padding-left: 16px;
    padding-right: 16px;
}

.risk-item.risk-link   {
    font-size: 16px;
    cursor: pointer;
    width: calc(100% - 32px);
    text-align: center;
}

.stages-image {
    position: relative;
    margin-top: 80px;
}

.stages-image img {
    position: sticky;
    top: 0;
    max-width: 520px;
}

.stage-block {
    display: flex;
    max-width: 1200px;
    justify-content: space-between;
}

.stage-content {
    width: 50%;
    margin-top: 64px;
}

.stages-description h4 {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 39px;
}

.stages-description ul {
    list-style: disc;
}

.stages-description li {
    margin-bottom: 20px;
}

.stage-products {
    display: flex;
    flex-wrap: wrap;
    max-width: 450px;
    justify-content: space-evenly;
}

.stage-products a {
    margin-bottom: 20px;
    box-shadow: 4px 6px 12px 0px rgba(2,78,150,0.1);
    border-radius: 3px;
    background-color: #ffffff;
    width: calc(50% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.stage-products img {
    width: 100%;
}

.stage-block {
    margin-bottom: 100px;
}

.stage-block h3 {
    position: absolute;
    font-size: 30px;
    line-height: 39px;
}

.stages-description th, .stages-description td {
    padding: 1.5rem;
}

.stages-description table {
    margin-bottom: 40px;
    margin-top: 16px;
}

.medium-grey-cell td {
    background-color: #e9e9e9;
}

.light-grey-cell td, .light-grey th {
    background-color: var(--color-light-grey);
}

@media screen and (max-width: 480px) {
    .risks-section {
        flex-direction: column;
    }

    .risks-section .background-image {
        display: none;
    }

    .stage-block {
        flex-direction: column;
    }

    .stage-content {
        width: auto;
    }

    .stage-block h3 {
        position: relative;
        font-size: 1.25rem;
        margin-top: 3rem;
    }

    .stage-content {
        margin-top: auto;
        order: 2;
    }

    .stages-image {
        order: 1;
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .stages-image img {
        position: relative;
        max-width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
    }

    .stages-description ul {
        margin-left: 20px;
    }

    .risks-section .risks {
        max-width: 306px;
        margin-left: auto;
        margin-right: auto;
    }

    .stage-block {
        margin-bottom: 0;
    }

    .background-image img {
        max-width: none;
    }

    .brown .risk-heading {
        margin-bottom: 20px;
    }

    .green .risk-heading {
        margin-bottom: 20px;
    }

    .block-content p {
        margin-top: -1rem !important;
        margin-bottom: 1rem !important;
    }

    .block-content .stage-block h3:first-of-type {
        margin-top: -1rem;
    }

    .stage-products {
        margin-bottom: 20px;
    }
}