main .container,
header .container {
  max-width: 1440px !important;
}

main .container,
footer .container {
  max-width: 1440px !important;
}

main .container {
  display: flex;
  justify-content: center;
  max-width: 1440px;
  padding-left: 24px;
  padding-right: 24px;
}

/*
 * The page rail below 992px, the same as on LeadX Security: the container goes
 * fluid with one constant gutter (--page-gutter, 15px) instead of 24px. A
 * Bootstrap row still pulls itself out by the columns' own 12px, so the text
 * inside a column lines up with a grid that sits outside one, and every section
 * starts exactly --page-gutter from the screen edge. Above 992px nothing changes.
 */
@media (max-width: 991.98px) {
  main .container {
    max-width: none;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
}

/* Vertical rhythm of every section except the hero: one rule, one place.
   The container above only handles width and the side gutter. */
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* Smaller screens, one value for every section (the hero keeps its own). Two
   neighbouring sections are separated by the SUM of the two, so 50 / 40 here is
   a 100 / 80px band on a tablet / phone, against 180px on a desktop. */
@media (max-width: 991.98px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}