/* Footer/bottom theme switcher.
   Normal pages keep their current light/original colors.
   Landing C remains the only page where the switch changes the visual theme. */
.jpr-footer-theme-switch.jpr-home-c-scheme{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  margin-top:12px;
  padding:3px;
  border:1px solid rgba(120,120,120,.35);
  border-radius:999px;
  background:rgba(255,255,255,.56);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  box-shadow:0 8px 24px rgba(0,0,0,.10);
  opacity:.72;
  transition:opacity .18s ease,background .18s ease,transform .18s ease;
}
.jpr-footer-theme-switch.jpr-home-c-scheme:hover,
.jpr-footer-theme-switch.jpr-home-c-scheme:focus-within{
  opacity:1;
  background:rgba(255,255,255,.90);
}
.jpr-footer-theme-switch.jpr-home-c-scheme button{
  border:0;
  border-radius:999px;
  width:28px;
  height:28px;
  padding:0;
  background:transparent;
  color:#555;
  font-size:.78rem;
  line-height:1;
  font-weight:850;
  cursor:pointer;
}
.jpr-footer-theme-switch.jpr-home-c-scheme button.is-active{
  background:rgba(127,127,127,.16);
  color:#111;
}

/* Safety fallback: if Landing C switcher is rendered outside the hero, keep the original top-right Landing C position. */
.jpr-footer-theme-switch[data-theme-context="landing-c"]{
  position:fixed;
  z-index:99990;
  right:clamp(12px,2.2vw,32px);
  top:14px;
  margin:0;
  transform:scale(.88);
  transform-origin:top right;
}
.jpr-footer-theme-switch[data-theme-context="landing-c"]:hover,
.jpr-footer-theme-switch[data-theme-context="landing-c"]:focus-within{
  transform:scale(.94);
}
.jpr-home-c[data-scheme="dark"] ~ .jpr-footer-theme-switch[data-theme-context="landing-c"],
body.jpr-site-scheme-dark .jpr-footer-theme-switch[data-theme-context="landing-c"]{
  background:rgba(0,0,0,.30);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}
.jpr-home-c[data-scheme="dark"] ~ .jpr-footer-theme-switch[data-theme-context="landing-c"] button,
body.jpr-site-scheme-dark .jpr-footer-theme-switch[data-theme-context="landing-c"] button{
  color:rgba(255,255,255,.76);
}
.jpr-home-c[data-scheme="dark"] ~ .jpr-footer-theme-switch[data-theme-context="landing-c"] button.is-active,
body.jpr-site-scheme-dark .jpr-footer-theme-switch[data-theme-context="landing-c"] button.is-active{
  background:rgba(255,255,255,.14);
  color:#fff;
}
@media (max-width:860px){
  .jpr-footer-theme-switch[data-theme-context="landing-c"]{
    right:10px;
    top:10px;
    transform:scale(.82);
  }
  .jpr-footer-theme-switch[data-theme-context="landing-c"]:hover,
  .jpr-footer-theme-switch[data-theme-context="landing-c"]:focus-within{
    transform:scale(.88);
  }
}
