/*------------------------------------*\
    
    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;
}

.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__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--direct-overlay h1,
.full-width-image-text--direct-overlay h2,
.full-width-image-text--direct-overlay h3,
.full-width-image-text--direct-overlay h4,
.full-width-image-text--direct-overlay h5,
.full-width-image-text--direct-overlay h6,
.full-width-image-text--direct-overlay a:not(.btn),
.full-width-image-text--direct-overlay ol li,
.full-width-image-text--direct-overlay ul li,
.full-width-image-text--direct-overlay .full-width-image-text__headline,
.full-width-image-text--direct-overlay .sub-heading,
.full-width-image-text--direct-overlay .sub-heading::before,
.full-width-image-text--direct-overlay .full-width-image-text__content p {
    color: #fff;
}

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

.full-width-image-text__headline span {
    font-weight: 400;
}

.full-width-image-text__description .btn-secondary {
    color: #fff;
    border-color: #fff;
} 

.full-width-image-text__description .btn-tertiary {
    color: #FFCC00;
    background: linear-gradient(to bottom, rgba(255,204,0, 0.45) 0%, rgba(255,204,0, 0.45) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 3px 6px;
} 

.full-width-image-text__description .btn-tertiary::before {
    color: #FFCC00;
}

.full-width-image-text__description .btn-secondary:hover {
    color: #000;
} 

.full-width-image-text__description .btn-tertiary:hover {
    background: linear-gradient(to bottom, rgba(255,204,0, 0.25) 0%, rgba(255,204,0, 0.25) 100%);
    background-repeat: repeat-x;
    background-size: 2px 30px;
    background-position: 0 100%;
}

.full-width-image-text__description__btn {
    display: flex;
    flex-direction: column;
}

.full-width-image-text__description__btn .btn+.btn {
    margin-top: 25px;
}


@media(min-width: 768px) {
    .full-width-image-text__description__btn {
        flex-direction: row;
        align-items: center;
    }

    .full-width-image-text__description__btn .btn+.btn {
        margin-top: 0;
        margin-left: 32px;
    }
}