/* Hero met product (blocks/wzr-hero-split): Webflow .section_hero. The text takes 55 % (.hero_content), the product
   sits in the right 55 % of the section (.hero_visual) on the blue shape (.hero_visual-shape-01, the same SVG).
   Tokens: "Hero split". */
.wzr-hero-split {
    position   : relative;
    z-index    : 1;
    overflow   : hidden;
    background : var(--color-white);
}

.wzr-hero-split--shape::before {
    content    : "";
    position   : absolute;
    z-index    : -1;
    top        : 0;
    right      : 0;
    width      : var(--wzr-hero-split-shape-width);
    aspect-ratio : 971 / 806;
    background : url("../../assets/images/hero-shape.svg") top right / 100% auto no-repeat;
}

.wzr-hero-split__inner {
    max-width     : var(--wzr-width-content);
    margin-inline : auto;
    padding       : 0 var(--wzr-gutter);
}

.wzr-hero-split__content {
    max-width      : 55%;
    padding-block  : var(--wzr-hero-split-space-top) var(--wzr-hero-split-space-bottom);
    gap            : var(--wzr-size-32);
}

.wzr-hero-split__content h1 { font-size : var(--wzr-hero-split-h1); line-height : var(--wzr-hero-split-h1-lh); }
.wzr-hero-split__content h1 + p { margin-top : var(--wzr-size-16); color : var(--color-base-2-light); font-size : var(--wzr-text-medium); line-height : var(--wzr-text-medium-lh); }

.wzr-hero-split__media {
    position        : absolute;
    z-index         : -1;
    top             : 0;
    right           : 0;
    display         : flex;
    justify-content : flex-end;
    align-items     : stretch; /* as Webflow: the image fills the height and object-fit centres the product in it */
    width           : 55%;
    height          : 100%;
    padding         : var(--wzr-hero-split-image-top) var(--wzr-hero-split-image-right) 0 var(--wzr-hero-split-image-left);
}

.wzr-hero-split__image { display : block; width : 100%; max-width : 920px; height : 100%; object-fit : contain; }

.wzr-hero-split__banner { display : none; }

/* Tablet and phone: Webflow's .hero-img_tablet band (photo, 60 % blue over it), the product on its right, the text under it. */
@media screen and (max-width: 991px) {
    .wzr-hero-split--shape::before { content : none; }
    .wzr-hero-split__banner { position : absolute; z-index : -1; top : 0; left : 0; right : 0; display : block; height : 24rem; }
    .wzr-hero-split__banner::after { content : ""; position : absolute; inset : 0; background : var(--color-base); opacity : .6; }
    .wzr-hero-split__banner img { display : block; width : 100%; height : 100%; object-fit : cover; object-position : 50% 80%; }
    .wzr-hero-split__media { position : absolute; z-index : 0; top : 0; right : var(--wzr-gutter); width : auto; height : auto; padding : 2.4rem 0 0; }
    .wzr-hero-split__image { width : auto; height : 28rem; max-width : none; }
    .wzr-hero-split__content { max-width : none; margin-top : 26rem; padding-block : 0 4rem; gap : 2.4rem; }
    .wzr-hero-split__content h1 { font-size : 5.6rem; line-height : 6.4rem; }
    .wzr-hero-split:not(:has(.wzr-hero-split__banner)) .wzr-hero-split__content { margin-top : 0; padding-top : 4.8rem; }
    .wzr-hero-split:not(:has(.wzr-hero-split__banner)) .wzr-hero-split__media { display : none; } /* Webflow: the landing-page photo is hidden here */
    .wzr-hero-split:not(:has(.wzr-hero-split__banner)) .wzr-hero-split__content h1 { font-size : var(--wzr-text-h2); line-height : var(--wzr-text-h2-lh); }
}

@media screen and (max-width: 479px) {
    .wzr-hero-split__banner { height : 16rem; }
    .wzr-hero-split__banner img { object-position : 50% 60%; }
    .wzr-hero-split__image { height : 16rem; }
    .wzr-hero-split__content { margin-top : 17.6rem; gap : 1.6rem; padding-bottom : 3.2rem; }
    .wzr-hero-split__content h1 { font-size : 3.2rem; line-height : 4rem; }
    .wzr-hero-split__content h1 + p { font-size : var(--wzr-text-body); line-height : var(--wzr-text-body-lh); }
}
