  /* ============================================================
     LAB CARDS — typographic version (no images)
     Replaces the previous .lab-card / .lab-img / .lab-body block.
     Add to existing research-style.css (and DELETE the old image-based
     .lab-img / .lab-card:hover .lab-img img rules).
     ============================================================ */

  /* 3-column grid at desktop, 2 at tablet, 1 at mobile */
  .lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .lab-card {
    background: var(--off-white);
    border: 1px solid var(--rule);
    border-top: 2px solid var(--marble-red);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
  }
  .rs-school:nth-of-type(even) .lab-card { background: var(--off-white); }

  .lab-card:hover {
    transform: translateY(-3px);
    border-color: var(--marble-red);
    box-shadow: 0 12px 24px -8px rgba(14, 42, 56, 0.12);
  }

  .lab-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  /* Serial number — small, serif, burgundy. Sits at top of card. */
  .lab-num {
    font-family: var(--serif);
    font-size: 13px;
    color: var(--marble-red);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    display: block;
  }

  /* Badge (used by MarinOmics) — sits just under the number */
  .lab-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--marble-red);
    color: var(--off-white);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .lab-name {
    font-size: 18px;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 10px;
  }

  .lab-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
    flex-grow: 1;
  }

  /* ============================================================
     RESPONSIVE — lab grid
     Add inside existing media query blocks, or use the standalone
     overrides below.
     ============================================================ */

  @media (max-width: 1100px) {
    .lab-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;
    }
  }

  @media (max-width: 760px) {
    .lab-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .lab-body {
      padding: 22px 22px 24px;
    }
  }
