/* ==========================================================================
   Footer.css — Footer component
   --------------------------------------------------------------------------
      Contents: Design tokens • Layout • Logos/social • Bottom links • Responsive
   Notes: Scoped to .zl-footer to avoid cross-page overrides where possible.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */

:root {
  --footer-pad-x: clamp(16px, 3vw, 48px);
  --footer-pad-y: clamp(18px, 3vw, 34px);

  --footer-text: clamp(14px, 1vw, 18px);
  --footer-small: clamp(12px, 0.9vw, 15px);
}


/* --------------------------------------------------------------------------
   Footer layout
   -------------------------------------------------------------------------- */


.zl-footer {
  position: relative;
  background: #fff;
  z-index: 2;
}

.zl-footer .decorative-bar {
  width: 100%;
  height: 4px;
  background-color: #fff1e1;
  margin-bottom: 4px;
}

.zl-footer-top {
  background: #fff1e1;
  text-align: center;
  padding: var(--footer-pad-y) var(--footer-pad-x);
  box-sizing: border-box;
}

.zl-footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 50px);
}

.zl-footer-logo,
.zl-footer-erasmus {
  height: clamp(54px, 7vw, 100px);
  width: auto;
  max-width: 100%;
  display: block;
}

.zl-footer-social {
  width: fit-content;
  margin: 18px auto 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  padding-bottom: 18px;
  border-bottom: 1px solid #000;
}

.zl-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.zl-footer-social img {
  height: clamp(18px, 2.3vw, 24px);
  width: auto;
  display: block;
}

.zl-footer-eu-text {
  margin: 18px auto 0 auto;
  width: min(900px, 100%);

  color: #000;
  font-size: var(--footer-text);
  line-height: 1.5;
}

.zl-footer-bottom {
  background: #ffcc00;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 10px var(--footer-pad-x);
  box-sizing: border-box;
}

.zl-footer-link {
  background: transparent;
  border: 0;
  color: #404040;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;

  font-size: var(--footer-small);
  font-family: "Inter", sans-serif;
  font-weight: 600;

  text-decoration: underline;
  text-underline-offset: 3px;
}

.zl-footer-link:hover {
  opacity: 0.85;
}

.zl-footer-sep {
  color: #404040;
  line-height: 1;
}

@media (max-width: 425px) {

  .zl-footer-logo,
  .zl-footer-erasmus {
    height: 54px;
  }

  .zl-footer-social {
    gap: 14px;
  }

  .zl-footer-eu-text {
    font-size: 14px;
  }
}