body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-height: 100svh;
}

main {
  flex: 1;
}

.site-header,
.site-footer {
  width: 100%;
}

.site-header > .container {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1rem;
  width: 100%;
}

main > .container {
  width: 100%;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.site-footer .logos {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.site-footer .address {
  padding-top: 1rem;
}


.brand-group {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  gap: 1rem;
  width: fit-content;
}

.brand-logo img {
  height: 96px;
}

.site-nav-toggle {
  display: block;
  height: fit-content;
  padding: 1rem;
  position: relative;
  width: fit-content;
}

.site-nav-toggle .icon {
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  height: 1.5rem;
  vertical-align: top;
  width: 1.5rem;
}

.site-nav {
  display: none;
}

.site-nav.open {
  display: block;
  flex-basis: 100%;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}





@media (min-width: 576px) {
  .site-header > .container {
    flex-wrap: nowrap;
    max-width: var(--content-max-width);
  }

  .site-footer .container {
    flex-direction: row;
    max-width: var(--content-max-width);
  }

  .site-footer .logos {
    flex: 0 0 33.3333%;
    padding-right: 1rem;
  }

  .site-footer .address {
    display: flex;
    flex: 0 0 66.6666%;
    flex-direction: row;
    padding-top: 0;
  }

  .site-footer .address > div {
    width: 50%;
  }

  .site-footer .left {
    padding-right: 2rem;
  }

  .brand-logo img {
    height: 96px;
  }

  .site-nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    margin-left: 2rem;
  }
  
  .site-nav nav {
    width: 100%;
  }
  
  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: flex-end;
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  main > .container {
    max-width: var(--content-max-width);
  }
}
