/* The existing fixed back-to-top button; no global anchor behavior changes. */

body.teller-light-runtime .back-to-top {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s;
}

body.teller-light-runtime .back-to-top.teller-back-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Keep the existing hover effects without transitioning inherited visibility
   when the containing section starts or finishes its entrance animation. */
body.teller-light-runtime .footer-widget-nav > li > a,
body.teller-light-runtime .footer-widget .footer-logo,
body.teller-light-runtime .places-section .single-place-item a,
body.teller-light-runtime .places-seciton .single-place-item a,
body.teller-light-runtime .gowilds-pagination > li > a,
body.teller-light-runtime .entry-footer > .tag-links > a,
body.teller-light-runtime .entry-footer > .social-share > a,
body.teller-light-runtime #commentform .form_control,
body.teller-light-runtime #commentform .main-btn {
  transition-property: color, background-color, border-color, box-shadow, opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  body.teller-light-runtime .back-to-top {
    transition: none;
  }
}
