/* GO v126: dark is the default theme, but the visitor can still switch to light. */
:root.go-default-dark-mode,
:root.go-default-dark-mode body:not(.wp-admin),
body.newsx-dark-mode:not(.wp-admin) {
  background-color: #1f1d2b;
  color: #f7f8fb;
}

:root.go-user-light-mode,
:root.go-user-light-mode body:not(.wp-admin) {
  background-color: #f8f7f8;
  color: #090b10;
  color-scheme: light;
}

:root.go-default-dark-mode {
  color-scheme: dark;
}

/* Prevent the default-dark body class from visually locking users who selected light. */
:root.go-user-light-mode body.newsx-dark-mode:not(.wp-admin),
:root.go-user-light-mode body.dark-mode:not(.wp-admin),
:root.go-user-light-mode body.newsx-dark-mode:not(.wp-admin) :is(#page,#content,.site-content,.go-home-page,.go-portal-page,.go-ip-page) {
  background-color: #f8f7f8 !important;
  color: #090b10 !important;
}

:root.go-user-light-mode body.newsx-dark-mode:not(.wp-admin) :is(h1,h2,h3,h4,h5,h6,p,li,.go-article__title,.go-article__deck,.go-home-section-title,.go-home-story-title,.go-home-story-title a) {
  color: inherit;
}

/* GO v142: text singles title refinement. Keep current width/position, reduce type scale a little more. Excludes review singles. */
html body.single:not(.single-review):not(.wp-admin) .go-article__hero .go-article__title {
  font-size: clamp(36px, 4.35vw, 64px) !important;
  line-height: .98 !important;
  letter-spacing: -0.052em !important;
}

html body.single:not(.single-review):not(.wp-admin) .go-article__hero .go-article__deck p {
  font-size: clamp(16px, 1.25vw, 20px) !important;
  line-height: 1.34 !important;
}

@media (max-width: 900px) {
  html body.single:not(.single-review):not(.wp-admin) .go-article__hero .go-article__title {
    font-size: clamp(32px, 8vw, 49px) !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
  }

  html body.single:not(.single-review):not(.wp-admin) .go-article__hero .go-article__deck p {
    font-size: clamp(15px, 3.8vw, 18px) !important;
    line-height: 1.38 !important;
  }
}
