/* Button Popup block (blocks/block-popup.php)
 *
 * The block hardcodes class="btn btn-plain", which styles.css renders as a red
 * text link with a trailing arrow. Where the block is used as a standalone CTA
 * (Meetings, Sports) that reads as an orphaned link, so this repaints it as a
 * solid button matching the site's .button treatment.
 *
 * Loaded only on pages containing acf/popup — see enqueue_button_popup_assets()
 * in functions.php.
 */

.r-button-popup {
  margin-top: 1.5em;
}

.r-button-popup .btn.btn-plain {
  display: inline-block;
  padding: 20px 40px;
  background: #f05a5c !important; /* beats the transparent !important on .btn.btn-plain */
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 10px #f05a5c;
  transition: 0.4s;
}

.r-button-popup .btn.btn-plain:hover,
.r-button-popup .btn.btn-plain:focus {
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 0 35px #f05a5c;
}

.r-button-popup .btn.btn-plain:focus-visible {
  outline: 3px solid #001733;
  outline-offset: 3px;
}

/* The arrow belongs to the text-link treatment; solid buttons elsewhere on the
 * site don't carry one. */
.r-button-popup .btn.btn-plain::after {
  display: none;
}
