.share-links {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-share-slot {
  display: block;
}

.hero-share-slot:empty {
  display: none;
}

.hero-share-slot .share-links {
  margin-top: 0;
}

.share-links__label {
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.68;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.share-links__button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: inherit;
  cursor: pointer;
  display: inline-grid;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  gap: 6px;
  justify-content: center;
  min-width: 48px;
  padding: 0;
  text-decoration: none;
}

.share-links__button:hover {
  background: transparent;
}

.share-links__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: inline-grid;
  height: 42px;
  justify-items: center;
  place-items: center;
  position: relative;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  width: 42px;
}

.share-links__button:hover .share-links__icon {
  border-color: rgba(213, 173, 69, 0.72);
  transform: translateY(-1px);
}

.share-links__text {
  color: currentColor;
  line-height: 1;
  opacity: 0.82;
  text-align: center;
}

.share-links__button--copy .share-links__icon::before,
.share-links__button--copy .share-links__icon::after {
  border: 2px solid currentColor;
  border-radius: 3px;
  content: "";
  height: 17px;
  position: absolute;
  width: 13px;
}

.share-links__button--copy .share-links__icon::before {
  opacity: 0.62;
  transform: translate(-4px, 4px);
}

.share-links__button--copy .share-links__icon::after {
  background: rgba(255, 255, 255, 0.08);
  transform: translate(3px, -3px);
}

.share-links__button--x .share-links__icon {
  background: #07090d;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.share-links__button--line .share-links__icon {
  background: #35c95a;
  color: #06250f;
}

.share-links__button--line .share-links__icon::before {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 21px;
  position: absolute;
  width: 26px;
}

.share-links__button--line .share-links__icon::after {
  border-left: 6px solid #fff;
  border-top: 6px solid transparent;
  bottom: 10px;
  content: "";
  height: 0;
  position: absolute;
  right: 11px;
  transform: rotate(14deg);
  width: 0;
}

.share-links__button.is-copied {
  color: #111;
}

.share-links__button.is-copied .share-links__icon {
  background: #d5ad45;
  border-color: #d5ad45;
  color: #111;
}

.hero-visual + .share-links,
.hero-card + .share-links {
  margin-top: 0;
}

@media (max-width: 720px) {
  .share-links {
    gap: 11px;
  }

  .share-links__button {
    min-width: 46px;
  }

  .share-links__icon {
    height: 40px;
    width: 40px;
  }
}
