:root {
  --wp--preset--color---primary: $primary;
  --wp--preset--color---secondary: $secondary;
  --wp--preset--color---white: $white;
  --wp--preset--color---black: $black;
  --wp--preset--color---black-pure: $black-pure;
  --font-default: 'Brother 1816', calibri, sans-serif;
  --font-alt: 'Brother 1816 Printed', calibri, sans-serif;
  --font-size-default: 18px;
  --font-weight-default: 300;
  --line-height-default: 1.333;
}

body {
  --wp--preset--font-size--medium: 18px;
}

/**  end vars */
.wp-block-acf-hero {
  margin: 0 auto;
  width: 100vw;
  color: var(--wp--preset--color---white);
}
.wp-block-acf-hero .shell {
  max-width: 1312px;
  margin: auto;
}
.wp-block-acf-hero .shell a {
  text-decoration: none;
  color: var(--wp--preset--color---primary);
}
.wp-block-acf-hero .shell a .app__block-inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-direction: row-reverse;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .wp-block-acf-hero .shell a .app__block-inner {
    flex-direction: column;
  }
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-media {
  flex-basis: 50%;
  overflow: hidden !important;
  position: relative;
  padding-bottom: 0;
  transition: all 0.8s;
  overflow: hidden;
  position: relative;
  z-index: 0;
  border-radius: 0px;
  margin-bottom: 0px;
  max-width: 100%;
  display: flex;
  /* Add flex display */
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .wp-block-acf-hero .shell a .app__block-inner .app__block-media {
    flex-basis: 100%;
  }
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-media > img {
  position: relative;
  z-index: 0;
  width: auto;
  /* Allow the image to maintain its aspect ratio */
  height: 500px;
  max-width: 100%;
  /* Ensure the image doesn't exceed the container's width */
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 0.8s;
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-content {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .wp-block-acf-hero .shell a .app__block-inner .app__block-content {
    flex-basis: 100%;
  }
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-content img.aligncenter {
  margin: auto;
  max-height: 48px;
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-content h2 {
  color: var(--wp--preset--color---primary);
  margin-bottom: 0;
  text-align: center;
  width: 100%;
}
@media (max-width: 1024px) {
  .wp-block-acf-hero .shell a .app__block-inner .app__block-content h2 {
    font-size: 36px;
  }
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-content p {
  text-align: center;
  color: var(--wp--preset--color---primary);
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-content .tagwrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
  flex-wrap: wrap;
  row-gap: 4px;
  width: 100%;
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-content .tagwrapper .tag {
  color: #143441;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: uppercase;
  border-bottom: 0px solid var(--wp--preset--color---secondary);
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-content .wp-block-buttons {
  justify-content: center;
  align-items: center;
  width: 100%;
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-content .wp-block-buttons .btn,
.wp-block-acf-hero .shell a .app__block-inner .app__block-content .wp-block-buttons .wp-element-button,
.wp-block-acf-hero .shell a .app__block-inner .app__block-content .wp-block-buttons .wp-block-button__link {
  color: var(--wp--preset--color--secondary);
  border: 1px solid var(--wp--preset--color--secondary);
}
.wp-block-acf-hero .shell a .app__block-inner .app__block-content .wp-block-buttons .btn::after,
.wp-block-acf-hero .shell a .app__block-inner .app__block-content .wp-block-buttons .wp-element-button::after,
.wp-block-acf-hero .shell a .app__block-inner .app__block-content .wp-block-buttons .wp-block-button__link::after {
  background-image: url(../../../assets/images/icon-arrow.svg);
}
.wp-block-acf-hero .slick-dots {
  right: 0;
  bottom: 16px;
  position: absolute;
  width: auto;
}
.wp-block-acf-hero .slick-dots li::before {
  content: "";
  background-image: none;
}
.wp-block-acf-hero .slick-dots li button:before {
  font-size: 16px;
  color: var(--wp--preset--color---primary);
}

.hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-slider__wrapper {
  width: 100%;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.hero-slider__slide {
  position: relative;
  width: 100%;
  min-height: 720px !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (max-width: 1024px) {
  .hero-slider__slide {
    min-height: 500px !important;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .hero-slider__slide {
    min-height: 400px !important;
  }
}
.hero-slider__slide__overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(336px, 35vh, 400px);
  z-index: 1000;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 52, 65, 0) 22.47%, rgba(20, 52, 65, 0.6) 81.55%);
}
@media (max-width: 1024px) {
  .hero-slider__slide__overlay {
    height: clamp(200px, 40vh, 350px);
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .hero-slider__slide__overlay {
    height: clamp(180px, 45vh, 300px);
  }
}
.hero-slider__watermark_image {
  position: absolute;
  bottom: 0;
  left: 0;
}
.hero-slider__content {
  max-width: 900px;
  z-index: 1002;
  bottom: 32px;
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.hero-slider__title {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 1rem;
  color: #FEFFFE;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .hero-slider__title {
    font-size: 2rem;
  }
}
.hero-slider__subtitle {
  font-size: 18px;
  line-height: 23.4px;
  margin: 0 auto;
  max-width: 700px;
  color: #FEFFFE;
}
