/*------------------------------------*\
    
    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;
    background-color: #000000;
    padding: 100px 0;
    color: #fff;
}

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

.full-width-image-text--direct-overlay:before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.71);
    display: block;
}

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

.full-width-image-text__headline {
    margin-top: 0;
}

.full-width-image-text__description :last-child {
    margin-bottom: 0;
}

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

.full-width-image-text__content h2,
.full-width-image-text__content h3,
.full-width-image-text__content h4,
.full-width-image-text__content h5,
.full-width-image-text__content h6 {
    color: inherit;
}

@media (max-width: 767px) {
    .full-width-image-text__content a:active, 
    .full-width-image-text__content a:focus, 
    .full-width-image-text__content a:hover {
        text-decoration: underline;
    }
}

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

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

@media (min-width: 1025px) {
    .full-width-image-text__content {
        padding: 100px 70px;
    }
    
}

@media (min-width: 1200px) {
    .full-width-image-text {
        padding: 120px 0;
    }
    
}

/* Full-Width Image + Text - Direct Text Overlay */
.full-width-image-text--direct-overlay .full-width-image-text__content {
    padding: 0 20px;
}

.full-width-image-text--direct-overlay .full-width-image-text__content {
    padding: 0 0;
}

.full-width-image-text--direct-overlay .full-width-image-text__content p span {
    font-weight: 700;
}

.full-width-image-text--direct-overlay .full-width-image-text__headline,
.full-width-image-text--direct-overlay .full-width-image-text__description p {
    color: #fff;
}


.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-icon-section {
    margin-top: 10px;
}

.icon-column {
    margin-top: 20px;
    background: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, .25 );
    border-bottom: 8px solid #D11040;
    border-radius: 5px;
    text-align: left;
}

.icon-column a {
    padding: 17px 36px 17px 20px;
    display: block;
    border: none;
    width: 100%;
    height: 100%;
}

.icon-column h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2E2E2E;
    text-transform: uppercase;
    position: relative;
    padding: 0;
}

.icon-column h4::before {
    content: "\e906";
    font-family: 'icomoon';
    position: absolute;
    right: -10px;
    top: 0;
    font-size: 18px;
    color: #2E2E2E;
}

@media (min-width: 768px) {
    .icon-card-wrapper {
        box-sizing: border-box;
        display: flex;
        flex: 0 1 auto;
        flex-direction: row;
        flex-wrap: wrap;
        margin-right: -16px;
        margin-left: -16px;
        justify-content: center;
        text-align: center;
    }
      
    .icon-column {
        box-sizing: border-box;
        flex: 0 0 auto;
        flex-basis: auto;
        padding-right: 0;
        padding-left: 0;
        margin: 17px 16px;
        width: calc(25% - 32px);
        background: rgba(255, 255, 255, .90 );
        box-shadow: 0 0 15px rgba(0, 0, 0, .16);
        text-align: center;
    }

    .icon-column a {
        padding: 17px 10px;
    }

    .icon-column h4::before {
        display: none;
    }

    .icon-column h4 {
        font-size: 18px;
        line-height: 1.3em;
        padding-top: 10px;
    }
}

@media (min-width: 1200px) {
    .icon-column {
        width: calc(50% - 32px);
    }

    .icon-column a {
        padding: 25px 20px 15px;
    }

    .icon-card-wrapper {
        max-width: 430px;
        margin: 0 auto;
    }

    .full-width-image-icon-section {
        margin-top: 0;
    }

    .icon-column:hover {
        background: rgba(255, 255, 255, 1 )
    }

}

