.acf-block-preview.wp-block-acf-hero section,
section.wp-block-acf-hero {
  display: grid;
  grid-template-columns: var(--base-grid-single);
  max-height: max-content;
  width: 100%;
  text-align: center;
}
.acf-block-preview.wp-block-acf-hero section h1 em,
section.wp-block-acf-hero h1 em {
  color: var(--section-text-accent);
  letter-spacing: 4px;
}
.acf-block-preview.wp-block-acf-hero section .wp-block-button,
section.wp-block-acf-hero .wp-block-button {
  font-size: var(--font-size-base-small);
}
.acf-block-preview.wp-block-acf-hero section .inner,
section.wp-block-acf-hero .inner {
  grid-row: 1;
  grid-column: 1/-1;
  display: grid;
  grid-template-rows: auto;
  max-width: none;
  padding-inline: 0;
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content,
.acf-block-preview.wp-block-acf-hero section .inner .content,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content,
section.wp-block-acf-hero .inner .content {
  display: grid;
  grid-template-columns: 100%;
  justify-content: center;
  gap: var(--spacing-small);
  justify-self: center;
  z-index: 2;
  grid-column: content;
  padding-block: var(--spacing-large);
  grid-row: 1;
  display: grid;
  grid-template-columns: 100%;
  justify-content: center;
  gap: var(--spacing-small);
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content p + h1,
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content h1 + p,
.acf-block-preview.wp-block-acf-hero section .inner .content p + h1,
.acf-block-preview.wp-block-acf-hero section .inner .content h1 + p,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content p + h1,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content h1 + p,
section.wp-block-acf-hero .inner .content p + h1,
section.wp-block-acf-hero .inner .content h1 + p {
  margin-top: 0;
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content h1 + p,
.acf-block-preview.wp-block-acf-hero section .inner .content h1 + p,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content h1 + p,
section.wp-block-acf-hero .inner .content h1 + p {
  text-wrap: balance;
  text-wrap: pretty;
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content .cta-container,
.acf-block-preview.wp-block-acf-hero section .inner .content .cta-container,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content .cta-container,
section.wp-block-acf-hero .inner .content .cta-container {
  margin-top: var(--spacing-medium);
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)),
.acf-block-preview.wp-block-acf-hero section .inner .content:has(.cta:nth-of-type(2)),
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)),
section.wp-block-acf-hero .inner .content:has(.cta:nth-of-type(2)) {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-flow: row;
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) h1, .acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) p, .acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container,
.acf-block-preview.wp-block-acf-hero section .inner .content:has(.cta:nth-of-type(2)) h1,
.acf-block-preview.wp-block-acf-hero section .inner .content:has(.cta:nth-of-type(2)) p,
.acf-block-preview.wp-block-acf-hero section .inner .content:has(.cta:nth-of-type(2)) .cta-container,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) h1,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) p,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container,
section.wp-block-acf-hero .inner .content:has(.cta:nth-of-type(2)) h1,
section.wp-block-acf-hero .inner .content:has(.cta:nth-of-type(2)) p,
section.wp-block-acf-hero .inner .content:has(.cta:nth-of-type(2)) .cta-container {
  grid-column: 1/-1;
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container,
.acf-block-preview.wp-block-acf-hero section .inner .content:has(.cta:nth-of-type(2)) .cta-container,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container,
section.wp-block-acf-hero .inner .content:has(.cta:nth-of-type(2)) .cta-container {
  padding-top: var(--spacing-medium);
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container .listing,
.acf-block-preview.wp-block-acf-hero section .inner .content:has(.cta:nth-of-type(2)) .cta-container .listing,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container .listing,
section.wp-block-acf-hero .inner .content:has(.cta:nth-of-type(2)) .cta-container .listing {
  justify-content: center;
}
@media (min-width: 790px) {
  .acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container .listing,
  .acf-block-preview.wp-block-acf-hero section .inner .content:has(.cta:nth-of-type(2)) .cta-container .listing,
  section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container .listing,
  section.wp-block-acf-hero .inner .content:has(.cta:nth-of-type(2)) .cta-container .listing {
    justify-content: start;
  }
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container a,
.acf-block-preview.wp-block-acf-hero section .inner .content:has(.cta:nth-of-type(2)) .cta-container a,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content:has(.cta:nth-of-type(2)) .cta-container a,
section.wp-block-acf-hero .inner .content:has(.cta:nth-of-type(2)) .cta-container a {
  font-size: var(--font-size-base-medium);
}
.acf-block-preview.wp-block-acf-hero section .inner .acf-block-preview.wp-block-acf-hero-content .content,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content .content {
  grid-column: 1;
}
@media (min-width: 1024px) {
  .acf-block-preview.wp-block-acf-hero section .inner p:not([class]),
  section.wp-block-acf-hero .inner p:not([class]) {
    font-size: var(--font-size-base-large);
  }
}
.acf-block-preview.wp-block-acf-hero section.style-home .wp-block-button,
section.wp-block-acf-hero.style-home .wp-block-button {
  font-size: var(--font-size-base-medium);
}
@media (min-width: 1024px) {
  .acf-block-preview.wp-block-acf-hero section.style-home .inner,
  section.wp-block-acf-hero.style-home .inner {
    grid-template-columns: var(--base-halves);
    grid-column: 1/-1;
  }
  .acf-block-preview.wp-block-acf-hero section.style-home .acf-block-preview.wp-block-acf-hero-content,
  .acf-block-preview.wp-block-acf-hero section.style-home .content,
  section.wp-block-acf-hero.style-home .acf-block-preview.wp-block-acf-hero-content,
  section.wp-block-acf-hero.style-home .content {
    grid-column: content-left;
  }
  .acf-block-preview.wp-block-acf-hero section.style-home .acf-block-preview.wp-block-acf-hero-content .content,
  section.wp-block-acf-hero.style-home .acf-block-preview.wp-block-acf-hero-content .content {
    grid-column: 1;
  }
}
@media (min-width: 1024px) {
  .acf-block-preview.wp-block-acf-hero section.style-basic .inner,
  section.wp-block-acf-hero.style-basic .inner {
    grid-template-columns: var(--grid-12);
  }
  .acf-block-preview.wp-block-acf-hero section.style-basic .acf-block-preview.wp-block-acf-hero-content,
  .acf-block-preview.wp-block-acf-hero section.style-basic .content,
  section.wp-block-acf-hero.style-basic .acf-block-preview.wp-block-acf-hero-content,
  section.wp-block-acf-hero.style-basic .content {
    grid-column: 3/span 8;
  }
  .acf-block-preview.wp-block-acf-hero section.style-basic .acf-block-preview.wp-block-acf-hero-content .content,
  section.wp-block-acf-hero.style-basic .acf-block-preview.wp-block-acf-hero-content .content {
    grid-column: 1;
  }
}
.acf-block-preview.wp-block-acf-hero section div.background-photo,
section.wp-block-acf-hero div.background-photo {
  overflow: hidden;
  z-index: 1;
  grid-column: 1/-1;
  grid-row: 1;
  position: relative;
  height: 100%;
}
.acf-block-preview.wp-block-acf-hero section div.background-photo figure,
section.wp-block-acf-hero div.background-photo figure {
  height: 100%;
}
.acf-block-preview.wp-block-acf-hero section div.background-photo img,
section.wp-block-acf-hero div.background-photo img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 0;
}
@media (min-width: 790px) {
  .acf-block-preview.wp-block-acf-hero section.style-home,
  section.wp-block-acf-hero.style-home {
    text-align: left;
    position: relative;
  }
  .acf-block-preview.wp-block-acf-hero section.style-home .inner,
  section.wp-block-acf-hero.style-home .inner {
    grid-column: 1/-1;
    grid-template-columns: var(--base-grid-halves);
    grid-row: 1;
    z-index: 2;
    background-image: linear-gradient(to right, var(--section-background-color), transparent);
  }
  .acf-block-preview.wp-block-acf-hero section.style-home .content,
  section.wp-block-acf-hero.style-home .content {
    justify-self: start;
    grid-column: content-left;
    display: grid;
    grid-template-columns: 100%;
    grid-row: 1;
    z-index: 2;
    align-content: center;
    padding-block: var(--spacing-huge);
  }
  .acf-block-preview.wp-block-acf-hero section.style-home .background-photo,
  section.wp-block-acf-hero.style-home .background-photo {
    grid-column: 1/-1;
    grid-row: 1;
    z-index: 0;
    display: flex;
  }
  .acf-block-preview.wp-block-acf-hero section.style-home .background-photo figure,
  section.wp-block-acf-hero.style-home .background-photo figure {
    position: relative;
    overflow: clip;
    background-color: var(--color-marine-dark);
    flex-grow: 1;
  }
  .acf-block-preview.wp-block-acf-hero section.style-home .background-photo figure img,
  section.wp-block-acf-hero.style-home .background-photo figure img {
    opacity: 1;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center center;
    height: 100%;
    width: 100%;
    transform: scaleX(-1);
    margin: 0;
    display: block;
  }
  .acf-block-preview.wp-block-acf-hero section.style-home .cta-container .listing,
  section.wp-block-acf-hero.style-home .cta-container .listing {
    justify-content: start;
  }
}
.acf-block-preview.wp-block-acf-hero section:has(+ section.divider.overlap-top) .content,
section.wp-block-acf-hero:has(+ section.divider.overlap-top) .content {
  padding-bottom: var(--spacing-giant);
}