
/* Genoscope page scoped styles */
.geno-wrap{max-width:1100px;margin:0 auto;padding:0 18px}
.geno-hero{padding:34px 0 10px;text-align:center}
.geno-hero img{max-width:140px;height:auto;margin:0 auto 10px;display:block}
.geno-hero .logo{max-width:220px;margin-bottom:8px}
.geno-hero h1{font-size:42px;letter-spacing:.5px;margin:10px 0 6px}
.geno-hero h2{font-size:34px;margin:0 0 10px}
.geno-hero p{max-width:760px;margin:0 auto;color:#6b7280;font-size:13.2px;line-height:1.55}
.geno-slider{margin-top:12px;background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.08);padding:18px;position:relative;overflow:hidden}
.geno-slider .track{display:flex;gap:16px;overflow:auto;scrollbar-width:thin;padding-bottom:6px}
.geno-slider .item{flex:0 0 150px;display:flex;align-items:flex-end;justify-content:center}
.geno-slider .item img{width:150px;height:auto;filter:drop-shadow(0 10px 14px rgba(0,0,0,.12))}
.geno-slider .badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border-radius:12px;padding:10px 14px;font-weight:700;box-shadow:0 6px 18px rgba(0,0,0,.14);font-size:13px}
.geno-grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0 28px}
.geno-card{background:linear-gradient(180deg,#eaf4ff 0%, #f7fbff 100%);border-radius:18px;padding:18px;box-shadow:0 12px 26px rgba(0,0,0,.06)}
.geno-card h3{margin:0 0 10px;font-size:18px}
.geno-card p{margin:0;color:#374151;line-height:1.6}
.geno-card .answer{margin-top:8px;color:#4b5563;font-style:italic}
.geno-bullets{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.geno-bullets li{display:flex;gap:10px;align-items:flex-start;color:#374151;line-height:1.5}
.geno-dot{width:18px;height:18px;border-radius:999px;background:#93c5fd;box-shadow:inset 0 -2px 0 rgba(0,0,0,.12);flex:0 0 18px;margin-top:2px}
.geno-split{display:grid;grid-template-columns:360px 1fr;gap:18px;align-items:stretch;margin:0 0 22px}
.geno-split .imgbox{border-radius:18px;overflow:hidden;box-shadow:0 12px 26px rgba(0,0,0,.06);background:#0b2a54}
.geno-split .imgbox img{width:100%;height:100%;object-fit:cover;display:block}
.geno-split .textbox{background:linear-gradient(180deg,#eaf4ff 0%, #f7fbff 100%);border-radius:18px;padding:22px;box-shadow:0 12px 26px rgba(0,0,0,.06)}
.geno-split .textbox h3{margin:0 0 10px;font-size:22px}
.geno-split .textbox p{margin:0 0 10px;color:#374151;line-height:1.7}
.geno-steps{margin:10px 0 18px}
.geno-steps details{max-width:820px;margin:0 auto 10px}
.geno-steps summary{cursor:pointer;list-style:none;font-weight:700;color:#374151;display:block;text-align:center;max-width:980px;margin:0 auto;padding:10px 12px;font-size:13px;line-height:1.35}
.geno-steps summary::-webkit-details-marker{display:none}
.geno-steps .stepbody{max-width:820px;margin:10px auto 0;color:#374151;line-height:1.75}
.geno-mix{background:linear-gradient(180deg,#eaf4ff 0%, #f7fbff 100%);border-radius:18px;box-shadow:0 12px 26px rgba(0,0,0,.06);display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:center;padding:18px;margin:22px 0}
.geno-mix p{margin:0;color:#374151;line-height:1.7}
.geno-mix img{max-width:280px;width:100%;height:auto;justify-self:end}
.geno-tablewrap{background:#fff;border-radius:18px;box-shadow:0 12px 26px rgba(0,0,0,.06);padding:14px;overflow:auto}
.geno-table{width:100%;border-collapse:collapse;min-width:920px}
.geno-table th,.geno-table td{border:1px solid #e5e7eb;padding:12px;vertical-align:top}
.geno-table th{background:#f8fafc;font-size:12px;text-transform:none;color:#374151}
.geno-rowbrand{display:flex;flex-direction:column;gap:6px}
.geno-rowbrand img{max-width:120px;height:auto}
.geno-rowbrand .sub{color:#6b7280;font-size:12px}
.geno-mirna{font-size:11px;line-height:1.55;color:#374151;max-width:520px}
@media (max-width:900px){
  .geno-grid2{grid-template-columns:1fr}
  .geno-split{grid-template-columns:1fr}
  .geno-mix{grid-template-columns:1fr}
  .geno-mix img{justify-self:start}
}

@media (max-width: 640px){.geno-steps summary{font-size:12px;padding:9px 10px}}

.geno-page{font-family:'Blinker', system-ui, -apple-system, Segoe UI, Arial, sans-serif; font-size:15px}

.geno-page h1{font-size:38px}
.geno-page h2{font-size:30px}
.geno-page h3{font-size:18px}
.geno-page p{font-size:14px}

.geno-slider{overflow:hidden}
.geno-slider .track{display:flex;gap:12px;align-items:flex-end;justify-content:center;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:8px 6px}
.geno-slider .track::-webkit-scrollbar{display:none}
.geno-slider .item{flex:0 0 auto;width:130px;display:flex;align-items:flex-end;justify-content:center}
.geno-slider .item img{max-width:130px;max-height:110px;height:auto;width:auto;display:block;object-fit:contain}
@media (max-width:640px){
  .geno-slider .item{width:118px}
  .geno-slider .item img{max-width:118px;max-height:96px}
}

.geno-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.geno-table{min-width:980px;border-collapse:collapse;width:100%}
.geno-table th,.geno-table td{font-size:12.5px;line-height:1.45}
.geno-table .geno-rowbrand img{max-width:120px;height:auto;display:block}
@media (max-width:640px){
  .geno-table th,.geno-table td{font-size:12px}
  .geno-table{min-width:1020px}
}

/* Primary Colors table: desktop + mobile cards (no horizontal scroll on mobile) */
.geno-tableblock{padding:10px 0 22px}
.geno-table-title{font-size:18px;margin:0 0 12px;color:#111827;text-align:left}

.geno-table-desktop{display:block}
.geno-table{width:100%;border-collapse:collapse;border:1px solid rgba(17,24,39,.18);border-radius:14px;overflow:hidden;background:#fff}
.geno-table thead th{background:#f8fafc;font-size:12.5px;color:#475569;text-align:left;padding:14px 12px;border-bottom:1px solid rgba(17,24,39,.14)}
.geno-table tbody td{vertical-align:top;font-size:12.8px;line-height:1.55;color:#111827;padding:14px 12px;border-bottom:1px solid rgba(17,24,39,.10);border-right:1px solid rgba(17,24,39,.08)}
.geno-table tbody tr:last-child td{border-bottom:none}
.geno-table tbody td:last-child{border-right:none}

.geno-rowbrand{display:flex;flex-direction:column;gap:6px}
.geno-brandlogo{max-width:140px;height:auto;display:block}
.geno-brandtext{font-weight:800;letter-spacing:.2px;color:#111827}
.geno-brandsub{font-size:12px;color:#6b7280}
.geno-mirna{font-size:11.5px;color:#334155}

.geno-table-mobile{display:none}

@media (max-width: 780px){
  .geno-table-desktop{display:none}
  .geno-table-mobile{display:grid;gap:12px}
  .geno-cardrow{background:#fff;border:1px solid rgba(17,24,39,.10);border-radius:16px;box-shadow:0 10px 24px rgba(0,0,0,.06);padding:14px}
  .geno-cardrow header{display:flex;gap:12px;align-items:center;margin-bottom:10px}
  .geno-cardrow header .name{font-weight:900;color:#111827}
  .geno-cardrow header .sub{font-size:12px;color:#6b7280}
  .geno-cardrow .geno-brandlogo{max-width:120px}
  .geno-cardrow dl{display:grid;gap:10px;margin:0}
  .geno-cardrow dt{font-weight:800;color:#334155;font-size:12px;margin:0 0 4px}
  .geno-cardrow dd{margin:0;color:#111827;font-size:13px;line-height:1.55}
}

/* remove extra white space above table */
.geno-tableblock{padding-top:0 !important}
.geno-wrap{padding-top:0 !important}

/* logo column alignment */
.geno-rowbrand{align-items:flex-start}
.geno-brandlogo{margin-top:0}

:root{
 --rosea:#d71920;
 --solyn:#f59e0b;
 --aqryl:#1e40af;
 --petale:#15803d;
 --noxelle:#6b7280;
}

.geno-cardrow{border-left:6px solid var(--rosea)}
.geno-cardrow header .name{color:var(--rosea)}
.geno-table thead th{color:var(--rosea)}

.geno-cardrow:nth-child(2){border-left-color:var(--solyn)}
.geno-cardrow:nth-child(2) header .name{color:var(--solyn)}

.geno-cardrow:nth-child(3){border-left-color:var(--aqryl)}
.geno-cardrow:nth-child(3) header .name{color:var(--aqryl)}

.geno-cardrow:nth-child(4){border-left-color:var(--petale)}
.geno-cardrow:nth-child(4) header .name{color:var(--petale)}

.geno-cardrow:nth-child(6){border-left-color:var(--noxelle)}
.geno-cardrow:nth-child(6) header .name{color:var(--noxelle)}

/* Accent colors by row (desktop table) */
.geno-table tbody tr{border-left:6px solid transparent}
.geno-table tbody tr:nth-child(1){border-left-color:var(--rosea)}
.geno-table tbody tr:nth-child(2){border-left-color:var(--solyn)}
.geno-table tbody tr:nth-child(3){border-left-color:var(--aqryl)}
.geno-table tbody tr:nth-child(4){border-left-color:var(--petale)}
.geno-table tbody tr:nth-child(5){border-left-color:rgba(17,24,39,.25)}
.geno-table tbody tr:nth-child(6){border-left-color:var(--noxelle)}

/* Mobile card soft tint */
.geno-cardrow{background:linear-gradient(0deg, rgba(215,25,32,.04), rgba(215,25,32,.00))}
.geno-cardrow:nth-child(2){background:linear-gradient(0deg, rgba(245,158,11,.05), rgba(245,158,11,.00))}
.geno-cardrow:nth-child(3){background:linear-gradient(0deg, rgba(30,64,175,.05), rgba(30,64,175,.00))}
.geno-cardrow:nth-child(4){background:linear-gradient(0deg, rgba(21,128,61,.05), rgba(21,128,61,.00))}
.geno-cardrow:nth-child(6){background:linear-gradient(0deg, rgba(107,114,128,.06), rgba(107,114,128,.00))}

/* Buttons/links inside Genoscope page follow primary (Rosea) accent by default */
.geno-page a{color:var(--rosea)}
.geno-page a:hover{opacity:.85}
.geno-page .btn, .geno-page button, .geno-page input[type="submit"]{
  border-radius:999px;
}
.geno-page .btn-primary, .geno-page button.primary{
  background:var(--rosea);
  border-color:var(--rosea);
  color:#fff;
}

/* ===== TABLE HEADER & BORDERS FIX ===== */
.geno-table thead th{
  color:#111827 !important;
  font-weight:700;
  border-bottom:2px solid #9ca3af !important;
  border-right:1px solid #d1d5db !important;
}

.geno-table{
  border:2px solid #9ca3af !important;
}

.geno-table tbody td{
  border-right:1px solid #d1d5db !important;
  border-bottom:1px solid #e5e7eb !important;
}

.geno-table tbody tr:last-child td{
  border-bottom:none;
}

.geno-table thead th:last-child,
.geno-table tbody td:last-child{
  border-right:none;
}

/* remove red inheritance */
.geno-table th,
.geno-table td{
  color:#111827;
}

/* FORCE RIGHT & BOTTOM BORDERS */
.geno-table{
  border-collapse:separate;
  border-spacing:0;
}

.geno-table th,
.geno-table td{
  border-right:1px solid #9ca3af;
  border-bottom:1px solid #9ca3af;
}

.geno-table tr th:last-child,
.geno-table tr td:last-child{
  border-right:1px solid #9ca3af;
}

.geno-table tbody tr:last-child td{
  border-bottom:1px solid #9ca3af;
}

/* CONSISTENT GRID LINES */
.geno-table{
  border-collapse:separate !important;
  border-spacing:0 !important;
  border:2px solid #9ca3af !important;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.geno-table th,
.geno-table td{
  border-right:1.5px solid #9ca3af !important;
  border-bottom:1.5px solid #9ca3af !important;
}

.geno-table thead th{
  border-bottom:2px solid #9ca3af !important;
}

.geno-table tr th:last-child,
.geno-table tr td:last-child{
  border-right:0 !important;
}

.geno-table tbody tr:last-child td{
  border-bottom:0 !important;
}

/* FINAL UNIFORM GRID */
.geno-table{
  border-collapse:separate !important;
  border-spacing:0 !important;
  border:1px solid #9ca3af !important;
}

.geno-table th,
.geno-table td{
  border-right:1px solid #9ca3af !important;
  border-bottom:1px solid #9ca3af !important;
}

.geno-table thead th{
  border-bottom:1px solid #9ca3af !important;
}

.geno-table tr th:last-child,
.geno-table tr td:last-child{
  border-right:0 !important;
}

.geno-table tbody tr:last-child td{
  border-bottom:0 !important;
}
