.acf-gallery-attachment:nth-child(4n + 1) {
    clear: left;
}