/*------------------------------------*\
    
    Contained Image + Text Block Customizations - Global Styling

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

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

.image-text {
    position: relative;
    background: linear-gradient(to bottom, #E9EADF 0%, #FDFDFC 100%);
    color: #1D2620;
    z-index: 3;
}

.image-text h2 {
    font-size: 48px;
    line-height: 1.2em;
    color: #415748;
    padding-bottom: 25px;
}

.image-text .sub-heading {
    font-size: 60px;
    line-height: 0.7em;
    color: #F8A500;
    font-family: 'Janesville Script Regular';
    padding: 25px 0 10px;
}

.image-text .hour-category span {
    font-size: 16px;
    font-weight: 700;
    line-height:1em;
    color: #415748;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0 0 0;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    width: 150px;
    background-color: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.image-text .hour-category span::after {
	content: "";
	width: 100%;
	height: 2px;
    background: rgba(167, 189, 174, 0.5);
    margin: 8px 0 0 6px;
}

.image-text .hour-category::before { display: none; }

.image-text .hour-category p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3em;
    color: #1D2620;
    padding: 0 0 10px;
    display: block;
}

.image-text .hour-info { margin-top: -6px; }

.image-text .hour-category::before { background-color: #415748; }

.image-text__info .btn { margin-top: 25px; }

.bg-swirls {
    position: absolute;
    bottom: 0;
    right: 0
}

.bg-swirls img { opacity: 0.07; }

.thyme {
    position: absolute;
    top: 15px;
    right: -390px;
    width: 720px;
    transform: rotate(27deg);
}

.image-text .container {
    position: relative;
    z-index: 999;
}

.wine-stains {
    position: absolute;
    left: -17px;
    bottom: 23px;
    z-index: 999;
}

.image-text--inner {
    padding: 80px 0 0;
    color: #1D2620;
    margin-top: 0px;
    background: transparent;
    z-index: 9;
}

.image-text--inner h2 {
    font-size: 32px;
    color: #415748;
    padding-bottom: 25px;
}

.image-text--inner h4 { padding: 0 0 10px; }

.image-text--inner .image-text__image { margin-bottom: 30px; }

.image-text--inner .image-text__info .btn { margin-top: 0; }

.red-image-right {
    position: absolute;
    right: -77px;
    top: 97px;
}

.red-image-left {
    position: absolute;
    right: 0;
    top: -93px;
    z-index: 9;
}


@media (min-width: 768px) {
    .image-text--inner.image-text {
        /*padding: 80px 0 0;*/
        margin-top: 0;
    }

    .image-text__wrapper { max-width: 540px; }

    .image-text h2 {
        font-size: 63px;
        padding-bottom: 35px;
        max-width: 545px;
    }
    
    .image-text .sub-heading {
        font-size: 80px;
        padding: 25px 0 20px;
    }

    .read-more__wrapper p { font-size: 17px; }
    
    .hour-col {
        padding-bottom: 24px;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .image-text--inner .image-text__image {
        float: left;
        width: 260px;
        margin: 5px 31px 20px 0;
    }

    .image-text--inner .image-text__wrapper { max-width: 100%; }

    .image-text--inner.image-text .sub-heading {
        font-size: 67px;
        padding: 0 0 5px;
    }

    .image-text--inner h2 {
        font-size: 42px;
        padding-bottom: 35px;
        max-width: 100%;
    }

    .image-text--right-image h2 { padding-bottom: 15px; }

    .red-image-right {
        right: -176px;
        top: -26px;
        max-width: 300px;
    }
}


@media (min-width: 1200px) {
    /*.image-text--inner.image-text { padding: 200px 0 0 0; }*/

    .image-text__wrapper {
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
    }

   .image-text--right-image .image-text__wrapper { flex-direction: row-reverse; }

    .image-text h2 {
        font-size: 83px;
        padding-bottom: 35px;
        max-width: 1038px;
        position: relative;
        z-index: 99;
    }

    .image-text__image { width: 544px; }

    .image-text__info {
        width: calc(100% - 544px);
        padding-left: 58px;
    }

    .image-text--right-image .image-text__info {
        padding-left: 0;
        padding-right: 58px;
    }

    .image-text .sub-heading { padding: 20px 0 0; }

    .thyme {
        top: -360px;
        right: -960px;
        width: 1069px;
        z-index: 9;
        transform: rotate(0deg);
    }

    .image-text--inner .image-text__image {
        float: none;
        width: 544px;
        margin: 0;
    }

    .image-text--inner h2 {
        font-size: 65px;
        padding-bottom: 35px;
    }

    .image-text--right-image h2 { padding-bottom: 18px; }

    .image-text--right-image .image-text__info--wrapper {
        max-width: 780px;
        float: right;
    }

    .red-image-left { display: none; }

    .image-text--inner.image-text .sub-heading { font-size: 80px; }
}

@media (min-width: 1366px) {
    .image-text__info { padding-right: 80px; }

    .thyme {
        top: -370px;
        right: -680px;
    }

    .image-text__info .btn { margin-top: 30px; }

    .bg-swirls { right: -537px; }

    .bg-swirls img { opacity: 0.2 }

    .image-text--right-image .image-text__info--wrapper { padding-right: 70px; }

    .image-text--right-image.image-text { padding-top: 190px; }

    .red-image-right {
        right: -100px;
        top: 0px;
        max-width: 300px;
    }

    .red-image-left {
        position: absolute;
        right: inherit;
        top: inherit;
        left: 0;
        bottom: -200px;
        display: block;
        max-width: 200px;
    }
}

@media (min-width: 1600px) {
    .thyme {
        top: -350px;
        right: -510px;
    }

    .red-image-right {
        right: 0px;
        top: 0px;
        max-width: 100%;
    }

    .red-image-left {
        max-width: 100%;
        bottom: -280px;
    }
}