footer.site-footer {
  background: #000;
  color: #fff;
  float: none;
  clear: both;
}

/* Inner wrapper: logo row + columns below */
footer.site-footer > div {
  width: 75%;
  margin: 0 auto;
  padding: 32px 0 24px;
  min-height: unset;
  display: flow-root;
}

/* Logo above the columns via pseudo-element */
footer.site-footer > div::before {
  content: "";
  display: block;
  width: 90px;
  height: 64px;
  background: url('/themes/twomanybikes/2manybikes.svg') no-repeat left center;
  background-size: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

/* Clearfix */
footer.site-footer > div::after {
  content: "";
  display: block;
  clear: both;
}

/* Column widths */
#block-views-block-content-recent-block-1 {
  width: 45%;
  float: left;
}
#block-twomanybikes-footer {
  width: 55%;
  float: left;
}

/* Section headings */
footer.site-footer #block-views-block-content-recent-block-1 h2 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 0 8px;
  margin: 0 0 8px;
  border-bottom: 2px solid #FFE800;
  display: block;
}

/* Recent articles list */
footer.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#block-views-block-content-recent-block-1 .item-list ul {
  padding: 0;
}
#block-views-block-content-recent-block-1 li {
  color: #bbb;
  padding: 4px 0;
  border-bottom: 1px solid #222;
  font-size: 0.82rem;
}
footer.site-footer #block-views-block-content-recent-block-1 li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
footer.site-footer #block-views-block-content-recent-block-1 li a:hover {
  color: #FFE800;
}

/* Footer nav links */
footer.site-footer #block-twomanybikes-footer li a {
  color: #bbb;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  display: inline-block;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
footer.site-footer #block-twomanybikes-footer li a:hover {
  color: #FFE800;
}
footer.site-footer li {
  list-style: none;
}

/* Underline animation on footer links */
footer.site-footer li a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #FFE800;
  transition: width 0.3s ease, left 0.3s ease;
  position: absolute;
  bottom: 0;
  left: 50%;
}
footer.site-footer li a:hover::after {
  width: 100%;
  left: 0;
}

@media (max-width: 900px) {
  #block-twomanybikes-footer,
  #block-views-block-content-recent-block-1 {
    float: none;
    width: 100%;
    margin-bottom: 16px;
  }
  footer.site-footer > div {
    padding: 24px 16px;
  }
}
