.genes-hero { 
    position:relative; 
    text-align:center; 
    margin:0 0 2rem 0; 
    background-image: linear-gradient(135deg, rgba(11,102,255,0.15), rgba(42,160,255,0.15)), url('/static/hero/gene.jpg'); 
    background-size:cover; 
    background-position:center; 
    border-radius:12px; 
    color: #fff; 
    min-height:340px; 
    display:flex; 
    align-items:center;
    overflow:hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
  }
  .genes-hero::before { 
    content:""; 
    position:absolute; 
    inset:0; 
    background:linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 100%); 
    z-index:1;
  }
  .genes-hero::after { 
    content:""; 
    position:absolute; 
    bottom:-2px; 
    left:0; 
    right:0; 
    height:120px; 
    background:linear-gradient(180deg, transparent, rgba(0,0,0,0.3)); 
    z-index:1;
  }
  .genes-hero .hero-content { 
    position:relative; 
    z-index:2; 
    width:100%; 
    padding:3rem 1.5rem; 
    max-width:900px;
    margin:0 auto;
  }
  .genes-hero h1 { 
    margin:0 0 1rem 0; 
    font-size:2.75rem; 
    font-weight:800; 
    letter-spacing:-0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.5);
    line-height:1.15;
  }
  .genes-hero .hero-tagline { 
    margin:0 0 1.5rem 0; 
    font-size:1.25rem; 
    font-weight:500;
    color:rgba(255,255,255,0.98); 
    max-width:64ch; 
    margin-left:auto; 
    margin-right:auto;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    line-height:1.5;
  }
  .genes-hero .hero-subtext {
    margin:0;
    font-size:1rem;
    color:rgba(255,255,255,0.85);
    font-weight:400;
    max-width:58ch;
    margin-left:auto;
    margin-right:auto;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
  }
  @media (max-width:768px) {
    .genes-hero { min-height:280px; }
    .genes-hero h1 { font-size:2rem; }
    .genes-hero .hero-tagline { font-size:1.1rem; }
    .genes-hero .hero-content { padding:2rem 1rem; }
  }
  
  .genes-grid { display:grid; grid-template-columns: repeat(2, minmax(260px,1fr)); gap:1.5rem; align-items:stretch; margin-top:1.5rem }
  @media (max-width:700px) { .genes-grid { grid-template-columns: 1fr; } }
  
  .gene-card { 
    position:relative;
    border:1px solid rgba(15,23,42,0.08); 
    background:linear-gradient(135deg, #ffffff 0%, #fafafa 100%); 
    padding:1.75rem 1.5rem; 
    border-radius:12px; 
    box-shadow:0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    overflow:hidden;
  }
  .gene-card::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:4px;
    height:100%;
    background:linear-gradient(180deg, var(--brand,#0b66ff), #2aa0ff);
    opacity:0;
    transition:opacity 0.3s ease;
  }
  .gene-card:hover {
    transform:translateY(-2px);
    box-shadow:0 8px 24px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
    border-color:rgba(11,102,255,0.15);
  }
  .gene-card:hover::before { opacity:1; }
  
  .gene-card h4 { 
    margin:0 0 0.75rem 0;
    font-size:1.15rem;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:0.75rem;
    color:#1e293b;
  }
  .gene-card h4::before {
    content:attr(data-number);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    border-radius:8px;
    background:linear-gradient(135deg, var(--brand,#0b66ff), #2aa0ff);
    color:#fff;
    font-size:0.85rem;
    font-weight:800;
    flex-shrink:0;
    box-shadow:0 2px 8px rgba(11,102,255,0.25);
  }
  .gene-card p { 
    margin:0; 
    line-height:1.65;
    color:#475569;
  }
  .lead { color:var(--muted); max-width:68ch; margin:0 auto 1rem }
  .genes-figure { width:100%; max-width:760px; margin:1rem auto 0; display:block }
