section.wp-block-acf-hero {
  --section-background-color: var(--color-primary);
  --section-text-color: var(--color-white);
  --button-text-color: var(--color-white);
  --button-background-color: var(--color-secondary);
  display: grid;
  grid-template-columns: var(--base-grid-single);
  max-height: max-content;
  width: 100%;
  text-align: center;
  position: relative;
}
section.wp-block-acf-hero:has(+ section.background-white) {
  --next-section-background-color: var(--color-white);
}
section.wp-block-acf-hero:has(+ section.background-gray) {
  --next-section-background-color: var(--color-gray-light);
}
section.wp-block-acf-hero:has(+ section.background-primary-light) {
  --next-section-background-color: var(--color-primary-light);
}
section.wp-block-acf-hero:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--next-section-background-color);
  z-index: 0;
}
section.wp-block-acf-hero h1 {
  text-wrap: balance;
}
section.wp-block-acf-hero h1 em {
  color: var(--section-text-accent);
  letter-spacing: 4px;
}
section.wp-block-acf-hero .wp-block-button {
  font-size: var(--font-size-button);
}
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;
  padding-block: var(--spacing-giant);
  z-index: 2;
  position: relative;
}
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);
}
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;
}
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;
}
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content p.section,
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content p.is-style-section,
section.wp-block-acf-hero .inner .content p.section,
section.wp-block-acf-hero .inner .content p.is-style-section {
  color: var(--color-black);
}
@media (min-width: 767px) {
  section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content p.section,
  section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content p.is-style-section,
  section.wp-block-acf-hero .inner .content p.section,
  section.wp-block-acf-hero .inner .content p.is-style-section {
    justify-self: center;
  }
}
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);
}
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content .cta-container a,
section.wp-block-acf-hero .inner .content .cta-container a {
  font-size: var(--font-size-button);
  padding-inline: var(--spacing-small);
  padding-block: var(--spacing-small);
  text-wrap: balance;
  font-family: var(--font-fancy);
  font-weight: var(--font-weight-700);
  text-align: center;
}
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;
}
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;
}
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: 767px) {
  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;
  }
}
section.wp-block-acf-hero .inner .acf-block-preview.wp-block-acf-hero-content .content {
  grid-column: 1;
}
@media (min-width: 1024px) {
  section.wp-block-acf-hero .inner p:not([class]) {
    font-size: var(--font-size-base-large);
  }
}
@media (min-width: 1024px) {
  section.wp-block-acf-hero.style-home .inner {
    grid-template-columns: var(--base-grid);
    grid-column: 1/-1;
  }
  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: 2/span 8;
  }
  section.wp-block-acf-hero.style-home .acf-block-preview.wp-block-acf-hero-content .content {
    grid-column: 1;
  }
}
section.wp-block-acf-hero:has(.podcast-links) {
  grid-template-columns: var(--base-grid);
  row-gap: var(--spacing-large);
  padding-block-end: var(--spacing-medium);
}
section.wp-block-acf-hero:has(.podcast-links) .inner .content {
  padding-block-end: 0;
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links {
  padding-block: 0 var(--spacing-giant);
  grid-row: 2;
  grid-column: 2/span 12;
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links a {
  color: var(--color-white);
  align-content: center;
  grid-template-rows: auto;
  grid-auto-rows: auto;
  gap: 5px;
  position: relative;
  justify-content: center;
  align-items: center;
  display: grid;
  grid-template-columns: 100%;
  text-decoration: none;
  font-family: var(--font-fancy);
  font-weight: var(--font-weight-500);
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links a svg {
  grid-column: 1;
  grid-row: 1;
  transition: opacity var(--base-speed);
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links a span {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  z-index: 2;
  font-size: var(--font-size-base-tiny);
  transition: opacity var(--base-speed);
  text-align: center;
  width: 100%;
  display: block;
  inset: auto;
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links a:hover span {
  opacity: 1;
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links a:hover svg {
  opacity: 0.2;
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links a:hover svg path {
  fill: var(--color-tirtiary);
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links svg {
  height: 40px;
  width: 40px;
  display: block;
  margin-inline: auto;
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links svg path {
  fill: var(--color-white);
  transition: fill var(--base-speed);
}
section.wp-block-acf-hero:has(.podcast-links) .podcast-links ul {
  display: grid;
  grid-template-columns: minmax(50px, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(50px, auto);
  gap: var(--spacing-small);
  list-style: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  width: auto;
}
@media (max-width: 1023px) {
  section.wp-block-acf-hero:has(.podcast-links) div.background-photo {
    grid-row: 1/span 2;
  }
  section.wp-block-acf-hero:has(.podcast-links) .inner {
    grid-row: 1;
    padding-block: calc(var(--spacing-giant) + var(--spacing-small)) 0;
  }
  section.wp-block-acf-hero:has(.podcast-links) .podcast-links {
    grid-row: 2;
    padding-block: 0 var(--spacing-giant);
  }
}
section.wp-block-acf-hero:has(.podcast-links) .inner, section.wp-block-acf-hero:has(.podcast-links) .podcast-links {
  z-index: 2;
}
@media (min-width: 1024px) {
  section.wp-block-acf-hero:has(.podcast-links) .inner,
  section.wp-block-acf-hero:has(.podcast-links) .podcast-links {
    grid-row: 1;
  }
  section.wp-block-acf-hero:has(.podcast-links) .inner {
    grid-column: 2/span 12;
    grid-template-columns: 100%;
    padding-block: var(--spacing-giant) 0;
  }
  section.wp-block-acf-hero:has(.podcast-links) .inner .content {
    grid-column: 2/span 10;
  }
  section.wp-block-acf-hero:has(.podcast-links) .podcast-links {
    grid-row: 2;
  }
  section.wp-block-acf-hero:has(.podcast-links) .background-photo {
    grid-row: 1/span 3;
  }
}
section.wp-block-acf-hero:has(.podcast-links):has(.player) .podcast-links {
  grid-column: 2/span 12;
  grid-row: 3;
  z-index: 5;
}
section.wp-block-acf-hero:has(.podcast-links):has(.player) .player {
  grid-column: 2/span 12;
  grid-row: 2;
  z-index: 5;
}
@media (min-width: 767px) {
  section.wp-block-acf-hero:has(.podcast-links):has(.player) .podcast-links {
    grid-column: 9/span 4;
    grid-row: 2;
  }
  section.wp-block-acf-hero:has(.podcast-links):has(.player) .player {
    grid-column: 3/span 6;
  }
}
section.wp-block-acf-hero.style-video {
  grid-template-columns: var(--base-grid);
  align-items: center;
}
section.wp-block-acf-hero.style-video .inner .content p.section,
section.wp-block-acf-hero.style-video .inner .content p.is-style-section {
  justify-self: start;
}
section.wp-block-acf-hero.style-video .inner {
  grid-column: 2/span 6;
}
section.wp-block-acf-hero.style-video .wp-block-acf-image {
  grid-column: 9/span 6;
}
section.wp-block-acf-hero.style-form {
  grid-template-columns: var(--base-grid);
  align-items: center;
}
section.wp-block-acf-hero.style-form .inner .content p.section,
section.wp-block-acf-hero.style-form .inner .content p.is-style-section {
  justify-self: start;
}
@media (max-width: 1023px) {
  section.wp-block-acf-hero.style-form div.background-photo {
    grid-row: 1/span 2;
  }
  section.wp-block-acf-hero.style-form .inner {
    grid-row: 1;
    padding-block: calc(var(--spacing-giant) + var(--spacing-small)) 0;
  }
  section.wp-block-acf-hero.style-form .hs-form-wrapper {
    grid-row: 2;
    padding-block: 0 var(--spacing-giant);
    display: grid;
    grid-template-columns: var(--base-grid-single);
  }
  section.wp-block-acf-hero.style-form .hs-form-wrapper .hbspt-form {
    grid-column: 2;
  }
}
section.wp-block-acf-hero.style-form .inner, section.wp-block-acf-hero.style-form .hs-form-wrapper {
  grid-column: 1/-1;
  z-index: 2;
  text-align: left;
}
@media (min-width: 1024px) {
  section.wp-block-acf-hero.style-form .inner, section.wp-block-acf-hero.style-form .hs-form-wrapper {
    grid-row: 1;
    padding-block: var(--spacing-giant);
  }
  section.wp-block-acf-hero.style-form .inner {
    grid-column: 2/span 7;
    grid-template-columns: 100%;
  }
  section.wp-block-acf-hero.style-form .inner .content {
    grid-column: 1;
  }
  section.wp-block-acf-hero.style-form .hs-form-wrapper {
    grid-column: 10/span 4;
  }
  section.wp-block-acf-hero.style-form .hs-submit {
    display: grid;
    grid-template-columns: 100%;
    height: 100%;
    align-items: center;
    justify-content: start;
  }
  section.wp-block-acf-hero.style-form .hs-submit .actions {
    width: 100%;
  }
}
section.wp-block-acf-hero.style-form form {
  --section-border-color: var(--color-white);
  --section-background-color: transparent;
  --border-field: transparent;
  --border-input: var(--color-gray-dark);
  display: grid;
  grid-template-columns: 100%;
  gap: var(--spacing-small);
  padding-block: var(--spacing-large);
}
@media (min-width: 767px) {
  section.wp-block-acf-hero.style-form form {
    grid-template-columns: repeat(2, 1fr);
  }
}
section.wp-block-acf-hero.style-form form .field {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr;
  gap: var(--spacing-tiny-extra);
  border-radius: var(--base-radius);
}
section.wp-block-acf-hero.style-form form .field:has(ul.hs-error-msgs) {
  --border-field: var(--color-tirtiary);
  --border-input: var(--color-tirtiary);
}
section.wp-block-acf-hero.style-form form .field:has(ul.hs-error-msgs) label:not(.hs-error-msg) {
  color: var(--color-tirtiary);
}
section.wp-block-acf-hero.style-form form .field:has(textarea), section.wp-block-acf-hero.style-form form .field:has(input[type=email]) {
  grid-column: 1/-1;
}
section.wp-block-acf-hero.style-form form .field label:not(.hs-error-msg) {
  font-size: var(--font-size-base-small);
  line-height: 0.9;
  font-weight: var(--font-weight-medium);
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  padding: 0;
  display: grid;
  grid-template-columns: var(--spacing-tiny-extra) auto 1fr;
  gap: 3px;
  background-color: var(--section-background-color);
  position: relative;
  align-items: center;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}
section.wp-block-acf-hero.style-form form .field label:not(.hs-error-msg):has(.hs-form-required) {
  grid-template-columns: var(--spacing-tiny-extra) auto auto 1fr;
}
section.wp-block-acf-hero.style-form form .field label:not(.hs-error-msg):before, section.wp-block-acf-hero.style-form form .field label:not(.hs-error-msg):after {
  width: 100%;
  height: 1px;
  content: "";
  background-color: var(--section-border-color);
  display: block;
}
section.wp-block-acf-hero.style-form form .field div.input {
  grid-column: 1;
  grid-row: 1/span 2;
  z-index: 1;
  padding-top: var(--spacing-tiny);
}
section.wp-block-acf-hero.style-form form .field input:not([type=checkbox], [type=radio]),
section.wp-block-acf-hero.style-form form .field textarea,
section.wp-block-acf-hero.style-form form .field select {
  width: 100%;
  padding: calc(var(--spacing-tiny) + var(--spacing-tiny-extra));
  font-size: var(--font-size-base);
  line-height: 1;
  border: 1px solid var(--section-border-color);
  border-top: 0 none;
  outline: transparent;
  background-color: hsl(from var(--color-black) h s l/0.2);
  font-family: var(--font-sans);
  color: var(--color-white);
  margin-top: -1px;
}
section.wp-block-acf-hero.style-form form .field input:not([type=checkbox], [type=radio])::placeholder,
section.wp-block-acf-hero.style-form form .field textarea::placeholder,
section.wp-block-acf-hero.style-form form .field select::placeholder {
  color: var(--color-white);
  opacity: 0;
}
section.wp-block-acf-hero.style-form form .field textarea {
  min-height: 10ch;
}
section.wp-block-acf-hero.style-form form ul.hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1;
}
section.wp-block-acf-hero.style-form form ul.hs-error-msgs li {
  font-weight: normal;
  padding: 0;
  margin: 0;
  line-height: 1;
}
section.wp-block-acf-hero.style-form form ul.hs-error-msgs li label {
  font-size: var(--font-size-base-tiny);
  line-height: 1;
  padding: 0;
  display: inline-block;
}
section.wp-block-acf-hero.style-form form .actions {
  grid-column: 1/-1;
  outline: transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  justify-self: center;
  background-color: var(--button-background-color);
  color: var(--button-text-color);
  border-radius: var(--base-radius);
  overflow: clip;
  transition: border-color var(--base-speed), color var(--base-speed), background-color var(--base-speed);
}
section.wp-block-acf-hero.style-form form .actions:before {
  position: absolute;
  content: "";
  top: 100%;
  left: 0;
  height: 100%;
  width: 100%;
  transition: ease-in-out top 0.25s;
  z-index: 1;
  background-color: var(--color-tirtiary);
}
section.wp-block-acf-hero.style-form form .actions:hover:before {
  top: 0;
}
section.wp-block-acf-hero.style-form form .actions .hs-button {
  cursor: pointer;
  appearance: none;
  background-color: transparent;
  outline: transparent;
  border: 0 none;
  position: relative;
  z-index: 2;
  display: block;
  padding: var(--spacing-small);
  text-align: center;
  font-weight: var(--font-weight-700);
  line-height: 1;
  font-size: var(--font-size-button);
  color: var(--button-text-color);
  transition: color var(--base-speed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-fancy);
}
section.wp-block-acf-hero.style-form form .actions .hs-button:hover {
  color: var(--color-black);
}
@media (min-width: 1024px) {
  section.wp-block-acf-hero.style-basic .inner {
    grid-template-columns: var(--grid-12);
  }
  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;
  }
  section.wp-block-acf-hero.style-basic .acf-block-preview.wp-block-acf-hero-content .content {
    grid-column: 1;
  }
}
section.wp-block-acf-hero div.background-photo {
  overflow: hidden;
  z-index: 1;
  grid-column: 1/-1;
  grid-row: 1;
  position: relative;
  height: 100%;
  mask-image: url("../../inc/svg/hero-mask.svg");
  mask-size: cover;
  mask-position: bottom center;
  mask-repeat: no-repeat;
  display: flex;
}
section.wp-block-acf-hero div.background-photo figure {
  position: relative;
}
section.wp-block-acf-hero div.background-photo figure img {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center center;
  height: 100%;
  width: 100%;
  margin: 0;
  display: block;
  mix-blend-mode: soft-light;
  opacity: 0.7;
}
@media (min-width: 767px) {
  section.wp-block-acf-hero.style-home {
    text-align: left;
    position: relative;
    display: grid;
    grid-template-columns: var(--base-grid);
  }
  section.wp-block-acf-hero.style-home .inner {
    grid-column: 1/-1;
    grid-template-columns: var(--base-grid);
    grid-row: 1;
    z-index: 2;
  }
  section.wp-block-acf-hero.style-home .content {
    justify-self: start;
    grid-column: 2/span 8;
    display: grid;
    grid-template-columns: 100%;
    grid-row: 1;
    z-index: 2;
    align-content: center;
    padding-block: var(--spacing-huge);
  }
  section.wp-block-acf-hero.style-home .cta-container .listing {
    justify-content: start;
    text-align: center;
  }
}
section.wp-block-acf-hero:has(+ section.divider.overlap-top) .content {
  padding-bottom: var(--spacing-giant);
}
section.wp-block-acf-hero figure {
  overflow: clip;
  background-color: var(--section-background-color);
  flex-grow: 1;
}
section.wp-block-acf-hero figure img {
  mix-blend-mode: soft-light;
  opacity: 0.7;
}
section.wp-block-acf-hero.style-form figure {
  background-color: var(--color-primary-dark);
}

body.single {
  --next-section-background-color: var(--color-white);
}
body.single:has(article > *:first-child.background-primary-light) {
  --next-section-background-color: var(--color-primary-light);
}
body.single:has(article > *:first-child.background-primary-light) article {
  padding-block-start: 0;
  margin-block-start: 0 !important;
}

body.archive .wp-block-acf-hero .background-photo {
  grid-row: 1/span 2;
}