:root{
  --transition: all .35s ease-out;
}

body,
.editor-styles-wrapper {
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
}
.editor-styles-wrapper h1.wp-block-post-title {
  color: white !important;
}

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


@media (max-width: 960px) {
  /* TODO: add into parent theme */
  .mobile-justify-space-between {
    justify-content: space-between !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;
}
/* :where(body, .is-layout-flow) > *{
  margin-block-start: 1.5rem;
} */

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

/* 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 */
figure{
  max-width: none!important;
}

h1 strong, h2 strong {
  color: var(--wp--preset--color--orange)
}

ul{
  list-style-image: url('/wp-content/uploads/2024/04/Arrow-List-Indicator.svg');
  list-style-position: inside;
  padding-left: 0!important;
}

button, a{
  transition: all .25s ease-out;
}

.blog-section .wp-block-post-template {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
}

.blog-section .wp-block-post-template > li {
  flex: 0 1 30%;
  min-width: 240px;
  margin-block-start: 0;
  
}

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:focus,
.wp-site-blocks .wp-block-group .wp-block-button__link:hover:not(.is-style-arrow-button a),
.wp-site-blocks .wp-block-group .wp-block-button__link:active {
  background: var(--wp--preset--color--white)!important ;
  color: var(--wp--preset--color--orange) !important;
  border-color: var(--wp--preset--color--white) !important;
}
.wp-site-blocks .wp-block-group .wp-block-button__link:focus img,
.wp-site-blocks .wp-block-group .wp-block-button__link:hover img,
.wp-site-blocks .wp-block-group .wp-block-button__link:active img {
  filter: brightness(100);
}

.wp-block-cover .wp-block-cover__background{
  opacity: 0;
}



/*--- Gravity Forms customization ---*/
.gform_footer{
  justify-content: start;
}
.gform_footer input[type=submit]{
  /* submit button stles */
  background-color: var(--wp--preset--color--orange)!important;
  border-radius: 100px!important;   border: none!important;

  padding: 15px 50px!important;

  font-size: 16px!important;
  font-weight: 700!important;
  text-transform: uppercase!important;
}

.gform_footer input[type=submit]:hover {
  /* submit button hover */
  background-color: var(--wp--preset--color--white)!important;
  color: var(--wp--preset--color--orange)!important;
}

.gfield input, .gfield select, .gfield textarea {
  /* gravity form field styles */
  background-color: #fefefe!important;
  border: none; border-radius: 5px!important;
  opacity: .75;
  color: var(--wp--preset--color--black);
}

.gfield input:hover, .gfield select:hover, .gfield textarea:hover,
.gfield input:focus, .gfield select:focus, .gfield textarea:focus{
  /* gfom field style hover/focus */
  opacity: 1;
}

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

.gfield_required{
  --gf-ctrl-label-color-req:var(--wp--preset--color--orange)!important;
  background: none!important;
}


.gfield_label{
  --gf-local-color:var(--wp--preset--color--white)!important;
  font-weight: 700!important;
}

/* checkbox styles */
.gfield_checkbox{
  display: flex!important;
  flex-direction: row!important;
  flex-wrap: wrap!important;
}

.gchoice{
  position: relative!important;
  padding: 10px 1rem!important;
  border-radius: 5px!important;
  overflow: hidden!important;
  width: fit-content!important;
}
.gchoice label{
  z-index: 1!important;
  color: #333!important;
  font-size: 18px!important;
  font-weight: 700!important;
  text-transform: uppercase!important;
  margin: 0!important;
}
.gchoice input{
  background-color: var(--wp--preset--color--white)!important;
  opacity: 0.75!important;

  position: absolute!important;
  top: 0!important; left: 0!important;
  width: 100%!important; height: 100%!important;

  border: none!important;
  transition: var(--transition)!important;
}
.gchoice input:hover{
  opacity: 1!important;
}
.gchoice input:checked{
  background-color: var(--wp--preset--color--orange)!important;
  opacity: 1!important;
}
.gchoice input:checked + label{
  color: var(--wp-preset--color--white)!important;
}
.gchoice input::before{
  display: none!important;
}



/* Gutenberg missing features */



/* classes to use (that aren't BlockStyles) */
.menu-button {
  padding: 20px 20px 20px 15px !important;
  letter-spacing: normal !important;
  border: 1px solid rgb(46 32 6 / 25%);
  border-radius: 40px;
}
.menu-button img {
  vertical-align: middle;
}

.breadcrumb{
  gap:.5rem;
}

@media (max-width: 781px) {
  /* cover block min-height */
  .mobile-ignore-min-height {
    min-height: auto !important;
  }
  .footer-menu {
    row-gap: 18px;
  }
  .footer-menu .wp-block-navigation-item {
    flex-basis: 100%;
  }
}





/* BlockStyle Variations to use (see functions.php) */
.is-style-t-y-b-gradient > span{
  background: linear-gradient(180deg,rgb(0,0,0) 0%,rgba(255,0,0,0) 50%,rgb(0,0,0) 100%)!important;
  opacity: 1!important;
}
.is-style-t-gradient > span{
  background: linear-gradient(180deg,rgb(0,0,0) 15%,rgba(0,0,0,0) 60%)!important;
  opacity: 1!important;
}
.is-style-b-gradient > span{
  background: linear-gradient(180deg,rgba(0,0,0,0) 20%,rgb(0,0,0) 80%)!important;
  opacity: 1!important;
}


.is-style-arrow-button:hover svg {
  display: block!important;
}
.is-style-arrow-button a{
  display: flex;
  justify-content: center;
  align-items: center;
}
.is-style-arrow-button a:hover {
  color: var(--wp--preset--color--orange)!important;
  background: transparent!important;
}
.is-style-arrow-button path {
  fill: var(--wp--preset--color--orange);
}

.is-style-strong-white strong {
  color: var(--wp--preset--color--white)!important;
}

.is-style-small-seperator{
  width: 50px;
  height: 3px;
}


/* Custom Block Overrides */
/* -none- */
.wp-block-cb-carousel .slick-next:before, .wp-block-cb-carousel .slick-prev:before{
  color: var(--wp--preset--color--white);
}
.slick-dots li button::before{
  color: var(--wp--preset--color--white);
  opacity: 1;
}
.slick-dots li.slick-active button:before{
  color: var(--wp--preset--color--orange);
}

.wp-block-button__link.wp-element-button {
  white-space: nowrap;
}

.blog-post:hover{
  box-shadow: 0px 0px 30px -1px rgba(255,255,255,0.5);
  transition: box-shadow .25s ease-out;
}


