/* Homepage specific styling goes here. Excluded on all subpages */
/* For most builds, this stylesheet should be wiped and started fresh */

/* HOME HERO AND/OR SLIDER */
.hero {
    margin-top: 140px;
    background-color: var(--color-black);
}

.hero-slide {
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
}

.hero-slide:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: var(--color-primary);
    content: '';
    pointer-events: none;
}

.hero-holder {
    position: relative;
    z-index: 1;
}

.hero-image {
    margin-bottom: 50px;
    animation-delay: 100ms;
}

.hero-image img {
    margin: 0 auto;
    max-width: 212px;
}

.hero-text {
    font-size: 1.313rem;
    color: var(--color-white);
    text-align: center;
}

.hero-title {
    margin-bottom: 10px;
    font-size: 3.5rem;
    color: inherit;
    line-height: 1;
}

.hero-text-content {
    margin-bottom: 20px;
    animation-delay: 600ms;
}

.hero-text-content p:last-child {
    margin-bottom: 0;
}

.hero-text .button {
    font-size: 1.125rem;
    animation-delay: 1000ms;
}

.hero.hero-height-sync {
    min-height: 555px;
}

/* First slide: no entrance animations on mobile (LCP). Desktop keeps animate classes. */
@media screen and (max-width: 1024px) {
    .hero-slide--lcp-static .animate,
    .hero-slide--lcp-static .animated {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media screen and (min-width: 1025px) {
    .hero {
        margin-top: 150px;
        height: calc(100vh - 150px);
        max-height: 960px;
    }

    .hero .swiper {
        height: 100%;
    }

    .hero-slide {
        padding-top: 0;
        padding-bottom: 0;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .hero-slide:before {
        margin-left: 360px;
        width: calc(50vw - 360px);
        height: 100%;
        bottom: auto;
        top: 0;
        left: 50%;
        right: 50px;
    }

    .hero-holder {
        display: flex;
        align-items: center;
        flex-direction: row;
    }

    .hero-image {
        margin-bottom: 0;
        order: 2;
        display: flex;
        align-items: center;
        flex: 1;
    }

    .hero-image img {
        margin: 0;
        max-width: 500px;
    }

    .hero-title {
        margin-bottom: 30px;
        line-height: 0.9;
        font-size: 7.563rem;
    }

    .hero-text {
        padding: 30px 50px 30px 0;
        text-align: left;
        width: 100%;
        height: 100%;
        max-width: 780px;
        font-size: 1.563rem;
        order: 1;
    }

    .hero-text-content {
        margin-bottom: 30px;
    }

    .hero-text .button {
        font-size: 20px;
    }
}

@media screen and (min-width: 1025px) and (max-height: 740px) {
    .hero-image img {
        width: 440px;
    }

    .hero-text {
        font-size: 1.375rem;
    }

    .hero-title {
        font-size: 5.25rem;
    }
}
