/* RIFT Genomics | Product-page contrast and legibility correction
   Covers every catalogue product page. Loaded last deliberately:
   earlier dark-hero defaults are unsuitable on the current light backgrounds. */

/* Readable breadcrumbs throughout light product and category hero sections. */
body .product-hero .crumbs,
body .phero .crumbs {
  color: #47617f !important;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.65;
  opacity: 1 !important;
}
body .product-hero .crumbs a,
body .phero .crumbs a {
  color: #245589 !important;
  opacity: 1 !important;
  text-decoration: none;
}
body .product-hero .crumbs a:hover,
body .product-hero .crumbs a:focus-visible,
body .phero .crumbs a:hover,
body .phero .crumbs a:focus-visible {
  color: #004eca !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body .product-hero .crumbs span,
body .phero .crumbs span {
  color: #7f92a9 !important;
  opacity: 1 !important;
}

/* Former dark-hero body copy: increase contrast against #eff5fc. */
body .product-hero .product-summary {
  color: #405975 !important;
  opacity: 1 !important;
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 450;
  line-height: 1.75;
  max-width: 620px;
}

/* Secondary 'Ask a technical question' CTAs must not render white on white. */
body .product-hero .cta-row .btn-ghost,
body .phero .cta-row .btn-ghost,
body .hero .cta-row .btn-ghost {
  background: #ffffff !important;
  border: 1px solid #9bb9d9 !important;
  color: #17466e !important;
  -webkit-text-fill-color: #17466e !important;
  opacity: 1 !important;
  font-weight: 700;
  box-shadow: none;
  text-decoration: none;
}
body .product-hero .cta-row .btn-ghost:hover,
body .phero .cta-row .btn-ghost:hover,
body .hero .cta-row .btn-ghost:hover {
  background: #e6f0ff !important;
  border-color: #0060ff !important;
  color: #004eb8 !important;
  -webkit-text-fill-color: #004eb8 !important;
}
body .product-hero .cta-row .btn-ghost:focus-visible,
body .phero .cta-row .btn-ghost:focus-visible,
body .hero .cta-row .btn-ghost:focus-visible {
  outline: 3px solid #0060ff !important;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  body .product-hero .crumbs,
  body .phero .crumbs {font-size: 13.5px;}
  body .product-hero .product-summary {font-size: 16px;line-height: 1.7;}
}
