/* Drugestan Health Magazine v1.31.0
   Root fix for hero quick-answer visibility and pharmacist-card expansion. */
:root{
  --d31-navy:#173553;
  --d31-teal:#168c89;
  --d31-violet:#7042b8;
  --d31-line:#d5e1e9;
}

/* HERO QUICK ANSWER: text can be compact, but the continuation link must never be clipped. */
body[class*="single-dhms_"] .dhm-v22-refine .dhm-v31-quick-card{
  display:flex!important;
  flex-direction:column!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
body[class*="single-dhms_"] .dhm-v22-refine .dhm-v31-quick-card .dhm-v31-quick-body{
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
body[class*="single-dhms_"] .dhm-v22-refine .dhm-v31-quick-card .dhm-v31-quick-body p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:7!important;
  max-height:calc(1.95em * 7)!important;
  overflow:hidden!important;
  margin:8px 0 0!important;
}
body[class*="single-dhms_"] .dhm-v22-refine .dhm-v31-quick-link{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  margin-top:12px!important;
  padding:7px 10px!important;
  border-radius:9px!important;
  background:#edf8f7!important;
  color:#147875!important;
  font-size:12.5px!important;
  line-height:1.5!important;
  font-weight:900!important;
  text-decoration:none!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:20!important;
  pointer-events:auto!important;
}
body[class*="single-dhms_"] .dhm-v22-refine .dhm-v31-quick-link:hover{background:#dff1ef!important}

/* SUPPORT ROW: v1.31 owns the pharmacist card, old balance passes must not hide its control. */
body[class*="single-dhms_"] .dhm-v22-refine .dhm-pharmacist-section.dhm-v31-expandable-support > .dhm-section-card{
  display:flex!important;
  flex-direction:column!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
body[class*="single-dhms_"] .dhm-v22-refine .dhm-pharmacist-section.dhm-v31-expandable-support .dhm-v31-support-body{
  overflow:hidden!important;
  transition:max-height .2s ease!important;
}
body[class*="single-dhms_"] .dhm-v22-refine .dhm-pharmacist-section.dhm-v31-expandable-support .dhm-v31-support-toggle{
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:30px!important;
  margin-top:10px!important;
  padding:5px 10px!important;
  border:1px solid #b9d8d5!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#147875!important;
  font:inherit!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:800!important;
  cursor:pointer!important;
  visibility:visible!important;
  opacity:1!important;
}
body[class*="single-dhms_"] .dhm-v22-refine .dhm-pharmacist-section.dhm-v31-expandable-support.is-truncated .dhm-v31-support-toggle{display:inline-flex!important}
body[class*="single-dhms_"] .dhm-v22-refine .dhm-pharmacist-section.dhm-v31-expandable-support.is-expanded .dhm-v31-support-body{max-height:none!important;overflow:visible!important}

@media (min-width:1180px){
  body[class*="single-dhms_"] .dhm-v22-refine .dhm-pharmacist-section.dhm-v31-expandable-support > .dhm-section-card{
    min-height:220px!important;
    height:220px!important;
    max-height:220px!important;
    overflow:hidden!important;
    padding-bottom:12px!important;
  }
  body[class*="single-dhms_"] .dhm-v22-refine .dhm-pharmacist-section.dhm-v31-expandable-support.is-expanded > .dhm-section-card{
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
}

@media (max-width:1179px){
  body[class*="single-dhms_"] .dhm-v22-refine .dhm-v31-quick-card .dhm-v31-quick-body p{
    -webkit-line-clamp:6!important;
    max-height:calc(1.95em * 6)!important;
  }
  body[class*="single-dhms_"] .dhm-v22-refine .dhm-pharmacist-section.dhm-v31-expandable-support > .dhm-section-card{
    height:auto!important;
    max-height:none!important;
  }
}
