/**
 * JournalX offsets content blocks for its legacy overlay sidebar. The modern
 * layout has a real sidebar column, so every article section stays inside the
 * article card.
 */
@media (min-width: 992px) {
    .single .article-wrap > .entry-header,
    .single .article-wrap > .entry-content,
    .single .entry-tags,
    .single .entry-rating,
    .single .entry-footer,
    .single .related-posts {
        left: 0 !important;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .single .entry-tags,
    .single .entry-rating,
    .single .entry-footer,
    .single .related-posts {
        width: 100%;
        max-width: 100%;
    }

    .single .related-posts__list {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .single .related-posts__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
