.l-footer {
  position: relative;
  padding: 4rem 0;
}

.l-footer h2 { font-size: 21px; }

/* Flexbox */

.l-footer .l-flex {
  gap: 2rem;
  flex-direction: column;
}

@media (min-width: 992px) {
  .l-footer .l-flex {
    gap: 2rem;
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Footer first
   ========================================================================== */

/* Logo, see helpers.scss */

/* ==========================================================================
   Footer middle
   ========================================================================== */

/* Menu */

.l-footer__middle ul.menu {
  columns: 2;
  column-gap: 3rem;
}

.l-footer__middle ul.menu li {
  margin-bottom: 1rem;
}

.l-footer__middle ul.menu li a {
  font-family: var(--heading-font-family);
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
	text-decoration: none;
	color: black;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0% 100%;
	background-repeat: no-repeat;
	background-size: 0% 2px;
	transition: background-size .2s;
	padding: 0.15em 0; 
}

.l-footer__middle ul.menu li a:hover,
.l-footer__middle ul.menu li a:focus {
  background-size: 100% 2px;
}

/* ==========================================================================
   Footer last
   ========================================================================== */

/* General */

.l-footer h2 {
  margin-top: 0;
}

.l-footer__bottom {
  padding: 2em 0;
}

/* Link style */

.l-footer__last a {
	text-decoration: none;
	color: black;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0% 100%;
	background-repeat: no-repeat;
	background-size: 0% 1px;
	transition: background-size .2s;
	padding: 0.15em 0; 
}

.l-footer__last a:hover,
.l-footer__last a:focus {
  background-size: 100% 1px;
}

/* Socials */

.l-footer__last .socials {
  margin-top: 1rem;
}

.l-footer__last .socials ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.l-footer__last .socials ul {
  list-style: none;
}

.l-footer__last .socials ul li a {
  text-decoration: none;
  background-image: none;
}

.l-footer__last .socials ul li a:hover img,
.l-footer__last .socials ul li a:focus img {
  filter: grayscale(100%);
}
