/*
Theme Name:   Hello Elementor Child - Roadside Dink
Theme URI:    https://roadsidedink.com/
Description:  Child theme for Roadside Dink. Keeps Hello Elementor update-safe and adds the small theme-level switches the booking site needs: body class, Primary menu location, theme-footer switch, optional theme.css dequeue, one Google Fonts request and a skip-link fallback. Styling lives in the roadside-dink-booking plugin.
Author:       Roadside Dink build team
Template:     hello-elementor
Version:      1.1.0
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.2
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  hello-elementor-child
*/

/* Everything visual is enqueued by the roadside-dink-booking plugin
   (rd-tokens.css, rd-public.css). The rules below only cover the case
   where the plugin is inactive, so the site still has a usable skip link
   in the brand colours (navy #0C2345, lime #BFE83A, 8 px corners). */

body.rd-no-plugin .rd-skip {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 1100;
  padding: 12px 20px;
  border-radius: 8px;
  background: #0C2345;
  color: #FFFFFF;
  font: 600 15px/1 Poppins, "Segoe UI", Roboto, Arial, sans-serif;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(191, 232, 58, 0.55), 0 0 18px rgba(191, 232, 58, 0.38);
  transition: top 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.rd-no-plugin .rd-skip:focus,
body.rd-no-plugin .rd-skip:focus-visible {
  top: 16px;
  outline: 2px solid #BFE83A;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  body.rd-no-plugin .rd-skip { transition-duration: 0.01ms; }
}
