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,
.gfield select,
.gfield textarea,
a,
button{
  transition: var(--wp--custom--transition);
}


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

div h2 a:focus,
div h2 a:hover,
div h3 a:focus,
div h3 a:hover {
  color: var(--wp--preset--color--black) !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--white) !important;
  color: var(--wp--preset--color--black) !important;
  border-color: var(--wp--preset--color--white) !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 */
  border-radius: 3px!important;
  font-size: 20px!important;
  padding: 12px 28px!important;

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

.gfield :where(input, select, textarea) {
  /* gravity form field styles */
  border: 1px solid #B9B9B9!important;
  box-shadow: none!important;
  color: #0D1A2E!important;
  padding: 14px 19px!important;
  line-height: 1.23!important;
  block-size: 49px!important;
  background-color: rgba(255,255,255,.75)!important;
}
.gfield :where(input, select, textarea)::placeholder {
  color: rgba(13, 26, 46, .4)!important;
}

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

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

.gfield_required{
  /* required label */
}

.gform-footer {
  margin-top: 15px!important;
}

.hero > * {
  position: relative;
  z-index: 1;
}
.hero::after {
  content: '';
  width: 42vw;
  height: 100%;
  position: absolute;
  display: block;
  background-color: var(--wp--preset--color--hunter-green);
  right: 0;
  top: 0;
}

@media (max-width:781px) {
  .hero::after {
    width: 100vw!important;
    height: 40%!important;
    bottom: 0!important;
    left:0!important;
    top: unset!important;
    right: unset!important;
  }
}

.lg-box-shadow {
  box-shadow: 0 14px 14px 0 rgba(0,0,0,.1);
}


/* 50 - 50 covers */
.editor-styles-wrapper .is-style-image-50-50 { padding: 0;}

body:not(.block-editor-page) .is-style-image-50-50 {
  padding: 0;
}
body:not(.block-editor-page) .is-style-image-50-50 .wp-block-columns {
  gap: 0;
}
body:not(.block-editor-page) .is-style-image-50-50 .wp-block-column {
  align-self: stretch;
}

@media (min-width: 1280px) {
  body:not(.block-editor-page) .is-style-image-50-50 .wp-block-cover {
    position: relative;
    width: 50vw;
  }

  body:not(.block-editor-page) .is-style-image-50-50 .wp-block-column:first-child .wp-block-cover {
    left: calc(-50vw + (var(--wp--style--global--content-size) / 2));
    padding-left: calc(50vw - (var(--wp--style--global--content-size) / 2)) !important;
  }
  body:not(.block-editor-page) .is-style-image-50-50 .wp-block-column:first-child .wp-block-cover__inner-container > div.wp-block-group {
    padding-left: 0;
  }

  body:not(.block-editor-page) .is-style-image-50-50 .wp-block-column:last-child .wp-block-cover {
    padding-right: calc(50vw - (var(--wp--style--global--content-size) / 2)) !important;
  }
  body:not(.block-editor-page) .is-style-image-50-50 .wp-block-column:last-child .wp-block-cover__inner-container > div.wp-block-group {
    padding-right: 0;
  }
}


/* Heading Styles */
h1 :where(s, mark.has-white-color) {
  color: var(--wp--preset--color--white) !important;
  padding: 12px 19px;
  line-height: 1.7;
}

h1 mark.has-white-color {
  background-color: var(--wp--preset--color--hunter-green)!important;
}

h1 s {
  background-color: var(--wp--preset--color--lime-green)!important;
  text-decoration: none!important;
}

@media (max-width: 781px) {
	h1 :where(s, mark.has-white-color) {
		line-height: 2.0;
	}
}

/* Fixes */
.wp-block-safe-svg-svg-icon {
  line-height: 1;
}

@media (max-width:781px) {
  .m-text-align-center {
    text-align: center;
  }
}


.safe-svg-cover svg {
    fill: none!important;
}



.pum-close {
  background-color: var(--wp--preset--color--hunter-green)!important;
  border-color: var(--wp--preset--color--hunter-green)!important;
}