/* Learn pages: the same open title as the courses. The photo banner is cleared; the Earth photograph sits under the nav. */
html:has(body.toc-sub:is(.learn-page,.open-earth):not(.pranjay)){overflow-x:clip}
html.dark body.toc-sub:is(.learn-page,.open-earth):not(.pranjay),
body.toc-sub:is(.learn-page,.open-earth):not(.pranjay){background:#ebebeb !important;color:#171717}
html.dark body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) #topnav,
html.dark body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) #topnav a,
body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) #topnav,
body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) #topnav a{color:#111}
html.dark body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) main :is(h2,h3,p,li,a,small,span,label){color:#171717}
body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) main{position:relative}
body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) main::before{
  content:"";position:absolute;z-index:0;pointer-events:none;
  width:min(86vw,860px);aspect-ratio:1;height:auto;max-width:none;
  right:auto;inset-inline-end:-8%;top:0;opacity:.9;mix-blend-mode:multiply;
  border:0 solid transparent;
  border-image:url("hero/earth-watermark.webp?v=20261129a") 0 fill / 1 / 0 stretch
}
body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .page-hero.hero-learn{
  position:relative;z-index:1;
  background:transparent !important;background-image:none !important;
  height:auto !important;min-height:0 !important;color:#111
}
body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .page-hero.hero-learn h1{
  color:#111 !important;
  text-shadow:0 0 18px #fff,0 0 8px #fff
}
body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .page-hero.hero-learn p{
  color:#171717 !important;text-shadow:none
}
body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) :is(a.btn,button.btn){
  display:inline-flex;align-items:center;justify-content:center;
  width:max-content;max-width:100%;
  padding:.7em;border-radius:999px;color:#171717;text-decoration:none;
  background:rgba(255,255,255,.28);
  border:1.5px solid rgba(255,255,255,.95);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 14px rgba(255,255,255,.4),0 8px 18px rgba(16,24,40,.08);
  -webkit-backdrop-filter:blur(18px) saturate(180%);
  backdrop-filter:blur(18px) saturate(180%);
  font-weight:500;font-size:1.1rem;line-height:1.2
}
/* Calculators, labs and guides: clear the dark photo banner. The pictures and their credits stay in the page. */
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .page-hero.pg-anim{
  display:block !important;
  background:transparent !important;background-image:none !important;
  min-height:0 !important;height:auto !important;
  padding:10.5rem 1.25rem .4rem !important;
  overflow:visible !important;contain:none !important;isolation:auto !important
}
html body.toc-sub.open-earth:not(.pranjay) .page-hero h1,
html body.toc-sub.open-earth:not(.pranjay) .page-hero .hero-title-row h1{
  color:#111 !important;text-shadow:0 0 18px #fff,0 0 8px #fff
}
html body.toc-sub.open-earth:not(.pranjay) .page-hero p{color:#171717 !important;text-shadow:none}
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .page-hero .page-hero-content{
  position:relative;z-index:1
}
@media (max-width:800px){
  html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .page-hero.pg-anim{padding-top:5.5rem !important}
}
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .page-hero.pg-anim::before,
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .page-hero.pg-anim::after{
  content:none !important;display:none !important;background:none !important
}
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .sp-anim-banner .spx-slide,
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .sp-anim-banner .spb-sweep,
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .sp-anim-banner .spb-pause,
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .sp-anim-banner .spb-media{
  display:none !important
}
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .page-hero .hero-credit,
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .sp-anim-banner.is-playing .spx-cred{
  position:static !important;display:block !important;width:auto !important;
  color:#333 !important;background:transparent !important;text-shadow:none !important;
  text-align:center;margin:.12rem auto;max-width:46rem;font-size:.8rem;left:auto !important;right:auto !important;bottom:auto !important
}
html body.toc-sub.open-earth:not(.pranjay):not(:has(.page-hero)):not(:has(.k1-hero)):not(:has(.tt-banner)) main{padding-top:10.5rem}
@media (max-width:800px){
  html body.toc-sub.open-earth:not(.pranjay):not(:has(.page-hero)):not(:has(.k1-hero)):not(:has(.tt-banner)) main{padding-top:5.5rem}
}
html body.toc-sub.open-earth:not(.pranjay):not(:has(.page-hero)):not(:has(.k1-hero)):not(:has(.tt-banner)) main h1{
  color:#111;text-align:center;text-shadow:0 0 18px #fff,0 0 8px #fff
}
html body.toc-sub:is(.learn-page,.open-earth):not(.pranjay) .sp-earth-credit{
  margin:.35rem auto 0;text-align:center;color:#333;font-size:.85rem
}
/* Amazing Facts, Kids World, lesson pages, Match, the play pages, and Top Ten. */
html body.toc-sub.open-earth:not(.pranjay) :is(.page-hero,.k1-hero,.tt-banner){
  background:transparent !important;background-image:none !important;
  height:auto !important;min-height:0 !important;color:#171717 !important;
  padding:10.5rem 1.25rem .5rem !important;
  overflow:visible !important;contain:none !important;isolation:auto !important
}
@media (max-width:800px){
  html body.toc-sub.open-earth:not(.pranjay) :is(.page-hero,.k1-hero,.tt-banner){padding-top:5.5rem !important}
}
html body.toc-sub.open-earth:not(.pranjay) :is(.page-hero,.k1-hero,.tt-banner) h1{
  color:#111 !important;text-shadow:0 0 18px #fff,0 0 8px #fff
}
html body.toc-sub.open-earth:not(.pranjay) :is(.page-hero,.k1-hero,.tt-banner) p{
  color:#171717 !important;text-shadow:none !important
}
html body.toc-sub.open-earth:not(.pranjay) .page-hero.af-hero::before,
html body.toc-sub.open-earth:not(.pranjay) .page-hero.af-hero::after,
html body.toc-sub.open-earth:not(.pranjay) .k1-hero::before,
html body.toc-sub.open-earth:not(.pranjay) .tt-banner::after,
html body.toc-sub.open-earth:not(.pranjay) .af-motion-toggle,
html body.toc-sub.open-earth:not(.pranjay) .match-hero .hero-overlay{
  content:none !important;display:none !important;background:none !important;animation:none !important
}
html body.toc-sub.open-earth:not(.pranjay) .page-hero.match-hero.hero{
  display:flex !important;flex-direction:column;align-items:center;
  height:auto !important;min-height:0 !important;
  padding:10.5rem 1.25rem .5rem !important;background:transparent !important;overflow:visible !important
}
html body.toc-sub.open-earth:not(.pranjay) .match-hero .page-hero-content{order:1;width:100%;position:relative !important;top:auto !important}
html.dark body.toc-sub.open-earth:not(.pranjay) main :is(.w-card,.tt-card) :is(h2,h3,p,li,a,small,span){color:#e8eef5}
html body.toc-sub.open-earth:not(.pranjay) .match-hero .hero-media{
  order:2;display:block !important;position:relative !important;inset:auto !important;
  width:min(560px,92%);height:auto;margin:.7rem auto 0
}
html body.toc-sub.open-earth:not(.pranjay) .match-hero .hero-video,
html body.toc-sub.open-earth:not(.pranjay) .match-hero .hero-video-off{
  position:relative !important;width:100%;height:auto;display:block !important
}
html body.toc-sub.open-earth:not(.pranjay) .match-hero .hero-video-credit{
  order:3;display:block !important;position:static !important;color:#333 !important;text-align:center;
  background:transparent !important;border-radius:0 !important;box-shadow:none !important
}
html body.toc-sub.open-earth:not(.pranjay) .match-hero :is(.hero-space,.hs-caps){display:none !important}
html body.toc-sub.open-earth.top-ten-page .tt-banner{display:grid !important;justify-items:center}
html body.toc-sub.open-earth.top-ten-page .tt-banner .spb-text{grid-row:1;position:relative;z-index:2;text-align:center}
html body.toc-sub.open-earth.top-ten-page .tt-banner .spb-media,
html body.toc-sub.open-earth.top-ten-page .tt-banner .spb-video{
  grid-row:2;grid-column:1;display:block !important;position:relative !important;inset:auto !important;
  width:min(720px,92%) !important;height:auto !important;margin:0
}
html body.toc-sub.open-earth.top-ten-page .tt-banner .spb-video{z-index:1}
html body.toc-sub.open-earth.top-ten-page .tt-banner .spb-media img{
  position:relative !important;inset:auto !important;width:100%;height:auto
}
html body.toc-sub.open-earth.top-ten-page .tt-banner .spb-credit{grid-row:3}
@media (prefers-reduced-motion:reduce){
  html body.toc-sub.open-earth.top-ten-page .tt-banner .spb-video{display:none !important}
}
