/* Drugestan Health Magazine v1.43.7
   FINAL owner for lower article grid, source placement, and support card dimensions. */

@media (min-width:1180px){
  html body[class*="single-dhms_"] .dhm-single-article.dhm-v22-refine .dhm-v16-modules{
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    gap:18px!important;
    align-items:start!important;
    width:100%!important;
  }

  /* Four canonical cards: exactly one row, equal dimensions. */
  html body[class*="single-dhms_"] .dhm-single-article.dhm-v22-refine .dhm-v16-modules > .dhm-v44-support{
    grid-column:span 3!important;
    order:30!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-self:start!important;
    writing-mode:horizontal-tb!important;
  }
  html body[class*="single-dhms_"] .dhm-single-article .dhm-v44-support > h2{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:38px!important;
    margin:0 0 8px!important;
    padding:0 2px!important;
    color:#173553!important;
    font-size:14px!important;
    line-height:1.45!important;
    font-weight:800!important;
    white-space:normal!important;
    writing-mode:horizontal-tb!important;
  }
  html body[class*="single-dhms_"] .dhm-single-article .dhm-v44-support > .dhm-section-card{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:228px!important;
    min-height:228px!important;
    max-height:228px!important;
    margin:0!important;
    padding:17px 17px 13px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    background:#f8fafc!important;
    border:1px solid #d6e0e8!important;
    border-right:4px solid #526d85!important;
    border-radius:14px!important;
    box-shadow:none!important;
  }

  /* The “start from the symptom” block + Sources form the NEXT balanced row. */
  html body[class*="single-dhms_"] .dhm-single-article.dhm-v22-refine .dhm-v16-modules > .dhm-v44-source-companion,
  html body[class*="single-dhms_"] .dhm-single-article.dhm-v22-refine .dhm-v16-modules > #dhm-scientific-sources.dhm-v44-sources{
    grid-column:span 6!important;
    order:40!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    align-self:start!important;
    writing-mode:horizontal-tb!important;
  }
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources > h2{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0 0 8px!important;
    padding:0!important;
    color:#173553!important;
    font-size:18px!important;
    line-height:1.4!important;
    font-weight:800!important;
    text-align:center!important;
    white-space:normal!important;
    writing-mode:horizontal-tb!important;
  }
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources > h2::before{
    display:block!important;
    width:190px!important;
    max-width:46%!important;
    height:78px!important;
    margin:0 auto 8px!important;
    border-radius:11px!important;
    background-position:center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
  }
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources > .dhm-section-card{
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:228px!important;
    min-height:228px!important;
    max-height:228px!important;
    margin:0!important;
    padding:17px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    background:#f8fafc!important;
    border:1px solid #d6e0e8!important;
    border-right:4px solid #526d85!important;
    border-radius:14px!important;
    box-shadow:none!important;
  }
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources .dhm-v43-source-body{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    max-height:145px!important;
    overflow:hidden!important;
    color:#526779!important;
    font-size:12px!important;
    line-height:1.8!important;
    text-align:right!important;
    white-space:normal!important;
    writing-mode:horizontal-tb!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
  }
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources .dhm-reference-list,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources .dhm-reference-legacy,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources ol,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources ul,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources li,
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources .dhm-reference-item{
    width:100%!important;
    min-width:0!important;
    writing-mode:horizontal-tb!important;
    white-space:normal!important;
  }
}

/* Native/direct targets always land below sticky headers. */
html body[class*="single-dhms_"] .dhm-single-article #dhm-action,
html body[class*="single-dhms_"] .dhm-single-article #dhm-warning,
html body[class*="single-dhms_"] .dhm-single-article #dhm-pharmacist-answer,
html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources{
  scroll-margin-top:96px!important;
}

@media (max-width:1179px){
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources,
  html body[class*="single-dhms_"] .dhm-single-article .dhm-v44-source-companion{
    width:100%!important;
    margin:18px 0!important;
  }
  html body[class*="single-dhms_"] .dhm-single-article #dhm-scientific-sources.dhm-v44-sources > .dhm-section-card{
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
  }
}
