/*------------------------------------*\
    
    Full-Width Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Full-Width Image + Text' block. 
    If there is any reasons why you would need to style this separately,
    please create a block-specific stylesheet for it (don't forget to register that block-specific stylesheet in acf-starter-blocks.php)

\*------------------------------------*/

.home-full-width-image-text {
    position: relative;
}

.home-full-width-image-text__img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;    
}

.home-full-width-image-text__content {
    padding: 0;
    position: relative;
    z-index: 2;
    padding: 60px 2px;
    text-align: center;
}

.home-full-width-image-text__content h2 {
    margin-bottom: 15px;
}


@media (min-width: 768px) {
    .home-full-width-image-text__img {
        position: absolute;
        height: 100%;
    }

    .home-full-width-image-text__content {
        background: var(--white);
        padding: 56px 58px;
        border-radius: 7px;
        margin: 80px auto;
        max-width: 664px;
    }

}

@media (min-width: 1200px) {
    .home-full-width-image-text__content {
        padding: 75px 54px 94px;
        margin: 150px 0;
        margin-left: auto;
        max-width: 723px;
        text-align: left;
    }

    .home-full-width-image-text__content h2 {
        margin-bottom: 10px;
    }

   .home-full-width-image-text__description .expand {
        margin-bottom: 25px;
    }
}



