/* Inner-page banner refresh only. Heights, typography, containers and content stay in their templates. */
.jeff-inner-banners {
    --banner-gray: 235, 235, 235;
    --banner-ink: #183447;
    --banner-core: .88;
    --banner-middle: .46
}

.jeff-banner-quality {
    --banner-gray: 237, 238, 235;
    --banner-ink: #24382f;
    --banner-core: .91;
    --banner-middle: .5
}

.jeff-banner-factory, .jeff-banner-manufacturing, .jeff-banner-tempering {
    --banner-gray: 236, 236, 234;
    --banner-ink: #263946;
    --banner-core: .9
}

.jeff-banner-applications, .jeff-banner-application-category, .jeff-banner-about, .jeff-banner-contact {
    --banner-gray: 234, 237, 239;
    --banner-ink: #143449;
    --banner-core: .87
}

.jeff-banner-project-detail {
    --banner-gray: 237, 238, 239;
    --banner-ink: #203846;
    --banner-core: .89;
    --banner-middle: .42
}

.jeff-banner-products, .jeff-banner-product-detail, .jeff-banner-product-category {
    --banner-gray: 235, 236, 237;
    --banner-ink: #173246;
    --banner-core: .9
}

.jeff-inner-banners main .inner-hero[data-jeff-banner] {
    background-image: var(--banner);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #041d30;
    position: relative;
    isolation: isolate;
    color: #fff
}

.jeff-inner-banners main .inner-hero[data-jeff-banner="factory"], .jeff-inner-banners main .inner-hero[data-jeff-banner="faq"], .jeff-inner-banners main .inner-hero[data-jeff-banner="manufacturing"], .jeff-inner-banners main .inner-hero[data-jeff-banner="tempering"], .jeff-inner-banners main .inner-hero[data-jeff-banner="news"], .jeff-inner-banners main .inner-hero[data-jeff-banner="news-detail"] {
    background-position: right 48%
}





.jeff-inner-banners main [data-jeff-banner] > .container, .jeff-inner-banners main [data-jeff-banner] > .product-tabs {
    position: relative;
    z-index: 1
}

.jeff-inner-banners main [data-jeff-banner] h1, .jeff-inner-banners main [data-jeff-banner] p {
    color: #fff;
    text-shadow: none
}

.jeff-inner-banners main [data-jeff-banner="products"] .eyebrow {
    color: #fff
}

.jeff-inner-banners main [data-jeff-banner] .button {
    color: var(--banner-ink);
    border-color: var(--banner-ink);
    background: rgba(var(--banner-gray), .78)
}

.jeff-inner-banners main [data-jeff-banner] .button:hover {
    background: rgba(var(--banner-gray), .94)
}

.jeff-inner-banners main .glass-hero[data-jeff-banner] {
    position: relative;
    isolation: isolate;
    color: #fff
}

.jeff-inner-banners main .glass-banner {
    background-image: var(--banner, url("images/product-detail/banner-full-hd.png"));
    background-color: #041d30
}

.jeff-inner-banners main .inner-hero[data-jeff-banner="product-detail"], .jeff-inner-banners main .inner-hero[data-jeff-banner="product-category"] {
    background-size: cover;
    background-position: center
}

.jeff-inner-banners main .inner-hero[data-jeff-banner="product-detail"] {
    --banner-design-min: 300px;
    min-height: max(var(--banner-required-height, 0px), var(--banner-design-min))
}

/* Restore the legacy product alias hero alone, without loading detail content CSS. */
.jeff-banner-product-alias main .inner-hero {
    height: 26.3vw;
    min-height: 300px;
    max-height: 505px;
    padding: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto
}

.jeff-banner-product-alias main .inner-hero > .container {
    align-self: center;
    width: min(1320px, 90.3%)
}

.jeff-banner-product-alias .detail-hero-copy {
    max-width: 42%;
    padding-block: 20px
}

.jeff-banner-product-alias main .inner-hero h1 {
    max-width: none;
    font-size: clamp(30px, 3.4vw, 50px);
    font-weight: 400;
    letter-spacing: -1px
}

.jeff-banner-product-alias main .inner-hero .eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    margin: 0 0 8px
}

.jeff-banner-product-alias main .inner-hero p:not(.eyebrow) {
    max-width: none;
    font-size: 14px;
    line-height: 1.35;
    margin: 12px 0
}

.jeff-banner-product-alias main .inner-hero .button {
    font-size: 13px;
    min-height: 36px;
    padding: 8px 14px
}

.jeff-inner-banners main [data-jeff-banner="product-detail"] .product-tabs {
    background: rgba(4, 19, 30, .72);
    color: white
}

.jeff-banner-product-alias .product-tabs {
    width: 100%;
    padding: 12px 4.85%;
    gap: 0;
    align-self: end
}

.jeff-banner-product-alias .product-tabs a {
    flex: 1;
    min-width: 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    line-height: 1.2;
    color: white;
    text-align: center;
    padding: 6px
}

.jeff-banner-product-alias .product-tabs .design-icon {
    filter: brightness(0) invert(1);
    width: 38px;
    height: 28px;
    flex-shrink: 0
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .jeff-banner-product-alias main .inner-hero {
        height: auto;
        min-height: 350px
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .jeff-inner-banners main .inner-hero[data-jeff-banner="product-detail"] {
        --banner-design-min: 350px
    }
}

@media (max-width: 767.98px) {
    .jeff-inner-banners main .inner-hero[data-jeff-banner="product-detail"] {
        --banner-design-min: 460px
    }

    .jeff-inner-banners main .inner-hero[data-jeff-banner] {
        background-size: cover;
        background-position: 62% center
    }

    .jeff-inner-banners main .inner-hero[data-jeff-banner="quality"] {
        background-position: 60% 58%
    }

    .jeff-inner-banners main .inner-hero[data-jeff-banner="project-detail"] {
        background-position: 50% 40%
    }

    .jeff-inner-banners main .inner-hero[data-jeff-banner="product-detail"] {
        background-position: 52% center
    }

    .jeff-banner-product-alias main .inner-hero {
        height: auto;
        min-height: 460px;
        max-height: none
    }

    .jeff-banner-product-alias .detail-hero-copy {
        max-width: 100%;
        padding-block: 28px
    }

    .jeff-inner-banners main .inner-hero[data-jeff-banner="product-detail"] h1 {
        font-size: 36px
    }

    .jeff-inner-banners main .inner-hero[data-jeff-banner="product-detail"] > .container {
        width: calc(100% - 36px)
    }

    .jeff-banner-product-alias .product-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px 4.85%
    }
}


/* Explicit Banner overlay DIV — put this inside each actual banner, before content. */
/* No image replacement, and no ::before/::after overlay needed. */
main .inner-hero[data-jeff-banner],
main .glass-hero[data-jeff-banner] {
    position: relative;
    isolation: isolate;
}

main .inner-hero[data-jeff-banner] > .jeff-banner-overlay,
main .glass-hero[data-jeff-banner] > .jeff-banner-overlay {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(
            90deg,
            rgba(7, 27, 41, 0.28) 0%,
            rgba(7, 27, 41, 0.14) 38%,
            rgba(7, 27, 41, 0.04) 72%,
            rgba(7, 27, 41, 0) 100%
    );
}

main .inner-hero[data-jeff-banner] > .container,
main .inner-hero[data-jeff-banner] > .product-tabs,
main .glass-hero[data-jeff-banner] > .container,
main .glass-hero[data-jeff-banner] > .product-tabs {
    position: relative;
    z-index: 1;
}

.jeff-inner-banners main [data-jeff-banner]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient( 90deg, rgba(7, 27, 41, 0.8) 20%, rgba(7, 27, 41, .6) 30%, rgba(7, 27, 41, 0.1) 60%, rgba(7, 27, 41, 0) 100% );
}