.hj-commerce .hj-page-hero {
    --hero-background: #0b3040;
    --hero-photo-height: clamp(145px, 43vw, 233px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--hero-background);
    color: #fff;
}

.hj-commerce .catalog-hero.hj-page-hero::after,
.hj-commerce .hj10-home-hero.hj-page-hero::after {
    content: none;
}

.hj-page-hero-media {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hj-page-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

.hj-page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #092734 0%, #092734f5 27%, #092734d9 47%, #092734ad 60%, #0927342b 83%, #09273415 100%);
}

.hj-page-hero-credit {
    position: absolute;
    inset-inline-end: 14px;
    inset-block-end: 12px;
    z-index: 1;
    border-radius: 4px;
    padding: 3px 7px;
    background: #081d27e8;
    color: #f2f7f8;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.hj-commerce .hj-page-hero :is(a, button, input):focus-visible {
    outline: 2px solid #bcf2f5;
    outline-offset: 3px;
}

.hj-commerce .hj-page-hero :is(.catalog-hero-copy, .hj-page-hero-copy, .catalog-breadcrumb) {
    max-width: min(61%, 40rem);
}

.hj-commerce .hj-page-hero h1 {
    hyphens: manual;
}

.hj-commerce .static-page-hero.hj-page-hero {
    padding: 0;
}

.hj-commerce .catalog-search {
    padding-block-start: 0;
}

.hj-commerce :is(.static-page-hero-grid, .hj-page-hero-search-inner) {
    padding-block: clamp(36px, 6vw, 88px);
}

.hj-commerce :is(.static-page-hero.hj-page-hero, .hj-page-hero--search) h1 {
    margin: 0 0 16px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -.04em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.hj-commerce .static-page-hero.hj-page-hero :is(.breadcrumb, .breadcrumb a, .eyebrow),
.hj-commerce .hj-page-hero :is(.lead, [data-page-lead]) {
    color: #e1edf0;
}

.hj-commerce .hj-page-hero--search .catalog-search-form {
    margin-block: 22px 0;
}

.hj-commerce .catalog-search-results {
    padding-block-start: 30px;
}

.hj-commerce .catalog-hero--urgent .hj-page-hero-media::after {
    background: linear-gradient(90deg, #092734 5%, #092734f7 37%, #092734cf 62%, #0927345c 100%);
}

@media (max-width: 760px) {
    .hj-commerce .hj-page-hero {
        min-height: 0;
    }

    .hj-commerce .catalog-hero--service,
    .hj-commerce .hj-page-hero--search {
        --hero-photo-height: clamp(118px, 35vw, 196px);
    }

    .hj-commerce .hj10-home-hero {
        --hero-photo-height: clamp(164px, 50vw, 240px);
    }

    .hj-page-hero-media {
        inset-block-end: auto;
        height: var(--hero-photo-height);
    }

    .hj-page-hero-media::after {
        background: linear-gradient(180deg, transparent 50%, var(--hero-background) 100%);
    }

    .hj-page-hero-credit {
        inset-inline-end: 10px;
        inset-block-end: 9px;
    }

    .hj-commerce .hj-page-hero :is(.catalog-hero-copy, .hj-page-hero-copy, .catalog-breadcrumb, .hj10-home-hero-copy) {
        max-width: 100%;
    }

    .hj-commerce .hj-page-hero .catalog-breadcrumb ol {
        inline-size: 100%;
        min-inline-size: 0;
        margin-block-end: 17px;
    }

    .hj-commerce .hj-page-hero .catalog-breadcrumb :is(li, a, [aria-current="page"]) {
        min-inline-size: 0;
        overflow-wrap: anywhere;
    }

    .hj-commerce .hj-page-hero :is(.catalog-hero-inner, .static-page-hero-grid, .hj-page-hero-search-inner, .hj10-home-hero-inner) {
        min-height: 0;
        padding-block: var(--hero-photo-height) 30px;
    }

    .hj-commerce .hj10-home-hero.hj-page-hero .hj10-home-hero-inner {
        display: block;
    }

    .hj-commerce .hj-page-hero--search .catalog-search-form {
        flex-direction: column;
    }

    .hj-commerce .catalog-hero--urgent .catalog-hero-inner {
        padding-block: 14px 39px;
    }

    .hj-commerce .catalog-hero--urgent .catalog-breadcrumb ol {
        margin-block-end: 9px;
    }

    .hj-commerce .catalog-hero--urgent .catalog-breadcrumb li:nth-child(n + 3),
    .hj-commerce .catalog-hero--urgent .catalog-kicker {
        display: none;
    }

    .hj-commerce .catalog-hero--urgent h1 {
        font-size: clamp(1.55rem, 7.4vw, 2rem);
        margin-block-end: 12px;
    }

    .hj-commerce .catalog-hero--urgent .catalog-hero-lead {
        line-height: 1.48;
        margin-block-end: 12px;
    }

    .hj-commerce .catalog-hero--urgent .hj-page-hero-media {
        inset: 0;
        height: auto;
    }

    .hj-commerce .catalog-hero--urgent .hj-page-hero-media::after {
        background: linear-gradient(90deg, #092734f7, #092734e8 50%, #092734bd);
    }
}
