/*------------------------------------*\
    
    Half & Half Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Half & Half 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-start-blocks.php)

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

.half-and-half {
    overflow: hidden;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.half-and-half-image,
.half-and-half-text {
    position: relative;
    width: 100%;
    z-index: 1;
}

.half-and-half-image img {
    height: 100%;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    -o-object-fit: cover;
}

.half-and-half {
    position: relative;
}

.half-and-half--home {
    padding: 60px 22px;
}

.half-and-half-image {
    height: 250px;
}

.half-and-half--home .half-and-half-image {
    height: 200px;
}

.half-and-half-image img {
    border-radius: 3px;
}

.half-and-half-text {
    padding: 60px 22px;
}

.half-and-half--home .half-and-half-text {
    padding: 25px 0 0 0;
}

.half-and-half-text .read-more__box {
    max-height: 440px;
    margin-bottom: 10px;
}

.bg-navy-blue .since {
    color: var(--white);
}

.since {
    color: var(--navy);
    font-family: "Koh Santepheap", serif;
    font-size: 3.75rem;
    font-style: normal;
    font-weight: 300;
    line-height: 0.8em;
    text-transform: uppercase;
    opacity: 0.08;
    position: absolute;
    bottom: 0;
    right: 33px;
}

.half-and-half-text__wrapper ul.text-lg {
    margin-left: 0;
}

.half-and-half-text__wrapper ul.text-lg li::before {
    background: var(--gold);
}

.half-and-half-text__wrapper ul.text-lg li {
    padding-left: 22px;
}

.half-and-half-text__wrapper ul.text-lg li::before {
    top: 11px;
    width: 8px;
    height: 8px;
    background: var(--gold);
}

@media (min-width: 768px) {

    .half-and-half--home {
        padding: 80px 52px;
    }

    .half-and-half-image {
        height: 400px;
    }

    .half-and-half--home .half-and-half-image {
        height: 325px;
    }

    .half-and-half-text {
        padding: 80px 52px;
    }

    .half-and-half--home .half-and-half-text {
        padding: 30px 0 0 0;
    }

    .half-and-half-text .read-more__box {
        max-height: 340px;
    }

    .half-and-half-text ul {
        margin-left: 8px;
    }

    .since {
        font-size: 5.625rem;
        right: 52px;
    }
}

@media (min-width: 1200px) {

    .flex-opposite {
        flex-direction: row-reverse;
    }

    .half-and-half {
        padding: 0 0;
    }

    .half-and-half-image,
    .half-and-half-text {
        width: 50%;

    }

    .half-and-half-text {
        padding: 120px 63px;
    }

    .half-and-half-image {
        height: auto;
    }

    .half-and-half--home .half-and-half-image {
        height: auto;
        width: calc(50% + 17px);
    }

    .half-and-half-image img {
        position: absolute;
    }

    .half-and-half--home .half-and-half-text {
        margin-top: 0;
        width: calc(50% - 17px);
        padding: 120px 63px;
    }

    .half-and-half-text .read-more__box {
        max-height: 570px;
    }

    .since {
        font-size: 6.25rem;
        right: 50%;
        margin-right: 65px;
    }

    .image-block-left .since {
        right: 0;
        left: unset;
        margin-left: 0;
        margin-right: 63px;
    }

    /* .half-and-half-text__wrapper {
        max-width: 508px;
    }

    .image-block-right .half-and-half-text__wrapper {
        margin-left: auto;
    } */

    .image-block-right .half-and-half-text {
        padding-right: 124px;
    }

    .image-block-left .half-and-half-text {
        padding-left: 124px;
    }

    .half-and-half--home.image-block-right .half-and-half-text {
        padding-right: 106px;
    }


    .half-and-half-text ul {
        margin-left: 10px;
    }

    .half-and-half-text .expand {
        margin-top: 15px;
    }

    .half-and-half-text .read-more__box {
        margin-bottom: 20px;
    }

    .half-and-half-text__wrapper ul.text-lg li {
        line-height: 1.3em;
        font-size: 1.25rem;
    }

    .half-and-half-text__wrapper ul.text-lg li::before {
        top: 8px;
    }
}

@media (min-width: 1400px) {
    .since {
        margin-right: 114px;
    }
}

@media (min-width: 1600px) {
    .since {
        font-size: 7.8125rem;
        left: 0;
        margin-left: 63px;
    }
}

@media (min-width: 1920px) {
    .since {
        font-size: 8.125rem;
    }
}