/*
Theme Name: Family Tree Country Parks
Description: A WordPress block theme reproducing the captured Family Tree Country Parks website, with editable pages and shared template parts.
Version: 1.0.0
Author: Family Tree Country Parks
Text Domain: family-tree-country-parks
Requires at least: 6.6
Requires PHP: 8.2
License: GPL-2.0-or-later
*/
.wp-site-blocks { display: contents; }
.wp-site-blocks > .wrapper { position: relative; display: block; width: 100%; }
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
body { --wp--style--root--padding-top: 0px; --wp--style--root--padding-right: 0px; --wp--style--root--padding-bottom: 0px; --wp--style--root--padding-left: 0px; }
.ftcp-editor-preview { padding: 24px; border: 1px solid #40826e; background: #f7faf8; color: #23493d; }

/* The captured form styles target input[type=submit]; current forms use buttons.
   Limit the repair to content forms so footer and modal button designs stay intact. */
.the-content-wrapper .gform_wrapper .ftcp-local-form .gform_footer button[type="submit"] {
  position: relative;
  display: block;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  margin: 0 auto;
  padding: 10px 30px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  line-height: 1.5;
  color: #fff;
  background-color: #5fb097;
  cursor: pointer;
  transition: background-color 300ms ease, opacity 200ms ease;
}
.the-content-wrapper .gform_wrapper .ftcp-local-form .gform_footer button[type="submit"]:is(:hover, :active, :focus-visible):not(:disabled) {
  background-color: #40826e;
}
.the-content-wrapper .gform_wrapper .ftcp-local-form .gform_footer button[type="submit"]:focus-visible {
  outline: 2px solid #1e3e34 !important;
  outline-offset: 3px;
}
.the-content-wrapper .gform_wrapper .ftcp-local-form .gform_footer button[type="submit"]:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.the-content-wrapper .gform_wrapper .ftcp-local-form[aria-busy="true"] .gform_footer button[type="submit"] {
  cursor: wait;
}
@media (prefers-reduced-motion: reduce) {
  .the-content-wrapper .gform_wrapper .ftcp-local-form .gform_footer button[type="submit"] {
    transition: none;
  }
}
