/* Drugestan Health Magazine v1.45.10.95
   MOBILE ONLY — owner for exactly six long text cards:
   Action / Warning / Pharmacist / Professional / Key points / Common mistakes.
   No desktop rules and no other magazine sections are changed.
*/
@media (max-width:1179px){
  /* The six cards use one predictable collapsed viewport on mobile. */
  html body[class*="single-dhms_"] .dhm-single-article :is(
    #dhm-action,
    #dhm-warning,
    .dhm-sync-warning,
    #dhm-pharmacist-answer,
    #dhm-professional,
    #dhm-key-points,
    #dhm-common-mistakes
  ) > .dhm-section-card.dhm-v1499-card.dhm-mobile-six-needs-more:not(.dhm-v1499-expanded){
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }

  html body[class*="single-dhms_"] .dhm-single-article :is(
    #dhm-action,
    #dhm-warning,
    .dhm-sync-warning,
    #dhm-pharmacist-answer,
    #dhm-professional,
    #dhm-key-points,
    #dhm-common-mistakes
  ) > .dhm-section-card.dhm-v1499-card.dhm-mobile-six-needs-more:not(.dhm-v1499-expanded) > .dhm-v1499-body{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:300px!important;
    overflow:hidden!important;
  }

  /* Force the control to remain available when our natural-height measurement says it is needed,
     even if an older mobile rule marked it as "not needed". */
  html body[class*="single-dhms_"] .dhm-single-article :is(
    #dhm-action,
    #dhm-warning,
    .dhm-sync-warning,
    #dhm-pharmacist-answer,
    #dhm-professional,
    #dhm-key-points,
    #dhm-common-mistakes
  ) > .dhm-section-card.dhm-v1499-card.dhm-mobile-six-needs-more > .dhm-v1499-more{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    width:max-content!important;
    max-width:100%!important;
    height:auto!important;
    min-height:24px!important;
    margin:10px auto 0!important;
    padding:2px 8px!important;
    overflow:visible!important;
    pointer-events:auto!important;
    z-index:10!important;
  }

  /* Expanded means FULL text: release every legacy height/line clamp inside these six cards. */
  html body[class*="single-dhms_"] .dhm-single-article :is(
    #dhm-action,
    #dhm-warning,
    .dhm-sync-warning,
    #dhm-pharmacist-answer,
    #dhm-professional,
    #dhm-key-points,
    #dhm-common-mistakes
  ) > .dhm-section-card.dhm-v1499-card.dhm-v1499-expanded,
  html body[class*="single-dhms_"] .dhm-single-article :is(
    #dhm-action,
    #dhm-warning,
    .dhm-sync-warning,
    #dhm-pharmacist-answer,
    #dhm-professional,
    #dhm-key-points,
    #dhm-common-mistakes
  ) > .dhm-section-card.dhm-v1499-card.dhm-v1499-expanded > .dhm-v1499-body,
  html body[class*="single-dhms_"] .dhm-single-article :is(
    #dhm-action,
    #dhm-warning,
    .dhm-sync-warning,
    #dhm-pharmacist-answer,
    #dhm-professional,
    #dhm-key-points,
    #dhm-common-mistakes
  ) > .dhm-section-card.dhm-v1499-card.dhm-v1499-expanded > .dhm-v1499-body *{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    clip:auto!important;
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
    -webkit-box-orient:initial!important;
  }

  /* Keep exactly the same up-arrow control visible at the bottom of these cards. */
  html body[class*="single-dhms_"] .dhm-single-article :is(
    #dhm-action,
    #dhm-warning,
    .dhm-sync-warning,
    #dhm-pharmacist-answer,
    #dhm-professional,
    #dhm-key-points,
    #dhm-common-mistakes
  ) > .dhm-section-card.dhm-v1499-card > .dhm-back-to-menu-row{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    flex:0 0 auto!important;
    order:999!important;
    height:auto!important;
    min-height:24px!important;
    max-height:none!important;
    margin:8px 0 0!important;
    padding:0!important;
    overflow:visible!important;
    justify-content:flex-start!important;
    z-index:9!important;
  }
  html body[class*="single-dhms_"] .dhm-single-article :is(
    #dhm-action,
    #dhm-warning,
    .dhm-sync-warning,
    #dhm-pharmacist-answer,
    #dhm-professional,
    #dhm-key-points,
    #dhm-common-mistakes
  ) > .dhm-section-card.dhm-v1499-card > .dhm-back-to-menu-row .dhm-back-to-menu{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
}


/* v1.45.10.96 — mobile upper-card visibility hardening.
   Fixes the real conflict: legacy max-height on the OUTER card clipped controls
   that v1.45.10.95 had already created. Scope: only Action/Warning/Pharmacist/Professional. */
@media (max-width:1179px){
  .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-v1499-card{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-v1499-card:not(.dhm-v1499-expanded) > .dhm-v1499-body{
    height:auto!important;
    min-height:0!important;
    max-height:300px!important;
    overflow:hidden!important;
  }
  .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-v1499-card.dhm-v1499-expanded > .dhm-v1499-body,
  .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-v1499-card.dhm-v1499-expanded > .dhm-v1499-body *{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
  }
  .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-v1499-card.dhm-mobile-upper-needs-more > .dhm-v1499-more{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    order:900!important;
    width:max-content!important;
    max-width:100%!important;
    height:auto!important;
    min-height:24px!important;
    margin:10px auto 0!important;
    padding:2px 8px!important;
    overflow:visible!important;
    pointer-events:auto!important;
    z-index:30!important;
  }
  .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-v1499-card > .dhm-back-to-menu-row{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    order:999!important;
    height:auto!important;
    min-height:28px!important;
    max-height:none!important;
    margin:8px 0 0!important;
    padding:0!important;
    overflow:visible!important;
    justify-content:flex-start!important;
    z-index:29!important;
  }
  .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-v1499-card > .dhm-back-to-menu-row .dhm-back-to-menu{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
}
\n\n/* v1.45.10.97 — single mobile upper-card owner. No desktop effect. */\n@media (max-width:1179px){\n  html body[class*="single-dhms_"] .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-mobile-upper-owned{\n    display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;\n  }\n  html body[class*="single-dhms_"] .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-mobile-upper-owned > .dhm-mobile-upper-body{\n    display:block!important;height:auto!important;min-height:0!important;overflow:hidden!important;max-height:300px!important;\n  }\n  html body[class*="single-dhms_"] .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-mobile-upper-owned.dhm-mobile-upper-expanded > .dhm-mobile-upper-body,\n  html body[class*="single-dhms_"] .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-mobile-upper-owned.dhm-mobile-upper-expanded > .dhm-mobile-upper-body *{\n    height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;clip:auto!important;\n  }\n  html body[class*="single-dhms_"] .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-mobile-upper-owned > .dhm-mobile-upper-more{\n    display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;order:900!important;width:max-content!important;max-width:100%!important;height:auto!important;min-height:28px!important;margin:10px auto 0!important;padding:2px 10px!important;overflow:visible!important;pointer-events:auto!important;z-index:50!important;\n  }\n  html body[class*="single-dhms_"] .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-mobile-upper-owned > .dhm-mobile-upper-more[hidden]{display:none!important;}\n  html body[class*="single-dhms_"] .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-mobile-upper-owned > .dhm-back-to-menu-row{\n    display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;order:999!important;height:auto!important;min-height:30px!important;max-height:none!important;margin:8px 0 0!important;padding:0!important;overflow:visible!important;justify-content:flex-start!important;z-index:49!important;\n  }\n  html body[class*="single-dhms_"] .dhm-single-article :is(#dhm-action,#dhm-warning,.dhm-sync-warning,#dhm-pharmacist-answer,#dhm-professional) > .dhm-section-card.dhm-mobile-upper-owned > .dhm-back-to-menu-row .dhm-back-to-menu{display:inline-flex!important;visibility:visible!important;opacity:1!important;}\n}\n