/* Homepage team social icons.
 * The card is now an <article>; the old <a.boffo-team__person> link
 * styles are applied to .boffo-team__main so layout holds.
 * Gold is used only on the SVG at hover/focus-visible, not on text.
 */

.boffo-team__person {
  display: block;
  color: inherit;
  text-align: center;
}

.boffo-team__main {
  display: block;
  color: inherit;
  text-decoration: none;
}

.boffo-team__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.boffo-team__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
  color: var(--navy, #0d2436);
  text-decoration: none;
  border-radius: 4px;
  box-sizing: border-box;
}

.boffo-team__social-link svg,
.boffo-team__social-icon {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--navy, #0d2436);
  fill: currentColor;
  stroke: none;
  flex: 0 0 auto;
  transition: color 180ms ease-out, fill 180ms ease-out, stroke 180ms ease-out;
}

.boffo-team__social-text {
  font-family: "Ubuntu", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--navy, #0d2436);
  line-height: 1.2;
}

.boffo-team__social-link:focus-visible {
  outline: 2px solid var(--navy, #0d2436);
  outline-offset: 2px;
}

.boffo-team__social-link:focus-visible svg,
.boffo-team__social-link:focus-visible .boffo-team__social-icon {
  color: var(--gold, #98783a);
  fill: currentColor;
}

@media (hover: hover) {
  .boffo-team__social-link:hover svg,
  .boffo-team__social-link:hover .boffo-team__social-icon {
    color: var(--gold, #98783a);
    fill: currentColor;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boffo-team__social-link svg,
  .boffo-team__social-icon {
    transition: none;
  }
}

@media (max-width: 767px) {
  .boffo-team__social-link {
    min-width: 44px;
    min-height: 44px;
  }
}
