/* --- Socials --- */
.social-box {
  display: inline-flex;
  flex-wrap: wrap;
}
.social-box.social-fixed {
  flex-direction: column;
  position: fixed;
  z-index: 1000;
  left: 0;
  bottom: 15%;
}
.social-box.social-fixed.social-top {
  top: 15%;
  bottom: auto;
}
.social-box.social-fixed.social-right {
  right: 0;
  left: auto;
}
.social-box a {
  position: relative;
}
.social-box a, .social-box a:hover {
  color: #fff;
  text-decoration: none;
}
.social-box a:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
}

.social-item {
  display: flex;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
}
.social-item img {
  width: 2rem;
  height: 2rem;
  display: block;
}
.social-item > div:last-child {
  padding-left: 0.125rem;
  min-width: 3rem;
  display: none;
}

.social-box.social-expanded .social-item > div:last-child {
  display: block;
}

.social-box.social-small .social-item {
  font-size: 0.875rem;
}
.social-box.social-small .social-item img {
  width: 1.125rem;
  height: 1.125rem;
}

@media (max-width: 600px) {
  .social-box.social-fixed {
    inset: auto 0 0 0 !important;
    flex-direction: row;
  }
  .social-box.social-fixed > a {
    flex: auto;
  }
  .social-box.social-fixed .social-item {
    display: flex;
    padding: 0.25rem;
  }
}
.social-modal {
  max-width: 600px;
}
.social-modal ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.social-modal ul li {
  width: 33.3333333333%;
  margin: 0;
  list-style: none;
  overflow: hidden;
  min-width: 120px;
}
.social-modal ul li a {
  display: block;
  text-decoration: none;
}
.social-modal ul li a:hover {
  background-color: var(--regular-bg-color);
}
.social-modal ul li a > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}
.social-modal ul li a > div img {
  padding: 0.125rem;
  border-radius: 0.125rem;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  vertical-align: bottom;
}