/* WebEffects credit — out of document flow; requisites stay text-align:center */

.footer .we-requisites-row {
  position: relative !important;
  display: block !important;
  width: 100%;
  text-align: center !important;
  z-index: 2;
}

.footer .we-requisites-row .block-requisites__text {
  display: inline-block;
  max-width: calc(100% - 180px); /* leave room so absolute credit never overlaps text */
  margin: 0;
  vertical-align: middle;
}

.footer .we-requisites-row > .we-credit {
  position: absolute !important;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 20px;
  color: #fff !important;
  font-family: Montserrat, "Montserrat Alternates", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 0.08em !important;
}

.we-credit__logo {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.footer .we-credit__text,
.we-credit-mobile .we-credit__text {
  display: inline-block;
  align-self: center;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  font: inherit !important;
  letter-spacing: 0.08em !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.footer .we-requisites-row > .we-credit:hover .we-credit__text,
.footer .we-requisites-row > .we-credit:focus-visible .we-credit__text,
.we-credit-mobile .we-credit:hover .we-credit__text,
.we-credit-mobile .we-credit:focus-visible .we-credit__text {
  text-decoration: none !important;
}

/* Default: rely on Bootstrap d-lg-none — never force display here */
.we-credit-mobile {
  justify-content: center;
  align-items: center;
  /* leave room above sticky mobile iconbar */
  padding: 12px 16px 72px;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.we-credit-mobile .we-credit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: none;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 20px;
  color: #fff !important;
  font-family: Montserrat, "Montserrat Alternates", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
}

@media (max-width: 1199.98px) {
  .footer .we-requisites-row > .we-credit {
    font-size: 14px !important;
  }
  .footer .we-requisites-row > .we-credit .we-credit__logo {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  .footer .we-requisites-row .block-requisites__text {
    max-width: calc(100% - 150px);
  }
}
