/**
 * Page objects
 */

@use "../settings" as *;

// Top of uoe-nav goes to top, but padding for page main content container
.main-content {
  margin-top: $main-content-spacer;

  &::after {
    display: block;
    clear: both;
    content: "";
  }
}

// Restrict page width if not doing it with .row and .col- classes (eg combined menu)
.main-content:where(:not(.row .main-content)):where(:not(:has(> .row))) {
  max-width: ($font-size-base * $base-page-char-width * .75);
  margin: $main-content-spacer auto 0;
}
