.elementor .hopefly-packaging-solutions.e-con {
    --hf-solutions-navy: #101d2c;
    --hf-solutions-edge: clamp(28px, 8vw, 160px);
    --hf-solutions-height: clamp(435px, 33vw, 560px);
    --hf-solutions-header-height: 70px;
    --hf-solutions-header-edge: calc(var(--hf-solutions-header-height) + var(--hf-solutions-toolbar-height, 0px) - 1px);
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: var(--hf-solutions-height);
    padding: 0;
    justify-content: center;
    overflow: hidden;
    background: var(--hf-solutions-navy);
    color: #fff;
    scroll-margin-top: var(--hf-solutions-header-edge);
}

.admin-bar .hopefly-packaging-solutions {
    --hf-solutions-toolbar-height: 32px;
}

@media (min-width: 1024px) {
    .elementor .hopefly-packaging-solutions.e-con {
        /* Reserve space for the cards, their labels and a small gap below the row. */
        --hf-solutions-card-space: clamp(195px, 18vw, 275px);
        scroll-margin-top: max(12px, calc(clamp(
            calc(var(--hf-solutions-header-edge) - 48px),
            calc(100svh - var(--hf-solutions-height) - var(--hf-solutions-card-space)),
            var(--hf-solutions-header-edge)
        ) - 24px));
    }
}

.hopefly-packaging-solutions > .hopefly-solutions-photo.elementor-widget-image {
    position: absolute;
    inset: 0 auto 0 0;
    width: 69%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.hopefly-solutions-photo .elementor-widget-container,
.hopefly-solutions-photo img {
    width: 100%;
    height: 100%;
}

.hopefly-solutions-photo img {
    display: block;
    object-fit: cover;
    object-position: 50% 54%;
}

.hopefly-solutions-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #101d2c10 25%, #101d2c36 53%, var(--hf-solutions-navy) 98%);
    pointer-events: none;
}

.hopefly-packaging-solutions > .hopefly-solutions-copy.e-con {
    position: relative;
    width: min(41%, clamp(510px, 34vw, 575px));
    padding: clamp(40px, 4.4vw, 74px) 0;
    margin: 0 var(--hf-solutions-edge) 0 auto;
    gap: 22px;
}

.hopefly-packaging-solutions .hopefly-solutions-title .elementor-heading-title {
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: clamp(37px, 3.6vw, 60px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hopefly-packaging-solutions .hopefly-solutions-description {
    max-width: 430px;
    color: #e1e9f2;
    font-size: clamp(16px, 1.15vw, 19px);
    line-height: 1.6;
}

.hopefly-packaging-solutions .hopefly-solutions-description p {
    margin: 0;
}

.hopefly-packaging-solutions .hopefly-solutions-inquiry .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 50px;
    margin-top: 6px;
    padding: 12px 22px;
    border: 1px solid #fff;
    border-radius: 5px;
    background: #fff;
    color: #172530;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.hopefly-solutions-inquiry .elementor-button::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.hopefly-packaging-solutions .hopefly-solutions-inquiry .elementor-button:hover {
    border-color: #dce9fa;
    background: #dce9fa;
    color: #172530;
}

.hopefly-packaging-solutions .hopefly-solutions-inquiry .elementor-button:focus-visible {
    outline: 2px solid #b6d7ff;
    outline-offset: 4px;
}

@media (max-width: 800px) {
    .elementor .hopefly-packaging-solutions.e-con {
        --hf-solutions-header-height: 60px;
        min-height: 0;
    }

    .hopefly-packaging-solutions > .hopefly-solutions-photo.elementor-widget-image {
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(176px, 49vw, 336px);
    }

    .hopefly-solutions-photo::after {
        background: linear-gradient(180deg, transparent 54%, var(--hf-solutions-navy));
    }

    .hopefly-packaging-solutions > .hopefly-solutions-copy.e-con {
        width: 100%;
        margin: 0;
        padding: 12px var(--hf-solutions-edge) 34px;
        padding-inline-end: max(var(--hf-solutions-edge), 52px);
        gap: 16px;
    }

    .hopefly-packaging-solutions .hopefly-solutions-title .elementor-heading-title {
        font-size: clamp(32px, 6.5vw, 47px);
        text-wrap: wrap;
    }
}

@media (max-width: 782px) {
    .admin-bar .hopefly-packaging-solutions {
        --hf-solutions-toolbar-height: 46px;
    }
}

@media (max-width: 400px) {
    .hopefly-packaging-solutions .hopefly-solutions-title .elementor-heading-title {
        font-size: clamp(25px, 8vw, 32px);
    }
}
