/* Keep outer gutters in proportion to the screen and constrain the text inside reading views. */
.portal-main:not(.showcase-home) h1 { font-weight:750; }
.portal-main:not(.showcase-home) :is(h2,h3) { font-weight:700; }
.portal-main.resources-page { padding-top:0; }
@media (min-width: 1200px) {
  :root {
    --page-width: min(92%, calc(40% + 720px), 100rem);
    --page-gutter: calc((100% - var(--page-width)) / 2);
  }
  .portal-main:not(.showcase-home):not(.industrial-home):not(.products-scene-page),
  .site-footer, .home-section, .product-scene-grid, .product-scene .page-heading {
    width: var(--page-width);
    max-width: none;
    margin-inline: auto;
  }
  header.site-header { padding-inline: var(--page-gutter); }
  .portal-main.coding-plan-page:not(.credit-recharge-page) { --page-width: min(92%, 75rem); }
  .portal-main:is(.download-page, .plugins-page, .software-page) { padding-inline: 0; }
  .showcase-home :is(.show-section, .show-story-sticky, .show-hero-stage, .show-hero-bottom) {
    width: var(--page-width);
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
  }
  .tutorial-article { max-width: 62em; }
  .lab-reading-layout .lab-topic-article { max-width: 68em; }
}

@media (min-width: 700px) and (max-width: 939px) {
  .personal-edition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 939px) {
  .enterprise-plans > .coding-plan-card { width: min(100%, 28rem); justify-self: center; }
}
@media (max-width: 699px) {
  .personal-edition-grid > .coding-plan-card { width: min(100%, 30rem); justify-self: center; }
}

@media (max-width: 700px) {
  .community-service-page .community-login-prompt > .button { width:auto; max-width:100%; }
}
