/* SimCity case study: use the site's existing article layout and typography. */
.simcity-page .article-body,
.simcity-page .article-aside { min-width: 0; }
.simcity-page .article-section + .article-section { padding-top: 1.75rem; }
.simcity-page .article-section > :last-child { margin-bottom: 0; }
.simcity-page .simcity-case-date { font: 11px/1.7 var(--mono); }
.simcity-page code { font: .9em/1.6 var(--mono); overflow-wrap: anywhere; }
.simcity-page .simcity-example { margin: 1.5rem 0; }
.simcity-page .simcity-example figcaption {
  padding: .7rem 1.2rem;
  border: 1px solid var(--line);
  border-bottom: 0;
  font: 10px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.simcity-page .simcity-code {
  margin: 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
  font-size: .9rem;
  tab-size: 2;
}
.simcity-page .simcity-code:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.simcity-page .article-callout { margin-block: 1.25rem; }
.simcity-page .article-callout p:last-child { margin-bottom: 0; }
.simcity-page .simcity-contents { margin: 0; padding-left: 1.2rem; }
.simcity-page .simcity-contents li + li { margin-top: .7rem; }
.simcity-page .simcity-facts { margin: 0; }
.simcity-page .simcity-facts dt { font: 10px/1.7 var(--mono); text-transform: uppercase; color: var(--muted); }
.simcity-page .simcity-facts dd { margin: .2rem 0 1rem; font-size: .9rem; }
.simcity-page .simcity-facts dd:last-child { margin-bottom: 0; }
@media (max-width: 1120px) {
  .simcity-page .article-aside { grid-row: 1; }
  .simcity-page .article-aside > :not(nav) { display: none; }
}
