/* Critical Thinking pilot. Leave the shared companion stylesheet unchanged. */
.section-nav-hint {
  display: none;
}

@media screen {
  .sgc-critical-thinking .hero h1 {
    line-height: 1.06;
    letter-spacing: -.052em;
    margin-bottom: .85rem;
  }

  .sgc-critical-thinking .hero-actions {
    margin-top: 1.15rem;
    gap: .5rem 1.25rem;
  }

  .sgc-critical-thinking .hero-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .sgc-critical-thinking .hero-small {
    margin-top: .75rem;
  }

  .sgc-critical-thinking .local-nav a {
    text-underline-offset: .2em;
  }
}

@media screen and (max-width: 700px) {
  /* Keep the site header sticky, but give the lesson the rest of the screen. */
  .sgc-critical-thinking .main-nav {
    position: static;
    padding: .45rem .55rem .25rem;
    margin-top: .55rem;
  }

  html:has(.sgc-critical-thinking) {
    scroll-padding-top: calc(var(--sgc-top) + .75rem);
  }

  .sgc-critical-thinking :is(.topic, .challenge, .page-intro) {
    scroll-margin-top: .5rem;
  }

  .sgc-critical-thinking .section-nav-hint {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding: 0 .3rem .15rem;
    color: #e7f2fe;
    font-size: .875rem;
    font-weight: 740;
  }

  .sgc-critical-thinking .section-nav-hint span {
    color: #c4daec;
    font-weight: 500;
  }

  .sgc-critical-thinking .nav-inner {
    gap: .3rem;
    padding: .1rem .1rem .25rem;
    overscroll-behavior-inline: contain;
  }

  .sgc-critical-thinking .nav-inner a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: .3rem .6rem;
    border: 0;
    border-radius: .2rem;
    background: #223952;
  }

  .sgc-critical-thinking .nav-inner a[aria-current="page"] {
    box-shadow: inset 0 -2px #f0c477;
  }

  .sgc-critical-thinking main#main {
    margin-top: .6rem;
  }

  .sgc-critical-thinking .hero {
    min-height: 0;
    padding: clamp(.9rem, 4.2vw, 1.6rem);
  }

  .sgc-critical-thinking .hero::before {
    background: linear-gradient(90deg, #101b2cf5 0%, #151f33df 58%, #15233794),
      url("/assets/old-joe-cinematic.webp") 73% 29% / cover no-repeat;
  }

  .sgc-critical-thinking .hero h1 {
    font-size: clamp(1.72rem, 6.25vw, 2.65rem);
  }

  .sgc-critical-thinking .hero .hero-sub {
    font-size: 1.0625rem;
    line-height: 1.48;
  }

  .sgc-critical-thinking .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: .85rem;
  }

  .sgc-critical-thinking .local-nav {
    gap: .4rem .85rem;
    margin-block: 1rem 1.45rem;
    font-size: .9rem;
  }

  .sgc-critical-thinking .local-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
