/* Public World Champion profile */

.ch-page {
  background: #0b0b0b;
  color: #f5f5f5;
  min-height: calc(100vh - var(--header-h, 100px));
  padding-top: var(--header-h, 100px);
}

.ch-empty {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  text-align: center;
}

.ch-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.88)),
    var(--ch-banner, linear-gradient(135deg, #1a1a1a, #3a0a0a));
  background-size: cover;
  background-position: center;
  padding: 3rem 1.25rem 2.5rem;
}

.ch-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: end;
}

.ch-hero-photo {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid #e30613;
  background: #111;
}

.ch-hero-photo img,
.ch-hero-photo-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
}

.ch-kicker {
  margin: 0 0 0.35rem;
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ch-name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.1;
}

.ch-title,
.ch-tagline {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.82);
}

.ch-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.ch-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.35);
}

.ch-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.ch-quick a:not(.ch-social-icon) {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ch-social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.ch-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ch-social-icon:hover,
.ch-social-icon:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(227, 6, 19, 0.7);
  background: rgba(227, 6, 19, 0.9);
  color: #fff;
  outline: none;
}

.ch-social-icon svg {
  display: block;
  flex-shrink: 0;
}

.ch-social--icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ch-social--icons li {
  margin: 0;
}

.ch-social--icons .ch-social-icon {
  width: auto;
  min-width: 42px;
  height: 42px;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.ch-social-icon--instagram:hover,
.ch-social-icon--instagram:focus-visible {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

.ch-social-icon--facebook:hover,
.ch-social-icon--facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
}

.ch-social-icon--twitter:hover,
.ch-social-icon--twitter:focus-visible {
  background: #111;
  border-color: #fff;
}

.ch-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
  display: grid;
  gap: 1.5rem;
}

.ch-section {
  background: #141414;
  border: 1px solid #262626;
  border-radius: 10px;
  padding: 1.35rem 1.25rem;
}

.ch-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.ch-hof,
.ch-tech,
.ch-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ch-hof li,
.ch-tech li {
  padding: 0.65rem 0.8rem;
  background: #1c1c1c;
  border-radius: 6px;
}

.ch-tech li {
  display: grid;
  gap: 0.2rem;
}

.ch-tech span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.ch-seminar-grid,
.ch-product-grid,
.ch-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.ch-seminar,
.ch-product,
.ch-news-item {
  background: #1c1c1c;
  border-radius: 8px;
  padding: 1rem;
}

.ch-seminar-date {
  margin: 0 0 0.35rem;
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 700;
}

.ch-seminar h3,
.ch-product h3,
.ch-news-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.ch-seminar-loc,
.ch-seminar-spots,
.ch-product-price {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.ch-product-img {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: #111;
}

.ch-product-img img,
.ch-media-item img,
.ch-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ch-media-item {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.ch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: #e30613;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 2px;
  text-decoration: none;
}

.ch-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.ch-fan-note {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.ch-fan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sp-fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.85rem 1rem 1rem;
  margin: 0 0 1rem;
}

.sp-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.sp-technique-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.sp-banner-preview {
  margin-bottom: 0.75rem;
  border-radius: 8px;
  overflow: hidden;
  max-height: 180px;
}

.sp-banner-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.sp-table-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
}

.sp-inline-form {
  display: inline;
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 720px) {
  .ch-hero-inner {
    grid-template-columns: 1fr;
  }

  .ch-hero-photo {
    width: 120px;
    height: 120px;
  }

  .sp-technique-row {
    grid-template-columns: 1fr;
  }
}

/* ——— Public champions directory ——— */
.ch-page--directory {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(227, 6, 19, 0.22), transparent 55%),
    #090909;
}

.ch-dir-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.25rem 3.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ch-dir-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.55) 0%, rgba(20, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.75) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.015) 18px,
      rgba(255, 255, 255, 0.015) 19px
    );
  pointer-events: none;
}

.ch-dir-hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  animation: ch-dir-fade-up 0.7s ease both;
}

.ch-dir-title {
  margin: 0 0 0.85rem;
  display: grid;
  gap: 0.2rem;
  line-height: 0.95;
}

.ch-dir-title-brand {
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ch-dir-title-brand .brand-pre {
  color: #fff;
}

.ch-dir-title-accent {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 40px rgba(227, 6, 19, 0.35);
}

.ch-dir-lead {
  margin: 0 0 0.75rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.55;
}

.ch-dir-count {
  margin: 0;
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ch-dir-body {
  padding: 2.25rem 1.25rem 4rem;
}

.ch-dir-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.ch-empty--dir {
  background: #141414;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 3rem 1.5rem;
}

.ch-dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.ch-dir-card {
  position: relative;
  display: block;
  min-height: 360px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #121212;
  transform: translateY(0);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  animation: ch-dir-fade-up 0.65s ease both;
  animation-delay: calc(var(--ch-stagger, 0) * 0.05s);
}

.ch-dir-card[data-ch-stagger="0"] { --ch-stagger: 0; }
.ch-dir-card[data-ch-stagger="1"] { --ch-stagger: 1; }
.ch-dir-card[data-ch-stagger="2"] { --ch-stagger: 2; }
.ch-dir-card[data-ch-stagger="3"] { --ch-stagger: 3; }
.ch-dir-card[data-ch-stagger="4"] { --ch-stagger: 4; }
.ch-dir-card[data-ch-stagger="5"] { --ch-stagger: 5; }
.ch-dir-card[data-ch-stagger="6"] { --ch-stagger: 6; }
.ch-dir-card[data-ch-stagger="7"] { --ch-stagger: 7; }
.ch-dir-card[data-ch-stagger="8"] { --ch-stagger: 8; }

.ch-dir-card:hover,
.ch-dir-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(227, 6, 19, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  outline: none;
}

.ch-dir-card-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.15), rgba(8, 8, 8, 0.92) 62%),
    var(--ch-card-banner, linear-gradient(145deg, #1c1c1c, #3a0a0a 70%));
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.ch-dir-card:hover .ch-dir-card-media {
  transform: scale(1.05);
}

.ch-dir-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.88) 78%);
}

.ch-dir-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 360px;
  padding: 1.15rem 1.1rem 1.2rem;
  gap: 0.75rem;
}

.ch-dir-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e30613;
  background: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.45);
}

.ch-dir-avatar img,
.ch-dir-avatar-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
}

.ch-dir-card-copy {
  display: grid;
  gap: 0.28rem;
}

.ch-dir-verified {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f87171;
}

.ch-dir-name {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.ch-dir-role {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
}

.ch-dir-tagline {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.4;
}

.ch-dir-hof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.ch-dir-hof-chip {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ch-dir-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.ch-dir-cta {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.ch-dir-card:hover .ch-dir-cta {
  color: #f87171;
}

.ch-profile-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}

.ch-profile-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.ch-profile-nav a:hover {
  color: #fff;
}

@keyframes ch-dir-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .ch-dir-hero {
    padding: 3.25rem 1.1rem 2.5rem;
  }

  .ch-dir-card,
  .ch-dir-card-body {
    min-height: 320px;
  }
}
