.ctc-share {
  --ctc-share-border: rgba(20, 18, 17, 0.12);
  --ctc-share-surface: rgba(255, 255, 255, 0.82);
  --ctc-share-text: var(--wp--preset--color--text-strong, #141211);
  --ctc-share-muted: var(--wp--preset--color--text-muted, rgba(20, 18, 17, 0.68));
  display: grid;
  gap: 18px;
}

.ctc-share__title {
  margin: 0;
  color: var(--ctc-share-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ctc-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ctc-share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--ctc-share-border);
  border-radius: 999px;
  background: var(--ctc-share-surface);
  backdrop-filter: blur(14px);
  color: var(--ctc-share-text);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(20, 18, 17, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.ctc-share__link:hover,
.ctc-share__link:focus-visible {
  color: var(--ctc-share-brand);
  border-color: color-mix(in srgb, var(--ctc-share-brand) 32%, white);
  background: color-mix(in srgb, var(--ctc-share-brand) 8%, white);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--ctc-share-brand) 14%, transparent);
  transform: translateY(-2px);
}

.ctc-share__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.ctc-share__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ctc-share__label {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
}

.ctc-share--empty {
  padding: 18px 20px;
  border: 1px dashed var(--ctc-share-border);
  border-radius: 20px;
}

.ctc-share--empty p {
  margin: 0;
  color: var(--ctc-share-muted);
}

@media (max-width: 640px) {
  .ctc-share__list {
    gap: 10px;
  }

  .ctc-share__link {
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
  }

  .ctc-share__label {
    font-size: 0.88rem;
  }
}
