/* Logo colours: middle red ring #b42634; outer red ring #751325.
   Scope theme tokens to controls so custom white/outline treatments keep their layout. */
.page_wrap :is(
  button, input[type="submit"], input[type="button"], input[type="reset"],
  a.button, .theme_button, .elementor-button, .wp-block-button__link,
  .sc_button:not(.sc_button_simple), .post_item .more-link,
  .sc_portfolio_preview_show .post_readmore, .sidebar_control,
  .wpcf7-submit-style, .submit-style-in, .scroll_to_top,
  .socials_share.socials_type_block .social_icon
) {
  --theme-color-text_link: #b42634;
  --theme-color-text_hover: #751325;
  --theme-color-alter_link: #b42634;
  --theme-color-alter_hover: #751325;
  --theme-color-extra_link: #b42634;
  --theme-color-extra_hover: #751325;
  --theme-color-inverse_link: #ffffff;
  --theme-color-inverse_hover: #ffffff;
  --theme-color-text_link_blend: #751325;
  --theme-color-alter_link_blend: #751325;
  --theme-color-text_link_007: rgba(180,38,52,.07);
  --theme-color-text_link_02: rgba(180,38,52,.2);
  --theme-color-text_link_03: rgba(180,38,52,.3);
  --theme-color-text_link_04: rgba(180,38,52,.4);
  --theme-color-text_link_07: rgba(180,38,52,.7);
  --theme-color-alter_link_02: rgba(180,38,52,.2);
  --theme-color-alter_link_07: rgba(180,38,52,.7);
  --theme-color-extra_link_02: rgba(180,38,52,.2);
  --theme-color-extra_link_07: rgba(180,38,52,.7);
  --wp--preset--color--text-link: #b42634;
  --wp--preset--color--text-hover: #751325;
}

/* Contact Form 7 paints the button on a separate icon/background layer. */
.page_wrap .wpcf7 .wpcf7-submit-style .submit-style-in {
  background-color: #b42634;
  color: #fff;
  transition: background-color .2s ease, color .2s ease;
}
.page_wrap .wpcf7 .wpcf7-submit-style:is(:hover,:focus-within,:active) .submit-style-in {
  background-color: #751325;
  border-color: #751325;
  color: #fff;
}
.page_wrap .wpcf7 .wpcf7-submit-style .wpcf7-submit {
  color: #fff;
}
.page_wrap .wpcf7 .wpcf7-submit-style:focus-within {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media(prefers-reduced-motion:reduce) {
  .page_wrap .wpcf7 .wpcf7-submit-style .submit-style-in { transition: none; }
}

/* TRX renders this floating control outside .page_wrap, using its own class. */
html body[class] a.trx_addons_scroll_to_top {
  --theme-color-text_link: #b42634;
  --theme-color-text_hover: #751325;
  background: #b42634 !important;
  border-color: #b42634 !important;
  color: #fff !important;
}
html body[class] a.trx_addons_scroll_to_top:is(:hover,:focus-visible,:active) {
  background: #751325 !important;
  border-color: #751325 !important;
  color: #fff !important;
}
html body[class] a.trx_addons_scroll_to_top::before {
  color: inherit !important;
}
html body[class] a.trx_addons_scroll_to_top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
