/* =========================================================
   Interestut v0.8.1
   Fix repeated hero background images
   ========================================================= */

.hero--home,
.page-hero--utilities,
.page-hero--products,
.page-hero--requests,
.page-hero--openai-news,
.page-hero--contacts {
    background-repeat:
        no-repeat,
        no-repeat !important;

    background-attachment:
        scroll,
        scroll !important;

    overflow: hidden;
}


/* HOME */

.hero--home {
    background-position:
        left top,
        right center !important;

    background-size:
        100% 100%,
        auto 100% !important;
}


/* UTILITIES */

.page-hero--utilities {
    background-position:
        left top,
        right center !important;

    background-size:
        100% 100%,
        auto 100% !important;
}


/* PRODUCTS */

.page-hero--products {
    background-position:
        left top,
        right center !important;

    background-size:
        100% 100%,
        auto 100% !important;
}


/* REQUESTS */

.page-hero--requests {
    background-position:
        left top,
        right center !important;

    background-size:
        100% 100%,
        auto 100% !important;
}


/* OPENAI NEWS */

.page-hero--openai-news {
    background-position:
        left top,
        right center !important;

    background-size:
        100% 100%,
        auto 100% !important;
}


/* CONTACTS */

.page-hero--contacts {
    background-position:
        left top,
        right center !important;

    background-size:
        100% 100%,
        auto 100% !important;
}


/* Prevent any old pseudo-element scenery */

.hero--home::before,
.hero--home::after,
.page-hero--utilities::before,
.page-hero--utilities::after,
.page-hero--products::before,
.page-hero--products::after,
.page-hero--requests::before,
.page-hero--requests::after,
.page-hero--openai-news::before,
.page-hero--openai-news::after,
.page-hero--contacts::before,
.page-hero--contacts::after {
    content: none !important;
    display: none !important;
}


/* On desktop the approved home image already contains
   the checklist, therefore the older HTML duplicate stays hidden */

.hero--home .hero-side {
    display: none !important;
}


/* Give home text a little more room */

.hero--home .hero-inner {
    grid-template-columns:
        minmax(680px, 1.05fr)
        minmax(480px, .75fr);
}


/* TABLET */

@media (max-width: 1260px) {

    .hero--home,
    .page-hero--utilities,
    .page-hero--products,
    .page-hero--requests,
    .page-hero--openai-news,
    .page-hero--contacts {
        background-repeat:
            no-repeat,
            no-repeat !important;

        background-position:
            left top,
            right center !important;

        background-size:
            100% 100%,
            auto 100% !important;
    }

}


/* MOBILE */

@media (max-width: 680px) {

    .hero--home,
    .page-hero--utilities,
    .page-hero--products,
    .page-hero--requests,
    .page-hero--openai-news,
    .page-hero--contacts {
        background-image:
            linear-gradient(
                180deg,
                #f8fbff 0%,
                #eef6ff 100%
            ) !important;

        background-repeat:
            no-repeat !important;
    }

}
