/*
 * FEN2638 - client proof R1 11.3.26 (Figma "EV- NOV 5"), Dev Content Change items.
 * Loaded on every page by inc/fen2638-nov5.php. To roll back, remove the
 * require_once line for that file in functions.php (or delete a single rule below).
 */

/* Comments 15, 18, 20, 24, 30, 40, 44, 49, 54, 58, 65 - "Please see full Prescribing
   Information for PEDMARK." in the ISI must read bold. The ISI page already wraps it in
   <strong>, but Avenir Light has no bold face, so the browser fakes it. Use the site's
   bold convention (Avenir Medium at 600). */
.isi--drawer__content strong,
.isi--drawer__content b {
  font-family: "Avenir Medium", sans-serif;
  font-weight: 600;
}

/* Comments 14, 23 - Stay Connected (form 906): EMAIL / PHONE radio labels bold. */
#wpforms-906 .wpforms-field-radio ul li label.wpforms-field-label-inline {
  font-family: "Avenir Medium", sans-serif !important;
  font-weight: 600 !important;
}

/* Comments 35, 36 - HEAR Central (form 2968): words in the resource descriptions must not
   be split across lines (e.g. "provi- / ding"). The theme sets word-break: break-word. */
#wpforms-2968 .wpforms-field-checkbox ul li label {
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* HEAR Central list: word groups that were glued with non-breaking spaces to hold the desktop
   line breaks stay together from 576px up, and wrap normally on phones (they ran out of the
   panel on 320-390px screens). The span is added by inc/fen2638-nov5.php. */
#wpforms-2968 .hc-keep-line {
  white-space: normal;
}
@media (min-width: 576px) {
  #wpforms-2968 .hc-keep-line {
    white-space: nowrap;
  }
}

/* Comments 32, 43, 46, 51, 57, 63 - mobile header: "This site is intended..." line and the
   utility links aligned left instead of centered. */
@media (max-width: 767.98px) {
  .header-row-1 > .container-xxl,
  .header-row-1 > .container-xxl > .d-flex {
    align-items: flex-start !important;
  }
  .header-row-1 > .container-xxl > .d-flex > .d-flex {
    justify-content: flex-start !important;
    text-align: left;
  }
  .header-row-1 #utlity-menu-hcp {
    justify-content: flex-start !important;
  }
  /* Links that wrap to a new line start flush left too (as in V.1): the 8px gap before each
     link moves after its pipe, so the spacing between links and the line breaks stay the same. */
  .header-row-1 #utlity-menu-hcp > li > a {
    padding-left: 0 !important;
    padding-right: 16px !important;
  }
  .header-row-1 #utlity-menu-hcp > li > a::after {
    left: calc(100% - 8px) !important;
  }
}

/* Comment 29 - Sitemap (page 440), desktop: hero title placed as in Figma (it sat at the top of
   the banner). The title keeps the site's size (2rem); the middle of its letters sits where the
   Figma title's does (Figma: 28px, letters starting 156px below the top of the banner). */
@media (min-width: 768px) {
  body.page-id-440 .wp-block-cover.cover-curve .wp-block-cover__inner-container h1 {
    margin-top: 9.1625rem;
  }
}

/* V3 comment 9 ("Run in") - State Disclosures (page 3088), 1400px+: the references keep the
   Figma line breaks, but the line ending "Understanding platinum-induced" is 1px wider than the
   1288px column, so "induced" fell onto a line of its own. Figma's text box is 1289px wide;
   2px more width keeps every line as in Figma. */
@media (min-width: 1400px) {
  body.page-id-3088 .reference-txt p {
    margin-right: -0.125rem;
  }
}
