.educational-materials {
    margin-block: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    
    @media (width > 800px) {
        flex-direction: row;
        align-items: center;
        gap: 48px;
        margin-block: 48px;
    }

    .photo {
        width: 100%;
        
        @media (width > 800px) {
            height: 100%;
            flex: 1;
        }

        img {
            height: 200px;
            width: 100%;
            object-fit: cover;
            border-radius: 16px;
            display: block;

            @media (width > 800px) {
                height: auto;
            }
        }
    }

    .content {
        flex: 1;

        h2 {
            color: var(--_bg-color) !important;
        }

        li::marker {
            color: var(--_bg-color);
            font-size: 1.6em;
        }

        h4 {
            color: #0D1A22;
            margin-bottom: 16px;
            
            @media (width < 767px) {
                font-size: 1.8rem;
            }

            &:before {
                display: none;
            }
        }

        p:last-child, ul:last-child, li:last-child {
            margin-bottom: 0;
        }
    }
}