/* The social buttons (owner 2026-12-06, docs section DP): the design system's SMALL button shape (32px high, 8px corners, 13px text) in a soft tint of each network's
   brand colour with the brand-coloured icon and the name; on a phone the listing page shows the logo alone in a 32px square. One component for the public listing page
   (.listing-social) and the admin Edit page's Social links rows (.adm-social-row), so the preview there is the real thing. The brand colours live here as variables
   (--social-ink the icon, --social-tint the fill) and nowhere else. */
.social-btn {
  --social-ink: #44555b;
  --social-tint: #f2f2f2;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-md, 8px);
  background: var(--social-tint);
  color: #33414a;
  font-size: 13px;
  line-height: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.social-btn .ph {
  color: var(--social-ink);
  font-size: 18px;
  line-height: 1;
}
a.social-btn:hover {
  color: #33414a;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--social-ink);
}
a.social-btn:focus-visible {
  outline: 2px solid var(--social-ink);
  outline-offset: 2px;
}
.social-btn--facebook { --social-ink: #1877f2; --social-tint: #e8f1fe; }
.social-btn--instagram { --social-ink: #dd2a7b; --social-tint: #fdeaf3; }
.social-btn--twitter { --social-ink: #111111; --social-tint: #ececec; }
.social-btn--linkedin { --social-ink: #0a66c2; --social-tint: #e6f0f9; }
.social-btn--pinterest { --social-ink: #e60023; --social-tint: #fde6e9; }
.social-btn--youtube { --social-ink: #ff0000; --social-tint: #ffe6e6; }
.social-btn--houzz { --social-ink: #4dbc15; --social-tint: #eaf7e1; }
/* An Inactive row's preview in the admin: gray with a dashed edge. */
.social-btn.is-off {
  --social-ink: #9a9ca8;
  --social-tint: #f2f2f2;
  border: 1px dashed #dedede;
  color: #9a9ca8;
}

/* The listing page's row of buttons. */
.listing-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Phone: the logo alone in a 32px square; the name stays as the accessible name (aria-label) and the hover tooltip (title). */
@media (max-width: 575.98px) {
  .listing-social .social-btn {
    width: 32px;
    padding: 0;
  }
  .listing-social .social-btn .ph {
    font-size: 20px;
  }
  .listing-social .social-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
  }
}
