footer {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--color-ink);
  border-top: 1px solid var(--color-ink);
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
  padding: 24px 20px;
}

.footer .logo {
  display: flex;
  align-items: center;
}

/* the logo image already carries its own red "BNI" mark, so no separate
   red accent square in front of it here (matches the same change on the
   header logo). */
.footer .logo-img {
  display: block;
  height: 22px;
  width: auto;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
}

.footer-menu a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-on-dark-body);
}

.footer-menu a:hover {
  color: var(--color-on-dark);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: var(--color-on-dark-body);
}

.footer-social a:hover {
  color: var(--color-on-dark);
}

.copyright-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid var(--color-line-dark);
}

.copyright-text .p1 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--color-on-dark-body);
}

.copyright-text a.p1 {
  color: var(--color-on-dark-body);
}

.copyright-text a.p1:hover {
  color: var(--color-on-dark);
}

#admin-button {
  position: fixed;
  display: flex;
  justify-content: end;
  align-items: center;
  text-decoration: none;
  right: 0;
  bottom: 100px;
  z-index: 1;

  &>button {
    font-size: 2rem;
    font-weight: 600;
    padding: 0.2em 0.2em;
    background-color: lightgrey;
    color: white;
    border: none;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
  }
  &>button:hover {
    background-color: grey;
  }

}
#whatsapp-button {
  position: fixed;
  right: 16px;
  bottom: 50px;
  z-index: 2;
  text-decoration: none;
}

#whatsapp-button button {
  font-size: 2.5rem;
  padding: 0.2em 0.3em;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

#whatsapp-button button:hover {
  background-color: #128C7E;
}

@media screen and (min-width: 769px) {
  .footer,
  .copyright-text {
    padding-left: 50px;
    padding-right: 50px;
  }

  .footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}
