/* UBC pilot desktop alignment to reg_all triplet - batch 195K.
   Desktop only. No menu/mobile selectors. */
@media (min-width: 901px) {
  #main-content.ubc-pilot-regall-desktop.generated-page {
    padding-top: 0 !important;
  }
  #main-content.ubc-pilot-regall-desktop.generated-page > .page-title,
  #main-content.ubc-pilot-regall-desktop.generated-page > .page-breadcrumbs,
  #main-content.ubc-pilot-regall-desktop.generated-page > .main-grid {
    width: calc(100% + 80px) !important;
    max-width: none !important;
    margin-right: -40px !important;
    margin-left: -40px !important;
    box-sizing: border-box;
  }

  #main-content.ubc-pilot-regall-desktop .article,
  #main-content.ubc-pilot-regall-desktop .article p,
  #main-content.ubc-pilot-regall-desktop .article li,
  #main-content.ubc-pilot-regall-desktop .article td,
  #main-content.ubc-pilot-regall-desktop .article th,
  #main-content.ubc-pilot-regall-desktop .article dd,
  #main-content.ubc-pilot-regall-desktop .article dt,
  #main-content.ubc-pilot-regall-desktop .article blockquote {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 23.76px !important;
  }
  #main-content.ubc-pilot-regall-desktop .article p {
    margin: 0 0 16.8px !important;
  }
  #main-content.ubc-pilot-regall-desktop .article h2 {
    margin: 1.65em 0 .65em !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
}

/* Batch 196K: pilot mobile body-copy alignment only. */
@media (max-width: 900px) {
  #main-content.ubc-pilot-regall-desktop .article p {
    text-align: justify !important;
    text-justify: inter-word;
  }
}

/* Batch 199K: RU/EN pilot pages still carry .generated-page and therefore
   have an extra 40px outer padding. Top title/breadcrumb/main-grid were
   already normalized above. Extend the same 1400px alignment to the lower
   pilot sections. UA has no .generated-page and is intentionally untouched. */
@media (min-width: 901px) {
  #main-content.ubc-pilot-regall-desktop.generated-page > .task-selection,
  #main-content.ubc-pilot-regall-desktop.generated-page > .structure-gateway {
    width: calc(100% + 80px) !important;
    max-width: none !important;
    margin-right: -40px !important;
    margin-left: -40px !important;
    box-sizing: border-box !important;
  }

  /* UA has no .generated-page padding, so its closing block naturally starts
     40px from the site edge. Remove only the duplicate generated-page offset
     on RU/EN to match that geometry exactly. */
  #main-content.ubc-pilot-regall-desktop.generated-page > .closing {
    width: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* Mobile typography sizes approved 2026-09-16. Font-size only; line-height/spacing unchanged. */
@media (max-width: 900px){
  #main-content > .page-title, #main-content .article h1{font-size:17px!important;}
  #main-content .article h2{font-size:16px!important;}
  #main-content .article h3{font-size:15px!important;}
  #main-content .article p, #main-content .article li{font-size:13px!important;}
  #main-content .service-list > li > a{font-size:12px!important;}
}
