/* ═══════════════════════════════════════════════════════════
   results.css  —  Page-specific styles for results.html
   All shared tokens and base styles live in global.css.
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HERO COMPACT VARIANT
   A shorter hero used on inner pages so it
   doesn't dominate like the full homepage hero.
───────────────────────────────────────── */
.hero-compact {
  min-height: unset;
}

.hero-content-compact {
  padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
  gap: var(--space-lg);
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(189, 212, 240, 0.80);
  max-width: 480px;
  line-height: 1.6;
}

/* Active nav link highlight */
.main-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* ─────────────────────────────────────────
   CHAMPION CARDS
───────────────────────────────────────── */
.champions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: 720px;
  margin: 0 auto;
}

.champion-card {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl) var(--space-3xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.champion-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Gold — Division I */
.champion-card-gold {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  border: 2px solid var(--amber-400);
}

.champion-card-gold .champion-trophy {
  color: var(--amber-400);
}

.champion-card-gold .champion-division {
  color: var(--amber-300);
}

/* Silver — Division II */
.champion-card-silver {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  border: 2px solid var(--blue-300);
}

.champion-card-silver .champion-trophy {
  color: var(--blue-300);
}

.champion-card-silver .champion-division {
  color: var(--blue-200);
}

.champion-badge-wrap {
  flex-shrink: 0;
}

.champion-trophy {
  width: 52px;
  height: 52px;
}

.champion-division {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
}

.champion-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
}

/* ─────────────────────────────────────────
   FEATURED DOCUMENT CARDS
───────────────────────────────────────── */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.doc-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.doc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue-300);
}

.doc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xl);
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-icon svg {
  width: 22px;
  height: 22px;
}

.doc-text {
  flex: 1;
}

.doc-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: var(--space-xs);
}

.doc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
}

.doc-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.doc-arrow svg {
  width: 16px;
  height: 16px;
}

.doc-card:hover .doc-arrow {
  background: var(--blue-700);
  color: var(--white);
}

/* ─────────────────────────────────────────
   ARCHIVE SECTION
───────────────────────────────────────── */
.archive-category {
  margin-bottom: var(--space-4xl);
}

.archive-category:last-child {
  margin-bottom: 0;
}

.archive-category-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid #e5e7eb;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-md);
}

.archive-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-md);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
}

.archive-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue-300);
  background: var(--blue-50);
}

.archive-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.archive-icon svg {
  width: 18px;
  height: 18px;
}

.archive-card:hover .archive-icon {
  background: var(--blue-700);
  color: var(--white);
}

.archive-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.archive-ext {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
  .champion-card {
    padding: var(--space-xl);
    gap: var(--space-lg);
  }

  .champion-name {
    font-size: 1.25rem;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
}

@media (max-width: 480px) {
  .champions-grid {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}