/**
 * footer.css — Logos Publicity Ltd
 *
 * Owns: #footer, #footer .footer-top, #footer .footer-bottom,
 *       #footer .copyright, #footer .credits, all #footer .* selectors.
 *
 * Migration status: Step 2 — extracted from style.css lines 4629–4780 (pre-extraction numbering).
 * Note: The background image path is relative to the CSS file location (assets-v2/css/).
 * Loaded in all HTML pages via inject script after style.css.
 */

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: url("../images/site/footer_img1.jpg") center center no-repeat;
  color: #fff;
  font-size: 14px;
  position: relative;
  background-size: cover;
}

#footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 1;
}

#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
}

#footer .footer-top .footer-logo img {
  height: 130px;
  width: auto;
  max-width: min(70vw, 320px);
}

#footer .footer-top h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 30px 0 0 0;
  margin-bottom: 0;
}

#footer .footer-top p {
  font-size: 15px;
  font-style: italic;
  margin: 30px 0 0 0;
  padding: 0;
}

#footer .footer-top .footer-newsletter {
  text-align: center;
  font-size: 15px;
  margin-top: 30px;
}

#footer .footer-top .footer-newsletter form {
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 0px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 1px solid #fff;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #000;
  color: #fff;
  transition: 0.3s;
  border-radius: 0px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #fff;
  color: #000;
}

#footer .footer-top .social-links {
  margin-top: 30px;
}

#footer .footer-quick-links {
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

#footer .footer-quick-links a,
#footer .footer-contact-meta a {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

#footer .footer-quick-links a:hover,
#footer .footer-quick-links a:focus,
#footer .footer-contact-meta a:hover,
#footer .footer-contact-meta a:focus {
  color: #fff;
  text-decoration: underline;
}

#footer .footer-contact-meta {
  margin: 18px auto 0;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

#footer .footer-contact-meta address {
  margin: 0;
  font-style: normal;
}

#footer .footer-contact-meta address a {
  color: inherit;
}

#footer .footer-top .social-links a {
  position: relative;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 0.5px solid #fff;
  line-height: 1;
  padding: 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

#footer .footer-top .social-links a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

#footer .footer-top .social-links a:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

#footer .footer-bottom {
  border-top: 1px solid #222222;
  z-index: 2;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  padding-top: 5px;
}

#footer .footer-top {
  padding: 60px 0;
}

#footer .footer-top .footer-logo img {
  height: clamp(92px, 12vw, 130px);
}

#footer .footer-hub-link {
  margin: 20px 0;
}

#footer .footer-quick-links {
  margin-top: 20px;
  gap: 12px 20px;
}

#footer .footer-contact-meta {
  margin-top: 20px;
  gap: 12px 20px;
}

#footer .footer-affiliation {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

#footer .footer-affiliation img {
  display: block;
  width: auto;
  height: clamp(13px, 2vw, 18px);
  max-width: min(110px, 42vw);
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

#footer .footer-top .social-links {
  margin-top: 40px;
}

#footer .footer-bottom {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#footer .footer-bottom__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  width: 100%;
}

#footer .footer-legal-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

#footer .footer-legal-links a {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

#footer .footer-legal-links a:hover,
#footer .footer-legal-links a:focus {
  color: #fff;
  text-decoration: underline;
}

#footer .footer-legal-links__sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1;
}

#footer .copyright {
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  #footer .footer-top {
    padding: 40px 0;
  }

  #footer .footer-contact-meta,
  #footer .footer-quick-links {
    flex-direction: column;
  }

  #footer .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #footer .footer-bottom__row {
    flex-direction: column;
    gap: 0.5rem;
  }

  #footer .copyright,
  #footer .footer-legal-links a {
    white-space: normal;
    text-align: center;
  }

  #footer .copyright {
    font-size: 11px;
  }
}
