/*
 * Layout utilities and shared typography.
 */

.container {
  width: 90%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-footer .container {
  padding-top: 0;
  padding-bottom: 0;
}

section:not(.hero) > .container > h2,
section:not(.hero) > h2 {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--primary);
  margin: 0 0 2rem 0;
}

.desktop-only {
  display: none;
}

@media (min-width: 900px) {
  section:not(.hero) > .container > h2,
  section:not(.hero) > h2 {
    font-size: 2rem;
  }
}
