/* Menu and width per page (28 Nov 2026, lib/themes/layout). Loaded only by pages with a choice in Admin > Page themes.
   .olw-centre: the page's content sits in the middle, at most 1240 px wide.
   .olw-full: the page's content fills the whole width (the containers of both designs lose their limit).
   .olt-part: header, page and footer of different themes, each in its own wrapper. */
.olw-centre{max-width:1240px;margin-left:auto;margin-right:auto;overflow-x:clip}
.olw-full{--ol-space-container:100vw;--max:100vw}
.olw-full .container,.olw-full .container2{width:auto;max-width:none}
[data-theme] .olw-full .wrap{max-width:none}
@media (min-width:1200px){.olw-full .container{padding-left:40px;padding-right:40px}}
/* a themed page between the classic header and footer starts under the classic bar */
.olt-in-classic{position:relative}
.olt-classic-body{position:relative;background:#fff}
/* owner, 2 Dec 2026 ("can it go left, to be at the edge as the logo is"): from 1280 px, where the header shows its
   full bar, the page's content starts where the logo starts and ends where the header's buttons end. The header's
   side space is min(2.2vw,40px); 15px is the window's scroll bar, which 100vw counts in. Replaces the 86 % column
   of 1 Dec (from 1600 px). Below 1280 px nothing changes. */
/* owner, 2 Dec 2026, later ("look at live and make the distances left and right about the same, for the logo and
   for the page"): live keeps its logo 110 px from the left edge, its menu 91 px from the right edge and its content
   about 110 px from both. The side space here is 110 px from a 1530 px window up; between 1280 and 1530 px it grows
   from 40 to 110 px, so that the menu still fits in one row on a small laptop. */
@media (min-width:1280px){.olw-centre{max-width:calc(100vw - 15px - 2 * 110px);max-width:calc(100vw - 15px - 2 * clamp(40px,calc(40px + (100vw - 1280px) * .28),110px))}
/* the same on a page that still has the live site's header (#headerSection), whose logo stands 110 px from the
   window's edge: the content starts there too, and is never narrower than it was. */
  html:has(#headerSection) .olw-centre{max-width:max(1240px,calc(100vw - 15px - 220px))}
}
