/* Ensure content is visible on static hosts if motion initial opacity sticks */
[style*="opacity:0"],
[style*="opacity: 0"] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

[aria-label="Language"]{display:none!important}

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  bottom: 5.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 3px solid #111;
  border-radius: 9999px;
  background: #fff;
  color: #111;
  box-shadow: 4px 4px 0 0 #111;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease, color 0.15s ease;
}
html[dir="rtl"] .scroll-top-btn {
  left: 1.25rem;
  right: auto;
}
html[dir="ltr"] .scroll-top-btn {
  right: 1.25rem;
  left: auto;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: #111;
  color: #fff;
}
.scroll-top-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}
@media (max-width: 640px) {
  .scroll-top-btn {
    bottom: 5.75rem;
  }
}
