/* Existing Deplova button enhancements, extracted from text-to-visual.html.
   Requires reveal.css for the established box, font, variants and responsive rules. */

.button.is-secondary::before,
.button.is-secondary::after { display: none !important; }
.button.is-secondary,
.button.is-text {
  --u-button-underlay-svg-bottom: none !important;
  --u-button-underlay-svg-top: none !important;
  --u-button-underlay-svg-left: none !important;
  --u-button-underlay-svg-right: none !important;
  --u-button-underlay-bottom-height: 0px !important;
  --u-button-underlay-top-height: 0px !important;
}


.button.is-text {
  --u-button-underlay-svg-bottom: none !important;
  --u-button-underlay-bottom-height: 0px !important;
  --u-button-underlay-svg-top: none !important;
  --u-button-underlay-top-height: 0px !important;
}

.button {
  /* Preserve the existing 24px line box even when a new page uses 1.55 body leading. */
  line-height: 1.5;
  --u-button-underlay-svg-bottom: none !important;
  --u-button-underlay-bottom-height: 0px !important;
  --u-button-underlay-svg-top: none !important;
  --u-button-underlay-top-height: 0px !important;
  transition: transform 0.1s ease, box-shadow 0.4s ease !important;
}
.button:not(.is-secondary):not(.is-text):active { transform: scale(0.96) !important; }
.button:not(.is-secondary):not(.is-text):hover { box-shadow: none !important; }
.button.is-secondary:hover {
  border-color: #B11226 !important;
  box-shadow: 0 0 8px 1px #B1122288, 0 0 20px 4px #FF4D0044, 0 0 45px 10px #6E0D2522, inset 0 0 18px 2px #B1122611 !important;
}
.button.is-secondary:active { transform: scale(0.96) !important; }

.btn-beam-wrap { position: relative; display: inline-block; }
.btn-beam-wrap > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.btn-beam-wrap > .button { position: relative; z-index: 1; }
