/* Auto-generated ranking-page CSS — do not edit manually */
/* Source: scripts/lib/ranking-css.js — run: node scripts/generate-shared-css.js */
/* Cascade contract: linked AFTER /css/shared.css. */


    /* === PAGE-SPECIFIC STYLES (header/footer/card from /css/shared.css) === */
    .control-label {
      font-size: 0.875rem;
      font-weight: 600;
      color: #4a4f55; /* 8.27:1 on white */
    }
    html.dark .control-label { color: #c4c7c5; /* 9.04:1 on #202124 */ }
    #sortSelect { background: #fff; color: #202124; }
    html.dark #sortSelect { background: #292a2d; color: #e8eaed; border-color: #4b5563; }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
      line-height: 1.6;
    }

    /* Main Content Styling */
    .main-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 16px; /* aligns with site-header .container (16px) */
      box-sizing: border-box;
    }
    
    /* Hero Section — band padding/background + h1/eyebrow/meta-pill typography
       come from the shared PAGE HERO SYSTEM in shared.css (R4-T8, I09); the
       markup carries .hero-system.hero-band. */
    .hero-bg-overlay {
      display: none;
    }

    .hero-decorations {
      display: none;
    }

    .hero-decoration-1 {
      display: none;
    }

    .hero-decoration-2 {
      display: none;
    }
    
    .hero-content {
      position: relative;
      text-align: center;
    }
    
    /* Breadcrumb */
    .breadcrumb {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px; /* space-x-2 */
      /* margin-bottom comes from the shared hero system (24px) */
      font-size: 14px; /* text-sm */
      color: #4b5563; /* text-gray-600 */
    }
    html.dark .breadcrumb {
      color: #9aa0a6; /* dark:text-[#9aa0a6] */
    }
    
    .breadcrumb a {
      color: #2563eb; /* text-blue-600 */
      text-decoration: none;
      transition: color 0.2s;
    }
    @media (max-width: 640px) {
      /* WCAG 2.5.8: breadcrumb links get >=44px tap height on mobile */
      .breadcrumb a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
      }
    }
    .breadcrumb a:hover {
      color: #1d4ed8; /* hover:text-blue-700 */
    }
    html.dark .breadcrumb a {
      color: #60a5fa; /* dark:text-blue-400 */
    }
    html.dark .breadcrumb a:hover {
      color: #93c5fd; /* dark:hover:text-blue-300 */
    }
    
    .breadcrumb-current {
      color: #202124; /* text-gray-800 */
    }
    html.dark .breadcrumb-current {
      color: #e8eaed; /* Gemini dark text */
    }
    
    /* Eyebrow, H1 and meta pill: shared PAGE HERO SYSTEM
       (.hero-system .hero-eyebrow / h1 / .hero-meta in shared.css). */
    .hero-count {
      color: #1d4ed8; /* blue-700 */
    }
    html.dark .hero-count {
      color: #60a5fa; /* blue-400 */
    }

    /* "How to read these rankings" — collapsed by default */
    .interpretation-details {
      max-width: 640px;
      margin: 0 auto 16px;
      text-align: left;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-sm);
      background: #ffffff;
      overflow: hidden;
    }
    html.dark .interpretation-details {
      background: #1a1a1a;
      border-color: #334155;
    }
    .interpretation-summary {
      list-style: none;
      cursor: pointer;
      padding: 10px 14px;
      font-size: 14px;
      font-weight: 600;
      color: #334155;
      display: flex;
      align-items: center;
      gap: 8px;
      user-select: none;
    }
    .interpretation-summary::-webkit-details-marker { display: none; }
    html.dark .interpretation-summary {
      color: #e2e8f0;
    }
    .interpretation-summary svg {
      width: 16px;
      height: 16px;
      color: #3b82f6;
      flex-shrink: 0;
    }
    .interpretation-summary::after {
      content: '+';
      margin-left: auto;
      font-size: 18px;
      color: #94a3b8;
      font-weight: 400;
    }
    .interpretation-details[open] .interpretation-summary::after {
      content: '−';
    }
    .interpretation-body {
      padding: 0 14px 12px;
      font-size: 14px;
      color: #475569;
      line-height: 1.55;
    }
    html.dark .interpretation-body {
      color: #cbd5e1;
    }
    .interpretation-body strong {
      color: #1e40af;
    }
    html.dark .interpretation-body strong {
      color: #93c5fd;
    }
    
    /* Hero Description */
    .hero-description {
      font-size: 18px; /* text-lg */
      color: #5f6368; /* text-gray-700 */
      max-width: 768px; /* max-w-3xl */
      margin: 0 auto;
      line-height: 1.625; /* leading-relaxed */
    }
    html.dark .hero-description {
      color: rgba(232, 234, 237, 0.9); /* Gemini dark text with opacity */
    }
    
    @media (min-width: 768px) {
      .hero-description {
        font-size: 20px; /* md:text-xl */
      }
    }

    
    /* Back Navigation */
    .back-navigation {
      margin-top: 24px; /* mt-6 */
      text-align: center;
    }
    
    .back-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px; /* gap-2 */
      padding: 10px 16px; /* px-4 py-2.5 */
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(59, 130, 246, 0.3);
      border-radius: var(--radius-sm); /* rounded-lg */
      color: #5f6368; /* text-gray-700 */
      text-decoration: none;
      font-weight: 500; /* font-medium */
      font-size: 14px; /* text-sm */
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .back-btn:hover {
      border-color: rgba(59, 130, 246, 0.6);
      background: rgba(59, 130, 246, 0.05);
      transform: translateX(-2px);
      box-shadow: var(--shadow-2);
    }
    
    html.dark .back-btn {
      background: rgba(41, 42, 45, 0.9);
      color: rgba(230, 230, 230, 0.9);
      border-color: rgba(96, 165, 250, 0.3);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    html.dark .back-btn:hover {
      border-color: rgba(96, 165, 250, 0.6);
      background: rgba(96, 165, 250, 0.1);
      box-shadow: var(--shadow-2);
    }
    
    .back-icon {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
    
    .back-text {
      font-weight: 600; /* font-semibold */
    }

    /* Old surgeon card styles removed - now using unified card component */

    /* Disclaimer — neutral card with blue accent border (amber retired Jun 2026, C12) */
    .disclaimer {
      margin-top: 48px; /* mt-12 */
      padding: 24px; /* p-6 */
      background: #f8f9fa;
      border: 1px solid #e5e7eb;
      border-left: 3px solid #2563eb;
      border-radius: var(--radius-md); /* rounded-xl */
    }
    html.dark .disclaimer {
      background: #292a2d;
      border-color: #3c4043;
      border-left-color: #60a5fa;
    }

    .disclaimer-content {
      display: flex;
      align-items: flex-start;
    }

    .disclaimer-icon {
      width: 24px; /* w-6 */
      height: 24px; /* h-6 */
      color: #2563eb;
      flex-shrink: 0;
      margin-top: 2px; /* mt-0.5 */
      margin-right: 12px; /* mr-3 */
    }
    html.dark .disclaimer-icon {
      color: #60a5fa;
    }

    .disclaimer-text h3 {
      font-size: 18px; /* text-lg */
      font-weight: 700; /* bold */
      color: var(--text-primary, #202124);
      margin-bottom: 8px; /* mb-2 */
    }

    .disclaimer-text p {
      font-size: 14px; /* text-sm */
      color: var(--text-primary, #202124);
      line-height: 1.625; /* leading-relaxed */
    }

    /* Essential Utilities */
    .hidden {
      display: none !important;
    }

    /* Internal Links Section */
    .internal-links-section {
      margin: 3rem 0 2rem 0;
      padding: 2rem;
      background: rgba(249, 250, 251, 0.8);
      border-radius: var(--radius-md);
      border: 1px solid rgba(229, 231, 235, 0.5);
    }
    html.dark .internal-links-section {
      background: rgba(30, 41, 59, 0.5);
      border-color: rgba(51, 65, 85, 0.5);
    }

    .links-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }

    .links-column h3 {
      color: #202124;
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid #3b82f6;
    }
    html.dark .links-column h3 {
      color: #e8eaed; /* Gemini dark text */
    }

    .links-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .links-list li {
      margin-bottom: 0.75rem;
    }

    .links-list a {
      color: #3b82f6;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.2s ease;
      display: inline-block;
    }

    .links-list a:hover {
      color: #2563eb;
      transform: translateX(4px);
    }

    html.dark .links-list a {
      color: #60a5fa;
    }

    html.dark .links-list a:hover {
      color: #93c5fd;
    }