.footer {
  background-color: var(--color-navy);
  color: var(--colors-white);
  padding-top: 4rem;
  font-size: 1.1rem;
  @include breakpoint($medium) { padding-left: 80px; }

  * { color: currentColor; }
  a { text-decoration: none; }
  ul { padding-left: 0; }
  li { list-style-type: none; }

  &__content { 
    display: flex; 
    flex-wrap: wrap;
  }

  &--top { 
    display: block;

    @include breakpoint($large) {
      display: flex;
      justify-content: space-between;
    }
  }

  &__section { 
    flex-grow: 1;
    flex-basis: 15rem;
  }

  &__copyright,
  &__by-line { color: hsla(var(--white-hsl), 0.25); }
}

.footer__ribbon { 
  background: hsla(var(--black-hsl), 0.2);
  
  > * {
    display: flex;
    justify-content: space-between;
  }

  a:hover { color: white; }
}

.footer__logo {
  background-color: var(--color-navy);
  color: var(--colors-white);
  max-width: 140px;
  opacity: .25;
}

.footer__tagline {
  opacity: .25;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.56px;

  @include breakpoint($large) {
    font-size: 1.8rem; 
    flex-grow: 3;
  }
}

.footer__social {
  @include breakpoint($large) {
    flex-basis: 14.5rem;
    flex-grow: 1;
  }
}

.footer__button {
  @extend .u-button-reset;
  height: 32px;
  width: 32px;
  padding: 4px;

  border-radius: 0;
  opacity: .25;

  @include breakpoint($large) {
    height: 48px;
    width: 48px;
    padding: 8px;
  }
}

.footer__links {
  a {
    padding: .3rem 0;
  }
}

.footer__link {
  color: var(--colors-white);
  font-size: 1.1rem;
  font-weight: 300;
  
  // We should incorporate this in the mixin (typography)
  // color: var(--theme-color); 
  text-decoration: none;
  position: relative;
  
  &:before {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -2px;
    height: 0px;
    // height: 1px;
    // background-color: hsla(var(--theme-hsl), .2);
    background-color: hsla(var(--white-hsl), .2);
    transition: all .2s ease;
  }

  &:hover:before {
    height: 100%; 
    background-color: hsla(var(--white-hsl), .3);
    // background-color: hsla(var(--theme-hsl), .3);
  }
}
