/* Mobile reading has three roles: labels 15px, body 18px, headings 42px.
   This final shared layer replaces older page-specific sizes on phones. */
@media (max-width: 760px) {
  html body {
    --type-label: 15px;
    --type-body: 18px;
    --type-lead: 18px;
    --type-title: 42px;
    font-size: 18px;
  }
  html body :is(#main-content, main, header, footer, dialog) :where(p, li, a, button, input, select, textarea, label, summary, h3, h4, h5, h6, dt, dd, blockquote, address) {
    font-size: 18px !important;
  }
  html body :is(#main-content, main, header, footer, dialog) :where(span, strong, b, em, cite, time):where(:not(.play-symbol, [aria-hidden="true"], [aria-hidden="true"] *)) {
    font-size: inherit !important;
  }
  html body :is(#main-content, main, header, footer, dialog) :is(h1, h2, .brand-heading, .declaration, .pf-claim) {
    font-size: 42px !important;
    line-height: 1.08;
  }
  html body :is(#main-content, main, header, footer, dialog) :is(.eyebrow, .hp-label, .hp-kicker, .offer-kind, .status, .section-marker, .principles-mobile-intro, .principle-index-intro, .principle-index-number, .pf-label, .entry-meta, .entry-author, .article-byline, .story-count, .source-note, .photo-note, .photo-caption, .image-tag, figcaption, small) {
    font-size: 15px !important;
    line-height: 1.5;
  }
  html body :is(#main-content, main, header, footer, dialog) :is(figcaption, .entry-meta, .entry-author, .article-byline, .pf-bottom) :is(p, a, span, small, time),
  html body footer .pf-bottom,
  html body footer .phone-disclosure > summary {
    font-size: 15px !important;
  }
  html body :is(#main-content, main, header, footer, dialog) :is(p, li) { line-height: 1.45; }
  html body :is(#main-content, main, header, footer, dialog) :is(h3, h4) { font-weight: 500; }
}
@media (max-width: 760px) {
  html body.home-page #main-content .eyebrow { font-size: 15px !important; }
}

/* Footer labels and disclosure controls share the same mobile type role. */
@media (max-width: 760px) {
  html body :is(#main-content, main, header, footer, dialog) .pf-columns :is(.pf-label, .phone-disclosure > summary) {
    font: 400 15px/1.5 'Space Mono', monospace !important;
    letter-spacing: .035em;
    text-transform: uppercase;
  }
  html body footer .pf-columns .phone-disclosure > summary {
    min-height: 44px;
    padding: 10px 0;
  }
}

/* Content headings keep their hierarchy instead of inheriting body size. */
@media(max-width:760px){
 html body :is(main,#main-content) :is(h3,h4),
 html body :is(main,#main-content) :is(h3,h4)>a {font-size:28px!important;font-weight:500;line-height:1.15;letter-spacing:-.025em}
 html body :is(main,#main-content) :is(h3,h4)>a {font-size:inherit!important}
 html body :is(main,#main-content) :is(.course-label,h3.hp-kicker,h3.eyebrow) {font:400 15px/1.5 'Space Mono',monospace!important;letter-spacing:.02em}
 html body :is(main,#main-content) :is(.sea-voices,.about-voices)>h2 {font-size:28px!important;line-height:1.15}
}
