/* Onsite Property Core public-shell foundation.
 * These selectors are theme-independent and affect only explicitly migrated
 * .opse-shell markup. Existing Website V2 layout remains in legacy/layout.css.
 */
:root{
  --opse-shell-max:1800px;
  --opse-shell-gutter:clamp(16px,4vw,72px);
  --opse-reading-max:842px;
  --opse-space-1:.5rem;
  --opse-space-2:2.5rem;
  --opse-space-3:4rem;
}

.opse-shell,
.opse-shell *{box-sizing:border-box}

.opse-shell{
  width:min(calc(100% - (2 * var(--opse-shell-gutter))),var(--opse-shell-max));
  margin-inline:auto;
}

.opse-shell__section{margin-block:var(--opse-space-3)}
.opse-shell__section:first-child{margin-block-start:0}
.opse-shell__reading,
.opse-shell--reading{width:min(100%,var(--opse-reading-max));margin-inline:auto}

@media(max-width:1359px){
  :root{--opse-shell-gutter:clamp(14px,3.125vw,40px);--opse-space-3:3rem}
}

@media(max-width:767px){
  :root{--opse-shell-gutter:clamp(10px,4vw,20px);--opse-space-2:2rem;--opse-space-3:2.5rem}
}
