/*
 * Shared public-site wordmark. The Cap Sheets header is the visual source of
 * truth: keep every public page on this single class to prevent brand drift.
 */
.cap-brand-link {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  color: #17211f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.cap-brand-link:hover,
.cap-brand-link:focus-visible {
  background: transparent;
  color: #f28c28;
}

.cap-brand-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid #f28c28;
  outline-offset: 4px;
}

.cap-brand-link .basketball-o {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 0.612em;
  height: 0.612em;
  margin: 0 0.02em;
  box-sizing: border-box;
  border: 1px solid rgba(23, 33, 31, 0.72);
  border-radius: 50%;
  background-color: #f28c28;
  background-image:
    linear-gradient(135deg, rgba(255, 248, 230, 0.22), transparent 42%),
    repeating-linear-gradient(18deg, rgba(23, 33, 31, 0.08) 0 0.7px, transparent 0.7px 4px),
    url("reedoball-favicon.svg");
  background-position: center;
  background-repeat: no-repeat, repeat, no-repeat;
  background-size: cover, auto, cover;
  background-blend-mode: screen, multiply, normal;
  box-shadow:
    0 0 0 0.6px rgba(23, 33, 31, 0.20),
    inset 0.7px -0.7px 0 rgba(23, 33, 31, 0.16),
    inset -0.7px 0.7px 0 rgba(255, 244, 220, 0.16);
  filter: saturate(0.84) contrast(1.10);
  overflow: hidden;
  transform: translateY(0.04em);
}

.cap-brand-link .basketball-o::before,
.cap-brand-link .basketball-o::after,
.cap-brand-link .basketball-o span::before,
.cap-brand-link .basketball-o span::after {
  content: none;
  display: none;
}

@media (max-width: 980px) {
  .cap-brand-link {
    align-self: flex-start;
    min-height: 44px;
    justify-content: center;
  }

  :where(.nav-links, .article-site-nav, .nav-actions, .cap-nav-actions) a,
  a.back-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    box-sizing: border-box;
  }
}

@media print {
  .cap-brand-link {
    color: #17211f;
  }
}
