/* Keep the homepage sidebar readable while giving more room to article cards. */
@media (min-width: 1240px) {
    body.home.site-layout-2 {
        --l123-home-sidebar-width: 290px;
    }

    body.home.site-layout-2 .content-layout {
        margin-right: calc(var(--l123-home-sidebar-width) + 15px);
    }

    body.home.site-layout-2 .sidebar {
        width: var(--l123-home-sidebar-width);
        margin-left: calc(-1 * var(--l123-home-sidebar-width));
    }
}

/* Four cards remain readable at wide desktop sizes; smaller screens keep Zibll's grid. */
@media (min-width: 1500px) {
    body.home .home-tab-content .posts-row > .posts-item.card {
        width: calc(25% - 16px);
    }
}
