.strategy-footer-social,
.ecosystem-footer-social,
.company-footer-social,
.resources-footer-social,
.upreit-footer-social,
.association-footer-social,
.legal-footer-social,
.contact-footer-social,
.crays-footer-socials {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: auto;
}

.strategy-footer-social a,
.ecosystem-footer-social a,
.company-footer-social a,
.resources-footer-social a,
.upreit-footer-social a,
.association-footer-social a,
.legal-footer-social a,
.contact-footer-social a,
.crays-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: #061724;
  box-shadow: 0 12px 28px rgba(7, 21, 35, 0.14);
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.strategy-footer-social a:hover,
.ecosystem-footer-social a:hover,
.company-footer-social a:hover,
.resources-footer-social a:hover,
.upreit-footer-social a:hover,
.association-footer-social a:hover,
.legal-footer-social a:hover,
.contact-footer-social a:hover,
.crays-footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 18, 72, 0.7);
  background: #0b2234;
  box-shadow: 0 16px 34px rgba(243, 18, 72, 0.18);
}

.strategy-footer-social img,
.ecosystem-footer-social img,
.company-footer-social img,
.resources-footer-social img,
.upreit-footer-social img,
.association-footer-social img,
.legal-footer-social img,
.contact-footer-social img,
.crays-footer-socials img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

.legal-footer-social {
  align-self: flex-end;
  padding-bottom: 2px;
}

.ecosystem-footer-top {
  border-bottom: 1px solid rgba(8, 28, 46, 0.08);
}

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

.legal-footer-social a {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.legal-footer-social a:hover {
  background: rgba(243, 18, 72, 0.92);
  box-shadow: 0 14px 28px rgba(243, 18, 72, 0.24);
}

@media (max-width: 900px) {
  .strategy-footer-social,
  .ecosystem-footer-social,
  .company-footer-social,
  .resources-footer-social,
  .upreit-footer-social,
  .association-footer-social,
  .legal-footer-social,
  .contact-footer-social,
  .crays-footer-socials {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 0;
  }

  .strategy-footer-social a,
  .ecosystem-footer-social a,
  .company-footer-social a,
  .resources-footer-social a,
  .upreit-footer-social a,
  .association-footer-social a,
  .legal-footer-social a,
  .contact-footer-social a,
  .crays-footer-socials a {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .strategy-footer-social img,
  .ecosystem-footer-social img,
  .company-footer-social img,
  .resources-footer-social img,
  .upreit-footer-social img,
  .association-footer-social img,
  .legal-footer-social img,
  .contact-footer-social img,
  .crays-footer-socials img {
    width: 18px;
    height: 18px;
  }
}
