/* Shared customer navigation action skin, matching homepage .tp-section-link. */
.tp-section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--tp-radius-pill, 980px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: var(--tp-chalk, #f2f0e8);
  font-family: var(--ah-text, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Anuphan", "IBM Plex Sans Thai", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.tp-section-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  transform: translateY(-1px);
}

.tp-section-link:active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}

.tp-section-link:focus-visible {
  outline: 2px solid var(--tp-chalk, #f2f0e8);
  outline-offset: 3px;
}

.tp-article-back-pill.tp-section-link {
  gap: 8px;
  padding: 8px 16px;
  color: #b8b6aa;
  font-size: 13px;
  letter-spacing: 0;
}

.tp-article-back-pill.tp-section-link:hover {
  color: #fff;
}

.tp-article-back-pill.tp-section-link .tp-pill-arrow-back {
  font-size: 14px;
  line-height: 1;
  transition: transform 180ms ease;
}

.tp-article-back-pill.tp-section-link:hover .tp-pill-arrow-back {
  transform: translateX(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .tp-article-back-pill.tp-section-link .tp-pill-arrow-back {
    transition: none;
  }
}

/* The artist report stylesheet is linked from the page body, so keep this
   selector more specific than its legacy .musician-report link rules. */
.ah-main .musician-report > .ah-text-link.tp-section-link {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: var(--tp-chalk, #f2f0e8);
  font-size: 13px;
}

.ah-main .musician-report > .ah-text-link.tp-section-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .tp-section-link,
  .tp-section-link:active {
    transition: none;
  }
}

/* Keep directory navigation outside the page section and aligned with its content. */
.tp-directory-back-nav {
  width: min(100%, var(--ah-max-w-grid, 1180px));
  margin: clamp(24px, 4vw, 42px) auto 16px;
}

.tp-content-back-nav {
  width: 100%;
  margin: 0 auto 16px;
}

.tp-directory-back-nav .tp-section-link {
  margin-bottom: 0;
}

.ah-main > .tp-directory-back-nav + :is(.ah-artists-page, .ah-event-index) {
  margin-top: 0;
  padding-top: 0;
}

.ah-main .ah-artists-page .ah-artists-heading {
  margin-top: 0;
}

.tp-event-detail-back {
  margin-bottom: 14px;
}
