.o-footer {
  background-color: #4a4a4a;
  color: var(--color-white);
  padding-top: 1.3rem;
  padding-bottom: 2rem;
  text-align: center;

  & .m-menu-a__items {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    list-style-type: none;
    padding: 0;
  }

  & .m-menu-a__item {
    padding: 0 .5em;
    position: relative;
    margin-bottom: .6em;
    line-height: 1.2em;

    &::after {
      content: ' ';
      position: absolute;
      right: 0;
      display: block;
      top: -2px;
      bottom: 0;
      width: 1px;
      background-color: var(--color-white);
    }

    &:last-child::after {
      display: none;
      padding-right: 0;
    }

    &:first-child {
      padding-left: 0;
    }
  }

  & .m-menu-a__item a {
    font-family: var(--font-family-heading);
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
  }


  & .o-social {
    padding-left: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
  }

  & .o-social__item {
    margin: 0 1rem;
    display: flex;
  }
  & .o-social__link {
    display: flex;
    align-items: center;
  }
}



.o-footer .container {
  @media (width >=768px) {
    display: flex;
    flex-flow: column wrap;
  }
}

.o-footer__social {
  @media (width >=768px) {
    order: 1;
  }

  & ul.o-social {
    @media (width >=768px) {
      margin-bottom: .7rem;
    }
  }
}

.o-footer__menu {
  @media (width >=768px) {
    order: 2;
  }

  & .m-menu-a__items {
    margin-bottom: .8rem;

    @media (width >=768px) {
      margin-bottom: 0;
    }
  }
}

.o-footer__copyright {
  font-size: .7em;
  margin-top: 2rem;
  font-family: var(--font-family-heading);

  @media (width >=768px) {
    margin-top: .6rem;
    order: 3;
    display: flex;
    justify-content: space-between;

  }

  & .m-menu-a__items {
    margin-bottom: 1.6rem;

    @media (width >=768px) {
      margin-top: 0;
    }

    & a {
      text-transform: none;
    }
  }


  & a {
    color: var(--color-white);
    text-decoration: none;
  }
}
