/* v1.45.10.36 — MOBILE SCIENTIFIC SOURCES FLOW HARD FIX
   Root fix: on phones the sources container, its section-card and the JS-created
   v1499 viewport all use natural height. This prevents source items from escaping
   a shorter parent and visually colliding with the related-products heading. */
@media (max-width: 768px){
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources,
  html body[class*="single-dhms_"] .dhm-single-article .dhm-v47-secondary-grid > #dhm-scientific-sources{
    display:block!important;
    position:relative!important;
    inset:auto!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:24px 0 28px!important;
    padding:0!important;
    overflow:visible!important;
    transform:none!important;
    z-index:auto!important;
  }

  /* This is the parent that was visibly ending before the last source item. */
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources > .dhm-section-card,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources > .dhm-section-card.dhm-v1499-card{
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  /* JS wraps the source list in this viewport. It must not retain a legacy fixed height. */
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources > .dhm-section-card.dhm-v1499-card > .dhm-v1499-body,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources .dhm-v43-source-body,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources .dhm-v43-source-body.is-collapsed,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources .dhm-reference-list{
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    opacity:1!important;
    transform:none!important;
    mask-image:none!important;
    -webkit-mask-image:none!important;
  }

  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources .dhm-v43-source-body.is-collapsed::after,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources .dhm-v43-source-body::after{
    display:none!important;
    content:none!important;
  }

  /* Every source item participates in normal flow. */
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources .dhm-reference-item,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources .dhm-reference-legacy-item{
    position:relative!important;
    inset:auto!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
    box-sizing:border-box!important;
  }

  /* Mobile sources are already fully visible; the desktop expand control is unnecessary. */
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources .dhm-v1499-more{
    display:none!important;
  }

  /* Products now follow the real bottom of sources. Remove previous artificial 110/180px offsets. */
  html body[class*="single-dhms_"] .dhm-single-article #dhm-products,
  html body[class*="single-dhms_"] .dhm-single-article .dhm-sync-products{
    display:block!important;
    position:relative!important;
    inset:auto!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:28px 0 0!important;
    padding-top:0!important;
    overflow:visible!important;
    transform:none!important;
    z-index:auto!important;
  }

  html body[class*="single-dhms_"] .dhm-single-article #dhm-products > h2{
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    clear:both!important;
    margin:0 0 16px!important;
    z-index:auto!important;
  }
}
