/* SoberJobs approved typography, 2026-12-05. Public content only; retain icon fonts and CMS controls. */
@import url('/soberjobs/assets/brand-20261205/open-sans-fonts.css');

:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) {
  font-family: 'SoberJobs Open Sans', 'Open Sans', Arial, sans-serif !important;
  font-size: 18px;
  font-weight: 400;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.65;
}

/* Explicit text elements cover the existing blocks' inline font-family declarations. */
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) :is(div, section, article, header, footer, nav, aside, main, h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea, label, legend, fieldset, li, ul, ol, dl, dt, dd, blockquote, cite, em, strong, b, small, table, th, td, summary, figcaption):not(.ccm-ui):not(.ccm-ui *):not(.fa):not([class^='fa-']):not([class*=' fa-']):not([class^='ion-']):not([class*=' ion-']):not(.material-icons):not(.material-symbols-outlined) {
  font-family: 'SoberJobs Open Sans', 'Open Sans', Arial, sans-serif !important;
}

:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) :not(.ccm-ui):not(.ccm-ui *) {
  font-style: normal !important;
}

:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) :is(h1, h2, h3, h4, h5, h6):not(.primary-header__h1):not(.ccm-ui *) {
  font-stretch: 87.5% !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) h1:not(.primary-header__h1):not(.ccm-ui *) { font-size: clamp(36px, 5vw, 52px) !important; line-height: 1.12 !important; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) h2:not(.ccm-ui *) { font-size: clamp(28px, 4vw, 36px) !important; line-height: 1.2 !important; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) h3:not(.primary-header__h1):not(.ccm-ui *) { font-size: 24px !important; font-weight: 600 !important; line-height: 1.3 !important; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) :is(h4, h5, h6):not(.ccm-ui *) { font-stretch: 100% !important; line-height: 1.4 !important; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) h4:not(.ccm-ui *) { font-size: 20px !important; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) h5:not(.ccm-ui *) { font-size: 18px !important; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) h6:not(.ccm-ui *) { font-size: 16px !important; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) :is(h1, h2, h3) :is(em, span, a, strong, b) { font-stretch: inherit !important; font-weight: inherit !important; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) p:not(.ccm-ui *) { font-size: 18px; line-height: 1.65 !important; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) :is(button, input, select, textarea):not(.ccm-ui *) { font-size: 16px; line-height: 1.4; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) :is(button, .sj-btn, .button):not(.ccm-ui *) { font-weight: 600 !important; white-space: normal; }
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) blockquote { font-stretch: 100% !important; line-height: 1.65 !important; }

/* Shared CMS header: a readable logo and compact navigation at every breakpoint. */
.ccm-page.ccm-page .primary-header { height: 136px !important; }
.ccm-page.ccm-page .primary-header :is(.grid-row, .column-12) { padding-top: 0 !important; padding-bottom: 0 !important; min-height: 136px !important; align-items: center !important; flex-wrap: nowrap !important; }
.ccm-page.ccm-page .hero-unit__spacer { height: 136px !important; }
.ccm-page.ccm-page .primary-header__logo { display: flex; align-items: center; height: 136px !important; }
.ccm-page.ccm-page .primary-header__h1 { margin: 0 !important; padding: 0 !important; height: auto !important; line-height: 1 !important; }
.ccm-page.ccm-page .primary-header .primary-header__logo img { display: block; width: 180px !important; height: 120px !important; min-width: 180px !important; max-width: 180px !important; min-height: 120px !important; max-height: 120px !important; object-fit: contain !important; object-position: center !important; }
.ccm-page.ccm-page .primary-header__logo .ccm-custom-style-headersitetitle { background-image: none !important; }
.ccm-page.ccm-page .primary-header :is(.desktop-nav, .ccm-responsive-navigation, .languages-block, .mobile-nav-toggle) { height: 136px !important; }
.ccm-page.ccm-page .primary-header .ccm-responsive-navigation ul li { line-height: 136px !important; }
.ccm-page.ccm-page .primary-header .ccm-responsive-navigation ul li a { font-size: 15px !important; font-weight: 600 !important; margin-left: 10px !important; margin-right: 10px !important; }
/* The existing full homepage SEO title is too wide for a menu label; the linked logo supplies Home. */
.ccm-page.ccm-page .primary-header .ccm-responsive-navigation.original > ul > li:first-child { display: none !important; }

/* Standalone public pages share the same fonts and logo asset. */
.sj-brand-page.sj-brand-page .site-header .wordmark { display: inline-flex; align-items: center; line-height: 1; }
.sj-brand-page.sj-brand-page :is(header > a > img, .site-header .wordmark img) { display: block; width: 180px; height: 120px; object-fit: contain; }
.sj-brand-page.sj-brand-page .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.sj-brand-page.sj-brand-page .hero-image figcaption { font-family: 'SoberJobs Open Sans', Arial, sans-serif !important; font-style: normal !important; }

@media (max-width: 767px) {
  :is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) { font-size: 17px; }
  :is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) h3:not(.ccm-ui *) { font-size: 22px !important; }
  :is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) p:not(.ccm-ui *) { font-size: 17px; }
  :is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) :is(input, select, textarea):not(.ccm-ui *) { max-width: 100%; min-width: 0; }
  .ccm-page.ccm-page .primary-header, .ccm-page.ccm-page .hero-unit__spacer,
  .ccm-page.ccm-page .primary-header__logo,
  .ccm-page.ccm-page .primary-header :is(.desktop-nav, .ccm-responsive-navigation, .languages-block, .mobile-nav-toggle) { height: 104px !important; }
  .ccm-page.ccm-page .primary-header :is(.grid-row, .column-12) { min-height: 104px !important; }
  .ccm-page.ccm-page .primary-header .primary-header__logo img { width: 144px !important; height: 96px !important; min-width: 144px !important; max-width: 144px !important; min-height: 96px !important; max-height: 96px !important; }
  .ccm-page.ccm-page .primary-header .mobile-nav-toggle { top: 0 !important; right: 16px !important; transform: none !important; }
  .ccm-page.ccm-page .primary-header .mobile-nav-toggle.mobile-nav-toggle__is-active { position: fixed !important; z-index: 2147483000 !important; }
  .ccm-page.ccm-page .primary-header .ccm-responsive-navigation ul li { line-height: 1.5 !important; }
  .sj-brand-page.sj-brand-page :is(header > a > img, .site-header .wordmark img) { width: 132px; height: 88px; }
  .sj-brand-page.sj-brand-page header { flex-wrap: wrap; }
  .sj-brand-page.sj-brand-page header nav { gap: 12px; }
}

/* Small-print keeps its existing information hierarchy. */
:is(.ccm-page.ccm-page, .sj-brand-page.sj-brand-page) footer :is(p, h4) { font-size: 14px !important; }
.sj-brand-page.sj-brand-page :is(.micro, .eyebrow) { font-size: 13px; }
