/* Family stylesheet (FAM05) - the ONE copy of the rules these pages used to carry each in their own
   <style> (DUPE-SITEWIDE1 / COPY-ONE1). Linked by each page immediately BEFORE its own <style>, so
   the cascade order is unchanged. Edit a shared rule HERE, never back in a page.
   Pages: /pgds/mounjaro.html, /pgds/wegovy.html */


* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

a { color: var(--teal); }

.compliance-callout strong { color: var(--dark-teal); }

.trust-bar li small { display: block; font-weight: 400; color: #5b6470; font-size: 12px; }

.trust-bar .ti svg { color: #0f5257; }

.ds-pharm .ph-emblem svg { width: 56px; height: 56px; color: var(--terracotta-lt); }

.ds-pharm .ph-emblem .ph-reg b { display: block; color: #fff; font-size: 16px; }

/* Phones (600px and below), queue row 53. .ds prefix: this file loads BEFORE each page's <style> (CSS-TRAP1).
   WL-NOTICE-COMPACT1: same words, same 16px, still first - only the spacing shrinks (NOTICE-RENDER1).
   DOSE-ROW-FIT1: the badge gets its own line; display:contents keeps the active-row colour on the dose. */
@media (max-width: 600px) {
  .ds .compliance-callout { margin: 0; padding: 10px 14px 10px 12px; line-height: 1.5; }
  .ds .mj-pt-row { row-gap: 2px; }
  .ds .mj-pt-row > span:first-child { display: contents; white-space: nowrap; }
  .ds .mj-pt-row .mj-start, .ds .mj-pt-row .mj-role {
    grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-left: 0; min-width: 0; white-space: normal; }
  /* GLP1-NAME-FIRST1: the "Available treatment" row is the same size on both pages (/wegovy/'s heading was
     24px with a 20px gap under it, so its card sat 23px lower than /mounjaro/'s) and a little tighter. */
  .ds .section-label { margin-bottom: 12px; row-gap: 8px; }
  .ds .section-label h2 { font-size: 22px; font-weight: 700; margin: 0; }
}

/* GLP1-NAME-FIRST1 (W134 - Director 28 Oct 2026: "if putting mounjaro on top then do it"). Phones (767px and
   below): the treatment card shows the medicine's name, its from-price and the Start button BEFORE the pen photo,
   so all three are on the first screen (they were ~770px, ~1,260px and ~1,360px down at 375x667). The small
   descriptor line ('Once-weekly injection - ...') follows the button and captions the pen photo: above the name it
   sat on the edge of wrapping (one line or two by font rendering, always two at 360px), which pushed the button
   off the first screen. Then the pen, the dose table right under it (#8: tap a dose, see the pen change), the
   selected-dose line and the classification line. Same words, same prices, notice still first (30 Jun order);
   desktop untouched.
   display:contents lets the card body's lines sit either side of the photo, so the body's side padding
   (22px /mounjaro/, 20px /wegovy/) moves onto the lines. One copy for both pages - it replaces each page's
   own "#8" phone order block. /mounjaro/: .mj-card-wrap .card-body; /wegovy/: .mj-card-body. width:auto on the
   button row: mobile-revamp.css gives every .cta width:100% on phones, which - now that the row sits in the card itself,
   not the padded body - ran it 22px past the card's right edge. */
@media (max-width: 767px) {
  .ds .mj-card-wrap .card-body, .ds .mj-card-body { display: contents; }
  .ds .mj-card-wrap .card-body > * { margin-left: 22px; margin-right: 22px; }
  .ds .mj-card-body > * { margin-left: 20px; margin-right: 20px; }
  .ds .mj-card-wrap .card-body > h3, .ds .mj-card-body > h3 { order: 1; margin-top: 16px; }
  .ds .mj-card-wrap .card-body > .mj-from-line, .ds .mj-card-body > .mj-from-line { order: 2; margin-bottom: 8px; }
  .ds .mj-card-wrap .card-body > .cta, .ds .mj-card-body > .mj-cta { order: 3; margin-top: 0; margin-bottom: 16px; width: auto; }
  .ds .mj-card-wrap .card-body > .tag, .ds .mj-card-body > .mj-tag { order: 4; margin-top: 0; margin-bottom: 10px; }
  .ds .mj-card-img { order: 5; position: relative; top: auto; z-index: 3; height: 210px; border-radius: 0; }
  .ds .mj-card-wrap .card-body > .mj-pick-hint, .ds .mj-card-body > .mj-pick-hint { order: 6; margin-top: 14px; }
  .ds .mj-card-wrap .card-body > .mj-start-note, .ds .mj-card-body > .mj-start-note { order: 7; }
  .ds .mj-card-wrap .card-body > .price-table, .ds .mj-card-body > .mj-price-table { order: 8; }
  .ds .mj-card-wrap .card-body > .mj-equiv, .ds .mj-card-body > .mj-equiv { order: 9; margin-top: 0; }
  .ds .mj-card-wrap .card-body > .sub, .ds .mj-card-body > .mj-sub { order: 10; margin-top: 2px; margin-bottom: 20px; }
}
