/**
* 2007-2022 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2022 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.text-image-block {
    margin-bottom: 5.65em;
}
.text-image-block .block-title {
    margin-bottom: 0.45em;
}
.text-image-block .columns-wrapper {
    display: flex;
    justify-content: space-between;
}
.text-image-block .image-column {
    display: flex;
    align-items: center;
    width: 49.04%;
}
.text-image-block .image-wrapper {
    width: 100%;
    height: 100%;
}
.text-image-block img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.text-image-block .text-column {
    display: flex;
    align-items: center;
    width: 40.8%;
}
.text-image-block .text {
    margin-bottom: 9.7%;
}
.text-image-block .text p {
    margin-bottom: 1.5em;
}
.text-image-block .text p:last-child {
    margin-bottom: 0;
}
.text-image-block-decor .columns-wrapper {
    flex-direction: row-reverse;
    background-color: var(--orange);
    position: relative;
    padding: 5.25%;
}
.text-image-block-decor .text-decor {
    color: var(--white);
    font-size: 2.777vw;
    margin-bottom: 0;
    position: absolute;
}
.text-image-block-decor .text-decor.horizontal {
    top: 0.8vw;
    right: 5.25%;
}
.text-image-block-decor .text-decor.vertical {
    transform: rotate(90deg);
    top: 12.0vw;
    right: -5.4vw;
}
.text-image-block-decor .image-column {
    width: 45.06%;
}
.text-image-block-decor .text-column {
    width: 49.1%;
    padding-left: 3.6%;
    padding-bottom: 1.7vw;
}
.text-image-block-decor .subtitle {
    color: var(--white);
}
.text-image-block-decor .text {
    color: var(--white);
}
.text-image-block-decor .button {
    color: var(--orange);
    background-color: var(--white);
    border-color: var(--white);
}
.text-image-block-decor .button:hover {
    color: var(--white);
    background-color: var(--orange);
}

@media screen and (max-width: 991px) {
    .text-image-block {
        margin-bottom: 12.3%;
    }
    .text-image-block:last-child {
        margin-bottom: 0;
    }
    .text-image-block .columns-wrapper {
        flex-direction: column;
    }
    .text-image-block .image-column {
        width: 100%;
        height: 70vw;
        margin-bottom: 1.5em;
    }
    .text-image-block .text-column {
        width: 100%;
    }
    .text-image-block .subtitle {
        margin-bottom: 0.7em;
    }
    .text-image-block .text {
        margin-bottom: 7.7%;
    }
    .text-image-block-decor {
        background-color: var(--orange);
    }
    .text-image-block-decor .columns-wrapper {
        background-color: transparent;
        padding: 14% 0;
    }
    .text-image-block-decor .image-column {
        width: 91.84%;
    }
    .text-image-block-decor .text-decor {
        font-size: 7.6vw;
    }
    .text-image-block-decor .text-decor.horizontal {
        top: 3.3vw;
        right: 8.25%;
    }
    .text-image-block-decor .text-decor.vertical {
        top: 34vw;
        right: -23.0vw;
    }
    .text-image-block-decor .text-column {
        padding-left: 0;
        padding-bottom: 0;
    }
}


@media screen and (max-width: 767px) {
    .text-image-block .image-column {
        height: auto;
    }
    .text-image-block .text {
        margin-bottom: 14.7%;
    }
    .text-image-block-decor .text-column {
        padding-bottom: 5.5vw;
    }
}
