/*

    //  //// --|    Init / Settings

*/
/*

    //  //// --|    Init / Mixins

*/
.wp-block-acf-home-hero {
  position: relative;
  display: block;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding-bottom: 10px;
  padding-top: 72px;
}
@media screen and (min-width: 71.875em) {
  .wp-block-acf-home-hero {
    padding-bottom: calc(100px + 6.25rem);
    padding-top: 100px;
  }
}
.wp-block-acf-home-hero picture img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  font-family: "object-fit";
}
.wp-block-acf-home-hero .container {
  display: grid;
  gap: 0px;
}
@media screen and (max-width: 767px) {
  .wp-block-acf-home-hero .container {
    padding: 0;
  }
}
.wp-block-acf-home-hero .text {
  max-width: 790px;
  font-family: "Feijoa Bold";
  margin: auto;
  color: var(--c-white);
  display: grid;
  gap: 2rem;
}
@media (min-width: 1600px) {
  .wp-block-acf-home-hero .text {
    gap: 2.35rem;
  }
}
.wp-block-acf-home-hero .text h1 {
  font-size: 25px;
}
@media screen and (min-width: 64em) {
  .wp-block-acf-home-hero .text h1 {
    font-size: 44px;
  }
}
@media (min-width: 1600px) {
  .wp-block-acf-home-hero .text h1 {
    font-size: 56px;
  }
}
.wp-block-acf-home-hero .text p {
  font-size: 16px;
}
@media screen and (min-width: 64em) {
  .wp-block-acf-home-hero .text p {
    font-size: 19px;
  }
}
.wp-block-acf-home-hero .search-wrapper {
  --offset: 35px;
  width: 100%;
  position: relative;
  max-width: 1020px;
  margin: var(--offset) auto;
  display: none;
}
.wp-block-acf-home-hero .search-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  left: calc(var(--offset) * -1);
  top: calc(var(--offset) * -1);
  height: calc(100% + var(--offset) * 2);
  width: calc(100% + var(--offset) * 2);
  z-index: 0;
  border-radius: 15px;
}
.wp-block-acf-home-hero .feefo-rating {
  margin: auto;
  margin-top: 16px;
}
.wp-block-acf-home-hero .feefo-wording {
    text-shadow: 0.4px 0.4px 0.6px rgba(0, 0, 0, 0.20);
    text-align: center;
    padding-top: 1.5rem;
    margin: auto;
    font-family: "Feijoa Bold";
    font-size: 12px !important;
    margin: auto;
    color: var(--c-white);
    display: grid;
}

@media screen and (max-width: 63.9375em) { /* Targets everything below desktop */
  
  /* Target the headlines inside your ACF text container */
  .wp-block-acf-home-hero .text h1,
  .wp-block-acf-home-hero .text h2,
  .wp-block-acf-home-hero .text p {
    /* 1. Force centering on mobile */
    text-align: center !important;
    
    /* 2. Wipe out the massive desktop margins that break layouts */
    margin-left: 0 !important;
    margin-right: 0 !important;
    
    /* 3. Allow the text to wrap beautifully instead of shooting off-screen */
    white-space: normal !important; 
    
    /* 4. Add safety padding so text doesn't touch the phone glass */
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Scale down the massive "Imagine..." headline */
  .wp-block-acf-home-hero .text h1 {
    font-size: 36px !important; 
    margin-top: 40px !important;
    margin-bottom: 15px !important;
  }

  /* Scale down the tagline */
  .wp-block-acf-home-hero .text h2,
  .wp-block-acf-home-hero .text h1 + h1, /* Catches it if both are H1s */
  .wp-block-acf-home-hero .text p {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-top: 0 !important;
  }
  .wp-block-acf-home-hero {
    padding-top: 25px !important; 
  }

  /* 2. Overhaul the top margin of the very first headline to pull it upward */
  .wp-block-acf-home-hero .text h1:first-of-type {
    margin-top: 10px !important;
  }
}