/* Eljam3ia — logo + plaque licence Curaçao, centrés dans le footer */

footer.footer .footer__content {
  justify-content: center;
}

footer.footer .footer__content-left {
  align-items: center;
  text-align: center;
}

/* le logo et le copyright d'origine sont remplacés par leurs clones */
footer.footer .footer__content-left > svg.icon_logo_in_line,
footer.footer .footer__content-left > .footer__content-copyright {
  display: none;
}

footer.footer .wg-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0 auto 12px;
}

footer.footer .wg-brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

footer.footer .wg-brand-logo .footer__content-copyright {
  margin-top: 0;
  text-align: center;
  white-space: nowrap;
}

footer.footer .wg-brand-row .icon_logo_in_line {
  display: block;
  width: auto;
  height: 38px;
  flex: 0 0 auto;
}

footer.footer .wg-brand-row .wg-license-plaque {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

footer.footer .wg-brand-row .wg-license-link {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  cursor: pointer;
  transition: opacity .15s ease;
}

footer.footer .wg-brand-row .wg-license-link:hover {
  opacity: .8;
}

footer.footer .wg-brand-row .wg-license-plaque img {
  display: block;
  width: auto;
  height: 84px;
  max-width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
}

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

/* la navigation vide ajoutait une marge de 47 px qui décalait le bloc */
footer.footer .footer__content-right .footer__navigation:empty {
  margin-right: 0;
}

/* la plaque a quitté la barre du bas : on masque la colonne vide */
footer.footer .footer__license-left {
  display: none;
}

footer.footer .footer__license .container {
  justify-content: center;
}

/* aucun sceau CEG chargé : on retire la barre vide */
footer.footer.wg-license-bar-empty .footer__license {
  display: none;
}

@media (max-width: 1323px) {
  footer.footer .wg-brand-row {
    gap: 20px;
  }

  footer.footer .wg-brand-row .wg-license-plaque img {
    height: 74px;
  }
}

@media (max-width: 767px) {
  footer.footer .wg-brand-row {
    flex-direction: column;
    gap: 12px;
  }

  footer.footer .wg-brand-row .icon_logo_in_line {
    height: 34px;
  }

  footer.footer .wg-brand-row .wg-license-plaque img {
    width: min(330px, 86vw);
    height: auto;
  }
}
