/* === Shared Footer ===
   Used by both website and LMS portal.
   Content differs, design is identical.
*/

.footer {
  background: var(--black);
  color: var(--dimma);
  padding: 3rem 0;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo img {
  height: 22px;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer__links a {
  font-size: 0.8125rem;
  color: var(--dimma);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  justify-content: center;
}

.footer__legal a {
  font-size: 0.75rem;
  color: var(--dimma);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer__legal a:hover {
  opacity: 1;
}

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.4;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

.footer__copy a {
  color: inherit;
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
