/* One outer grid for navigation, page titles and content in every language. */
:root{--page-width:1600px;--page-gutter:32px}
@media(max-width:1000px){:root{--page-gutter:20px}}
@media(max-width:650px){:root{--page-gutter:16px}}

main#main-content{
 max-width:var(--page-width);
 margin-inline:auto;
 padding-inline:var(--page-gutter);
}
header.site-header{
 padding-inline:max(var(--page-gutter),calc((100% - var(--page-width))/2 + var(--page-gutter)));
}
/* Titles use the content gutter rather than adding a second inset. */
#main-content>.page-title-intro{padding-inline:0}

/* The About artwork spans the container; its text follows the same grid. */
main#main-content.about-main{--about-gutter:var(--page-gutter);padding-inline:0}
.about-main .about-copy{margin-inline:var(--about-gutter)}

/* Keep desktop profile navigation beside a generous, shared reading column. */
@media screen and (min-width:1001px) and (min-height:501px){
 .profile-main .profile-layout{
  max-inline-size:960px;
  margin-inline:auto;
  grid-template-columns:210px minmax(0,1fr);
  gap:32px;
 }
 body[data-page="profile"] #profile-section{margin-inline:0}
 .profile-content .profile-hero{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  align-content:center;
  justify-items:start;
  column-gap:28px;
  row-gap:8px;
  min-block-size:174px;
  padding-block:8px 24px;
 }
 .profile-hero>.profile-emblem{
  grid-column:1;
  grid-row:1 / span 4;
  align-self:center;
  inline-size:150px;
  block-size:150px;
  margin:0;
 }
 .profile-hero>:not(.profile-emblem){grid-column:2}
 .profile-content .profile-hero h1{justify-content:flex-start;text-align:start;margin:0}
 .profile-content .profile-hero>.badge{margin:0}
 .profile-content .profile-hero .profile-meta{justify-content:flex-start}
}
