/*------------------------------------*\
    
    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)

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

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

.full-width-image-text > *,
.full-width-image-text h1,
.full-width-image-text h2,
.full-width-image-text h3,
.full-width-image-text h4,
.full-width-image-text h5,
.full-width-image-text h6 { color: #fff; }

.full-width-image-text h1 { font-size: 40px; }

.full-width-image-text h2 { font-size: 42px; }

.full-width-image-text__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 2;
    display: block;
}


.full-width-image-text .container{
    z-index: 4;
    box-shadow: 0 1px 30px 0 rgb(0 0 0 / 10%); 
}

.full-width-image-text__content {
    padding: 0;
    position: relative;
    z-index: 3;
}

.full-width-image-text__content { padding: 65px 0 75px; }

@media (min-width: 768px) {
    .full-width-image-text__content { padding: 50px; }

    .full-width-image-text__img { display: block; }

    .full-width-image-text__content { padding: 100px 0 110px; }
}

@media (min-width: 1025px) {
    .full-width-image-text__content {
        padding: 100px 0;
        max-width: 646px;
        margin: 0 auto;
    }
}

/* Overlay Color */
.full-width-image-text--direct-overlay:before {
    content: '';
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .65;
    background-color: #000;
    display: block;
}

/* Full-Width Image + Text - Text Box Overlay */
.full-width-image-text--box-overlay .full-width-image-text__content {
    background-color: #fff;
    border-radius: 4px; 
    box-shadow: 0 1px 30px 0 rgb(0 0 0 / 10%); 
}

.full-width-image-text__top-brush {
    position: absolute;
    z-index: 2;
    height: 48px;
    top: -40px;
    object-fit: cover;
    display: block;
}

.full-width-image-text__bottom-brush {
    position: absolute;
    z-index: 2;
    height: 12px;
    bottom: -0;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .full-width-image-text--direct-overlay:before { opacity: .39; }
}
@media (min-width: 1200px) {
    .full-width-image-text__top-brush { top: -30px; }
}