/* temp: */

.menu ul {
    display: flex;
    gap: 50px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* hero */

.hero__inner {
    position: relative;
    min-height: 75vh;

    padding: 50px 85px;
    border-radius: 16px;
    overflow: hidden;

    display: flex;
    justify-content: start;
    align-items: end;
}

section.hero.has-inner-container {
    position: relative;
    padding: 16px;
}

/*internal heros have less height to show below fold content*/

.hero--internal .hero__inner {
    min-height: 55vh;
    max-height: 60vh;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* background: */

.hero__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__background__image-slider,
.hero__background__image-slider .hero__background__slides,
.hero__background__image-slider .hero__background__slides .splide__track {
    width: 100%;
    height: 100%;
}

.hero__background__image-slider,
.hero__background__image {
    position: relative;
}

/*z indexes*/
.hero__background__image,
.hero__background__slides {
    z-index: auto;
    height: 100%;
}

.hero__background__slides .splide__arrows,
.hero__background__slides .splide__pagination {
    z-index: 10;
}

/*gradient*/
.hero__background__gradient {
    z-index: 2;
    top: unset;
    bottom: 0;
    height: 55%;
    background: var(--black-overlay-gradient);
}

/*images*/
.hero__background__image img,
.hero__background__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*splide controls*/
.hero__background__slides .splide__arrows {
    position: absolute;
    right: 85px;
    bottom: 50px;
    z-index: 10;
}

.hero ul.splide__pagination {
    margin-right: 12px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* content: */

.hero__content {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    max-width: 85%;

    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;

    pointer-events: none;
}

.hero__content__title,
.hero__content__sub-title,
.hero__content__buttons {
    pointer-events: auto;
}

.hero__content__title {
    color: var(--white);
}

.hero__content__sub-title {
    text-transform: none;
    font-weight: 400;
    color: var(--white);
}

/*home hero sizes*/
.hero__content__title.hero__content__title--home {
    font-size: 64px;
    line-height: 1;
}

.hero__content__sub-title.hero__content__sub-title--home {
    font-size: 22px;
    line-height: 1.1;
}

/*internal hero sizes*/
.hero__content__title.hero__content__title--internal {
    font-size: 64px;
    line-height: 1;
}

.hero__content__sub-title.hero__content__sub-title--internal {
    font-size: 16px;
    line-height: 1.2;
}

.hero__content__buttons {
    margin-top: 20px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* VARIATION: boxed content hero */

.hero.hero--boxed-text .hero__inner {
    padding: 50px 85px 0 0;
}

/*content*/
.hero.hero--boxed-text .hero__content {
    min-width: 40%;
}

.hero.hero--boxed-text .hero__content__inner {
    width: 100%;
    max-width: 565px;
    height: fit-content;

    padding: 30px 30px 50px 85px;
    background: var(--blue-dk);
    border-radius: 0 16px;
}

/*font sizes*/
.hero.hero--boxed-text .hero__content__title.hero__content__title--internal {
    font-size: 48px;
    letter-spacing: -1.4px;
}

.hero.hero--boxed-text .hero__content__sub-title.hero__content__sub-title--internal {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: -0.4px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* tablets */

@media (max-width: 992px) {
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* hero */

    .hero__inner {
        padding: 50px 50px;
    }

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* background */

    .hero__background__gradient {
        height: 70%;
    }

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* content */

    .hero__content {
        max-width: 70%;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* MOBILE */

@media (max-width: 768px) {
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* hero */

    section.hero,
    section.hero.has-inner-container {
        padding: 0;
    }

    .hero__inner {
        border-radius: 0;
    }

    /*internal pages hero shorter*/
    .hero--internal .hero__inner {
        min-height: 60vh;
        max-height: unset;
    }

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* background */

    .hero__background__gradient {
        height: 80%;
    }

    .hero--home .hero__background__overlay {
        background: #00000044;
    }

    /*internal*/
    .hero--internal .hero__background__overlay {
        background: #00000022;
    }

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* content */

    .hero__content {
        max-width: 100%;
    }

    /*home hero sizes*/
    .hero__content__title.hero__content__title--home {
        font-size: 40px;
        line-height: 1;
        letter-spacing: -1.2px;
    }

    /*internal hero sizes*/
    .hero__content__title.hero__content__title--internal {
        font-size: 45px;
        line-height: 1;
        letter-spacing: -1.2px;
    }

    /*splide controls*/
    .hero__background__slides .splide__arrows ul.splide__pagination {
        order: 3;
        margin-left: 12px;
        margin-right: 0;
    }

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* VARIATION: free content hero */

    /*hero*/
    .hero.hero--free-text .hero__inner {
        padding: 25px;
    }

    .hero.hero--free-text.hero--slider .hero__inner {
        padding-bottom: 110px;
    }

    /*splide controls*/
    .hero.hero--free-text .hero__background__slides .splide__arrows {
        bottom: 35px;
        right: unset;
        left: 25px;
    }

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* VARIATION: boxed content hero */

    .hero.hero--boxed-text .hero__inner {
        padding: 0;
        padding-bottom: 25px;
        background: #00aeef22;

        display: flex;
        flex-direction: column;
    }

    /*background*/
    .hero.hero--boxed-text .hero__background {
        position: relative;
        inset: unset;
    }

    .hero.hero--boxed-text .hero__background__image img,
    .hero.hero--boxed-text .hero__background .hero__background__slide img {
        height: 230px;
    }

    .hero.hero--boxed-text .hero__background__slides .splide__arrows {
        right: unset;
        left: 30px;
        bottom: 70px;
    }

    /*content*/
    .hero.hero--boxed-text .hero__content {
        width: 100%;
        margin-top: -60px;
        padding: 0 25px;
    }

    .hero.hero--boxed-text .hero__content__inner {
        width: 100%;

        padding: 25px;
        border-radius: 16px;
    }
}
