body,
.editor-styles-wrapper {
  background-color: #fff;
  color: #000;
}
.editor-styles-wrapper h1.wp-block-post-title {
  color: black !important;
}

.wp-block-image img {
  /* WP 6.3 doesn't let this work with "defined" image sizes now */
  height: auto !important;
}

/* better default to use? */
.wp-block-gallery.has-nested-images figure.wp-block-image {
  flex-grow: 0;
}

/* elements that are first remove the owl selector -- talk to visbility selector plugin dev */
.remove-top-margin {
  margin-top: 0 !important;
}

/* TODO: parent theme default? */
.wp-element-button > * {
  vertical-align: middle;
}


/* TODO: remove from parent */
header .wp-block-navigation {
  order: unset;
}
.equal-height-cols>.wp-block-column {
  max-width: none;
}

/* Smoother scrolling on same-page transitions */
/* prefers-reduced-motion for accessability */
@media (prefers-reduced-motion:no-preference) {
  html{
    scroll-behavior: smooth;
  }
}

/* hover transition for all transitionable effects */
.gfield input:is(:hover, :active, :focus),
.gfield select:is(:hover, :active, :focus),
.gfield textarea:is(:hover, :active, :focus),
a,
button{
  transition: var(--wp--custom--transition);
}


/* block social lacks this option */
.wp-block-social-links svg:hover {
  color: var(--wp--preset--color--orange) !important;
}

div h2 a:focus,
div h2 a:hover,
div h3 a:focus,
div h3 a:hover {
  color: var(--wp--preset--color--orange) !important;
}

/* customize */

h1:not([class*='wp-block']),
h2:not([class*='wp-block']),
h3:not([class*='wp-block']) {
  margin-top: 0; /* WC non-block items */
}


/* parent theme override */
.wp-site-blocks .wp-block-group .wp-block-button__link:is(:hover, :active, :focus) {
  background: var(--wp--preset--color--light-green) !important;
  color: var(--wp--preset--color--white) !important;
  border-color: var(--wp--preset--color--light-green) !important;
}
.wp-site-blocks .wp-block-group .wp-block-button__link:is(:hover, :active, :focus) img {
  filter: brightness(100);
}


/*--- Gravity Forms customization ---*/
.gform_footer input[type=submit]{
  /* submit button stles */
}
.gform_footer input[type=submit]:is(:hover, :active, :focus) {
  /* submit button hover */
}

.gfield input, .gfield select, .gfield textarea {
  /* gravity form field styles */
}

.gfield input:is(:hover, :active, :focus),
.gfield select:is(:hover, :active, :focus),
.gfield textarea:is(:hover, :active, :focus) {
  /* gfom field style hover/focus */
}

.gform_fields{
  /* Gform field spacing */
  /* grid-row-gap: 20px!important; */
}

.gfield_required{
  /* required label */
}




/* Gutenberg missing features */



/* classes to use (that aren't BlockStyles) */

/* mobile */
@media (max-width: 781px) {
  
}





/*  */
body:not(.block-editor-page) .is-style-image-left .wp-block-columns,
body:not(.block-editor-page) .is-style-image-right .wp-block-columns{
  gap: 0;
}
body:not(.block-editor-page) .is-style-image-left .wp-block-cover,
body:not(.block-editor-page) .is-style-image-right .wp-block-cover{
  height: 100%; width: 50%;
  position: absolute;
  top: 0;
}

body:not(.block-editor-page) .is-style-image-left .wp-block-cover{left:0}
body:not(.block-editor-page) .is-style-image-right .wp-block-cover{right: 0;}


body:not(.block-editor-page) .is-style-image-right .wp-block-column:first-child {
  padding-right: 4rem;
}
body:not(.block-editor-page) .is-style-image-left .wp-block-column:last-child {
  padding-left: 4rem;
}


@media (max-width: 781px) {
  body:not(.block-editor-page) .is-style-image-left .wp-block-cover,
  body:not(.block-editor-page) .is-style-image-right .wp-block-cover{
    position: relative!important;
    width: 100%!important;
  }

  body:not(.block-editor-page) .is-style-image-right .wp-block-columns{
    flex-direction: column-reverse;
  }
}
