/* button-glow.css
   Strong gold hover / keyboard focus for site buttons.
   Matches the approved workbook Buy/Preview v3 glow.
   Rest (non-hover) styles, sizes, fonts and layout are not changed.
   Do not apply to workbook .rw-btn (already has v3) or the menu.
*/

/* Shared hover tokens — !important only beats existing mild gold / leftover
   purple hover rules. Padding, font, radius, border-width and display stay put. */
.cta-btn:hover,
.cta-btn:focus-visible,
.cta-btn.is-hover,
a.default-btn:hover,
a.default-btn:focus-visible,
a.default-btn.is-hover,
button.default-btn:hover,
button.default-btn:focus-visible,
button.default-btn.is-hover,
input.default-btn:hover,
input.default-btn:focus-visible,
input.default-btn.is-hover,
.explore-section .explore-card .btn-group a:hover,
.explore-section .explore-card .btn-group a:focus-visible,
.explore-section .explore-card .btn-group a.is-hover,
.explore-section1 .explore-card .btn-group a:hover,
.explore-section1 .explore-card .btn-group a:focus-visible,
.explore-section1 .explore-card .btn-group a.is-hover,
a.bx_wrp:hover,
a.bx_wrp:focus-visible,
a.bx_wrp.is-hover,
a.btn11:hover,
a.btn11:focus-visible,
a.btn11.is-hover,
a.nar-hero-btn:hover,
a.nar-hero-btn:focus-visible,
a.nar-hero-btn.is-hover,
a.bkipo:hover,
a.bkipo:focus-visible,
a.bkipo.is-hover,
a.elementor-button:hover,
a.elementor-button:focus-visible,
a.elementor-button.is-hover,
.elementor-button:hover,
.elementor-button:focus-visible,
.elementor-button.is-hover,
.elementor-button-link:hover,
.elementor-button-link:focus-visible,
.elementor-button-link.is-hover,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
input[type="submit"].is-hover,
button[type="submit"]:hover,
button[type="submit"]:focus-visible,
button[type="submit"].is-hover,
.wpcf7-submit:hover,
.wpcf7-submit:focus-visible,
.wpcf7-submit.is-hover {
  border-color: #ffe09a !important;
  color: #ffe9b0 !important;
  -webkit-text-fill-color: #ffe9b0 !important;
  background: rgba(42, 26, 8, 0.72) !important;
  background-color: rgba(42, 26, 8, 0.72) !important;
  text-shadow:
    0 0 10px rgba(255, 220, 130, 0.95),
    0 0 22px rgba(238, 183, 100, 0.7);
  filter: brightness(1.14);
  box-shadow:
    0 0 0 1px rgba(255, 232, 170, 0.85),
    0 0 12px rgba(255, 220, 130, 0.95),
    0 0 28px rgba(238, 183, 100, 0.8),
    0 0 52px rgba(200, 150, 40, 0.45) !important;
}

/* Keep icons and Elementor labels in the same gold on hover. */
.cta-btn:hover .btn-star,
.cta-btn:focus-visible .btn-star,
.cta-btn.is-hover .btn-star,
a.btn11:hover i,
a.btn11:focus-visible i,
a.btn11.is-hover i,
.elementor-button:hover .elementor-button-text,
.elementor-button:focus-visible .elementor-button-text,
.elementor-button.is-hover .elementor-button-text,
.elementor-button:hover .elementor-button-content-wrapper,
.elementor-button:focus-visible .elementor-button-content-wrapper,
.elementor-button.is-hover .elementor-button-content-wrapper {
  color: #ffe9b0 !important;
  -webkit-text-fill-color: #ffe9b0 !important;
  text-shadow:
    0 0 10px rgba(255, 220, 130, 0.95),
    0 0 22px rgba(238, 183, 100, 0.7);
}

/* Workbook Buy / Free Preview already use the v3 glow.
   This file must not add a second layer on them. The selectors
   above never include .rw-btn, so no extra hover is applied. */


/* Read More (a.bx_wrp): rounded pill on hover without moving the card text.
   The link itself keeps its rest size. The pill is a ::before behind the text,
   padded out by 6px 16px. isolation keeps that layer above the card background. */
a.bx_wrp {
  position: relative;
  isolation: isolate;
}

a.bx_wrp::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 32px);
  height: calc(100% + 12px);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

a.bx_wrp:hover,
a.bx_wrp:focus-visible,
a.bx_wrp.is-hover {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none;
  padding: 0 !important;
  color: #ffe9b0 !important;
  -webkit-text-fill-color: #ffe9b0 !important;
  text-shadow:
    0 0 10px rgba(255, 220, 130, 0.95),
    0 0 22px rgba(238, 183, 100, 0.7);
}

a.bx_wrp:hover::before,
a.bx_wrp:focus-visible::before,
a.bx_wrp.is-hover::before {
  opacity: 1;
  background: rgba(42, 26, 8, 0.72);
  box-shadow:
    0 0 0 1.5px #ffe09a,
    0 0 0 1px rgba(255, 232, 170, 0.85),
    0 0 12px rgba(255, 220, 130, 0.95),
    0 0 28px rgba(238, 183, 100, 0.8),
    0 0 52px rgba(200, 150, 40, 0.45);
}
