/* START PAGE - Styling for the startpage template.
---------------------------------------------------------------------------- */

body {
    background-color: var(--jor-starpage-background-color) !important;
}


/* Hero
---------------------------------------------------------------------------- */

.jor-hero {
    color: var(--jor-startpage-hero-font-color);
    /* Pull up block navigation and service links. */
    margin-bottom: calc(var(--jor-startpage-hero-overlap) * -1);
}

.jor-hero .jor-hero__image-wrapper::after {
    background: linear-gradient(280.93deg, rgba(0, 0, 0, 0) 27.99%, rgba(0, 0, 0, 0.3) 100%);
}

.jor-hero .jor-hero__content {
    padding: 7.5rem 2rem 12.5rem;
    max-width: calc(1130px + 4rem);
}

.jor-hero .jor-hero__heading,
.jor-hero .jor-hero__text {
    color: inherit;
}

.jor-hero .jor-hero__heading {
    font-weight: 600;
    text-shadow: none;
    font-size: 4.75rem;
    letter-spacing: -1px;
    line-height: 1;
}


/* Navigation block
---------------------------------------------------------------------------- */

.jor-navigation-block {
    margin-top: 0;
}

.sv-edit-mode .jor-navigation-block {
    position: relative;
    z-index: 2;
}

.jor-navigation-block__container {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 0;
}

.jor-navigation-block__item {
    padding: 0;
}


/* Responsive breakpoints
---------------------------------------------------------------------------- */

@media screen and (max-width: 900px) {
    .jor-hero {
        padding-bottom: var(--jor-startpage-hero-overlap);
    }

    .jor-hero .jor-hero__image-wrapper {
        position: absolute;
    }

    .jor-hero .jor-hero__content {
        padding: 3.75rem 1.5rem;
        text-align: initial;
    }

    .jor-hero .jor-hero__heading {
        font-size: 4rem;
        margin: 0;
        padding: 0;
    }

    .jor-hero .jor-hero__heading br {
        display: none;
    }
}