.is_front_page section.hero .h0,
.is_front_page section.hero .h0-customanimation {
    white-space: nowrap !important;
}

/* hide all other heros */
.is_front_page section.hero + section.hero{
    display: none !important;
} 
/* display content when swiper is loaded */
.is_front_page .swiper-container-wrapper section.hero + section.hero{
    display: block !important;
}

/* show content that is normally hidden for animation */
.is_front_page .swiper-container-wrapper section.hero .hero__content .button,
.is_front_page .swiper-container-wrapper section.hero .hero__content .text-container p{
    translate: none !important;
    rotate: none !important;
    scale: none !important;
    opacity: 1 !important;
    visibility: inherit !important;
    transform: translate(0px) !important;
}

/* animate hero content on load */
.is_front_page section.hero .hero__content .has-customanimation{
    -webkit-animation: fadeInUp 1s ease-in-out 0.5s forwards;
    -moz-animation: fadeInUp 1s ease-in-out 0.5s forwards;
    animation: fadeInUp 1s ease-in-out 0.5s forwards;
    opacity: 0;
}
.is_front_page .swiper-container-wrapper section.hero .hero__content .has-customanimation{
    opacity: 1 !important;
    margin-top: 0 !important;
}



@keyframes fadeInUp {
    0% {
        margin-top: 20px;
        opacity: 0;
    }
    100% {
        margin-top: 0;
        opacity: 1;
    }
}


/* media mobile hero adjustments */
/* hide all desktop media if this section has mobile media */
section.hero.hero--mediamobile .hero__media{
    display: none !important;
}
/* show all mobile media */
section.hero.hero--mediamobile {
    min-height: auto !important;
}
section.hero.hero--mediamobile .hero__mediamobile {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
}
section.hero.hero--mediamobile {
    background-color:black;
}
section.hero.hero--mediamobile .hero__content {
    margin-top: 10rem !important;
}
section.hero.hero--mediamobile .hero__content .text-container > p {
    display: none !important;
}
section.hero.hero--mediamobile .hero__content .text-container .h0,
section.hero .hero__content .text-container .h0-customanimation {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom:0;
    font-weight: bold;
    font-family: "Archivo",sans-serif;
}
section.hero.hero--mediamobile .color-overlay {
    /* linear gradient from black to transparent */
    background:linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 40%);
    opacity: 1 !important;
}
@media (min-width: 400px) {
    section.hero.hero--mediamobile .hero__content .text-container .h0,
    section.hero .hero__content .text-container .h0-customanimation {
        font-size: 2rem;
    }
}
@media (min-width: 782px) {
    section.hero.hero--mediamobile {
        background-color:transparent;
        min-height: 700px !important;
    }
    section.hero.hero--mediamobile .hero__media{
        display: block !important;
    }
    section.hero.hero--mediamobile .hero__mediamobile {
        display: none !important;
    }
    section.hero.hero--mediamobile .hero__content {
        margin-top: 0 !important;
    }
    section.hero.hero--mediamobile .hero__content .text-container > p {
        display: block !important;
    }
    section.hero.hero--mediamobile .hero__content .text-container .h0,
    section.hero .hero__content .text-container .h0-customanimation {
        font-size: 2.5rem;
        line-height: 1;
        margin-bottom: 30px;
    }
    section.hero.hero--mediamobile .color-overlay {
        background:var(--dark);
        opacity: 0 !important;
    }
}
@media (min-width: 990px) {
    section.hero.hero--mediamobile .hero__content .text-container .h0,
    section.hero .hero__content .text-container .h0-customanimation {
        font-size: 3rem;
    }
}
@media (min-width: 1400px) {
    .is_front_page section.hero .hero__content{
        height: 100% !important;
    }
    .is_front_page section.hero .hero__content .row.align-items-end{
        align-items: center !important;
    } 
    .is_front_page section.hero{
        height: 850px !important;
    }
}

@media (min-width: 1600px) {
    .is_front_page section.hero .hero__content .row .has-customanimation{
      width: 1000px !important;
    }
    .is_front_page section.hero .hero__content .row .has-customanimation p:not(:has(img)){
      width: 600px !important;
    }
    section.hero.hero--mediamobile .hero__content .text-container .h0,
    section.hero .hero__content .text-container .h0-customanimation {
        font-size: calc(1.425rem + 2.1vw);
    }
}

