/* other1 area: scoped rules for the section pages (the yeshiva, about, library, impact, under-grads, institute books, rabbis list).
   Every rule is scoped under body.mh-o1c (class added by inc/grp-other1.php). The old site's own content rules are in other1-content-rtl.css / other1-content-ltr.css (generated, see build_content_css.py);
   the home pages use other1-home-rtl.css / other1-home-ltr.css. */

/* pages without a sidebar: the old page's box ends 6px lower than the generic template's */
body.mh-o1c .wrap.site-main:not(.with-side):not(.narrow) { padding-bottom: 56px; }
/* the original puts the article of a page without a side column on a white band (`.row.bg-white`: the article plus 15px on each side) */
body.mh-o1c .wrap.site-main:not(.with-side):not(.narrow) { position: relative; isolation: isolate; }
body.mh-o1c .wrap.site-main:not(.with-side):not(.narrow)::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: min(calc(100% - 30px), 1080px); transform: translateX(-50%); background: #fff; }

/* the two section pages with an empty article ("The Yeshiva"): between 576 and 767px the old page's box is 40px high (its card has no padding there), the generic box has a 72px minimum */
@media (min-width: 576px) and (max-width: 767.98px) {
	body.mh-o1c .entry:not(:has(*)) { min-height: 0; height: 40px; padding-top: 0; padding-bottom: 0; }
}
