.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    
    @media (width > 768px) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .job {
        display: flex;
        flex-direction: column;
        gap: 16px;
        border-radius: 16px;
        border: 1px solid #E2E2E2;
        overflow: hidden;

        @media (width > 768px) {
            gap: 24px;
        }
        
        .content {
            display: flex;
            flex-direction: column;
            gap: 16px;
            padding-inline: 16px;
            padding-bottom: 16px;
            
            @media (width > 768px) {
                padding-inline: 24px;
                padding-bottom: 24px;
                gap: 24px;

            }
            
            .head, .details {
                display: flex;
                flex-direction: column;
                gap: 16px;

                @media (width > 768px) {
                    gap: 8px;
                }

            }

            .head {

                p {
                    font-size: 1.4rem;
                    
                    @media (width > 768px) {
                        font-size: 1.6rem;
                    }
                }
            }

            p, ul, li {
                margin-bottom: 0;
            }
        }

        .photo {
            margin: 0;

            img {
                display: block;
                height: 200px; 
                width: 100%;
                object-fit: cover;

                @media (width > 768px) {
                    height: 300px;
                }
            }

            &.top {

                img {
                    object-position: top;
                }
            }
        }

        h3 {
            margin: 0;

            a {
                font-size: 2rem;
                font-weight: 700;
                color: #0070B8;
                text-decoration: underline !important;
                
                @media (width > 768px) {
                    font-size: 3.2rem;
                }
            }
        }

        .details {
            
            > p:first-child {
                font-size: 1.8rem;
                color: #0070B8 !important;
                font-weight: 700;
                line-height: 130%;
                font-family: 'Roboto';

                @media (width > 768px) {
                    font-size: 2.4rem;
                }
            }

            ul {
                display: flex;
                flex-direction: column;
                gap: 4px;

                @media (width > 768px) {
                    gap: 12px;
                }
            }

            li {
                font-size: 1.4rem;
                font-weight: 300;
                line-height: 150%;

                @media (width > 768px) {
                    font-size: 1.6rem;
                }

                &::marker {
                    color: var(--_bg-color);
                    font-size: .6em;
                }
            }
        }
    }
}