/*
Template: nu-base
Theme Name: NearU Child Theme - GB
Description: Child theme for GB.
Author: NearU
Version: 0.0.3
Text Domain: nearu-george-brazil
*/

/* --CTA-OVERRIDE-primary-text-color */
/* --CTA-OVERRIDE-secondary-text-color */

/* TODO: Move these to base styles where needed */

body {
  /* --_header-menu-special-link-color: var(--wp--preset--color--secondary); */
  /* --_header-menu-special-link-color-active: var(
    --wp--preset--color--secondary-active
  ); */

  /* --_footer-text-color: var(--wp--preset--color--white);
  --_footer-bg-color: var(--wp--preset--color--black);
  --_footer-border-width: 0;
  --_footer-border-color: var(--wp--preset--color--black); */

  /* --CTA-OVERRIDE-primary-text-color: var(--wp--preset--color--black); */
}

/* Search and nav related 8-6-2025  */
.site-header-strip {
  align-items: center;
}

.site-header-strip__item {
  width: 100%;
  max-width: 115px;
  justify-content: center;
}

.icon-tint img {
  width: 100%;
  height: auto;
  max-width: 44px;
  max-height: 50px;
  filter: invert(15%) sepia(67%) saturate(4046%) hue-rotate(349deg)
    brightness(111%) contrast(81%);
  /* filter: invert(16%) sepia(53%) saturate(3459%) hue-rotate(333deg) brightness(98%) contrast(94%); */
  transition: filter 0.3s;
}

/* This needs to be updated for each site. 
https://codepen.io/sosuke/pen/Pjoqqp will help you generate the correct filter values */
.service-icon img {
  width: 100%;
  height: auto;
  filter: invert(67%) sepia(13%) saturate(1025%) hue-rotate(1deg)
    brightness(98%) contrast(89%) !important;
  /* filter: invert(19%) sepia(9%) saturate(5060%) hue-rotate(188deg)
    brightness(96%) contrast(85%) !important; */
  transition: filter 0.3s;
}

@media not all and (min-width: 64em) {
  .site-header-content {
    grid-column: --breakout;
    grid-template-areas:
      "--topleft --toplogo --menutop"
      "--strip --strip --strip"
      "--ctas --ctas --ctas";
    /* grid-auto-columns: minmax(3rem, clamp(20%, 12.5rem, 25%)) 1fr auto; */
    /* grid-auto-columns: minmax(3rem, clamp(10%, 12.5rem, 10%)) 1fr auto; */
    grid-auto-rows: auto auto;
    gap: 0.75rem min(8px, 0.5rem);
    padding: 0 0 0.75rem;
  }

  .site-branding {
    display: flex;
    min-width: 0;
    flex-grow: 1;
    flex-basis: 3rem;
    padding: 0;
    grid-area: --toplogo;
    justify-content: center;
  }

  .main-navigation {
    grid-area: --menutop;
    display: flex;
    align-items: center;
  }

  .site-header-strip__item {
    display: none;
    width: 100%;
    max-width: 115px;
    justify-content: center;
  }

  .header-mobile-cta {
    display: flex;
    gap: min(8px, 0.5rem);
    min-height: 50px;
  }

  .site-header-strip {
    display: flex;
    justify-content: flex-end;
    gap: 0.25em 2em;
    padding: 0.5em 0 0.75em 0;
    font-size: 0.875rem;
    color: var(--_header-strip-text-color);
    background: linear-gradient(
        -290deg,
        transparent 2em,
        var(--_header-strip-bg-color) 0
      )
      no-repeat left 50% / 100% 100%;

    /* border-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        var(--_header-strip-bg-color) 0
      )
      0 100vw; */

    border-image-source: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      var(--_header-strip-bg-color) 0px
    );
    border-image-slice: 0 fill;
    border-image-width: 1;
    border-image-outset: 0 100vw;
    border-image-repeat: stretch;
  }
}

/* Main top area on service pages.  */
.split-content p {
  text-align: center;
}
.split-content .paired-text {
  text-align: left;
}
.split-content h2,
.split-content h3 {
  text-align: center;
}
.split-content .book-btn {
  justify-content: center;
}

/* Locations - change padding on cards under map */
/* #service-areas .service-card {
  padding: 10px;
} */

/* Footer */
.site-footer-copyright-container {
  background: var(--wp--preset--color--secondary);
  height: 50px;
  display: flex;
  align-items: center;
  bottom: -25px;
  position: relative;
}

.site-footer-copyright {
  justify-content: center;
  color: var(--wp--preset--color--white);
}

/* .site-footer-branding > .custom-logo-link > .custom-logo {
  width: unset;
} */

.site-footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer-nav:not(.site-footer-nav--single) {
  justify-content: space-between;
}

.footer-menu .menu-item a {
  font-weight: var(--_font-weight-normal);
}

/* customize base blocks */
.google-reviews-featured__head__logo__text {
  color: white;
}

.certifications-and-awards h2 {
  border: none;
  color: var(--wp--preset--color--secondary);
  font-size: var(--wp--preset--font-size--large);
}

/* Accordion for FAQ */
.accordion-v2 {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.accordion-v2 .accordion-item {
  background: white;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.5s;
  border: 1px solid #00000036;
}

.accordion-v2 .accordion-item:hover {
  background: #f0ece6;
}

.accordion-v2 .accordion-title {
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
}
.accordion-v2 .accordion-title span {
  flex-grow: 1;
}

.accordion-v2 .accordion-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.accordion-v2 .accordion-content {
  font-size: 16px;
  color: #555;
  display: none;
  margin-top: 10px;
}

.accordion-v2 .accordion-item[open] .accordion-content {
  display: block;
}

.accordion-v2 .accordion-item[open] .accordion-icon--closed {
  display: none;
}

.accordion-v2 .accordion-item:not([open]) .accordion-icon--open {
  display: none;
}

/* Checkmark */
.checkmark-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.checkmark-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.checkmark-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background-color: var(--wp--preset--color--primary, #7e7e7e);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkmark-list li:before {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17l-3.59-3.59L4 14l5 5L20 8.99 18.59 7.58z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

@media (min-width: 64em) {
  .main-navigation,
  .main-navigation .nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .split-content p {
    text-align: left;
  }
  .split-content h2,
  .split-content h3 {
    text-align: left;
  }
  .split-content .book-btn {
    justify-content: left;
  }
}

/* Unknown if these are needed */
.active-tab-button {
  background-color: #bfa36f61;
  border-radius: 11px;
}

/* Small line under text */
.small-underline::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 52px;
  width: 40px;
  border-top: 2.5px solid var(--wp--preset--color--secondary);
  z-index: 1;
}

/* in editor on dev. need to cleanup */

/* Add padding below the image */
.wp-block-nearu-promotions-block
  .wp-block-columns
  .wp-block-column:first-child
  .wp-block-image {
  margin-bottom: 15px !important;
}

/* Add padding above the heading */
.wp-block-nearu-promotions-block
  .wp-block-columns
  .wp-block-column:last-child
  .wp-block-heading {
  margin-top: 15px !important;
}
/* Add padding below the image */
.wp-block-image img {
  /*   margin-bottom: 15px !important; */
}

/* Add padding above the heading */
.wp-block-heading {
  /*   margin-top: 15px !important; */
}
/* Apply to all button elements */
button,
input[type="button"],
input[type="submit"],
a.button,
a.cta-button,
.wp-block-button__link {
  text-transform: uppercase; /* Make text uppercase */
  font-weight: bold; /* Make text bold */
}

/* Optional: For additional styles (hover effect) */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.cta-button:hover,
.wp-block-button__link:hover {
  text-transform: uppercase; /* Ensure text stays uppercase on hover */
  font-weight: bold; /* Ensure text stays bold on hover */
}

/* .home-services .cta {
  justify-content: space-between;
  font-weight: normal;
  border-color: #d7dbde;
  font-size: var(--font-size-1);
}

.site-header {
  position: sticky;
  top: 0;
  overflow: visible;
} */
