/* Shared public-profile components. Templates own layout; every component uses the saved athlete palette. */

.section.dark .highlight-shell p {
  color: var(--athlete-primary-text);
}

.social-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.section.dark .social-card-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-top: 0;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb,var(--athlete-secondary) 55%,transparent);
  border-radius: 999px;
  background: color-mix(in srgb,var(--athlete-primary-text) 4%,transparent);
  color: var(--athlete-secondary);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .03em;
}

.section.dark .social-card-links a:hover {
  background: var(--athlete-secondary);
  color: var(--athlete-secondary-text);
}

.handedness-badge {
  display: inline-grid;
  grid-template-columns: 32px minmax(42px,auto);
  align-items: center;
  column-gap: 8px;
}

.handedness-circle {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  justify-self: center;
  border: 2px solid var(--athlete-accent);
  border-radius: 50%;
  background: var(--athlete-secondary);
  color: var(--athlete-secondary-text);
  font-size: .78rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 0 2px color-mix(in srgb,var(--athlete-primary) 78%,transparent);
}

.handedness-word {
  color: inherit;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-meta .handedness-badge {
  grid-template-columns: 29px auto;
  column-gap: 6px;
}

.hero-meta .handedness-circle {
  width: 27px;
  height: 27px;
  font-size: .72rem;
}

.handedness-ribbon {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 8px;
  width: 100%;
}

.handedness-ribbon-row {
  color: var(--cp-muted, var(--muted));
  font-size: .57rem;
  font-weight: 950;
  display: grid;
  grid-template-columns: 70px 32px minmax(42px,1fr);
  align-items: center;
  column-gap: 8px;
  width: 100%;
}

.handedness-ribbon-label {
  color: var(--cp-muted, var(--muted));
  font-size: .57rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.handedness-ribbon-row .handedness-badge {
  display: contents;
}

.handedness-ribbon-row .handedness-circle {
  grid-column: 2;
  justify-self: center;
}

.handedness-ribbon-row .handedness-word {
  grid-column: 3;
  justify-self: start;
}

.recruiting-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 104px;
  padding: 16px 32px;
  border-top: 1px solid color-mix(in srgb,var(--athlete-secondary) 24%,transparent);
  border-bottom: 1px solid var(--cp-line,#dde3df);
  background: var(--athlete-primary);
  color: var(--athlete-primary-text);
}

.recruiting-partner-logo {
  display: block;
  width: 88px;
  height: 68px;
  padding: 5px;
  border: 1px solid color-mix(in srgb,var(--athlete-primary-text) 20%,transparent);
  border-radius: 7px;
  background: var(--athlete-accent);
  object-fit: contain;
}

.recruiting-partner-copy span,.recruiting-partner-copy strong {
  display: block;
}

.recruiting-partner-copy span {
  color: var(--cp-green,#39ff14);
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.recruiting-partner-copy strong {
  margin-top: 5px;
  font-size: 1.05rem;
  letter-spacing: .025em;
}

@media (max-width:650px) {
  .handedness-circle {
    width: 28px;
    height: 28px;
  }

  .handedness-word {
    font-size: .66rem;
  }

  .handedness-ribbon-row {
    grid-template-columns: 62px 30px minmax(38px,1fr);
  }
}

.sponsor-strip {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 24px;
  background: var(--athlete-primary);
  border-top: 1px solid var(--cp-line);
}

.sponsor-strip-label {
  color: var(--athlete-primary-text);
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sponsor-strip img {
  display: block;
  max-width: 220px;
  max-height: 60px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .sponsor-strip {
    flex-direction: column;
  }

  .sponsor-strip img {
    max-width: 180px;
  }
}
