.home-image-text__item + .home-image-text__item {
    margin-top: 8px;
}

.home-image-text__image {
    background: none;
    display: block;
}

.home-image-text__image {
    position: relative;
    height: 100px;
    width: 100%;
}

.home-image-text__image img {
    border-radius: 4px;
}

.home-image-text__image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 44px;
    left: 0;
    bottom: 0;
    border-radius: 4px;
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%);
}

.home-image-text__bottom {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 10px 8px;
}

.btn-tertiary--shadow {
    padding: 7px 36px 7px 0;
    color: #fff;
    display: block;
    width: 100%;
    text-align: left;
    transition: none;
    font-weight: 600;
}

.btn-tertiary--shadow::before {
    content: '\e901';
    font-size: 22px;
    color: #fff;
    z-index: 1;
    right: 5px;
}

.btn-tertiary--shadow::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    background: #EF3D23;
    margin-top: -2px;
}

.home-image-text__text h4 {
    font-weight: 600;
    letter-spacing: 0.1em;
}

@media (min-width: 320px) {
    .home-image-text__image {
        height: 220px;
    }

    .home-image-text__image img {
        border-radius: 8px;
    }
}

@media (min-width: 768px) {
    .home-image-text__upper-content {
        margin-bottom: 35px;
    }

    .home-image-text__item + .home-image-text__item {
        margin-top: 20px;
    }
    
    .home-image-text__image {
        height: 220px;
    }
    
    .home-image-text__image img {
        border-radius: 8px;
    }
    
    .home-image-text__image::before {
        height: 90px;
        border-radius: 8px;
    }
    
    .home-image-text__bottom {
        padding: 22px;
    }
    
    .btn-tertiary--shadow {
        display: inline-block;
        padding-right: 46px;
        width: auto;
    }
    
}

@media (min-width: 1200px) {
    .home-image-text__upper-content {
        margin-bottom: 60px;
    }

    .home-image-text__item + .home-image-text__item {
        margin-top: 75px;
    }

    .home-image-text__item .flex-row {
        align-items: flex-end;
        justify-content: space-between;
        align-items: center;
    }

    .home-image-text__text {
        width: 401px;
        padding-right: 28px;
    }
    
    .home-image-text__image {
        height: 330px;
        width: calc(100% - 431px);
    }
    
    
    .home-image-text__image::before {
        height: 135px;
    }
    
    .home-image-text__bottom {
        padding: 20px;
        width: auto;
        z-index: 1;
    }

    .home-image-text__link--right .home-image-text__bottom {
        left: auto;
        right: 0;
    }

    .home-image-text__image .home-image-text__bottom::before  {
        content: '';
        position: absolute;
        width: calc(100% + 44px);
        height: calc(100%  + 40px);
        left: 0;
        bottom: 0;
        opacity: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        transition: opacity 0.3s ease-in-out,
                    bottom 0.3s ease-in-out,
                    left 0.3s ease-in-out;
    }
    
    .btn-tertiary--shadow {
        padding-right: 60px;
        letter-spacing: 0.25em;
        transition: 0.3s ease-in-out;
    }
    
    .btn-tertiary--shadow::before {
        font-size: 29px;
        right: 8px;
    }
    
    .btn-tertiary--shadow::after {
        width: 37px;
        height: 37px;
    }

    .home-image-text__text h4 {
        font-size: 28px;
        line-height: 1.428em;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 20px;
        color: var(--color-black);
    }
    
    .home-image-text__text p {
        color: var(--color-black);
    }

   .home-image-text__image:hover .home-image-text__bottom::before  {
        left: -22px;
        bottom: -20px;
        opacity: 1;
    }

    .home-image-text__image:hover .btn-tertiary--shadow {
        color: #EF4024;
    }

    .home-image-text__image::after {
        content: '\e906';
        font-family: 'amiano-icon';
        position: absolute;
        right: -19px;
        bottom: -8px;
        color: #F4EFE8;
        font-size: 233px;
        line-height: 0.5em;
        opacity: 0.12;
        height: 110px;
        overflow:hidden;
        font-weight: normal;
    }

    .home-image-text__link--right .home-image-text__image::after {
        left: 27px;
        font-size: 357px;
        opacity: 0.25;
        height: 150px;
        bottom: 0;
    }
    
}

.home-image-text--in-the-news {
    .home-image-text__text {
        img {
            width: 150px;
            height: auto;
        }
    }

    .home-image-text__text {
        margin-top: 30px;
    }

    .home-image-text__item + .home-image-text__item {
        margin-top: 40px;
    }

    img.alignright, .wp-caption.alignright {
        float: right;
        margin-left: 30px;
    }

    img.alignleft, .wp-caption.alignleft {
        float: left;
        margin-right: 30px;
    }
}

@media (min-width: 1200px) {
    .home-image-text--in-the-news {
        .home-image-text__image {
            width: 45%;
        }

        .home-image-text__text {
            width: 55%;
        }

        .home-image-text__text {
            padding: 0 28px;
        }

        .home-image-text__text {
            margin-top: 0;
        }

        .home-image-text__item + .home-image-text__item {
            margin-top: 50px;
        }
    }
}