.detail-epreuve {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid #E2E2E2;
    border-radius: 16px;
    padding: 24px;
    margin-block: 24px;

    .content {
        display: flex;
        flex-direction: column;
        gap: 16px;

        a {
            color: #0070b8;
            text-decoration: none;
            border-bottom: 1px solid #0070b8;
            font-weight: 300;
            line-height: 150%;
        }
    }

    h3 {
        margin: 0;
        font-size: 18px;
        line-height: 130%;
        font-weight: 500;
        
        @media (width > 800px) {
            font-size: 24px;
        }
    }

    .text p:last-child {
        margin-bottom: 0;
    }

    &.with-photo {
        display: flex;
        flex-direction: column;
        
        @media (width > 800px) {
            flex-direction: row;
            align-items: center;
        }

        .content {
            flex: 1;
        }
        .photo {
            width: 33%;

            img {
                border-radius: 16px;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }

}