:root {
  --page-gutter: 0.75rem;
  --section-padding: max(
          var(--page-gutter),
          calc((100vw - 90rem)/2)
  ); }
  @media (min-width: 48rem) {
    :root {
      --page-gutter: 1.25rem; } }
  @media (min-width: 75rem) {
    :root {
      --page-gutter: 3rem; } }
*,
*::before,
*::after {
  box-sizing: border-box; }

html {
  min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column; }

header, footer, section {
  margin: 0;
  padding: 0 var(--section-padding); }

.grid {
  display: grid;
  gap: 2rem 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.image-display {
    gap: 0 0;
    grid-template-columns: repeat(3, minmax(0, 1fr)); }
    @media (min-width: 48rem) {
      .grid.image-display {
        grid-template-columns: repeat(6, minmax(0, 1fr)); } }
    .grid.image-display img {
      transition: filter 0.5s;
      display: block;
      width: 100%;
      filter: grayscale(1); }
      .grid.image-display img:hover {
        filter: grayscale(0); }

header#masthead {
  padding-block: 2rem;
  background-color: #b61919;
  min-height: 15rem;
  display: flex;
  align-items: center;
  justify-content: center; }
  header#masthead img {
    max-height: 250px;
    padding: 2rem; }

#main_content {
  flex: 1 0 auto; }

section {
  display: flex; }
  section.std {
    padding-block: 2rem; }
  section.callout {
    font-size: clamp(2rem, 4vw, 4rem);
    text-align: center;
    text-wrap: balance;
    justify-content: center; }
  section.right {
    justify-content: right; }

footer {
  flex-shrink: 0; }
  footer#site_footer {
    background-color: black;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 2rem; }
