/* General Styles */
.hero-block {
    position: relative;
    overflow: hidden;
}
.hero-block .block-inner {
    position: relative;
    overflow: hidden;
}

.hero-block .block-inner .hero-left-circle {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 50%;
    transform: translate(-68%, -50%); /* shift 50% of its width left, and keep vertical centering */
    display: block;
    pointer-events: none;
}
.hero-block .block-inner .hero-left-circle img {

}


.background-image-wrap {
  /* Ensure that the container can be moved without affecting layout */
  will-change: transform;
}
.hero-block .textarea-container {
text-align: left;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: center;
  right: 0;
  margin: 0 auto;
  z-index: 2;
}
.hero-block .textarea-container .inner {
    max-width: 1366px;
    width: 100%;
    margin: 0 auto;
}
.hero-block .textarea-container .inner-width {
    max-width: 900px;
    /*padding-top: var(--header-height);*/
}
.hero-block .textarea * {
    color: var(--colour-white);
}
.hero-block .textarea {
    margin-top: var(--gutter);
}
.overlay-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    height: 100%;
    margin: 0 auto;
    right: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}
.overlay-image-wrap img {
    margin: 0 auto;
    max-width: clamp(130px, 15vw, 280px);
}
.hero-block :is(h1, h2, h3, h4, h5, h6) {
    color: var(--colour-white);
    margin-bottom: 0;
}
.hero-block .heading {

}


.hero-block .block-inner::before {
background: linear-gradient(
  to right,
  rgba(35, 31, 32, 0.7) 0%,
  rgba(35, 31, 32, 0) 70%
);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}


.hero-text .button-container {
margin-top: 35px;
}
.error404 .hero-block .hero-down-pointer {
display: none;
}

/* Height */
.hero-height-full-screen .background-image-wrap img {
aspect-ratio: 1920/1080;
  height: 100%;
  max-height: 100svh;
  width: 100%;
  object-fit: cover;
  display: block;
      min-height: 530px;
}
.hero-height-full-screen.active-hero-menu .background-image-wrap  img {
   max-height: calc(100svh - 64px);   
}
.hero-block .video-player {
    height: 100svh;
    min-height: 530px;
}
.hero-block .video-player {
    height: calc(100svh - 64px);
}
.hero-height-medium .background-image-wrap img {
    aspect-ratio: 1920 / 630;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
    display: block;
}
.hero-height-narrow .background-image-wrap img {
    aspect-ratio: 1920 / 520;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
    max-height: 520px;
    display: block;
}

/* Buttons */
.hero-block .button-container {
    margin-top: var(--gutter-xl);
}

/* Pointer/arrow */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}
.hero-down-pointer {
    z-index: 2;
    position: absolute;
    bottom: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: fit-content;
}
.hero-down-pointer svg {
    width: 40px;
}
.hero-down-pointer a {
padding: 6px;
}
.hero-down-pointer a:hover svg {
animation: bounce 1s infinite;
}

/* Video */
/*https://stackoverflow.com/a/51619871*/
.hero-block .video-player {
    overflow: hidden;
    position: relative;
    pointer-events: none;
}
.hero-block .video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-block .video-player iframe {
    width: 100%;
    height: calc((100vw*9) /16);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media (max-aspect-ratio: 16/9) {
.hero-block .video-player{
    width: 100%;
    overflow: hidden;
}
.hero-block .video-player iframe{
    width: calc((100vh*16)/9);
    height: 100vh; /*old browser support*/
    height: 100svh;
}
}

/* Slider */
.hero-slide {
    overflow: hidden;
}
.hero-type-slider .single-btn-wrap[data-sal="slide-up"] {
transform: initial;
opacity: initial;
}
.hero-slider-pagination {
    display: flex;
    position: relative;
    gap: 12px;
    align-items: center;
        margin-top: var(--gutter-xxl);
}
.hero-slider-pagination .swiper-pagination {
    position: relative;
    bottom: 0;
    top: 0;
    text-align: left;
    display: flex;
    gap: 8px;
    width: auto;
}
.hero-slider-pagination .swiper-pagination .swiper-pagination-bullet {
    margin: 0;
    background: transparent;
    border: 3.5px solid var(--colour-white);
    height: 13px;
    width: 13px;
}

/* Hero menu */
.hero-bottom-menu-container {
    background: var(--colour-cyan-teal);
    position: relative;
    z-index: 2;
}
.hero-menu-icon {
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
}
.hero-bottom-menu-container .hero-bottom-menu {
    display: flex;
    padding: calc(var(--gutter) + 4px) 0;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-bottom-menu-container .hero-bottom-menu li {
    list-style: none;
    padding-right: var(--gutter);
    padding-left: var(--gutter);
}
.hero-bottom-menu-container .hero-bottom-menu li a {
    color: var(--font-colour-white);
    text-decoration: none;
    position: relative;
    display: block;
    font-weight: 400;
}
.hero-bottom-menu-container .hero-bottom-menu li a:hover {
    color: var(--colour-deep-teal);
}
.hero-bottom-menu-container .hero-bottom-menu li:not(:last-child) {
  border-right: 1px solid var(--font-colour-white);
}






@media all and (max-width: 1280px) {
.hero-height-medium .background-image-wrap img {
  aspect-ratio: 1920 / 720;
}
.hero-block .block-inner .hero-left-circle img {
max-height: 400px;
}
}
@media all and (max-width: 1212px) {
.hero-block .video-player {
    height: calc(100vh - 84px);
    height: calc(100svh - 84px);
}
}
@media all and (max-width: 1024px) {
/*.hero-height-full-screen .background-image-wrap img {
    min-height: 475px;
    max-height: clamp(475px, calc(100svh - 200px), 880px);
}*/
.hero-down-pointer svg {
    width: 32px;
}
.hero-down-pointer {
    bottom: 25px;
}
}
@media all and (max-width: 860px) {
.hero-block .video-player {
    height: calc(100vh - 79px);
    height: calc(100svh - 79px);
}
}
@media all and (max-width: 640px) {
.hero-height-full-screen .background-image-wrap img {
    height: 100svh;
    min-height: 400px;
}
}
@media all and (max-width: 480px) {
.hero-block .video-player {
    height: calc(100vh - 74px);
    height: calc(100svh - 74px);
}
.hero-down-pointer {
    bottom: 16px;
}
}
@media all and (max-width: 413px) {
.hero-block .video-player {
    height: calc(100vh - 69px);
    height: calc(100svh - 69px);
}
.hero-down-pointer {
    bottom: 12px;
}
}