/*
 * RuniverseHub UI V2 · Public domain bundle
 * F3A/F3B: Home y explorador público derivados de Runiverse Hub Unified (16).
 * No contiene selectores por archivo PHP ni excepciones de una ruta aislada.
 */

body.rh-v2-public-page {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  background: var(--rh-v2-color-background);
}

body.rh-v2-public-page > .rh-public-breadcrumbs,
body.rh-v2-public-page > .rh-share-card,
body.rh-v2-public-page > .rh-footer {
  display: none;
}

.rh-v2-public-container {
  width: min(100%, var(--rh-v2-container-2xl));
  margin-inline: auto;
  padding-inline: var(--rh-v2-gutter);
}

.rh-v2-public-home {
  min-width: 0;
  overflow: clip;
  background: var(--rh-v2-color-background);
  color: var(--rh-v2-color-foreground);
}

.rh-v2-public-home em {
  color: var(--rh-v2-color-primary);
  font-style: normal;
}

.rh-v2-public-home svg,
.rh-v2-public-footer svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.rh-v2-public-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(38rem, 78vh, 54rem);
  overflow: hidden;
  border-bottom: 1px solid var(--rh-v2-color-border);
}

.rh-v2-public-hero__media,
.rh-v2-public-hero__media::after {
  position: absolute;
  inset: 0;
}

.rh-v2-public-hero__media {
  z-index: -2;
}

.rh-v2-public-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.rh-v2-public-hero__media span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.12 0.02 240 / 52%) 0%, oklch(0.12 0.02 240 / 66%) 42%, oklch(0.12 0.02 240 / 96%) 100%),
    radial-gradient(56rem 32rem at 15% 30%, color-mix(in oklab, var(--rh-v2-color-primary) 35%, transparent), transparent 70%);
}

.rh-v2-public-hero__grid {
  display: grid;
  min-height: clamp(38rem, 78vh, 54rem);
  align-items: end;
  gap: var(--rh-v2-space-10);
  padding-top: clamp(5rem, 12vw, 8rem);
  padding-bottom: clamp(4rem, 9vw, 6rem);
}

.rh-v2-public-hero__copy {
  min-width: 0;
  color: white;
}

.rh-v2-public-hero__chip {
  margin-bottom: var(--rh-v2-space-5);
  border-color: oklch(1 0 0 / 20%);
  background: oklch(1 0 0 / 10%);
  color: oklch(1 0 0 / 90%);
  backdrop-filter: blur(12px);
}

.rh-v2-public-hero__chip i,
.rh-v2-public-hero__stats i {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 0.4rem;
  border-radius: 50%;
  background: var(--rh-v2-color-primary);
}

.rh-v2-public-hero h1 {
  max-width: 54rem;
  color: white;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: var(--rh-v2-weight-semibold);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.rh-v2-public-hero__copy > p {
  max-width: 44rem;
  margin-top: var(--rh-v2-space-5);
  color: oklch(1 0 0 / 80%);
  font-size: clamp(var(--rh-v2-text-base), 2.4vw, var(--rh-v2-text-xl));
  line-height: var(--rh-v2-leading-relaxed);
}

.rh-v2-public-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-8);
}

.rh-v2-public-hero__actions .rh-v2-button--outline {
  border-color: oklch(1 0 0 / 25%);
  background: oklch(1 0 0 / 10%);
  color: white;
  backdrop-filter: blur(12px);
}

.rh-v2-public-hero__actions .rh-v2-button--outline:hover,
.rh-v2-public-hero__actions .rh-v2-button--ghost:hover {
  background: oklch(1 0 0 / 18%);
  color: white;
}

.rh-v2-public-hero__actions .rh-v2-button--ghost {
  color: oklch(1 0 0 / 86%);
}

.rh-v2-public-hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--rh-v2-space-3) var(--rh-v2-space-8);
  margin-top: var(--rh-v2-space-10);
  color: oklch(1 0 0 / 60%);
  font-size: var(--rh-v2-text-xs);
  font-weight: var(--rh-v2-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rh-v2-public-hero__stats span:first-child {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
}

.rh-v2-public-hero__stats i {
  background: var(--rh-v2-color-success);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--rh-v2-color-success) 40%, transparent);
  animation: rh-v2-public-pulse 2s ease-out infinite;
}

@keyframes rh-v2-public-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--rh-v2-color-success) 40%, transparent); }
  70% { box-shadow: 0 0 0 0.45rem transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.rh-v2-public-search {
  align-self: end;
  padding: var(--rh-v2-space-5);
  border-color: oklch(1 0 0 / 12%);
  background: color-mix(in oklab, var(--rh-v2-color-background) 85%, transparent);
  box-shadow: var(--rh-v2-shadow-panel);
  backdrop-filter: blur(18px);
}

.rh-v2-public-search > label {
  display: block;
  margin-bottom: var(--rh-v2-space-2);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
  font-weight: var(--rh-v2-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rh-v2-public-search__field {
  display: flex;
  min-height: var(--rh-v2-touch-target);
  align-items: center;
  gap: var(--rh-v2-space-2);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-md);
  padding-inline: var(--rh-v2-space-3);
  background: color-mix(in oklab, var(--rh-v2-color-surface) 76%, transparent);
  transition: border-color var(--rh-v2-motion-fast) var(--rh-v2-ease-standard), box-shadow var(--rh-v2-motion-fast) var(--rh-v2-ease-standard);
}

.rh-v2-public-search__field:focus-within {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 60%, transparent);
  box-shadow: var(--rh-v2-shadow-focus);
}

.rh-v2-public-search__field svg {
  color: var(--rh-v2-color-muted-foreground);
}

.rh-v2-public-search__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rh-v2-color-foreground);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-public-search__field input::placeholder {
  color: var(--rh-v2-color-muted-foreground);
}

.rh-v2-public-search__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rh-v2-space-2);
  margin-top: var(--rh-v2-space-3);
}

.rh-v2-public-search__chips button,
.rh-v2-public-share button {
  min-height: 2rem;
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-md);
  background: transparent;
  color: var(--rh-v2-color-foreground);
  font-size: var(--rh-v2-text-xs);
  cursor: pointer;
  transition: border-color var(--rh-v2-motion-fast) var(--rh-v2-ease-standard), background var(--rh-v2-motion-fast) var(--rh-v2-ease-standard), color var(--rh-v2-motion-fast) var(--rh-v2-ease-standard);
}

.rh-v2-public-search__chips button:hover,
.rh-v2-public-search__chips button[aria-pressed="true"] {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 46%, var(--rh-v2-color-border));
  background: color-mix(in oklab, var(--rh-v2-color-primary) 12%, var(--rh-v2-color-surface-2));
  color: var(--rh-v2-color-primary);
}

.rh-v2-public-search__submit {
  display: inline-flex;
  width: 100%;
  min-height: var(--rh-v2-touch-target);
  margin-top: var(--rh-v2-space-3);
  align-items: center;
  justify-content: center;
  gap: var(--rh-v2-space-2);
  border: 1px solid transparent;
  border-radius: var(--rh-v2-radius-md);
  background: var(--rh-v2-color-primary);
  color: var(--rh-v2-color-primary-foreground);
  font-weight: var(--rh-v2-weight-semibold);
  cursor: pointer;
}

.rh-v2-public-search > a {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-1);
  margin-top: var(--rh-v2-space-4);
  color: var(--rh-v2-color-primary);
  font-size: var(--rh-v2-text-sm);
  text-decoration: none;
}

.rh-v2-public-section {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.rh-v2-public-section--sport {
  border-block: 1px solid var(--rh-v2-color-border);
  background:
    radial-gradient(56rem 28rem at 10% 0%, color-mix(in oklab, var(--rh-v2-color-primary) 15%, transparent), transparent 65%),
    radial-gradient(48rem 24rem at 100% 100%, color-mix(in oklab, var(--rh-v2-role-organizer) 12%, transparent), transparent 62%),
    linear-gradient(180deg, color-mix(in oklab, var(--rh-v2-color-surface-2) 55%, transparent), var(--rh-v2-color-background));
}

.rh-v2-public-section--muted {
  border-block: 1px solid var(--rh-v2-color-border);
  background: color-mix(in oklab, var(--rh-v2-color-surface-2) 42%, transparent);
}

.rh-v2-public-section__head {
  display: flex;
  max-width: 56rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--rh-v2-space-3);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.rh-v2-public-section__head--center {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

.rh-v2-public-section__head--row {
  max-width: none;
}

.rh-v2-public-section__head h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.12;
}

.rh-v2-public-section__head > a {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-1);
  color: var(--rh-v2-color-primary);
  font-size: var(--rh-v2-text-sm);
  text-decoration: none;
}

.rh-v2-public-journey {
  position: relative;
}

.rh-v2-public-journey__line {
  display: none;
}

.rh-v2-public-journey ol {
  display: grid;
  list-style: none;
  gap: var(--rh-v2-space-6);
}

.rh-v2-public-journey li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rh-v2-public-journey__identity {
  display: flex;
  align-items: center;
  gap: var(--rh-v2-space-3);
}

.rh-v2-public-journey__icon {
  position: relative;
  display: grid;
  width: 4rem;
  height: 4rem;
  flex: 0 0 4rem;
  place-items: center;
  border: 1px solid var(--rh-v2-color-border);
  border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in oklab, var(--rh-v2-color-primary) 15%, var(--rh-v2-color-surface-2)), var(--rh-v2-color-surface-2));
  color: var(--rh-v2-color-primary);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--rh-v2-color-primary) 30%, transparent);
}

.rh-v2-public-journey__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.rh-v2-public-journey__icon i {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--rh-v2-color-primary);
  color: var(--rh-v2-color-primary-foreground);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: var(--rh-v2-weight-semibold);
}

.rh-v2-public-journey strong {
  font-family: var(--rh-v2-font-display);
  font-weight: var(--rh-v2-weight-semibold);
}

.rh-v2-public-journey p {
  max-width: 26rem;
  margin-top: var(--rh-v2-space-2);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-public-event-grid {
  display: grid;
  gap: var(--rh-v2-space-4);
}

.rh-v2-public-event-grid__featured {
  min-width: 0;
}

.rh-v2-public-event-featured {
  position: relative;
  display: block;
  min-height: clamp(22rem, 54vw, 35rem);
  overflow: hidden;
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-2xl);
  color: white;
  text-decoration: none;
  box-shadow: var(--rh-v2-shadow-lg);
}

.rh-v2-public-event-featured:hover {
  color: white;
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 40%, var(--rh-v2-color-border));
}

.rh-v2-public-event-featured > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--rh-v2-ease-standard);
}

.rh-v2-public-event-featured:hover > img {
  transform: scale(1.04);
}

.rh-v2-public-event-featured__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.1 0.02 240 / 15%) 0%, oklch(0.1 0.02 240 / 56%) 55%, oklch(0.1 0.02 240 / 96%) 100%);
}

.rh-v2-public-event-featured__badges {
  position: absolute;
  top: var(--rh-v2-space-4);
  left: var(--rh-v2-space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-2);
}

.rh-v2-public-event-featured__badges .rh-v2-chip {
  border-color: oklch(1 0 0 / 22%);
  background: oklch(0.12 0.02 240 / 70%);
  color: white;
  backdrop-filter: blur(12px);
}

.rh-v2-public-event-featured__content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.rh-v2-public-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-1) var(--rh-v2-space-4);
  color: oklch(1 0 0 / 80%);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-public-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-1);
}

.rh-v2-public-event-featured h3 {
  max-width: 56rem;
  margin-top: var(--rh-v2-space-2);
  color: white;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.08;
}

.rh-v2-public-event-featured__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-3);
}

.rh-v2-public-distance-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-2);
}

.rh-v2-public-distance-list span,
.rh-v2-public-event-card__distances i {
  border: 1px solid oklch(1 0 0 / 22%);
  border-radius: var(--rh-v2-radius-md);
  background: oklch(1 0 0 / 10%);
  color: white;
  padding: 0.2rem 0.5rem;
  font-size: var(--rh-v2-text-xs);
  font-style: normal;
  backdrop-filter: blur(10px);
}

.rh-v2-public-event-link {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-1);
  color: var(--rh-v2-color-primary);
  font-size: var(--rh-v2-text-sm);
  font-weight: var(--rh-v2-weight-medium);
}

.rh-v2-public-event-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.rh-v2-public-event-card:hover {
  color: inherit;
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 42%, var(--rh-v2-color-border));
}

.rh-v2-public-event-card__media {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.rh-v2-public-event-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--rh-v2-ease-standard);
}

.rh-v2-public-event-card:hover .rh-v2-public-event-card__media > img {
  transform: scale(1.04);
}

.rh-v2-public-event-card__media > span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, oklch(0.1 0.02 240 / 35%) 58%, oklch(0.1 0.02 240 / 88%) 100%);
}

.rh-v2-public-event-card__distances {
  position: absolute;
  top: var(--rh-v2-space-3);
  left: var(--rh-v2-space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-1);
}

.rh-v2-public-event-card__meta {
  position: absolute;
  right: var(--rh-v2-space-3);
  bottom: var(--rh-v2-space-3);
  left: var(--rh-v2-space-3);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--rh-v2-space-2);
  color: white;
  font-family: var(--rh-v2-font-mono);
  font-size: var(--rh-v2-text-xs-alt);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rh-v2-public-event-card__meta span:last-child {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: var(--rh-v2-space-1);
  overflow: hidden;
  font-family: var(--rh-v2-font-sans);
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.rh-v2-public-event-card__body {
  padding: var(--rh-v2-space-4);
}

.rh-v2-public-event-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: var(--rh-v2-text-lg);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rh-v2-public-event-card__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rh-v2-space-2);
  margin-top: var(--rh-v2-space-4);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-public-event-card__status span,
.rh-v2-public-event-card__status strong {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-1);
}

.rh-v2-public-event-card__status span {
  color: var(--rh-v2-color-success);
}

.rh-v2-public-event-card__status span i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}

.rh-v2-public-event-card__status strong {
  color: var(--rh-v2-color-primary);
  font-weight: var(--rh-v2-weight-medium);
}

.rh-v2-public-audience-grid {
  display: grid;
  gap: var(--rh-v2-space-6);
}

.rh-v2-public-audience {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: var(--rh-v2-space-5);
  --rh-v2-public-audience-color: var(--rh-v2-role-athlete);
}

.rh-v2-public-audience--organizer {
  --rh-v2-public-audience-color: var(--rh-v2-role-organizer);
}

.rh-v2-public-audience--team {
  --rh-v2-public-audience-color: var(--rh-v2-role-team);
}

.rh-v2-public-audience:hover {
  border-color: color-mix(in oklab, var(--rh-v2-public-audience-color) 38%, var(--rh-v2-color-border));
  box-shadow: 0 16px 44px color-mix(in oklab, var(--rh-v2-public-audience-color) 10%, transparent);
}

.rh-v2-public-audience__identity {
  display: flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  margin-bottom: var(--rh-v2-space-3);
}

.rh-v2-public-audience__identity > span,
.rh-v2-public-audience li > span,
.rh-v2-public-trust-grid article > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: color-mix(in oklab, var(--rh-v2-public-audience-color) 18%, transparent);
  color: var(--rh-v2-public-audience-color);
}

.rh-v2-public-audience__identity > span {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--rh-v2-radius-md);
}

.rh-v2-public-audience__identity small {
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rh-v2-public-audience h3 {
  font-size: var(--rh-v2-text-xl);
  line-height: var(--rh-v2-leading-snug);
}

.rh-v2-public-audience__media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: var(--rh-v2-space-4);
  overflow: hidden;
  border-radius: var(--rh-v2-radius-md);
}

.rh-v2-public-audience__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-v2-public-audience__media span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, oklch(0.1 0.02 240 / 62%));
}

.rh-v2-public-audience ul {
  display: grid;
  flex: 1;
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-4);
  list-style: none;
}

.rh-v2-public-audience li {
  display: flex;
  align-items: flex-start;
  gap: var(--rh-v2-space-3);
}

.rh-v2-public-audience li > span {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border-radius: var(--rh-v2-radius-md);
}

.rh-v2-public-audience li > span svg {
  width: 0.875rem;
  height: 0.875rem;
}

.rh-v2-public-audience li p {
  color: color-mix(in oklab, var(--rh-v2-color-foreground) 90%, transparent);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-public-audience > a {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-1);
  margin-top: var(--rh-v2-space-5);
  color: var(--rh-v2-public-audience-color);
  font-size: var(--rh-v2-text-sm);
  font-weight: var(--rh-v2-weight-medium);
  text-decoration: none;
}

.rh-v2-public-trust-grid {
  display: grid;
  gap: var(--rh-v2-space-4);
}

.rh-v2-public-trust-grid article {
  height: 100%;
  padding: var(--rh-v2-space-5);
}

.rh-v2-public-trust-grid article > span {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--rh-v2-space-3);
  border-radius: var(--rh-v2-radius-md);
  --rh-v2-public-audience-color: var(--rh-v2-color-primary);
}

.rh-v2-public-trust-grid h3 {
  font-size: var(--rh-v2-text-base);
}

.rh-v2-public-trust-grid p {
  margin-top: var(--rh-v2-space-1);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-public-final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-2xl);
  padding: clamp(2rem, 7vw, 3.5rem);
  background: linear-gradient(180deg, var(--rh-v2-color-surface-2), var(--rh-v2-color-surface));
  text-align: center;
}

.rh-v2-public-final-cta > span {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(44rem 22rem at 50% 0%, color-mix(in oklab, var(--rh-v2-color-primary) 22%, transparent), transparent 65%),
    radial-gradient(32rem 16rem at 50% 100%, color-mix(in oklab, var(--rh-v2-role-organizer) 18%, transparent), transparent 60%);
}

.rh-v2-public-final-cta > div {
  max-width: 56rem;
  margin-inline: auto;
}

.rh-v2-public-final-cta h2 {
  margin-top: var(--rh-v2-space-3);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.rh-v2-public-final-cta p {
  max-width: 40rem;
  margin: var(--rh-v2-space-3) auto 0;
}

.rh-v2-public-final-cta > div > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-6);
}

.rh-v2-public-share {
  border-top: 1px solid var(--rh-v2-color-border);
  background: color-mix(in oklab, var(--rh-v2-color-surface-2) 46%, transparent);
}

.rh-v2-public-share .rh-v2-public-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--rh-v2-space-4);
  padding-block: var(--rh-v2-space-6);
}

.rh-v2-public-share strong {
  font-family: var(--rh-v2-font-display);
}

.rh-v2-public-share p {
  margin-top: var(--rh-v2-space-1);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-public-share .rh-v2-public-container > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--rh-v2-space-2);
}

.rh-v2-public-share button {
  display: inline-flex;
  min-height: var(--rh-v2-control-height);
  align-items: center;
  gap: var(--rh-v2-space-2);
  padding-inline: var(--rh-v2-space-3);
}

.rh-v2-public-share button:hover {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 46%, var(--rh-v2-color-border));
  color: var(--rh-v2-color-primary);
}

.rh-v2-public-share [role="status"] {
  min-height: 1.25rem;
  color: var(--rh-v2-color-success);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-public-footer {
  border-top: 1px solid var(--rh-v2-color-border);
  background: color-mix(in oklab, var(--rh-v2-color-background) 88%, black);
  color: var(--rh-v2-color-foreground);
}

.rh-v2-public-footer__grid {
  display: grid;
  gap: var(--rh-v2-space-8);
  padding-block: var(--rh-v2-space-12);
}

.rh-v2-public-footer__grid > div p {
  max-width: 26rem;
  margin-top: var(--rh-v2-space-3);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-public-footer nav {
  display: grid;
  align-content: start;
  gap: var(--rh-v2-space-2);
}

.rh-v2-public-footer nav strong {
  margin-bottom: var(--rh-v2-space-1);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-public-footer nav a {
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-sm);
  text-decoration: none;
}

.rh-v2-public-footer nav a:hover {
  color: var(--rh-v2-color-primary);
}

.rh-v2-public-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--rh-v2-space-2);
  border-top: 1px solid var(--rh-v2-color-border);
  padding-block: var(--rh-v2-space-4);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
}

@media (min-width: 40rem) {
  .rh-v2-public-event-featured__footer,
  .rh-v2-public-share .rh-v2-public-container,
  .rh-v2-public-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .rh-v2-public-trust-grid,
  .rh-v2-public-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .rh-v2-public-section__head--row {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }

  .rh-v2-public-journey__line {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    left: 1.5rem;
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--rh-v2-color-primary) 55%, transparent), color-mix(in oklab, var(--rh-v2-role-organizer) 55%, transparent), transparent);
  }

  .rh-v2-public-journey ol {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--rh-v2-space-4);
  }

  .rh-v2-public-journey li {
    align-items: center;
    text-align: center;
  }

  .rh-v2-public-journey__identity {
    flex-direction: column;
    gap: var(--rh-v2-space-2);
  }

  .rh-v2-public-journey p {
    max-width: 11rem;
    margin-top: var(--rh-v2-space-3);
  }

  .rh-v2-public-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rh-v2-space-6);
  }

  .rh-v2-public-event-grid__featured {
    grid-column: 1 / -1;
  }

  .rh-v2-public-trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .rh-v2-public-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 26.25rem);
  }

  .rh-v2-public-audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rh-v2-public-footer__grid {
    grid-template-columns: minmax(18rem, 1.7fr) repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 39.99rem) {
  .rh-v2-public-hero__actions .rh-v2-button {
    width: 100%;
  }

  .rh-v2-public-hero__stats {
    align-items: flex-start;
    flex-direction: column;
  }

  .rh-v2-public-final-cta .rh-v2-button {
    width: 100%;
  }

  .rh-v2-public-event-card__meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-v2-public-hero__stats i {
    animation: none;
  }

  .rh-v2-public-event-featured > img,
  .rh-v2-public-event-card__media > img {
    transition: none;
  }
}


/* Indicador protegido de comparación pública; solo se renderiza para super_admin. */
.rh-v2-preview-indicator {
  position: fixed;
  z-index: 2147483000;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  display: grid;
  gap: 0.12rem;
  max-width: min(19rem, calc(100vw - 1.5rem));
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: color-mix(in oklab, var(--rh-v2-color-background) 92%, transparent);
  box-shadow: var(--rh-v2-shadow-xl);
  padding: 0.65rem 0.8rem;
  color: var(--rh-v2-color-foreground);
  font-family: var(--rh-v2-font-sans);
  line-height: 1.2;
  backdrop-filter: blur(18px);
}

.rh-v2-preview-indicator span {
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-2xs);
  font-weight: var(--rh-v2-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rh-v2-preview-indicator strong {
  font-family: var(--rh-v2-font-display);
  font-size: var(--rh-v2-text-sm);
  font-weight: var(--rh-v2-weight-bold);
}

.rh-v2-preview-indicator small {
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-preview-indicator--v2 {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 55%, var(--rh-v2-color-border));
}

.rh-v2-preview-indicator--v2 strong {
  color: var(--rh-v2-color-primary);
}

.rh-v2-preview-indicator--legacy {
  border-color: color-mix(in oklab, var(--rh-v2-color-warning) 55%, var(--rh-v2-color-border));
}

.rh-v2-preview-indicator--legacy strong {
  color: var(--rh-v2-color-warning);
}

@media (max-width: 30rem) {
  .rh-v2-preview-indicator {
    top: max(0.5rem, env(safe-area-inset-top));
    right: 0.5rem;
    max-width: calc(100vw - 1rem);
    padding: 0.5rem 0.65rem;
  }
}

/* UI-V2-F3B · Explorador público de eventos. Componentes compartidos del dominio público. */
.rh-v2-event-explorer {
  min-width: 0;
  overflow: clip;
  background: var(--rh-v2-color-background);
  color: var(--rh-v2-color-foreground);
}

.rh-v2-event-explorer em {
  color: var(--rh-v2-color-primary);
  font-style: normal;
}

.rh-v2-event-explorer svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.rh-v2-event-explorer-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--rh-v2-color-border);
  padding-block: clamp(3rem, 7vw, 5.75rem) clamp(2.25rem, 5vw, 4rem);
}

.rh-v2-event-explorer-hero::before,
.rh-v2-event-explorer-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(1rem);
  pointer-events: none;
}

.rh-v2-event-explorer-hero::before {
  width: min(40rem, 80vw);
  height: min(40rem, 80vw);
  top: -22rem;
  right: -10rem;
  background: radial-gradient(circle, color-mix(in oklab, var(--rh-v2-color-primary) 18%, transparent), transparent 68%);
}

.rh-v2-event-explorer-hero::after {
  width: 34rem;
  height: 34rem;
  bottom: -26rem;
  left: -12rem;
  background: radial-gradient(circle, color-mix(in oklab, var(--rh-v2-color-role-athlete) 12%, transparent), transparent 70%);
}

.rh-v2-event-explorer-hero__copy {
  max-width: 54rem;
}

.rh-v2-event-explorer-hero__copy h1 {
  margin-top: var(--rh-v2-space-4);
  max-width: 50rem;
  font-size: clamp(2.35rem, 6vw, 4.35rem);
  font-weight: var(--rh-v2-weight-semibold);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.rh-v2-event-explorer-hero__copy p {
  max-width: 44rem;
  margin-top: var(--rh-v2-space-4);
  color: var(--rh-v2-color-muted-foreground);
  font-size: clamp(var(--rh-v2-text-base), 2.1vw, var(--rh-v2-text-lg));
  line-height: var(--rh-v2-leading-relaxed);
}

.rh-v2-event-explorer-search {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) minmax(9rem, 0.28fr) minmax(10rem, 0.3fr) auto;
  align-items: end;
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-8);
  border: 1px solid color-mix(in oklab, var(--rh-v2-color-border) 90%, transparent);
  border-radius: var(--rh-v2-radius-xl);
  padding: var(--rh-v2-space-4);
  background: color-mix(in oklab, var(--rh-v2-color-surface) 78%, transparent);
  box-shadow: var(--rh-v2-shadow-panel);
  backdrop-filter: blur(18px);
}

.rh-v2-event-explorer-search > label,
.rh-v2-event-explorer-filters label {
  display: grid;
  min-width: 0;
  gap: var(--rh-v2-space-2);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
  font-weight: var(--rh-v2-weight-medium);
}

.rh-v2-event-explorer-search input,
.rh-v2-event-explorer-search select {
  width: 100%;
  min-width: 0;
  min-height: var(--rh-v2-touch-target);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-md);
  padding: 0 var(--rh-v2-space-3);
  background: color-mix(in oklab, var(--rh-v2-color-background) 72%, transparent);
  color: var(--rh-v2-color-foreground);
  font: inherit;
  outline: none;
}

.rh-v2-event-explorer-search input:focus,
.rh-v2-event-explorer-search select:focus {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 64%, var(--rh-v2-color-border));
  box-shadow: var(--rh-v2-shadow-focus);
}

.rh-v2-event-explorer-search__query {
  position: relative;
  align-self: end;
}

.rh-v2-event-explorer-search__query svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: var(--rh-v2-space-3);
  color: var(--rh-v2-color-muted-foreground);
  transform: translateY(-50%);
}

.rh-v2-event-explorer-search__query input {
  padding-left: 2.75rem;
}

.rh-v2-event-explorer-filters {
  grid-column: 1 / -1;
  border-top: 1px solid var(--rh-v2-color-border);
  padding-top: var(--rh-v2-space-3);
}

.rh-v2-event-explorer-filters summary {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: var(--rh-v2-space-2);
  border-radius: var(--rh-v2-radius-md);
  padding-inline: var(--rh-v2-space-3);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-sm);
  font-weight: var(--rh-v2-weight-medium);
  cursor: pointer;
  list-style: none;
}

.rh-v2-event-explorer-filters summary::-webkit-details-marker {
  display: none;
}

.rh-v2-event-explorer-filters summary:hover {
  background: var(--rh-v2-color-surface-2);
  color: var(--rh-v2-color-foreground);
}

.rh-v2-event-explorer-filters__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: var(--rh-v2-space-3);
  padding-top: var(--rh-v2-space-3);
}

.rh-v2-event-explorer-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-2);
}

.rh-v2-event-explorer-quick,
.rh-v2-event-explorer-discipline > .rh-v2-public-container {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-2);
}

.rh-v2-event-explorer-quick {
  margin-top: var(--rh-v2-space-4);
}

.rh-v2-event-explorer-quick .rh-v2-chip,
.rh-v2-event-explorer-discipline .rh-v2-chip {
  text-decoration: none;
  transition: border-color var(--rh-v2-motion-fast) var(--rh-v2-ease-standard), color var(--rh-v2-motion-fast) var(--rh-v2-ease-standard), background var(--rh-v2-motion-fast) var(--rh-v2-ease-standard);
}

.rh-v2-event-explorer-quick .rh-v2-chip:hover,
.rh-v2-event-explorer-discipline .rh-v2-chip:hover,
.rh-v2-event-explorer-discipline .rh-v2-chip.is-active {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 54%, var(--rh-v2-color-border));
  background: color-mix(in oklab, var(--rh-v2-color-primary) 12%, transparent);
  color: var(--rh-v2-color-foreground);
}

.rh-v2-event-explorer-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-8);
}

.rh-v2-event-explorer-metrics .rh-v2-metric {
  min-width: 0;
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  padding: var(--rh-v2-space-4);
  background: color-mix(in oklab, var(--rh-v2-color-surface) 66%, transparent);
}

.rh-v2-event-explorer-discipline {
  position: sticky;
  z-index: 10;
  top: var(--rh-v2-public-header-height, 4.5rem);
  border-bottom: 1px solid var(--rh-v2-color-border);
  padding-block: var(--rh-v2-space-3);
  background: color-mix(in oklab, var(--rh-v2-color-background) 90%, transparent);
  backdrop-filter: blur(18px);
}

.rh-v2-event-explorer-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--rh-v2-space-6);
  margin-bottom: var(--rh-v2-space-6);
}

.rh-v2-event-explorer-section-head > div > span {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  color: var(--rh-v2-color-primary);
  font-size: var(--rh-v2-text-xs);
  font-weight: var(--rh-v2-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rh-v2-event-explorer-section-head h2 {
  margin-top: var(--rh-v2-space-2);
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: var(--rh-v2-weight-semibold);
  line-height: var(--rh-v2-leading-tight);
  letter-spacing: -0.025em;
}

.rh-v2-event-explorer-section-head > small,
.rh-v2-event-explorer-section-head > a {
  max-width: 24rem;
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-sm);
  text-align: right;
}

.rh-v2-event-explorer-section-head > a {
  color: var(--rh-v2-color-primary);
  text-decoration: none;
}

.rh-v2-event-explorer-featured {
  display: grid;
  grid-template-columns: minmax(18rem, 1.12fr) minmax(18rem, 0.88fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-2xl);
  background: var(--rh-v2-color-surface);
  box-shadow: var(--rh-v2-shadow-panel);
}

.rh-v2-event-explorer-featured__media,
.rh-v2-event-explorer-card__media {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--rh-v2-color-surface-2);
}

.rh-v2-event-explorer-featured__media {
  min-height: 30rem;
}

.rh-v2-event-explorer-card__media {
  aspect-ratio: 16 / 10;
}

.rh-v2-event-explorer-featured__media img,
.rh-v2-event-explorer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--rh-v2-motion-slow) var(--rh-v2-ease-standard);
}

.rh-v2-event-explorer-featured:hover img,
.rh-v2-event-explorer-card:hover img {
  transform: scale(1.035);
}

.rh-v2-event-explorer-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.12 0.02 240 / 4%), oklch(0.12 0.02 240 / 58%));
}

.rh-v2-event-explorer-date,
.rh-v2-event-explorer-discipline-badge,
.rh-v2-event-explorer-featured__flag {
  position: absolute;
  z-index: 1;
  border: 1px solid oklch(1 0 0 / 18%);
  background: oklch(0.12 0.02 240 / 72%);
  color: white;
  backdrop-filter: blur(12px);
}

.rh-v2-event-explorer-date {
  top: var(--rh-v2-space-4);
  left: var(--rh-v2-space-4);
  display: grid;
  min-width: 3.5rem;
  place-items: center;
  border-radius: var(--rh-v2-radius-lg);
  padding: 0.55rem 0.7rem;
}

.rh-v2-event-explorer-date strong {
  font-family: var(--rh-v2-font-display);
  font-size: var(--rh-v2-text-xl);
  line-height: 1;
}

.rh-v2-event-explorer-date small {
  margin-top: 0.2rem;
  color: oklch(1 0 0 / 72%);
  font-size: var(--rh-v2-text-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rh-v2-event-explorer-discipline-badge {
  position: absolute;
  top: var(--rh-v2-space-4);
  left: 5.1rem;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: var(--rh-v2-text-xs);
  font-weight: var(--rh-v2-weight-medium);
}

.rh-v2-event-explorer-featured__flag {
  top: var(--rh-v2-space-4);
  right: var(--rh-v2-space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: var(--rh-v2-color-primary);
  font-size: var(--rh-v2-text-xs);
  font-weight: var(--rh-v2-weight-semibold);
}

.rh-v2-event-explorer-featured__body,
.rh-v2-event-explorer-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--rh-v2-space-5);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.rh-v2-event-explorer-card__status-row,
.rh-v2-event-explorer-card__organizer,
.rh-v2-event-explorer-card__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: var(--rh-v2-space-3);
}

.rh-v2-event-explorer-price {
  display: grid;
  text-align: right;
}

.rh-v2-event-explorer-price small {
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-2xs);
  text-transform: uppercase;
}

.rh-v2-event-explorer-price strong {
  font-size: var(--rh-v2-text-base);
}

.rh-v2-event-explorer-card__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-event-explorer-card h3 {
  margin-top: var(--rh-v2-space-2);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: var(--rh-v2-weight-semibold);
  line-height: var(--rh-v2-leading-tight);
}

.rh-v2-event-explorer-featured h3 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.rh-v2-event-explorer-card h3 a,
.rh-v2-event-explorer-featured h3 a {
  color: inherit;
  text-decoration: none;
}

.rh-v2-event-explorer-card__summary {
  margin-top: var(--rh-v2-space-3);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-sm);
  line-height: var(--rh-v2-leading-relaxed);
}

.rh-v2-event-explorer-card__organizer {
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-event-explorer-card__organizer span:last-child {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-1);
}

.rh-v2-event-explorer-capacity > div {
  height: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rh-v2-color-surface-2);
}

.rh-v2-event-explorer-capacity > div > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rh-v2-color-primary);
}

.rh-v2-event-explorer-capacity small {
  display: block;
  margin-top: var(--rh-v2-space-2);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-2xs);
  text-align: right;
}

.rh-v2-event-explorer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rh-v2-space-6);
}

.rh-v2-event-explorer-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-xl);
  background: var(--rh-v2-color-surface);
  box-shadow: var(--rh-v2-shadow-card);
  transition: transform var(--rh-v2-motion-base) var(--rh-v2-ease-standard), border-color var(--rh-v2-motion-base) var(--rh-v2-ease-standard), box-shadow var(--rh-v2-motion-base) var(--rh-v2-ease-standard);
}

.rh-v2-event-explorer-card:hover {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 28%, var(--rh-v2-color-border));
  box-shadow: var(--rh-v2-shadow-panel);
  transform: translateY(-0.2rem);
}

.rh-v2-event-explorer-card__body {
  flex: 1;
}

.rh-v2-event-explorer-card__actions {
  margin-top: auto;
  justify-content: flex-start;
}

.rh-v2-event-explorer-only {
  margin-top: var(--rh-v2-space-4);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-sm);
  text-align: center;
}

.rh-v2-event-explorer-ecosystem {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(24rem, 1.2fr);
  gap: var(--rh-v2-space-8);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-2xl);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: linear-gradient(135deg, color-mix(in oklab, var(--rh-v2-color-primary) 8%, var(--rh-v2-color-surface)), var(--rh-v2-color-surface));
}

.rh-v2-event-explorer-ecosystem h2 {
  margin-top: var(--rh-v2-space-4);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: var(--rh-v2-leading-tight);
}

.rh-v2-event-explorer-ecosystem p {
  margin-top: var(--rh-v2-space-3);
  color: var(--rh-v2-color-muted-foreground);
  line-height: var(--rh-v2-leading-relaxed);
}

.rh-v2-event-explorer-ecosystem__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
}

.rh-v2-event-explorer-ecosystem__stats .rh-v2-metric {
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  padding: var(--rh-v2-space-4);
  background: color-mix(in oklab, var(--rh-v2-color-background) 64%, transparent);
}

.rh-v2-event-explorer-ecosystem nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-3);
  border-top: 1px solid var(--rh-v2-color-border);
  padding-top: var(--rh-v2-space-5);
}

.rh-v2-event-explorer-ecosystem nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  color: var(--rh-v2-color-primary);
  font-size: var(--rh-v2-text-sm);
  font-weight: var(--rh-v2-weight-medium);
  text-decoration: none;
}

@media (max-width: 64rem) {
  .rh-v2-event-explorer-search {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(9rem, 0.35fr));
  }

  .rh-v2-event-explorer-search > .rh-v2-button {
    grid-column: 1 / -1;
  }

  .rh-v2-event-explorer-filters__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rh-v2-event-explorer-filters__actions {
    grid-column: 1 / -1;
  }

  .rh-v2-event-explorer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .rh-v2-event-explorer-search,
  .rh-v2-event-explorer-filters__grid,
  .rh-v2-event-explorer-featured,
  .rh-v2-event-explorer-ecosystem {
    grid-template-columns: minmax(0, 1fr);
  }

  .rh-v2-event-explorer-search > .rh-v2-button,
  .rh-v2-event-explorer-filters__actions,
  .rh-v2-event-explorer-ecosystem nav {
    grid-column: auto;
  }

  .rh-v2-event-explorer-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-v2-event-explorer-featured__media {
    min-height: 20rem;
  }

  .rh-v2-event-explorer-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rh-v2-event-explorer-section-head > small,
  .rh-v2-event-explorer-section-head > a {
    text-align: left;
  }

  .rh-v2-event-explorer-ecosystem__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 38rem) {
  .rh-v2-event-explorer-hero {
    padding-top: 2.5rem;
  }

  .rh-v2-event-explorer-search {
    padding: var(--rh-v2-space-3);
  }

  .rh-v2-event-explorer-quick,
  .rh-v2-event-explorer-discipline > .rh-v2-public-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .rh-v2-event-explorer-quick::-webkit-scrollbar,
  .rh-v2-event-explorer-discipline > .rh-v2-public-container::-webkit-scrollbar {
    display: none;
  }

  .rh-v2-event-explorer-quick .rh-v2-chip,
  .rh-v2-event-explorer-discipline .rh-v2-chip {
    flex: 0 0 auto;
  }

  .rh-v2-event-explorer-grid,
  .rh-v2-event-explorer-metrics,
  .rh-v2-event-explorer-ecosystem__stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .rh-v2-event-explorer-featured__media {
    min-height: 17rem;
  }

  .rh-v2-event-explorer-card__status-row,
  .rh-v2-event-explorer-card__organizer,
  .rh-v2-event-explorer-card__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .rh-v2-event-explorer-price {
    text-align: left;
  }

  .rh-v2-event-explorer-card__actions .rh-v2-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-v2-event-explorer-featured__media img,
  .rh-v2-event-explorer-card__media img,
  .rh-v2-event-explorer-card {
    transition: none;
  }

  .rh-v2-event-explorer-card:hover {
    transform: none;
  }
}

/* ========================================================================== */
/* UI-V2-F3C · Detalle público del evento                                    */
/* ========================================================================== */

.rh-v2-event-detail-page {
  background:
    radial-gradient(circle at 84% 0%, color-mix(in oklab, var(--rh-v2-color-primary) 8%, transparent), transparent 28rem),
    var(--rh-v2-color-background);
}

.rh-v2-event-detail {
  min-width: 0;
  overflow: clip;
}

.rh-v2-event-detail-hero {
  position: relative;
  min-height: clamp(23rem, 56vw, 38rem);
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--rh-v2-color-border);
  isolation: isolate;
}

.rh-v2-event-detail-hero > img,
.rh-v2-event-detail-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rh-v2-event-detail-hero > img {
  object-fit: cover;
  z-index: -3;
}

.rh-v2-event-detail-hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, oklch(0.08 0.02 240 / 42%) 0%, oklch(0.08 0.02 240 / 58%) 45%, oklch(0.12 0.02 240 / 98%) 100%),
    linear-gradient(90deg, oklch(0.08 0.02 240 / 76%) 0%, transparent 72%);
}

.rh-v2-event-detail-hero__content {
  padding-block: clamp(5rem, 10vw, 8.5rem) clamp(2rem, 5vw, 4rem);
}

.rh-v2-event-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  margin-bottom: var(--rh-v2-space-4);
  font-size: var(--rh-v2-text-xs);
  color: oklch(0.97 0.005 240 / 72%);
}

.rh-v2-event-detail-breadcrumb a { color: inherit; }
.rh-v2-event-detail-breadcrumb a:hover { color: var(--rh-v2-color-foreground); }
.rh-v2-event-detail-breadcrumb svg { width: 0.8rem; height: 0.8rem; }

.rh-v2-event-detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--rh-v2-space-2);
  margin-bottom: var(--rh-v2-space-4);
}

.rh-v2-event-detail-badges > span:not(.rh-v2-badge) {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid oklch(1 0 0 / 20%);
  border-radius: var(--rh-v2-radius-md);
  background: oklch(1 0 0 / 10%);
  backdrop-filter: blur(10px);
  color: var(--rh-v2-color-foreground);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-event-detail-hero h1 {
  max-width: 58rem;
  margin: 0;
  font-family: var(--rh-v2-font-display);
  font-size: clamp(2.2rem, 7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--rh-v2-color-foreground);
}

.rh-v2-event-detail-hero__intro {
  max-width: 48rem;
  margin: var(--rh-v2-space-4) 0 0;
  color: oklch(0.97 0.005 240 / 82%);
  font-size: clamp(var(--rh-v2-text-sm), 2vw, var(--rh-v2-text-lg));
  line-height: var(--rh-v2-leading-relaxed);
}

.rh-v2-event-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-8);
}

.rh-v2-event-detail-meta > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: var(--rh-v2-space-3);
  padding: var(--rh-v2-space-3) var(--rh-v2-space-4);
  border: 1px solid oklch(1 0 0 / 14%);
  border-radius: var(--rh-v2-radius-lg);
  background: oklch(0.12 0.02 240 / 58%);
  backdrop-filter: blur(16px);
}

.rh-v2-event-detail-meta svg {
  grid-row: 1 / 3;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  color: var(--rh-v2-color-primary);
}

.rh-v2-event-detail-meta strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-event-detail-meta small {
  color: oklch(0.97 0.005 240 / 62%);
  font-size: var(--rh-v2-text-xs-alt);
}

.rh-v2-event-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  align-items: start;
  gap: clamp(var(--rh-v2-space-6), 4vw, var(--rh-v2-space-10));
  padding-block: clamp(var(--rh-v2-space-8), 5vw, var(--rh-v2-space-14));
}

.rh-v2-event-detail-main {
  min-width: 0;
  display: grid;
  gap: clamp(var(--rh-v2-space-8), 4vw, var(--rh-v2-space-12));
}

.rh-v2-event-detail-section > header,
.rh-v2-event-detail-card > header,
.rh-v2-event-detail-related-head {
  margin-bottom: var(--rh-v2-space-5);
}

.rh-v2-event-detail-section > header > span,
.rh-v2-event-detail-card > header > span,
.rh-v2-event-detail-related-head span {
  display: block;
  margin-bottom: var(--rh-v2-space-2);
  color: var(--rh-v2-color-primary);
  font-family: var(--rh-v2-font-mono);
  font-size: var(--rh-v2-text-xs-alt);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.rh-v2-event-detail-section h2,
.rh-v2-event-detail-card h2,
.rh-v2-event-detail-related-head h2 {
  margin: 0;
  font-family: var(--rh-v2-font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: var(--rh-v2-leading-tight);
}

.rh-v2-event-detail-section header p,
.rh-v2-event-detail-card header p {
  max-width: 44rem;
  margin: var(--rh-v2-space-2) 0 0;
  color: var(--rh-v2-color-muted-foreground);
}

.rh-v2-event-detail-card {
  padding: clamp(var(--rh-v2-space-5), 4vw, var(--rh-v2-space-8));
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-xl);
  background: color-mix(in oklab, var(--rh-v2-color-surface) 92%, transparent);
  box-shadow: var(--rh-v2-shadow-md);
}

.rh-v2-event-detail-copy {
  margin: 0;
  color: color-mix(in oklab, var(--rh-v2-color-foreground) 86%, var(--rh-v2-color-muted-foreground));
  line-height: var(--rh-v2-leading-relaxed);
}

.rh-v2-event-detail-races {
  display: grid;
  gap: var(--rh-v2-space-3);
}

.rh-v2-event-detail-race {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(8rem, 0.7fr) minmax(9rem, 0.85fr) auto;
  align-items: center;
  gap: var(--rh-v2-space-4);
  padding: var(--rh-v2-space-4);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: color-mix(in oklab, var(--rh-v2-color-surface) 88%, transparent);
  transition: border-color var(--rh-v2-motion-base) var(--rh-v2-ease-standard), background var(--rh-v2-motion-base) var(--rh-v2-ease-standard), transform var(--rh-v2-motion-base) var(--rh-v2-ease-standard);
}

.rh-v2-event-detail-race:hover {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 52%, var(--rh-v2-color-border));
  background: color-mix(in oklab, var(--rh-v2-color-surface-2) 94%, transparent);
  transform: translateY(-1px);
}

.rh-v2-event-detail-race > div:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: var(--rh-v2-space-3);
}

.rh-v2-event-detail-race__index {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--rh-v2-radius-md);
  background: color-mix(in oklab, var(--rh-v2-color-primary) 15%, transparent);
  color: var(--rh-v2-color-primary);
  font-family: var(--rh-v2-font-mono);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-event-detail-race h3 { margin: 0; font-family: var(--rh-v2-font-display); font-size: var(--rh-v2-text-lg); }
.rh-v2-event-detail-race p { margin: 0.15rem 0 0; color: var(--rh-v2-color-muted-foreground); font-size: var(--rh-v2-text-xs); }
.rh-v2-event-detail-race__price { display: grid; gap: 0.15rem; }
.rh-v2-event-detail-race__price small { color: var(--rh-v2-color-muted-foreground); }
.rh-v2-event-detail-race__price strong { font-family: var(--rh-v2-font-mono); font-size: var(--rh-v2-text-sm); }
.rh-v2-event-detail-race__capacity { display: grid; gap: 0.3rem; color: var(--rh-v2-color-muted-foreground); font-size: var(--rh-v2-text-xs); }
.rh-v2-event-detail-race__capacity > div { height: 0.35rem; overflow: hidden; border-radius: var(--rh-v2-radius-full); background: var(--rh-v2-color-surface-3); }
.rh-v2-event-detail-race__capacity i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rh-v2-color-primary), var(--rh-v2-color-success)); }
.rh-v2-event-detail-race .rh-v2-button { white-space: nowrap; }
.rh-v2-event-registration-link.is-disabled { opacity: 0.68; }

.rh-v2-event-detail-included {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-6);
}

.rh-v2-event-detail-included article {
  display: flex;
  align-items: flex-start;
  gap: var(--rh-v2-space-3);
  padding: var(--rh-v2-space-3);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: color-mix(in oklab, var(--rh-v2-color-surface-2) 52%, transparent);
}

.rh-v2-event-detail-included article > span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: var(--rh-v2-radius-md);
  color: var(--rh-v2-color-primary);
  background: color-mix(in oklab, var(--rh-v2-color-primary) 12%, transparent);
}

.rh-v2-event-detail-included svg { width: 1rem; height: 1rem; }
.rh-v2-event-detail-included strong { display: block; font-size: var(--rh-v2-text-sm); }
.rh-v2-event-detail-included small { display: block; margin-top: 0.2rem; color: var(--rh-v2-color-muted-foreground); }

.rh-v2-event-detail-timeline {
  position: relative;
  display: grid;
  gap: var(--rh-v2-space-5);
  margin: 0 0 0 var(--rh-v2-space-4);
  padding: 0;
  list-style: none;
}

.rh-v2-event-detail-timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: var(--rh-v2-color-border-strong);
}

.rh-v2-event-detail-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: start;
  gap: var(--rh-v2-space-4);
}

.rh-v2-event-detail-timeline li > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid color-mix(in oklab, var(--rh-v2-color-primary) 35%, var(--rh-v2-color-border));
  border-radius: 50%;
  background: var(--rh-v2-color-background);
  color: var(--rh-v2-color-primary);
  font-family: var(--rh-v2-font-mono);
  font-size: var(--rh-v2-text-2xs);
}

.rh-v2-event-detail-timeline small { display: block; color: var(--rh-v2-color-primary); font-family: var(--rh-v2-font-mono); font-size: var(--rh-v2-text-xs); text-transform: uppercase; letter-spacing: 0.06em; }
.rh-v2-event-detail-timeline strong { display: block; margin-top: 0.25rem; font-size: var(--rh-v2-text-base); }

.rh-v2-event-detail-tabs > div[role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-2);
  padding-bottom: var(--rh-v2-space-4);
  border-bottom: 1px solid var(--rh-v2-color-border);
}

.rh-v2-event-detail-tabs [role="tab"] {
  min-height: var(--rh-v2-control-height);
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-md);
  background: transparent;
  color: var(--rh-v2-color-muted-foreground);
  cursor: pointer;
}

.rh-v2-event-detail-tabs [role="tab"][aria-selected="true"] {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 48%, var(--rh-v2-color-border));
  background: color-mix(in oklab, var(--rh-v2-color-primary) 12%, transparent);
  color: var(--rh-v2-color-foreground);
}

.rh-v2-event-detail-tabs [role="tabpanel"] { padding-top: var(--rh-v2-space-5); }
.rh-v2-event-detail-tabs [role="tabpanel"] > p { margin: 0; color: var(--rh-v2-color-muted-foreground); line-height: var(--rh-v2-leading-relaxed); }

.rh-v2-event-detail-categories,
.rh-v2-event-detail-info-grid,
.rh-v2-event-detail-kit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
}

.rh-v2-event-detail-categories article,
.rh-v2-event-detail-info-grid article,
.rh-v2-event-detail-kit-grid article {
  padding: var(--rh-v2-space-4);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: color-mix(in oklab, var(--rh-v2-color-surface-2) 48%, transparent);
}

.rh-v2-event-detail-categories article > span { color: var(--rh-v2-color-primary); font-size: var(--rh-v2-text-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.rh-v2-event-detail-categories h3,
.rh-v2-event-detail-kit-grid h3 { margin: var(--rh-v2-space-2) 0; font-family: var(--rh-v2-font-display); }
.rh-v2-event-detail-categories p,
.rh-v2-event-detail-info-grid p,
.rh-v2-event-detail-kit-grid p { margin: var(--rh-v2-space-2) 0 0; color: var(--rh-v2-color-muted-foreground); line-height: var(--rh-v2-leading-relaxed); }
.rh-v2-event-detail-kit-grid ul { margin: var(--rh-v2-space-3) 0 0; padding-left: var(--rh-v2-space-5); color: var(--rh-v2-color-muted-foreground); }

.rh-v2-event-detail-card > header:has(a) {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--rh-v2-space-4);
}

.rh-v2-event-detail-card > header a {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  color: var(--rh-v2-color-primary);
  font-size: var(--rh-v2-text-sm);
}
.rh-v2-event-detail-card > header a svg { width: 1rem; height: 1rem; }

.rh-v2-event-detail-map {
  min-height: 20rem;
  overflow: hidden;
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-color-surface-2);
}

.rh-v2-event-detail-map iframe { width: 100%; height: 22rem; border: 0; }
.rh-v2-event-detail-map--empty { display: grid; place-items: center; align-content: center; gap: var(--rh-v2-space-2); text-align: center; }
.rh-v2-event-detail-map--empty svg { width: 2rem; height: 2rem; color: var(--rh-v2-color-primary); }
.rh-v2-event-detail-map--empty small { color: var(--rh-v2-color-muted-foreground); }

.rh-v2-event-detail-faq { display: grid; gap: var(--rh-v2-space-2); }
.rh-v2-event-detail-faq details { border: 1px solid var(--rh-v2-color-border); border-radius: var(--rh-v2-radius-lg); background: var(--rh-v2-color-surface); }
.rh-v2-event-detail-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--rh-v2-space-4); padding: var(--rh-v2-space-4); cursor: pointer; font-weight: var(--rh-v2-weight-medium); }
.rh-v2-event-detail-faq summary::-webkit-details-marker { display: none; }
.rh-v2-event-detail-faq summary span { color: var(--rh-v2-color-primary); font-size: var(--rh-v2-text-lg); }
.rh-v2-event-detail-faq details[open] summary span { transform: rotate(45deg); }
.rh-v2-event-detail-faq p { margin: 0; padding: 0 var(--rh-v2-space-4) var(--rh-v2-space-4); color: var(--rh-v2-color-muted-foreground); line-height: var(--rh-v2-leading-relaxed); }

.rh-v2-event-detail-terms label {
  display: flex;
  align-items: flex-start;
  gap: var(--rh-v2-space-3);
  padding: var(--rh-v2-space-4);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: color-mix(in oklab, var(--rh-v2-color-surface-2) 62%, transparent);
}
.rh-v2-event-detail-terms input { margin-top: 0.2rem; }
.rh-v2-event-detail-terms button { padding: 0; border: 0; background: none; color: var(--rh-v2-color-primary); text-decoration: underline; cursor: pointer; }
.rh-v2-event-detail-terms > p { margin: var(--rh-v2-space-3) 0 0; color: var(--rh-v2-color-danger); }

.rh-v2-event-detail-modal {
  position: fixed;
  inset: 0;
  z-index: var(--rh-v2-z-modal);
  display: none;
  place-items: center;
  padding: var(--rh-v2-space-4);
  background: var(--rh-v2-color-overlay);
}
.rh-v2-event-detail-modal.is-open { display: grid; }
.rh-v2-event-detail-modal > div {
  width: min(46rem, 100%);
  max-height: min(42rem, calc(100vh - 2rem));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--rh-v2-color-border-strong);
  border-radius: var(--rh-v2-radius-xl);
  background: var(--rh-v2-color-surface);
  box-shadow: var(--rh-v2-shadow-panel);
}
.rh-v2-event-detail-modal header,
.rh-v2-event-detail-modal footer { display: flex; align-items: center; justify-content: space-between; gap: var(--rh-v2-space-4); padding: var(--rh-v2-space-4); border-bottom: 1px solid var(--rh-v2-color-border); }
.rh-v2-event-detail-modal footer { justify-content: flex-end; border-top: 1px solid var(--rh-v2-color-border); border-bottom: 0; }
.rh-v2-event-detail-modal h2 { margin: 0; font-family: var(--rh-v2-font-display); font-size: var(--rh-v2-text-xl); }
.rh-v2-event-detail-modal header button { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--rh-v2-color-border); border-radius: var(--rh-v2-radius-md); background: transparent; color: var(--rh-v2-color-foreground); cursor: pointer; }
.rh-v2-event-detail-modal header svg { width: 1rem; height: 1rem; }
.rh-v2-event-detail-modal > div > div { overflow: auto; padding: var(--rh-v2-space-5); color: var(--rh-v2-color-muted-foreground); line-height: var(--rh-v2-leading-relaxed); }

.rh-v2-event-detail-sidebar {
  position: sticky;
  top: calc(var(--rh-v2-navigation-height, 4.25rem) + var(--rh-v2-space-4));
  display: grid;
  gap: var(--rh-v2-space-4);
}

.rh-v2-event-detail-enroll,
.rh-v2-event-detail-side-card {
  padding: var(--rh-v2-space-5);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-xl);
  background: color-mix(in oklab, var(--rh-v2-color-surface) 94%, transparent);
  box-shadow: var(--rh-v2-shadow-md);
}

.rh-v2-event-detail-enroll { display: grid; gap: var(--rh-v2-space-4); border-color: color-mix(in oklab, var(--rh-v2-color-primary) 22%, var(--rh-v2-color-border)); }
.rh-v2-event-detail-enroll__status { display: grid; gap: var(--rh-v2-space-1); }
.rh-v2-event-detail-enroll__status .rh-v2-badge { justify-self: start; margin-bottom: var(--rh-v2-space-3); }
.rh-v2-event-detail-enroll__status > span { color: var(--rh-v2-color-muted-foreground); font-size: var(--rh-v2-text-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.rh-v2-event-detail-enroll__status > strong { font-family: var(--rh-v2-font-display); font-size: var(--rh-v2-text-3xl); }
.rh-v2-event-detail-enroll__capacity { display: grid; gap: var(--rh-v2-space-2); }
.rh-v2-event-detail-enroll__capacity > div:first-child { display: flex; justify-content: space-between; gap: var(--rh-v2-space-3); color: var(--rh-v2-color-muted-foreground); font-size: var(--rh-v2-text-xs); }
.rh-v2-event-detail-enroll__capacity > div:nth-child(2) { height: 0.45rem; overflow: hidden; border-radius: var(--rh-v2-radius-full); background: var(--rh-v2-color-surface-3); }
.rh-v2-event-detail-enroll__capacity i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rh-v2-color-primary), var(--rh-v2-color-success)); }
.rh-v2-event-detail-current { display: grid; gap: var(--rh-v2-space-1); padding: var(--rh-v2-space-3); border-radius: var(--rh-v2-radius-lg); background: color-mix(in oklab, var(--rh-v2-color-success) 10%, transparent); }
.rh-v2-event-detail-current span { color: var(--rh-v2-color-muted-foreground); font-size: var(--rh-v2-text-xs); }
.rh-v2-event-detail-enroll .rh-v2-button { width: 100%; justify-content: center; }
.rh-v2-event-detail-enroll > [data-rh-v2-public-share-status] { min-height: 1rem; color: var(--rh-v2-color-muted-foreground); font-size: var(--rh-v2-text-xs); text-align: center; }

.rh-v2-event-detail-side-card > span { display: block; margin-bottom: var(--rh-v2-space-3); color: var(--rh-v2-color-muted-foreground); font-size: var(--rh-v2-text-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.rh-v2-event-detail-organizer { display: flex; align-items: center; gap: var(--rh-v2-space-3); }
.rh-v2-event-detail-organizer i { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--rh-v2-color-surface-3); color: var(--rh-v2-color-primary); }
.rh-v2-event-detail-organizer svg { width: 1.1rem; height: 1.1rem; }
.rh-v2-event-detail-organizer strong,
.rh-v2-event-detail-organizer small { display: block; }
.rh-v2-event-detail-organizer small { margin-top: 0.15rem; color: var(--rh-v2-color-muted-foreground); }
.rh-v2-event-detail-side-card > a { display: inline-flex; align-items: center; gap: var(--rh-v2-space-2); margin-top: var(--rh-v2-space-4); color: var(--rh-v2-color-primary); font-size: var(--rh-v2-text-sm); }
.rh-v2-event-detail-side-card > a svg { width: 1rem; height: 1rem; }
.rh-v2-event-detail-side-card ol { margin: 0; padding-left: var(--rh-v2-space-5); color: var(--rh-v2-color-muted-foreground); line-height: 1.9; }
.rh-v2-event-detail-side-card nav { display: grid; }
.rh-v2-event-detail-side-card nav a { display: flex; align-items: center; justify-content: space-between; gap: var(--rh-v2-space-3); padding: var(--rh-v2-space-3) 0; border-top: 1px solid var(--rh-v2-color-border); color: var(--rh-v2-color-foreground); font-size: var(--rh-v2-text-sm); }
.rh-v2-event-detail-side-card nav a:first-child { border-top: 0; }
.rh-v2-event-detail-side-card nav svg { width: 1rem; height: 1rem; color: var(--rh-v2-color-primary); }

.rh-v2-event-detail-related-head { display: flex; align-items: end; justify-content: space-between; gap: var(--rh-v2-space-5); }
.rh-v2-event-detail-related-head a { display: inline-flex; align-items: center; gap: var(--rh-v2-space-2); color: var(--rh-v2-color-primary); }
.rh-v2-event-detail-related-head svg { width: 1rem; height: 1rem; }
.rh-v2-event-detail-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rh-v2-space-4); }
.rh-v2-event-detail-related > a { display: block; padding: var(--rh-v2-space-5); border: 1px solid var(--rh-v2-color-border); border-radius: var(--rh-v2-radius-xl); background: var(--rh-v2-color-surface); color: inherit; }
.rh-v2-event-detail-related > a:hover { border-color: color-mix(in oklab, var(--rh-v2-color-primary) 42%, var(--rh-v2-color-border)); }
.rh-v2-event-detail-related small { color: var(--rh-v2-color-primary); font-family: var(--rh-v2-font-mono); }
.rh-v2-event-detail-related h3 { margin: var(--rh-v2-space-3) 0 var(--rh-v2-space-2); font-family: var(--rh-v2-font-display); }
.rh-v2-event-detail-related p { margin: 0; color: var(--rh-v2-color-muted-foreground); }

.rh-v2-event-detail-mobile-cta {
  position: sticky;
  bottom: 0;
  z-index: var(--rh-v2-z-sticky);
  display: none;
  align-items: center;
  gap: var(--rh-v2-space-3);
  padding: var(--rh-v2-space-2) max(var(--rh-v2-space-3), env(safe-area-inset-right)) calc(var(--rh-v2-space-2) + env(safe-area-inset-bottom)) max(var(--rh-v2-space-3), env(safe-area-inset-left));
  border-top: 1px solid var(--rh-v2-color-border-strong);
  background: color-mix(in oklab, var(--rh-v2-color-background) 94%, transparent);
  backdrop-filter: blur(18px);
}
.rh-v2-event-detail-mobile-cta > div { min-width: 0; }
.rh-v2-event-detail-mobile-cta small,
.rh-v2-event-detail-mobile-cta strong { display: block; }
.rh-v2-event-detail-mobile-cta small { color: var(--rh-v2-color-muted-foreground); }
.rh-v2-event-detail-mobile-cta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--rh-v2-font-display); }
.rh-v2-event-detail-mobile-cta .rh-v2-button { margin-left: auto; flex: 0 0 auto; }

@media (max-width: 74rem) {
  .rh-v2-event-detail-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-v2-event-detail-race { grid-template-columns: minmax(0, 1.4fr) minmax(7rem, 0.7fr) auto; }
  .rh-v2-event-detail-race__capacity { grid-column: 1 / 3; }
}

@media (max-width: 64rem) {
  .rh-v2-event-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .rh-v2-event-detail-sidebar { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rh-v2-event-detail-enroll { grid-column: 1 / -1; }
}

@media (max-width: 48rem) {
  .rh-v2-event-detail-hero { min-height: 34rem; }
  .rh-v2-event-detail-hero__content { padding-top: 6.5rem; }
  .rh-v2-event-detail-meta { grid-template-columns: 1fr; }
  .rh-v2-event-detail-meta > span { min-width: 0; }
  .rh-v2-event-detail-race { grid-template-columns: minmax(0, 1fr) auto; }
  .rh-v2-event-detail-race__price { text-align: right; }
  .rh-v2-event-detail-race__capacity { grid-column: 1 / -1; }
  .rh-v2-event-detail-race .rh-v2-button { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .rh-v2-event-detail-included,
  .rh-v2-event-detail-categories,
  .rh-v2-event-detail-info-grid,
  .rh-v2-event-detail-kit-grid,
  .rh-v2-event-detail-related,
  .rh-v2-event-detail-sidebar { grid-template-columns: 1fr; }
  .rh-v2-event-detail-card > header:has(a),
  .rh-v2-event-detail-related-head { align-items: flex-start; flex-direction: column; }
  .rh-v2-event-detail-mobile-cta { display: flex; }
  .rh-v2-event-detail-page .rh-v2-public-footer { padding-bottom: 5rem; }
}

@media (max-width: 30rem) {
  .rh-v2-event-detail-hero h1 { font-size: clamp(2rem, 12vw, 3.1rem); }
  .rh-v2-event-detail-badges > span:not(.rh-v2-badge):nth-of-type(n+5) { display: none; }
  .rh-v2-event-detail-race { grid-template-columns: 1fr; }
  .rh-v2-event-detail-race__price { text-align: left; }
  .rh-v2-event-detail-race__capacity,
  .rh-v2-event-detail-race .rh-v2-button { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .rh-v2-event-detail-race,
  .rh-v2-event-detail-faq summary span { transition: none; transform: none; }
}

/* UI-V2-F3D · integración del núcleo público Home → Eventos → Detalle. */
.rh-v2-public-core {
  position: relative;
  z-index: calc(var(--rh-v2-z-sticky) - 2);
  border-bottom: 1px solid var(--rh-v2-color-border);
  background: color-mix(in oklab, var(--rh-v2-color-background) 92%, transparent);
  backdrop-filter: blur(16px);
}
.rh-v2-public-core__inner {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  gap: var(--rh-v2-space-4);
  padding-top: var(--rh-v2-space-2);
  padding-bottom: var(--rh-v2-space-2);
}
.rh-v2-public-core__back {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  flex: 0 0 auto;
  color: var(--rh-v2-color-foreground);
  font-size: var(--rh-v2-text-sm);
  font-weight: 600;
}
.rh-v2-public-core__back:hover { color: var(--rh-v2-color-primary); }
.rh-v2-public-core__back svg { width: 1rem; height: 1rem; }
.rh-v2-public-core nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  overflow: hidden;
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-sm);
  white-space: nowrap;
}
.rh-v2-public-core nav a,
.rh-v2-public-core nav strong {
  overflow: hidden;
  text-overflow: ellipsis;
}
.rh-v2-public-core nav a { color: inherit; }
.rh-v2-public-core nav a:hover,
.rh-v2-public-core nav a[aria-current="page"],
.rh-v2-public-core nav strong { color: var(--rh-v2-color-foreground); }
.rh-v2-public-core nav a[aria-current="page"],
.rh-v2-public-core nav strong { font-weight: 600; }
.rh-v2-public-core__meta {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
}
.rh-v2-public-core__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0 var(--rh-v2-space-3);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-full);
  background: var(--rh-v2-color-surface);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
}
.rh-v2-event-explorer-card:target,
.rh-v2-event-explorer-featured:target,
[data-rh-v2-event-card].is-return-target {
  border-color: color-mix(in oklab, var(--rh-v2-color-primary) 62%, var(--rh-v2-color-border));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--rh-v2-color-primary) 18%, transparent), var(--rh-v2-shadow-lg);
}
[data-rh-v2-event-card]:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--rh-v2-color-primary) 50%, transparent);
  outline-offset: 4px;
}

@media (max-width: 48rem) {
  .rh-v2-public-core__inner { min-height: 3rem; gap: var(--rh-v2-space-3); }
  .rh-v2-public-core__meta { display: none; }
  .rh-v2-public-core__back span { display: none; }
  .rh-v2-public-core nav { font-size: var(--rh-v2-text-xs); }
}

@media (max-width: 30rem) {
  .rh-v2-public-core nav strong { max-width: 9.5rem; }
  .rh-v2-public-core nav a:first-child,
  .rh-v2-public-core nav a:first-child + span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-rh-v2-event-card] { scroll-behavior: auto; }
}

/* UI-V2-F5A · perfil público de atleta derivado de ProfileHero/ProfileMetric Lovable. */
.rh-v2-athlete-profile-page {
  --rh-v2-context-accent: var(--rh-v2-role-athlete);
  background:
    radial-gradient(60rem 36rem at 14% 6%, color-mix(in oklab, var(--rh-v2-role-athlete) 11%, transparent), transparent 66%),
    radial-gradient(48rem 30rem at 94% 18%, color-mix(in oklab, var(--rh-v2-color-primary) 8%, transparent), transparent 70%),
    var(--rh-v2-color-background);
}

.rh-v2-athlete-profile {
  display: grid;
  gap: var(--rh-v2-space-8);
  padding-top: var(--rh-v2-space-6);
  padding-bottom: var(--rh-v2-space-12);
}

.rh-v2-athlete-profile--empty {
  min-height: 56vh;
  align-content: center;
}

.rh-v2-athlete-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  min-width: 0;
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-athlete-breadcrumb a,
.rh-v2-athlete-breadcrumb strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rh-v2-athlete-breadcrumb a:hover,
.rh-v2-athlete-breadcrumb strong {
  color: var(--rh-v2-color-foreground);
}

.rh-v2-athlete-hero {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid var(--rh-v2-color-border-strong);
  border-radius: var(--rh-v2-radius-2xl);
  background: var(--rh-v2-color-surface);
  box-shadow: var(--rh-v2-shadow-xl);
}

.rh-v2-athlete-hero > img,
.rh-v2-athlete-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rh-v2-athlete-hero > img {
  object-fit: cover;
  object-position: center 42%;
}

.rh-v2-athlete-hero__shade {
  background:
    linear-gradient(180deg, rgba(5, 9, 15, 0.24) 0%, rgba(5, 9, 15, 0.64) 45%, rgba(5, 9, 15, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 9, 15, 0.74) 0%, rgba(5, 9, 15, 0.18) 62%, rgba(5, 9, 15, 0.46) 100%);
}

.rh-v2-athlete-hero__content {
  position: relative;
  z-index: 1;
  min-height: 34rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "avatar identity actions"
    "metrics metrics metrics";
  align-content: end;
  align-items: center;
  gap: var(--rh-v2-space-5);
  padding: clamp(1.25rem, 4vw, 3rem);
}

.rh-v2-athlete-avatar {
  grid-area: avatar;
  display: grid;
  place-items: center;
  width: clamp(5.25rem, 9vw, 7rem);
  aspect-ratio: 1;
  border: 1px solid color-mix(in oklab, var(--rh-v2-role-athlete) 48%, white 8%);
  border-radius: var(--rh-v2-radius-xl);
  background: color-mix(in oklab, var(--rh-v2-role-athlete) 22%, rgba(4, 10, 15, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1rem 3rem rgba(0, 0, 0, 0.28);
  color: var(--rh-v2-role-athlete);
  font-family: var(--rh-v2-font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  backdrop-filter: blur(18px);
}

.rh-v2-athlete-identity {
  grid-area: identity;
  min-width: 0;
}

.rh-v2-athlete-eyebrow,
.rh-v2-athlete-section > header span,
.rh-v2-athlete-highlight > span,
.rh-v2-athlete-progress header span,
.rh-v2-athlete-share > div:first-child > span {
  color: var(--rh-v2-role-athlete);
  font-size: var(--rh-v2-text-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rh-v2-athlete-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-2);
}

.rh-v2-athlete-title h1 {
  min-width: 0;
  margin: 0;
  font-family: var(--rh-v2-font-display);
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.rh-v2-athlete-identity > p {
  display: flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  margin: var(--rh-v2-space-3) 0 0;
  color: color-mix(in oklab, white 74%, var(--rh-v2-color-muted-foreground));
}

.rh-v2-athlete-identity > p svg {
  width: 1rem;
  height: 1rem;
  color: var(--rh-v2-role-athlete);
}

.rh-v2-athlete-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-2);
  margin-top: var(--rh-v2-space-4);
}

.rh-v2-athlete-chips a,
.rh-v2-athlete-chips span {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  min-height: 2rem;
  padding: 0 var(--rh-v2-space-3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--rh-v2-radius-full);
  background: rgba(5, 9, 15, 0.45);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--rh-v2-text-xs);
  backdrop-filter: blur(14px);
}

.rh-v2-athlete-chips a:hover {
  border-color: color-mix(in oklab, var(--rh-v2-role-athlete) 58%, transparent);
  color: white;
}

.rh-v2-athlete-chips svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--rh-v2-role-athlete);
}

.rh-v2-athlete-actions {
  grid-area: actions;
  display: grid;
  justify-items: stretch;
  gap: var(--rh-v2-space-2);
  min-width: 12rem;
}

.rh-v2-athlete-actions .rh-v2-button {
  justify-content: center;
  background: color-mix(in oklab, var(--rh-v2-color-background) 74%, transparent);
  backdrop-filter: blur(16px);
}

.rh-v2-athlete-actions .rh-v2-button:not(.rh-v2-button--outline) {
  background: var(--rh-v2-color-primary);
}

.rh-v2-athlete-actions > [data-rh-v2-public-share-status] {
  min-height: 1rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--rh-v2-text-xs);
  text-align: center;
}

.rh-v2-athlete-metrics {
  grid-area: metrics;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
  margin-top: var(--rh-v2-space-5);
}

.rh-v2-athlete-metrics .rh-v2-metric {
  min-width: 0;
  border-color: rgba(255, 255, 255, 0.14);
  background: color-mix(in oklab, var(--rh-v2-color-background) 70%, transparent);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.rh-v2-athlete-metrics .rh-v2-metric__value {
  color: var(--rh-v2-role-athlete);
}

.rh-v2-athlete-feature-grid,
.rh-v2-athlete-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.25fr);
  gap: var(--rh-v2-space-5);
}

.rh-v2-athlete-highlight,
.rh-v2-athlete-progress,
.rh-v2-athlete-section,
.rh-v2-athlete-share {
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-xl);
  background: color-mix(in oklab, var(--rh-v2-color-surface) 95%, transparent);
  box-shadow: var(--rh-v2-shadow-md);
}

.rh-v2-athlete-highlight,
.rh-v2-athlete-progress,
.rh-v2-athlete-section {
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
}

.rh-v2-athlete-highlight {
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  background:
    radial-gradient(28rem 18rem at 10% 0%, color-mix(in oklab, var(--rh-v2-role-athlete) 13%, transparent), transparent 65%),
    var(--rh-v2-color-surface);
}

.rh-v2-athlete-highlight h2,
.rh-v2-athlete-progress h2,
.rh-v2-athlete-section h2,
.rh-v2-athlete-share h2 {
  margin: var(--rh-v2-space-2) 0 0;
  font-family: var(--rh-v2-font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.025em;
}

.rh-v2-athlete-highlight p {
  margin: var(--rh-v2-space-2) 0 0;
  color: var(--rh-v2-color-muted-foreground);
}

.rh-v2-athlete-highlight > strong {
  margin-top: auto;
  padding-top: var(--rh-v2-space-6);
  font-family: var(--rh-v2-font-mono);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.rh-v2-athlete-highlight > a,
.rh-v2-athlete-section > header > a {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  margin-top: var(--rh-v2-space-4);
  color: var(--rh-v2-color-primary);
  font-size: var(--rh-v2-text-sm);
  font-weight: 600;
}

.rh-v2-athlete-highlight > a svg,
.rh-v2-athlete-section > header > a svg {
  width: 1rem;
  height: 1rem;
}

.rh-v2-athlete-progress header,
.rh-v2-athlete-section > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--rh-v2-space-4);
}

.rh-v2-athlete-progress header small,
.rh-v2-athlete-section > header > small {
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
  text-align: right;
}

.rh-v2-athlete-progress__bars {
  display: grid;
  gap: var(--rh-v2-space-4);
  margin-top: var(--rh-v2-space-6);
}

.rh-v2-athlete-progress__bars > div {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) 2.5rem;
  align-items: center;
  gap: var(--rh-v2-space-3);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-athlete-progress__bars i {
  height: 0.55rem;
  overflow: hidden;
  border-radius: var(--rh-v2-radius-full);
  background: var(--rh-v2-color-surface-3);
}

.rh-v2-athlete-progress__bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rh-v2-role-athlete), var(--rh-v2-color-primary));
}

.rh-v2-athlete-progress__bars strong {
  color: var(--rh-v2-color-foreground);
  font-family: var(--rh-v2-font-mono);
  text-align: right;
}

.rh-v2-athlete-section {
  display: grid;
  gap: var(--rh-v2-space-5);
}

.rh-v2-athlete-section > header > a {
  margin-top: 0;
  flex: 0 0 auto;
}

.rh-v2-athlete-best-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
}

.rh-v2-athlete-best-card {
  min-width: 0;
  display: grid;
  gap: var(--rh-v2-space-2);
  padding: var(--rh-v2-space-4);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-color-surface-2);
  transition: transform var(--rh-v2-duration-fast) var(--rh-v2-ease-out), border-color var(--rh-v2-duration-fast) var(--rh-v2-ease-out);
}

.rh-v2-athlete-best-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--rh-v2-role-athlete) 48%, var(--rh-v2-color-border));
}

.rh-v2-athlete-best-card > span {
  color: var(--rh-v2-role-athlete);
  font-size: var(--rh-v2-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rh-v2-athlete-best-card > strong {
  overflow-wrap: anywhere;
  font-family: var(--rh-v2-font-mono);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.rh-v2-athlete-best-card > small {
  color: var(--rh-v2-color-muted-foreground);
  line-height: var(--rh-v2-leading-snug);
}

.rh-v2-athlete-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
}

.rh-v2-athlete-result-card {
  min-width: 0;
  display: grid;
  gap: var(--rh-v2-space-4);
  padding: var(--rh-v2-space-4);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-color-surface-2);
}

.rh-v2-athlete-result-card > div:first-child > span {
  color: var(--rh-v2-role-athlete);
  font-size: var(--rh-v2-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rh-v2-athlete-result-card h3 {
  margin: var(--rh-v2-space-2) 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--rh-v2-font-display);
  font-size: var(--rh-v2-text-lg);
}

.rh-v2-athlete-result-card p {
  margin: var(--rh-v2-space-1) 0 0;
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-athlete-result-card__performance {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--rh-v2-space-3);
}

.rh-v2-athlete-result-card__performance strong {
  font-family: var(--rh-v2-font-mono);
  font-size: var(--rh-v2-text-2xl);
  font-weight: 500;
}

.rh-v2-athlete-result-card__performance small {
  color: var(--rh-v2-color-muted-foreground);
}

.rh-v2-athlete-result-card > a {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  color: var(--rh-v2-color-primary);
  font-size: var(--rh-v2-text-xs);
  font-weight: 600;
}

.rh-v2-athlete-result-card > a svg {
  width: 0.9rem;
  height: 0.9rem;
}

.rh-v2-athlete-achievements {
  display: grid;
  gap: var(--rh-v2-space-2);
}

.rh-v2-athlete-achievements > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--rh-v2-space-1) var(--rh-v2-space-3);
  align-items: center;
  padding: var(--rh-v2-space-3);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-color-surface-2);
}

.rh-v2-athlete-achievements > div > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--rh-v2-radius-md);
  background: color-mix(in oklab, var(--rh-v2-role-athlete) 12%, transparent);
  color: var(--rh-v2-role-athlete);
}

.rh-v2-athlete-achievements svg {
  width: 1.15rem;
  height: 1.15rem;
}

.rh-v2-athlete-achievements small,
.rh-v2-athlete-pending small {
  color: var(--rh-v2-color-muted-foreground);
}

.rh-v2-athlete-pending {
  display: grid;
  gap: var(--rh-v2-space-2);
  padding-top: var(--rh-v2-space-4);
  border-top: 1px solid var(--rh-v2-color-border);
}

.rh-v2-athlete-pending > span {
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rh-v2-athlete-pending > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--rh-v2-space-3);
  padding: var(--rh-v2-space-2) 0;
}

.rh-v2-athlete-geo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
}

.rh-v2-athlete-geo-metrics > div {
  padding: var(--rh-v2-space-4);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-color-surface-2);
}

.rh-v2-athlete-geo-metrics strong,
.rh-v2-athlete-geo-metrics span {
  display: block;
}

.rh-v2-athlete-geo-metrics strong {
  color: var(--rh-v2-role-athlete);
  font-family: var(--rh-v2-font-display);
  font-size: var(--rh-v2-text-3xl);
}

.rh-v2-athlete-geo-metrics span {
  margin-top: var(--rh-v2-space-1);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-athlete-geo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-v2-space-2);
}

.rh-v2-athlete-geo-chips span {
  display: inline-flex;
  align-items: center;
  gap: var(--rh-v2-space-2);
  min-height: 2rem;
  padding: 0 var(--rh-v2-space-3);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-full);
  background: var(--rh-v2-color-surface-2);
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-athlete-geo-chips svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--rh-v2-role-athlete);
}

.rh-v2-athlete-event-list,
.rh-v2-athlete-ecosystem {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rh-v2-space-3);
}

.rh-v2-athlete-event-list > a,
.rh-v2-athlete-ecosystem > a {
  min-width: 0;
  display: grid;
  gap: var(--rh-v2-space-2);
  padding: var(--rh-v2-space-4);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-color-surface-2);
  color: inherit;
  transition: transform var(--rh-v2-duration-fast) var(--rh-v2-ease-out), border-color var(--rh-v2-duration-fast) var(--rh-v2-ease-out);
}

.rh-v2-athlete-event-list > a:hover,
.rh-v2-athlete-ecosystem > a:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--rh-v2-role-athlete) 48%, var(--rh-v2-color-border));
}

.rh-v2-athlete-event-list span,
.rh-v2-athlete-ecosystem span {
  color: var(--rh-v2-role-athlete);
  font-size: var(--rh-v2-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rh-v2-athlete-event-list strong,
.rh-v2-athlete-ecosystem strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--rh-v2-font-display);
  font-size: var(--rh-v2-text-lg);
}

.rh-v2-athlete-event-list small,
.rh-v2-athlete-ecosystem small {
  color: var(--rh-v2-color-muted-foreground);
  line-height: var(--rh-v2-leading-snug);
}

.rh-v2-athlete-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rh-v2-space-6);
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(32rem 20rem at 0% 0%, color-mix(in oklab, var(--rh-v2-role-athlete) 13%, transparent), transparent 72%),
    var(--rh-v2-color-surface);
}

.rh-v2-athlete-share p {
  max-width: 44rem;
  margin: var(--rh-v2-space-2) 0 0;
  color: var(--rh-v2-color-muted-foreground);
}

.rh-v2-athlete-share > div:last-child {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--rh-v2-space-2);
}

.rh-v2-athlete-share [data-rh-v2-public-share-status] {
  flex-basis: 100%;
  min-height: 1rem;
  color: var(--rh-v2-color-muted-foreground);
  font-size: var(--rh-v2-text-xs);
  text-align: right;
}

@media (max-width: 68rem) {
  .rh-v2-athlete-hero__content {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "avatar identity"
      "actions actions"
      "metrics metrics";
  }
  .rh-v2-athlete-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
  .rh-v2-athlete-actions > [data-rh-v2-public-share-status] {
    grid-column: 1 / -1;
  }
  .rh-v2-athlete-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rh-v2-athlete-feature-grid,
  .rh-v2-athlete-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 52rem) {
  .rh-v2-athlete-profile {
    gap: var(--rh-v2-space-6);
    padding-top: var(--rh-v2-space-4);
  }
  .rh-v2-athlete-hero,
  .rh-v2-athlete-hero__content {
    min-height: 38rem;
  }
  .rh-v2-athlete-hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "avatar"
      "identity"
      "actions"
      "metrics";
    align-content: end;
    align-items: start;
  }
  .rh-v2-athlete-avatar {
    width: 5.5rem;
  }
  .rh-v2-athlete-actions {
    width: 100%;
  }
  .rh-v2-athlete-best-grid,
  .rh-v2-athlete-results-grid,
  .rh-v2-athlete-event-list,
  .rh-v2-athlete-ecosystem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rh-v2-athlete-share {
    align-items: flex-start;
    flex-direction: column;
  }
  .rh-v2-athlete-share > div:last-child {
    width: 100%;
    justify-content: flex-start;
  }
  .rh-v2-athlete-share [data-rh-v2-public-share-status] {
    text-align: left;
  }
}

@media (max-width: 36rem) {
  .rh-v2-athlete-breadcrumb span:first-of-type,
  .rh-v2-athlete-breadcrumb a:first-child {
    display: none;
  }
  .rh-v2-athlete-hero,
  .rh-v2-athlete-hero__content {
    min-height: 42rem;
  }
  .rh-v2-athlete-title h1 {
    font-size: clamp(2rem, 13vw, 3.35rem);
  }
  .rh-v2-athlete-actions,
  .rh-v2-athlete-metrics,
  .rh-v2-athlete-best-grid,
  .rh-v2-athlete-results-grid,
  .rh-v2-athlete-event-list,
  .rh-v2-athlete-ecosystem,
  .rh-v2-athlete-geo-metrics {
    grid-template-columns: 1fr;
  }
  .rh-v2-athlete-progress header,
  .rh-v2-athlete-section > header {
    align-items: flex-start;
    flex-direction: column;
  }
  .rh-v2-athlete-progress header small,
  .rh-v2-athlete-section > header > small {
    text-align: left;
  }
  .rh-v2-athlete-pending > div {
    align-items: flex-start;
    flex-direction: column;
  }
  .rh-v2-athlete-share .rh-v2-button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-v2-athlete-best-card,
  .rh-v2-athlete-event-list > a,
  .rh-v2-athlete-ecosystem > a {
    transition: none;
    transform: none;
  }
}

/* UI-V2-F5B · Perfil público de organizador */
.rh-v2-organizer-profile {
  display: grid;
  gap: var(--rh-v2-space-6);
  padding-block: clamp(1.25rem, 3vw, 3rem) clamp(3rem, 6vw, 6rem);
}

.rh-v2-organizer-profile--empty {
  min-height: 60vh;
  align-content: center;
}

.rh-v2-organizer-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.rh-v2-organizer-breadcrumb a:hover,
.rh-v2-organizer-breadcrumb a:focus-visible {
  color: var(--rh-v2-text);
}

.rh-v2-organizer-breadcrumb strong {
  color: var(--rh-v2-text);
  font-weight: 600;
}

.rh-v2-organizer-hero {
  position: relative;
  isolation: isolate;
  min-height: 31rem;
  overflow: hidden;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: var(--rh-v2-radius-3xl);
  background: var(--rh-v2-surface-1);
  box-shadow: var(--rh-v2-shadow-xl);
}

.rh-v2-organizer-hero__cover,
.rh-v2-organizer-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rh-v2-organizer-hero__cover {
  z-index: -3;
  object-fit: cover;
}

.rh-v2-organizer-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 10, 17, .96) 0%, rgba(6, 10, 17, .84) 48%, rgba(6, 10, 17, .42) 100%),
    linear-gradient(0deg, rgba(6, 10, 17, .95) 0%, rgba(6, 10, 17, .08) 52%, rgba(6, 10, 17, .35) 100%);
}

.rh-v2-organizer-hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -11rem auto;
  z-index: -1;
  width: 26rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--rh-v2-role-organizer) 22%, transparent);
  filter: blur(60px);
  pointer-events: none;
}

.rh-v2-organizer-hero__content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-content: end;
  gap: clamp(1rem, 2vw, 1.5rem);
  min-height: 31rem;
  padding: clamp(1.35rem, 4vw, 3rem);
}

.rh-v2-organizer-avatar {
  display: grid;
  width: clamp(4.75rem, 8vw, 6.25rem);
  aspect-ratio: 1;
  place-items: center;
  align-self: start;
  border: 1px solid color-mix(in srgb, var(--rh-v2-role-organizer) 50%, var(--rh-v2-border));
  border-radius: 1.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--rh-v2-role-organizer) 34%, transparent), color-mix(in srgb, var(--rh-v2-primary) 22%, var(--rh-v2-surface-2)));
  color: var(--rh-v2-text);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34);
  font-family: var(--rh-v2-font-display);
  font-size: clamp(1.35rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.05em;
}

.rh-v2-organizer-identity {
  min-width: 0;
  max-width: 48rem;
}

.rh-v2-organizer-eyebrow,
.rh-v2-organizer-section header span,
.rh-v2-organizer-value > div > span,
.rh-v2-organizer-share > div > span {
  display: block;
  margin-bottom: .45rem;
  color: var(--rh-v2-text-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rh-v2-organizer-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
}

.rh-v2-organizer-title h1 {
  margin: 0;
  font-family: var(--rh-v2-font-display);
  font-size: clamp(2.05rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}

.rh-v2-organizer-location {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: .9rem 0 0;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-organizer-location svg,
.rh-v2-organizer-chips svg,
.rh-v2-organizer-event-card__body svg,
.rh-v2-organizer-contact-list svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.rh-v2-organizer-description {
  max-width: 44rem;
  margin: .9rem 0 0;
  color: color-mix(in srgb, var(--rh-v2-text) 82%, var(--rh-v2-text-muted));
  font-size: clamp(.94rem, 2vw, 1.08rem);
  line-height: 1.7;
}

.rh-v2-organizer-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: 1.15rem;
}

.rh-v2-organizer-chips a,
.rh-v2-organizer-chips button,
.rh-v2-organizer-chips > span:not([data-rh-v2-public-share-status]) {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2rem;
  padding: .35rem .7rem;
  border: 1px solid color-mix(in srgb, var(--rh-v2-border) 88%, transparent);
  border-radius: 999px;
  background: rgba(8, 13, 22, .66);
  color: var(--rh-v2-text-muted);
  font: inherit;
  font-size: var(--rh-v2-text-xs);
  text-decoration: none;
  cursor: pointer;
}

.rh-v2-organizer-chips a:hover,
.rh-v2-organizer-chips button:hover,
.rh-v2-organizer-chips a:focus-visible,
.rh-v2-organizer-chips button:focus-visible {
  border-color: color-mix(in srgb, var(--rh-v2-role-organizer) 50%, var(--rh-v2-border));
  color: var(--rh-v2-text);
}

.rh-v2-organizer-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .65rem;
  align-self: end;
  min-width: 12rem;
}

.rh-v2-organizer-actions .rh-v2-button,
.rh-v2-organizer-follow-form,
.rh-v2-organizer-follow-form button {
  width: 100%;
}

.rh-v2-organizer-follow-form {
  margin: 0;
}

.rh-v2-organizer-actions .is-following {
  border-color: color-mix(in srgb, var(--rh-v2-success) 55%, var(--rh-v2-border));
  color: var(--rh-v2-success);
}

.rh-v2-organizer-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .5rem;
}

.rh-v2-organizer-metrics .rh-v2-metric {
  min-height: 6.8rem;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(8, 13, 22, .7);
  backdrop-filter: blur(16px);
}

.rh-v2-organizer-value {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
  gap: 1.5rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.rh-v2-organizer-value p {
  margin: 0;
  color: var(--rh-v2-text);
  font-size: clamp(.95rem, 2vw, 1.08rem);
  line-height: 1.7;
}

.rh-v2-organizer-value > div:last-child > div {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.rh-v2-organizer-value small {
  padding: .38rem .62rem;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: .55rem;
  background: var(--rh-v2-surface-2);
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.rh-v2-organizer-trust-card {
  display: flex;
  gap: .8rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: var(--rh-v2-radius-xl);
  background: var(--rh-v2-surface-1);
  box-shadow: var(--rh-v2-shadow-sm);
}

.rh-v2-organizer-trust-card > span {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: .75rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--rh-v2-role-organizer) 27%, transparent), color-mix(in srgb, var(--rh-v2-primary) 13%, transparent));
  color: var(--rh-v2-role-organizer);
}

.rh-v2-organizer-trust-card > span svg {
  width: 1.15rem;
  height: 1.15rem;
}

.rh-v2-organizer-trust-card div {
  min-width: 0;
}

.rh-v2-organizer-trust-card small {
  display: block;
  overflow: hidden;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rh-v2-organizer-trust-card strong {
  display: block;
  margin-top: .18rem;
  font-family: var(--rh-v2-font-display);
  font-size: var(--rh-v2-text-sm);
}

.rh-v2-organizer-trust-card p {
  margin: .35rem 0 0;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
  line-height: 1.5;
}

.rh-v2-organizer-section {
  padding: clamp(1.05rem, 3vw, 1.5rem);
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: var(--rh-v2-radius-2xl);
  background: var(--rh-v2-surface-1);
  box-shadow: var(--rh-v2-shadow-sm);
}

.rh-v2-organizer-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rh-v2-organizer-section h2,
.rh-v2-organizer-share h2 {
  margin: 0;
  font-family: var(--rh-v2-font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: -.03em;
}

.rh-v2-organizer-section > header > a,
.rh-v2-organizer-event-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--rh-v2-primary);
  font-size: var(--rh-v2-text-xs);
  font-weight: 650;
  text-decoration: none;
}

.rh-v2-organizer-section > header > a svg,
.rh-v2-organizer-event-card__link svg {
  width: .9rem;
  height: .9rem;
}

.rh-v2-organizer-section > header > small {
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.rh-v2-organizer-signal-grid article {
  padding: .9rem;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-surface-2);
}

.rh-v2-organizer-signal-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.rh-v2-organizer-signal-grid span {
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-signal-grid strong {
  font-family: var(--rh-v2-font-display);
}

.rh-v2-organizer-signal-grid i,
.rh-v2-organizer-readiness i {
  display: block;
  height: .45rem;
  margin-top: .65rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rh-v2-surface-3);
}

.rh-v2-organizer-signal-grid b,
.rh-v2-organizer-readiness b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rh-v2-role-organizer), var(--rh-v2-primary));
}

.rh-v2-organizer-signal-grid p {
  margin: .6rem 0 0;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
  line-height: 1.5;
}

.rh-v2-organizer-event-grid,
.rh-v2-organizer-past-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rh-v2-organizer-event-card {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: var(--rh-v2-radius-xl);
  background: var(--rh-v2-surface-2);
  transition: transform var(--rh-v2-duration-fast) var(--rh-v2-ease-standard), border-color var(--rh-v2-duration-fast) var(--rh-v2-ease-standard);
}

.rh-v2-organizer-event-card:hover,
.rh-v2-organizer-event-card:focus-within {
  border-color: color-mix(in srgb, var(--rh-v2-primary) 48%, var(--rh-v2-border));
  transform: translateY(-2px);
}

.rh-v2-organizer-event-card__image {
  position: relative;
  min-height: 11rem;
  overflow: hidden;
}

.rh-v2-organizer-event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--rh-v2-duration-slow) var(--rh-v2-ease-standard);
}

.rh-v2-organizer-event-card:hover .rh-v2-organizer-event-card__image img {
  transform: scale(1.04);
}

.rh-v2-organizer-event-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 11, 18, .72), transparent 62%);
}

.rh-v2-organizer-event-card__image > span {
  position: absolute;
  z-index: 1;
  inset: auto .65rem .65rem;
  width: fit-content;
  padding: .28rem .5rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .45rem;
  background: rgba(6, 10, 17, .72);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rh-v2-organizer-event-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem;
}

.rh-v2-organizer-event-card__body > div:first-child > span {
  color: var(--rh-v2-text-muted);
  font-family: var(--rh-v2-font-mono);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-event-card h3 {
  margin: .2rem 0 0;
  font-family: var(--rh-v2-font-display);
  font-size: 1.05rem;
}

.rh-v2-organizer-event-card h3 a {
  color: var(--rh-v2-text);
  text-decoration: none;
}

.rh-v2-organizer-event-card p,
.rh-v2-organizer-event-card__meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-event-card p {
  margin: .45rem 0 0;
}

.rh-v2-organizer-event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .8rem;
}

.rh-v2-organizer-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 1fr);
  gap: 1rem;
}

.rh-v2-organizer-activity-list,
.rh-v2-organizer-contact-list,
.rh-v2-organizer-badge-list {
  display: grid;
  gap: .65rem;
}

.rh-v2-organizer-activity-list a,
.rh-v2-organizer-contact-list a,
.rh-v2-organizer-badge-list article {
  display: grid;
  gap: .18rem;
  padding: .8rem;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-surface-2);
  color: var(--rh-v2-text);
  text-decoration: none;
}

.rh-v2-organizer-activity-list a:hover,
.rh-v2-organizer-contact-list a:hover,
.rh-v2-organizer-activity-list a:focus-visible,
.rh-v2-organizer-contact-list a:focus-visible {
  border-color: color-mix(in srgb, var(--rh-v2-primary) 45%, var(--rh-v2-border));
}

.rh-v2-organizer-activity-list span,
.rh-v2-organizer-activity-list small,
.rh-v2-organizer-badge-list small {
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-contact-list a {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.rh-v2-organizer-contact-list svg {
  color: var(--rh-v2-role-organizer);
}

.rh-v2-organizer-readiness {
  margin-top: 1rem;
  padding: .9rem;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: var(--rh-v2-radius-lg);
  background: color-mix(in srgb, var(--rh-v2-role-organizer) 8%, var(--rh-v2-surface-2));
}

.rh-v2-organizer-readiness > span,
.rh-v2-organizer-readiness > small {
  display: block;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-readiness > strong {
  display: block;
  margin-top: .2rem;
  font-family: var(--rh-v2-font-display);
  font-size: 1.65rem;
}

.rh-v2-organizer-readiness > small {
  margin-top: .55rem;
  line-height: 1.45;
}

.rh-v2-organizer-badge-list article {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.rh-v2-organizer-badge-list article > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: .65rem;
  background: color-mix(in srgb, var(--rh-v2-role-organizer) 16%, transparent);
  color: var(--rh-v2-role-organizer);
}

.rh-v2-organizer-badge-list svg {
  width: 1rem;
  height: 1rem;
}

.rh-v2-organizer-pending-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .8rem;
}

.rh-v2-organizer-pending-badges > span,
.rh-v2-organizer-pending-badges > small {
  padding: .35rem .55rem;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: 999px;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-positioning {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}

.rh-v2-organizer-positioning > div {
  padding: .8rem;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-surface-2);
}

.rh-v2-organizer-positioning span {
  display: block;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
}

.rh-v2-organizer-positioning strong {
  display: block;
  margin-top: .25rem;
  font-family: var(--rh-v2-font-display);
  font-size: 1.5rem;
}

.rh-v2-organizer-positioning__copy {
  margin: .8rem 0 0;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-sm);
  line-height: 1.55;
}

.rh-v2-organizer-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.rh-v2-organizer-related-grid a {
  display: grid;
  gap: .35rem;
  min-width: 0;
  padding: .9rem;
  border: 1px solid var(--rh-v2-border-subtle);
  border-radius: var(--rh-v2-radius-lg);
  background: var(--rh-v2-surface-2);
  color: var(--rh-v2-text);
  text-decoration: none;
}

.rh-v2-organizer-related-grid a:hover,
.rh-v2-organizer-related-grid a:focus-visible {
  border-color: color-mix(in srgb, var(--rh-v2-role-organizer) 52%, var(--rh-v2-border));
}

.rh-v2-organizer-related-grid a > span {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: .65rem;
  background: color-mix(in srgb, var(--rh-v2-role-organizer) 16%, transparent);
  color: var(--rh-v2-role-organizer);
}

.rh-v2-organizer-related-grid svg {
  width: 1rem;
  height: 1rem;
}

.rh-v2-organizer-related-grid small,
.rh-v2-organizer-related-grid em {
  overflow: hidden;
  color: var(--rh-v2-text-muted);
  font-size: var(--rh-v2-text-xs);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rh-v2-organizer-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--rh-v2-role-organizer) 36%, var(--rh-v2-border));
  border-radius: var(--rh-v2-radius-2xl);
  background:
    radial-gradient(circle at 86% 20%, color-mix(in srgb, var(--rh-v2-role-organizer) 21%, transparent), transparent 36%),
    linear-gradient(135deg, var(--rh-v2-surface-1), var(--rh-v2-surface-2));
}

.rh-v2-organizer-share p {
  margin: .5rem 0 0;
  color: var(--rh-v2-text-muted);
}

.rh-v2-organizer-share > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem;
}

@media (max-width: 1050px) {
  .rh-v2-organizer-hero__content {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rh-v2-organizer-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .rh-v2-organizer-trust-grid,
  .rh-v2-organizer-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-v2-organizer-signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .rh-v2-organizer-profile {
    gap: 1rem;
    padding-top: 1rem;
  }

  .rh-v2-organizer-hero,
  .rh-v2-organizer-hero__content {
    min-height: auto;
  }

  .rh-v2-organizer-hero__content {
    grid-template-columns: 1fr;
    padding-top: 8.5rem;
  }

  .rh-v2-organizer-hero__shade {
    background:
      linear-gradient(0deg, rgba(6, 10, 17, .98) 0%, rgba(6, 10, 17, .9) 64%, rgba(6, 10, 17, .35) 100%);
  }

  .rh-v2-organizer-avatar {
    width: 4.5rem;
  }

  .rh-v2-organizer-actions,
  .rh-v2-organizer-metrics,
  .rh-v2-organizer-value,
  .rh-v2-organizer-trust-grid,
  .rh-v2-organizer-signal-grid,
  .rh-v2-organizer-event-grid,
  .rh-v2-organizer-past-grid,
  .rh-v2-organizer-lower-grid,
  .rh-v2-organizer-related-grid {
    grid-template-columns: 1fr;
  }

  .rh-v2-organizer-metrics {
    grid-column: auto;
  }

  .rh-v2-organizer-event-card {
    grid-template-columns: 7.4rem minmax(0, 1fr);
  }

  .rh-v2-organizer-event-card__image {
    min-height: 10rem;
  }

  .rh-v2-organizer-share {
    align-items: stretch;
    flex-direction: column;
  }

  .rh-v2-organizer-share > div:last-child {
    justify-content: flex-start;
  }
}

@media (max-width: 470px) {
  .rh-v2-organizer-title h1 {
    font-size: 2rem;
  }

  .rh-v2-organizer-event-card {
    grid-template-columns: 1fr;
  }

  .rh-v2-organizer-event-card__image {
    min-height: 10.5rem;
  }

  .rh-v2-organizer-positioning {
    grid-template-columns: 1fr;
  }

  .rh-v2-organizer-section > header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* UI-V2-F5C · Perfil público de equipo */
.rh-v2-team-profile-page {
  --rh-v2-team-accent: var(--rh-v2-role-team);
  --rh-v2-team-accent-2: var(--rh-v2-primary);
  background:
    radial-gradient(circle at 16% 12%, rgba(38, 159, 255, .13), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(52, 226, 175, .09), transparent 30rem),
    var(--rh-v2-color-bg, #070b12);
}

.rh-v2-team-profile {
  display: grid;
  gap: 1.5rem;
  padding-block: 1.5rem 4rem;
}

.rh-v2-team-breadcrumb {
  align-items: center;
  color: var(--rh-v2-color-text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .78rem;
  gap: .45rem;
}

.rh-v2-team-breadcrumb a:hover { color: var(--rh-v2-team-accent); }
.rh-v2-team-breadcrumb strong { color: var(--rh-v2-color-text); font-weight: 600; }

.rh-v2-team-hero {
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-2xl);
  min-height: 31rem;
  overflow: hidden;
  position: relative;
}

.rh-v2-team-hero__cover,
.rh-v2-team-hero__shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.rh-v2-team-hero__cover { object-fit: cover; }
.rh-v2-team-hero__shade {
  background:
    linear-gradient(90deg, rgba(4, 8, 15, .97) 0%, rgba(4, 8, 15, .84) 48%, rgba(4, 8, 15, .28) 100%),
    linear-gradient(0deg, rgba(4, 8, 15, .9), transparent 48%);
}

.rh-v2-team-hero__content {
  align-items: end;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 31rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

.rh-v2-team-avatar {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(86, 214, 255, .96), rgba(46, 162, 255, .68));
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 1.55rem;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .38);
  color: #031018;
  display: flex;
  font-family: var(--rh-v2-font-display);
  font-size: 1.65rem;
  font-weight: 800;
  justify-content: center;
  width: 5.4rem;
}

.rh-v2-team-identity { max-width: 48rem; }
.rh-v2-team-eyebrow,
.rh-v2-team-section > header span,
.rh-v2-team-story > div > span,
.rh-v2-team-join > div > span,
.rh-v2-team-share > div > span {
  color: var(--rh-v2-team-accent-2);
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rh-v2-team-title { align-items: center; display: flex; flex-wrap: wrap; gap: .75rem; }
.rh-v2-team-title h1 {
  font-family: var(--rh-v2-font-display);
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  letter-spacing: -.045em;
  line-height: .98;
  margin: .42rem 0 .25rem;
}

.rh-v2-team-location,
.rh-v2-team-chips,
.rh-v2-team-event-card__body p,
.rh-v2-team-event-card__body > div,
.rh-v2-team-membership-status {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.rh-v2-team-location { color: rgba(238, 247, 255, .82); margin: .4rem 0; }
.rh-v2-team-location svg,
.rh-v2-team-chips svg,
.rh-v2-team-event-card svg,
.rh-v2-team-membership-status svg { height: 1rem; width: 1rem; }
.rh-v2-team-description { color: rgba(238, 247, 255, .78); line-height: 1.7; margin: .65rem 0 1rem; max-width: 46rem; }

.rh-v2-team-chips > * {
  align-items: center;
  background: rgba(8, 18, 29, .72);
  border: 1px solid rgba(198, 231, 255, .22);
  border-radius: 999px;
  color: rgba(244, 250, 255, .9);
  display: inline-flex;
  font-size: .76rem;
  gap: .38rem;
  min-height: 2rem;
  padding: .36rem .72rem;
}
.rh-v2-team-chips button { cursor: pointer; }
.rh-v2-team-chips a:hover,
.rh-v2-team-chips button:hover { border-color: var(--rh-v2-team-accent); color: #fff; }

.rh-v2-team-hero__action { align-self: end; display: flex; justify-content: flex-end; }
.rh-v2-team-hero__action .rh-v2-button { white-space: nowrap; }

.rh-v2-team-metrics {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rh-v2-team-metrics .rh-v2-metric {
  background: linear-gradient(145deg, rgba(15, 25, 38, .94), rgba(9, 16, 27, .92));
  border-color: rgba(86, 214, 255, .18);
}

.rh-v2-team-story,
.rh-v2-team-section,
.rh-v2-team-join,
.rh-v2-team-share {
  background: rgba(12, 19, 30, .82);
  border: 1px solid var(--rh-v2-color-border);
  border-radius: var(--rh-v2-radius-xl);
}

.rh-v2-team-story {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 2fr) minmax(15rem, .8fr);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.rh-v2-team-story h2,
.rh-v2-team-section h2,
.rh-v2-team-join h2,
.rh-v2-team-share h2 { font-family: var(--rh-v2-font-display); letter-spacing: -.025em; margin: .3rem 0; }
.rh-v2-team-story p,
.rh-v2-team-join p,
.rh-v2-team-share p { color: var(--rh-v2-color-text-muted); line-height: 1.65; margin: .45rem 0 0; }
.rh-v2-team-story aside { display: grid; gap: .35rem; }
.rh-v2-team-story aside small { color: var(--rh-v2-color-text-muted); font-size: .72rem; }
.rh-v2-team-story aside strong { font-size: 1.05rem; }

.rh-v2-team-progress,
.rh-v2-team-readiness > i {
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  height: .48rem;
  overflow: hidden;
}
.rh-v2-team-progress i,
.rh-v2-team-readiness > i b {
  background: linear-gradient(90deg, var(--rh-v2-team-accent), var(--rh-v2-team-accent-2));
  display: block;
  height: 100%;
}

.rh-v2-team-section { padding: clamp(1.15rem, 3vw, 1.75rem); }
.rh-v2-team-section > header {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.rh-v2-team-section > header h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.rh-v2-team-section > header > a,
.rh-v2-team-section > header > small { color: var(--rh-v2-color-text-muted); font-size: .76rem; }
.rh-v2-team-section > header > a { align-items: center; display: inline-flex; gap: .35rem; }
.rh-v2-team-section > header > a:hover { color: var(--rh-v2-team-accent); }
.rh-v2-team-section > header svg { height: .9rem; width: .9rem; }

.rh-v2-team-member-grid { display: grid; gap: .8rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rh-v2-team-member-card {
  align-items: center;
  background: rgba(19, 29, 43, .72);
  border: 1px solid rgba(198, 231, 255, .12);
  border-radius: 1rem;
  display: grid;
  gap: .75rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: .9rem;
}
.rh-v2-team-member-card__avatar {
  align-items: center;
  background: rgba(86, 214, 255, .14);
  border: 1px solid rgba(86, 214, 255, .28);
  border-radius: .85rem;
  color: var(--rh-v2-team-accent);
  display: flex;
  font-family: var(--rh-v2-font-display);
  font-weight: 800;
  height: 2.85rem;
  justify-content: center;
  width: 2.85rem;
}
.rh-v2-team-member-card div { min-width: 0; }
.rh-v2-team-member-card strong,
.rh-v2-team-member-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-v2-team-member-card small,
.rh-v2-team-member-card em { color: var(--rh-v2-color-text-muted); font-size: .7rem; font-style: normal; }

.rh-v2-team-event-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rh-v2-team-event-list { display: grid; gap: .7rem; }
.rh-v2-team-event-card {
  align-items: center;
  background: rgba(18, 27, 41, .76);
  border: 1px solid rgba(198, 231, 255, .12);
  border-radius: 1rem;
  display: grid;
  gap: .85rem;
  grid-template-columns: 8.6rem minmax(0, 1fr) auto;
  padding: .95rem;
}
.rh-v2-team-event-card__date span,
.rh-v2-team-event-card__date strong { display: block; }
.rh-v2-team-event-card__date span { color: var(--rh-v2-team-accent-2); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rh-v2-team-event-card__date strong { margin-top: .22rem; }
.rh-v2-team-event-card__body { min-width: 0; }
.rh-v2-team-event-card__body h3 { font-size: 1rem; margin: 0; }
.rh-v2-team-event-card__body h3 a:hover { color: var(--rh-v2-team-accent); }
.rh-v2-team-event-card__body p,
.rh-v2-team-event-card__body > div { color: var(--rh-v2-color-text-muted); font-size: .72rem; margin: .35rem 0 0; }
.rh-v2-team-event-card__body > div span { align-items: center; display: inline-flex; gap: .3rem; }
.rh-v2-team-event-card__link { color: var(--rh-v2-team-accent); padding: .45rem; }

.rh-v2-team-lower-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .8fr); }
.rh-v2-team-badge-list,
.rh-v2-team-channel-list { display: grid; gap: .65rem; }
.rh-v2-team-badge-list article,
.rh-v2-team-channel-list a {
  align-items: center;
  background: rgba(19, 29, 43, .72);
  border: 1px solid rgba(198, 231, 255, .12);
  border-radius: .9rem;
  display: flex;
  gap: .7rem;
  padding: .8rem;
}
.rh-v2-team-badge-list article > span { color: var(--rh-v2-team-accent-2); }
.rh-v2-team-badge-list svg { height: 1.2rem; width: 1.2rem; }
.rh-v2-team-badge-list strong,
.rh-v2-team-badge-list small { display: block; }
.rh-v2-team-badge-list small { color: var(--rh-v2-color-text-muted); font-size: .72rem; }
.rh-v2-team-pending { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.rh-v2-team-pending > * { background: rgba(86, 214, 255, .08); border-radius: 999px; color: var(--rh-v2-color-text-muted); font-size: .68rem; padding: .32rem .6rem; }

.rh-v2-team-ranking { display: grid; gap: .65rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rh-v2-team-ranking > div { background: rgba(19, 29, 43, .72); border: 1px solid rgba(198, 231, 255, .12); border-radius: .9rem; padding: .85rem; }
.rh-v2-team-ranking span,
.rh-v2-team-ranking small { color: var(--rh-v2-color-text-muted); display: block; font-size: .7rem; }
.rh-v2-team-ranking strong { display: block; font-family: var(--rh-v2-font-display); font-size: 1.65rem; margin: .18rem 0; }
.rh-v2-team-drivers { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.rh-v2-team-drivers span { border: 1px solid color-mix(in srgb, var(--rh-v2-role-team) 20%, transparent); border-radius: 999px; color: var(--rh-v2-team-accent); font-size: .68rem; padding: .3rem .55rem; }

.rh-v2-team-channel-list a { align-items: flex-start; justify-content: space-between; }
.rh-v2-team-channel-list a span { align-items: center; display: flex; gap: .35rem; }
.rh-v2-team-channel-list a strong { font-size: .78rem; text-align: right; }
.rh-v2-team-channel-list a:hover { border-color: var(--rh-v2-team-accent); }
.rh-v2-team-channel-list svg { height: .95rem; width: .95rem; }
.rh-v2-team-readiness { display: grid; gap: .45rem; margin-top: 1rem; }
.rh-v2-team-readiness span,
.rh-v2-team-readiness small { color: var(--rh-v2-color-text-muted); font-size: .7rem; }
.rh-v2-team-readiness strong { font-size: 1.35rem; }

.rh-v2-team-related-grid { display: grid; gap: .75rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rh-v2-team-related-grid a { background: rgba(19, 29, 43, .72); border: 1px solid rgba(198, 231, 255, .12); border-radius: 1rem; display: grid; gap: .35rem; padding: .9rem; }
.rh-v2-team-related-grid a > span { color: var(--rh-v2-team-accent); }
.rh-v2-team-related-grid svg { height: 1.2rem; width: 1.2rem; }
.rh-v2-team-related-grid small { color: var(--rh-v2-color-text-muted); font-size: .7rem; }
.rh-v2-team-related-grid a:hover { border-color: var(--rh-v2-team-accent); transform: translateY(-2px); }

.rh-v2-team-join,
.rh-v2-team-share { align-items: center; display: flex; gap: 1.2rem; justify-content: space-between; padding: clamp(1.25rem, 3vw, 2rem); }
.rh-v2-team-join > div:last-child,
.rh-v2-team-share > div:last-child { align-items: center; display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; }
.rh-v2-team-join { background: linear-gradient(135deg, rgba(86, 214, 255, .12), rgba(65, 224, 171, .08)), rgba(12, 19, 30, .86); }
.rh-v2-team-share { background: linear-gradient(135deg, rgba(42, 121, 230, .12), rgba(12, 19, 30, .92)); }
.rh-v2-team-membership-status { border: 1px solid color-mix(in srgb, var(--rh-v2-role-team) 22%, transparent); border-radius: .8rem; color: var(--rh-v2-team-accent); padding: .7rem .9rem; }
.rh-v2-team-join-form { margin: 0; }

@media (max-width: 980px) {
  .rh-v2-team-hero__content { grid-template-columns: auto minmax(0, 1fr); }
  .rh-v2-team-hero__action { grid-column: 2; justify-content: flex-start; }
  .rh-v2-team-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-v2-team-member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-v2-team-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .rh-v2-team-profile { gap: 1rem; padding-top: 1rem; }
  .rh-v2-team-hero,
  .rh-v2-team-hero__content { min-height: auto; }
  .rh-v2-team-hero__content { grid-template-columns: 1fr; padding-top: 9rem; }
  .rh-v2-team-hero__shade { background: linear-gradient(0deg, rgba(4, 8, 15, .98) 0%, rgba(4, 8, 15, .88) 66%, rgba(4, 8, 15, .35) 100%); }
  .rh-v2-team-avatar { width: 4.5rem; }
  .rh-v2-team-hero__action { grid-column: auto; }
  .rh-v2-team-story,
  .rh-v2-team-lower-grid,
  .rh-v2-team-event-grid { grid-template-columns: 1fr; }
  .rh-v2-team-join,
  .rh-v2-team-share { align-items: stretch; flex-direction: column; }
  .rh-v2-team-join > div:last-child,
  .rh-v2-team-share > div:last-child { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .rh-v2-team-title h1 { font-size: 2.15rem; }
  .rh-v2-team-metrics,
  .rh-v2-team-member-grid,
  .rh-v2-team-ranking,
  .rh-v2-team-related-grid { grid-template-columns: 1fr; }
  .rh-v2-team-event-card { grid-template-columns: 1fr auto; }
  .rh-v2-team-event-card__date { grid-column: 1 / -1; }
  .rh-v2-team-section > header { align-items: flex-start; flex-direction: column; }
  .rh-v2-team-member-card { grid-template-columns: auto minmax(0, 1fr); }
  .rh-v2-team-member-card em { grid-column: 2; }
}

/* PROFILE-IMAGES-V2-FOUNDATION-1.0 */
.rh-v2-athlete-avatar img,
.rh-v2-organizer-avatar img,
.rh-v2-team-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
