.has-contents > div {
    display: contents;
}