/* Subpage typography follows the current homepage's role-based scale.
   This stylesheet changes font family and font size only. */
body.gbs-layout:not(.home-page) {
}

body.gbs-layout:not(.home-page) main :is(
  .work-hero h1, .office-hero h1, .vt-hero h1
) {
}

/* Captions paired with an image wordmark use the homepage section-caption scale. */
body.gbs-layout:not(.home-page) main :is(
  .subpage-hero__title, .hero__title,
  .about-section__eyebrow, .about-section__label, .about-origin__heading,
  .voice-office-heading, .voice-benefits__inner h2,
  .company-overview > h2, .company-offices > h2,
  .inquiry-form-section > h2, .consultation-section > h2,
  .office-overview h2, .office-work h2,
  .work-intro h2, .work-support h2, .work-fit h2,
  .vt-section-title, .vt-faq > h2,
  .wages-basic-info__heading h3, .wages-salary-section-title,
  .recommend h2
) {
}

body.gbs-layout:not(.home-page) main :is(
  .story-row__copy h2, .living-feature__copy h2, .about-philosophy__lead,
  .office-card h3
) {
}

body.gbs-layout:not(.home-page) main :is(
  .policy-item h3, .program h3, .work-card h3, .work-support h3,
  .office-work h3, .office-support h3,
  .wages-benefit-card h3, .wages-step-card h3,
  .wages-salary-card h4, .wages-support-card h4,
  .wages-event-card h4, .wages-target-card h4,
  .vt-card h3, .vt-benefits h2, .vt-faq summary,
  .company-founded h3, .voice-benefit
) {
}

body.gbs-layout:not(.home-page) main :is(
  .about-copy p, .policy-item p, .about-philosophy__copy p, .about-origin p,
  .voice-card p, .company-facts dd, .our-place-card p:not(.our-place-card__eyebrow),
  .office-card p, .office-card address, .office-work p, .office-support p,
  .work-card p, .work-support p, .work-fit li, .work-heading > p,
  .intro__copy p, .story-row__copy p, .living-feature__copy p,
  .program p, .quote-card__body, .quote-card__lead,
  .wages-benefit-card p, .wages-step-card p, .wages-info-card dd,
  .wages-salary-card p, .wages-salary-explanation p, .wages-target-card p,
  .wages-support-card p, .wages-salary-intro, .wages-event-card p,
  .wages-basic-info__heading p, .wages-salary-support__heading p,
  .wages-fee-callout p, .consultation-card p, .consultation-section__message,
  .vt-card p, .vt-faq details p, .company-founded p
) {
}

body.gbs-layout:not(.home-page) main :is(
  .voice-intro p, .company-intro p, .inquiry-intro p,
  .work-hero__lead, .office-hero__lead, .vt-hero p
) {
}

body.gbs-layout:not(.home-page) main :is(
  .voice-card h4, .company-facts dt, .company-section-heading p,
  .inquiry-form label, .inquiry-form__note,
  .wages-info-card dt, .wages-info-card small, .wages-amount-card dt,
  .wages-amount-note, .wages-guide-heading > p, .wages-target-card__details > span,
  .section-kicker, .our-place-card__eyebrow
) {
}

body.gbs-layout:not(.home-page) main .office-hero__eyebrow {
}

body.gbs-layout:not(.home-page) main :is(
  .wages-salary-card > strong, .wages-amount-card strong,
  .wages-target-card strong, .company-founded > strong
) {
}

@media (max-width: 767px) {
  body.gbs-layout:not(.home-page) {
  }}