.nav-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
}

.site-nav > .nav-external::after {
  display: none;
}

.linkedin-badge {
  display: inline-grid !important;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  color: #ffffff !important;
  background: #0a66c2 !important;
  border: 1px solid #084f98;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.24);
  line-height: 1;
  overflow: hidden;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.linkedin-badge > span {
  display: block;
  margin: 0;
  padding: 0;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  transform: translate(-0.02em, -0.02em);
}

.linkedin-badge-small {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.linkedin-badge-small > span {
  font-size: 13px;
}

.nav-external:hover .linkedin-badge,
.nav-external:focus-visible .linkedin-badge,
.contact-social:hover .linkedin-badge,
.contact-social:focus-visible .linkedin-badge,
.footer-linkedin:hover .linkedin-badge,
.footer-linkedin:focus-visible .linkedin-badge {
  background: #084f98 !important;
  border-color: #063f7a;
  box-shadow: 0 6px 16px rgba(10, 102, 194, 0.34);
  transform: translateY(-1px);
}

.contact-card-copy {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-card .contact-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 16px;
  padding-top: 0;
  color: var(--blue-deep);
  border-top: 0;
  border-radius: 999px;
  transition: transform 180ms ease;
}

.contact-card .contact-social:hover,
.contact-card .contact-social:focus-visible {
  transform: translateY(-1px);
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #aebbd0;
  transition: transform 180ms ease;
}

.footer-linkedin:hover,
.footer-linkedin:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .nav-external {
    justify-content: center;
  }
}