/* Theme switch – floating button (footer bar removed) */

html.wg-theme-switching,
html.wg-theme-switching *,
html.wg-theme-switching *::before,
html.wg-theme-switching *::after {
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

html.wg-theme-switching .wg-accred__track,
html.wg-theme-switching .wg-hero__slide img,
html.wg-theme-switching .wg-cine-hero__media img {
  animation-play-state: paused !important;
}

.wg-theme-fab {
  position: absolute;
  right: clamp(0.85rem, 3vw, 1.35rem);
  bottom: clamp(4.25rem, 8vw, 5.5rem);
  z-index: 12;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(22, 38, 52, 0.88);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s var(--wg-ease), background 0.25s, border-color 0.25s;
}

html[data-wg-theme="warm-paper"] .wg-theme-fab {
  background: rgba(255, 252, 248, 0.94);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--wg-text);
}

.wg-theme-fab:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 197, 71, 0.45);
}

.wg-theme-fab__icon {
  font-size: 1rem;
}

.wg-theme-toggle__btn {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .wg-theme-fab { transition: none; }
  .wg-theme-fab:hover { transform: none; }
}
