/* Heimdall Studio v0.13.6
   One shared hero canvas for Home / Software / About / Contact.

   The important change in this version:
   all four first-page hero sections receive the SAME .unified-hero class,
   so we are no longer guessing page-specific hero class names.
*/

@media (min-width: 861px) {
    .unified-hero {
        box-sizing: border-box !important;
        height: 585px !important;
        min-height: 585px !important;
        max-height: 585px !important;
        overflow: hidden !important;

        background-image:
            linear-gradient(
                90deg,
                rgba(255,255,255,.985) 0%,
                rgba(255,255,255,.955) 31%,
                rgba(255,255,255,.72) 48%,
                rgba(255,255,255,.28) 70%,
                rgba(255,255,255,.17) 100%
            ),
            url("../assets/brand/banner-main.png") !important;

        background-repeat: no-repeat !important;
        background-size: auto 585px !important;
        background-position: 50% 50% !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .unified-hero > .container,
    .unified-hero > .hero-grid,
    .unified-hero > .software-hero-grid,
    .unified-hero > .about-hero-grid,
    .unified-hero > .contact-hero-grid,
    .unified-hero > div {
        box-sizing: border-box !important;
        min-height: 585px !important;
    }

    .unified-hero .hero-grid,
    .unified-hero .software-hero-grid,
    .unified-hero .about-hero-grid,
    .unified-hero .contact-hero-grid {
        height: 585px !important;
        min-height: 585px !important;
        max-height: 585px !important;
        align-items: center !important;
    }

    /* Keep the Home text vertically balanced now that its buttons/principles
       live below the banner. */
    .unified-hero.hero .hero-copy {
        align-self: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Subpages load this CSS from /pages, but the image URL above is relative
   to the CSS file itself, so one shared URL works everywhere. */

@media (max-width: 860px) {
    .unified-hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .unified-hero > .container,
    .unified-hero > div,
    .unified-hero .hero-grid,
    .unified-hero .software-hero-grid,
    .unified-hero .about-hero-grid,
    .unified-hero .contact-hero-grid {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}
