/* =========================================================
   2. HOMEPAGE HERO
   Gutenberg Media & Text = VOLLEDIGE BREEDTE
   ========================================================= */


/* Basis */

body.home .biobey-home-hero {
    box-sizing: border-box;
    border-radius: 0;
}


/* =========================================================
   HOMEPAGE DESKTOP
   Houd hero gecentreerd en niet schermbreed
   ========================================================= */

@media (min-width: 901px) {

    body.home .biobey-home-hero.alignfull {
        position: static !important;

        left: auto !important;
        right: auto !important;

        transform: none !important;

        width: 100% !important;
        max-width: 1200px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        min-height: 620px;
    }
}


/* Tekst */

body.home .biobey-home-hero .wp-block-media-text__content {
    padding: 64px 58px;
}

body.home .biobey-home-hero-label {
    margin: 0 0 14px;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1.2px;
    line-height: 1.4;
}

body.home .biobey-home-hero-title {
    margin: 0 0 20px;

    font-size: clamp(38px, 4vw, 54px);
    font-weight: 500;

    line-height: 1.08;
}

body.home .biobey-home-hero-text {
    max-width: 470px;

    margin: 0 0 26px;

    font-size: 17px;
    line-height: 1.65;
}


/* 15AUR */

body.home .biobey-home-hero-offer {
    margin: 0 0 28px;
    padding: 17px 20px;

    border-radius: 0;
}

body.home .biobey-home-hero-offer p {
    margin: 0;

    font-size: 15px;
    line-height: 1.6;
}


/* CTA */

body.home .biobey-home-hero-buttons {
    justify-content: flex-start;
}

body.home .biobey-home-hero-button .wp-block-button__link {
    padding: 14px 28px;

    border-radius: 0;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: .4px;
}


/* Desktop foto */

@media (min-width: 901px) {

    body.home .biobey-home-hero .wp-block-media-text__media {
        height: 100%;
        min-height: 620px;

        margin: 0;

        overflow: hidden;

        border-radius: 0;
    }

    body.home .biobey-home-hero .wp-block-media-text__media img {
        display: block;

        width: 100%;
        height: 100%;
        min-height: 620px;

        object-fit: cover;
        object-position: center center;

        border-radius: 0;
    }
}


/* =========================================================
   HOMEPAGE TABLET
   ========================================================= */

@media (max-width: 900px) {

    body.home .biobey-home-hero.alignfull {
        position: relative !important;

        left: auto !important;
        right: auto !important;

        transform: none !important;

        display: block;

        width: 100vw !important;
        max-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        min-height: 0;

        border-radius: 0;
    }

    body.home .biobey-home-hero .wp-block-media-text__content {
        width: 100%;

        box-sizing: border-box;

        padding: 44px 38px 42px;

        text-align: center;
    }

    body.home .biobey-home-hero-label,
    body.home .biobey-home-hero-title,
    body.home .biobey-home-hero-text {
        text-align: center;
    }

    body.home .biobey-home-hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    body.home .biobey-home-hero-offer {
        text-align: center;
    }

    body.home .biobey-home-hero-buttons {
        justify-content: center;
    }

    body.home .biobey-home-hero .wp-block-media-text__media {
        width: 100%;

        height: auto;
        min-height: 0;

        aspect-ratio: 3 / 2;

        margin: 0;

        overflow: hidden;

        border-radius: 0;
    }

    body.home .biobey-home-hero .wp-block-media-text__media img {
        display: block;

        width: 100%;
        height: 100%;
        min-height: 0;

        object-fit: cover;
        object-position: center 66%;

        border-radius: 0;
    }
}


/* =========================================================
   HOMEPAGE MOBIEL
   ========================================================= */

@media (max-width: 600px) {

    body.home .biobey-home-hero .wp-block-media-text__content {
        padding: 32px 22px 34px;
    }

    body.home .biobey-home-hero-label {
        margin-bottom: 12px;

        font-size: 11px;
        line-height: 1.35;
    }

    body.home .biobey-home-hero-title {
        margin-bottom: 18px;

        font-size: 34px;
        line-height: 1.1;
    }

    body.home .biobey-home-hero-text {
        margin: 0 auto 20px;

        font-size: 16px;
        line-height: 1.55;
    }

    body.home .biobey-home-hero-offer {
        margin: 0 0 22px;
        padding: 6px 0;

        text-align: center;
    }

    body.home .biobey-home-hero-buttons {
        justify-content: center;
    }

    body.home .biobey-home-hero-button {
        width: auto;
        min-width: 280px;
    }

    body.home .biobey-home-hero-button .wp-block-button__link {
        width: 100%;

        text-align: center;

        border-radius: 0;
    }

    body.home .biobey-home-hero .wp-block-media-text__media {
        width: 100%;

        height: auto;
        min-height: 0;

        aspect-ratio: 4 / 3;
    }

    body.home .biobey-home-hero .wp-block-media-text__media img {
        width: 100%;
        height: 100%;
        min-height: 0;

        object-fit: cover;
        object-position: center 72%;
    }
}
