/* Keep the reference text column aligned when the product wording changes. */
@media (min-width: 1400px) {
    .bl-welding-screens-page .hsb-hero .hsb-hero-inner {
        width: min(100%, calc(124px + clamp(525px, 31.3vw, 602px)));
    }

    .bl-welding-screens-page .hsb-calculation .hsb-cost-factors {
        margin-top: 5cqw;
    }
}

@media (768px <= width <= 1240px) {
    .bl-welding-screens-page .hsb-hero .hsb-hero-inner {
        width: min(100%, calc(96px + clamp(505px, 447px + 7.3vw, 522px)));
    }
}

.bl-welding-screens-page .hsb-action .hsb-action-poster {
    display: block;
}

.bl-welding-screens-page :is(.hsb-launch-art, .hsb-calculation-scene) img {
    mask-image: linear-gradient(#000 92%, transparent);
}

.bl-welding-screens-page .hsb-quick-photo img {
    width: 100%;
    height: 100% !important;
    inset: 0;
    transform: none;
    object-fit: contain;
}

.bl-welding-screens-page .hsb-gallery-rail {
    gap: 52px;
}

.bl-welding-screens-page .hsb-gallery-rail::after {
    content: none;
}

.bl-welding-screens-page .hsb-gallery-slide {
    flex-basis: 100%;
}

.bl-welding-screens-page .hsb-gallery-frame {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    background: transparent;
}

.bl-welding-screens-page .hsb-gallery-frame > img {
    width: auto;
    height: auto;
    max-width: 100% !important;
    max-height: 100%;
}

.bl-welding-screens-page .hsb-quick-detail .hsb-quick-specs {
    border: 0;
}

.bl-welding-screens-page .hsb-quick-usage {
    margin-bottom: 16px;
}

.bl-welding-screens-page .hsb-quick-materials > div {
    grid-template-columns: minmax(84px, .4fr) minmax(0, 1fr);
}

.bl-welding-screens-page .welding-screens-catalogue-codes {
    table-layout: fixed;
    overflow-wrap: anywhere;
}

.bl-welding-screens-page .welding-screens-catalogue-codes th:first-child {
    width: 36%;
    vertical-align: top;
}

.bl-welding-screens-page .welding-screens-code-list,
.bl-welding-screens-page .welding-screens-code-list dd {
    margin: 0;
}

.bl-welding-screens-page .welding-screens-code-list > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 0.45em;
}

.bl-welding-screens-page .hsb-quick-equipment {
    gap: 12px;
    margin-top: 16px;
}

.bl-welding-screens-page .hsb-quick-equipment li {
    padding-left: 32px;
}

.bl-welding-screens-page .hsb-quick-equipment .hsb-quick-check-icon {
    color: #087a43;
    font-size: 18px;
    font-weight: 700;
}

.bl-welding-screens-page .hsb-quick-options {
    margin-bottom: 18px;
}

.bl-welding-screens-page .welding-screens-support-art {
    position: relative;
}

/* Show the relevant part of the existing order scene in each topic. */
body.bl-welding-screens-page #hsb-support-drawer .welding-screens-support-art img {
    position: absolute;
    top: var(--welding-screens-art-top);
    left: var(--welding-screens-art-left);
    width: var(--welding-screens-art-width);
    height: auto;
    max-width: none !important;
}

.bl-welding-screens-page .welding-screens-support-art--measure {
    --welding-screens-art-top: -127%;
    --welding-screens-art-left: 0;
    --welding-screens-art-width: 286%;
}

.bl-welding-screens-page .welding-screens-support-art--samples {
    --welding-screens-art-top: -148%;
    --welding-screens-art-left: -66%;
    --welding-screens-art-width: 288%;
}

.bl-welding-screens-page .welding-screens-support-art--crate {
    --welding-screens-art-top: -121%;
    --welding-screens-art-left: -102%;
    --welding-screens-art-width: 260%;
}

.bl-welding-screens-page .welding-screens-support-art--mount {
    --welding-screens-art-top: -42%;
    --welding-screens-art-left: -203%;
    --welding-screens-art-width: 303%;
}

.bl-welding-screens-page .welding-screens-support-steps,
.bl-welding-screens-page .welding-screens-support-link + .hsb-support-faq {
    margin-top: 26px;
}

.bl-welding-screens-page .welding-screens-colour-guide {
    border: 0;
    margin-bottom: 12px;
}

.bl-welding-screens-page .welding-screens-colour-guide th {
    width: auto;
}

.bl-welding-screens-page .welding-screens-colour-guide th:first-child {
    width: 37%;
}

.bl-welding-screens-page .welding-screens-colour-guide td {
    font-weight: 400;
    line-height: 1.4;
}

.bl-welding-screens-page .welding-screens-support-related {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0 18px 18px;
}

.bl-welding-screens-page .welding-screens-support-related a {
    color: #087a43;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bl-welding-screens-page .welding-screens-calculation-crop {
    display: none;
}

/* Measure against the same artwork coordinates on desktop and in the responsive crop. */
.bl-welding-screens-page .welding-screens-dimension {
    position: absolute;
    color: #086d40;
    border-color: currentColor;
    font-size: clamp(11px, 1.14cqw, 19px);
    font-weight: 650;
    line-height: 1.2;
}

.bl-welding-screens-page .welding-screens-dimension::before,
.bl-welding-screens-page .welding-screens-dimension::after {
    content: "";
    position: absolute;
    width: .48em;
    height: .48em;
    border: solid currentColor;
    border-width: 2px 0 0 2px;
}

.bl-welding-screens-page .welding-screens-dimension-width {
    top: 87%;
    left: 14.8%;
    width: 31.8%;
    padding-top: .35em;
    border-top: 2px solid;
    text-align: center;
}

.bl-welding-screens-page .welding-screens-dimension-width::before {
    top: -1px;
    left: 0;
    transform: translateY(-50%) rotate(-45deg);
}

.bl-welding-screens-page .welding-screens-dimension-width::after {
    top: -1px;
    right: 0;
    transform: translateY(-50%) rotate(135deg);
}

.bl-welding-screens-page .welding-screens-dimension-height {
    top: 32%;
    left: 49.5%;
    height: 53%;
    padding-left: .42em;
    border-left: 2px solid;
    writing-mode: vertical-rl;
}

.bl-welding-screens-page .welding-screens-dimension-height > span {
    display: grid;
    height: 100%;
    place-items: center;
    transform: rotate(180deg);
}

.bl-welding-screens-page .welding-screens-dimension-height::before {
    top: 0;
    left: -1px;
    transform: translateX(-50%) rotate(45deg);
}

.bl-welding-screens-page .welding-screens-dimension-height::after {
    bottom: 0;
    left: -1px;
    transform: translateX(-50%) rotate(225deg);
}

.bl-welding-screens-page .welding-screens-select {
    display: block;
}

.bl-welding-screens-page #welding-screens-attachment-tip {
    display: block;
    margin-top: .35em;
    color: #465769;
    font-size: .75rem;
    line-height: 1.4;
}

.bl-welding-screens-page .welding-screens-draft {
    margin-top: 1rem;
}

.bl-welding-screens-page .welding-screens-draft textarea {
    display: block;
    width: 100%;
    margin: .4rem 0;
    padding: .75rem;
    border: 1px solid #dce2e9;
    border-radius: 10px;
    color: #112137;
    background: #eff1f4;
    font: inherit;
}

@media (min-width: 1200px) {
    .bl-welding-screens-page .welding-screens-family-stationary {
        grid-column: 1;
    }

    .bl-welding-screens-page .welding-screens-family-mobile {
        grid-column: 2;
    }

    .bl-welding-screens-page .welding-screens-family-open-floor {
        grid-column: 3;
    }

    .bl-welding-screens-page .hsb-launch .hsb-route {
        margin-top: 27cqw;
    }
}

@media (max-width: 1399px) {
    .bl-welding-screens-page .welding-screens-calculation-crop {
        position: absolute;
        inset: -24% auto auto -22.7%;
        display: block;
        width: 212%;
        aspect-ratio: 1672 / 941;
    }

    .bl-welding-screens-page .welding-screens-calculation-crop img {
        display: block;
        width: 100%;
        height: 100% !important;
        max-width: none !important;
    }

    .bl-welding-screens-page .welding-screens-dimension {
        font-size: clamp(11px, 1.4cqw, 14px);
    }
}

@media (max-width: 1199px) {
    .bl-welding-screens-page .hsb-series .hsb-family-art {
        background-image: url("assets/selection-scene-v2.webp");
        background-position: var(--welding-screens-scene-x) 44%;
    }

    .bl-welding-screens-page .welding-screens-family-stationary {
        --welding-screens-scene-x: 8.5%;
    }

    .bl-welding-screens-page .welding-screens-family-mobile {
        --welding-screens-scene-x: 50%;
    }

    .bl-welding-screens-page .welding-screens-family-open-floor {
        --welding-screens-scene-x: 90%;
    }

    .bl-welding-screens-page .hsb-launch .hsb-route li:nth-child(2) .hsb-step-art img {
        width: 440%;
        top: -71%;
        left: -82%;
    }

    .bl-welding-screens-page .hsb-launch .hsb-route li:last-child .hsb-step-art img {
        top: -12%;
    }
}

@media (max-width: 600px) {
    .bl-welding-screens-page .hsb-quick-series {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

body.bl-welding-screens-page,
body.bl-welding-screens-page #main > :is(.hsb-hero, .hsb-mineral) {
    background: transparent;
}

