/*
* 2025 Hugo Herreros
*
* NOTICE OF LICENSE
*
*  @author    Hugo Herreros <info@hugoherreros.com>
*  @copyright 2025 Hugo Herreros
*  @license   Property of Hugo Herreros Non redistributable.
*/

/*#home_highlight{
    padding-top: 8rem;
    padding-bottom: 6.5rem;
}*/

@media (min-width: 1200px) {
    .home_highlight_container{
        max-width: 1175px;
        width: auto;
    }
}



#home_highlight_swiper{
    overflow: hidden;
    position: relative;
}

.home_highlight_item {
    display: flex;
    max-width: 1175px;
    margin-left: auto;
    margin-right: auto;
}

.home_highlight_item .image-container{
    width: 55%;
    position: relative;
    padding-right: 15%;
}

.home_highlight_item .text-container{
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home_highlight_item .text-container .text-container-inner{
    border-top: 1px solid #C82A8C;
    border-bottom: 1px solid #C82A8C;
    padding: 3.5rem 0;
}

.home_highlight_item .grey-rectangle{
    background-color: #F3F2F0;
    width: 65%;
    height: 90%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.home_highlight_item .image-container img{
    max-width: 90%;
    margin-top: 10%;
    margin-left: 10%;
    position: relative;
    z-index: 2;
}

.highlight-title{
    font-family: 'Didot', serif, Sans-serif;
    font-size: 2.5rem;
    line-height: 3rem;
    max-width: 275px;
    margin-bottom: 1rem;
}

.highlight-text{
    font-size: 1.125rem;
    line-height: 1.5rem;
    margin-bottom: 2rem;
}

.highlight-button{
    background-color: #C82A8C;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 1.125rem;
    padding: 1rem 4.375rem;
}

#home_highlight_swiper .swiper-buttons-container{
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
}

#home_highlight_swiper .swiper-button-next,
#home_highlight_swiper .swiper-button-prev{
    position: relative;
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
    color: #1D1D1B;
    opacity: 1;
    border: 1px solid #C82A8C;
    width: 46px;
    height: 46px;
    border-radius: 50px;
}

#home_highlight_swiper .swiper-button-next:after,
#home_highlight_swiper .swiper-button-prev:after {
    color: #1D1D1B;
    font-size: 26px;
    padding-right: 2px;
    font-weight: 300;
}

#home_highlight_swiper .swiper-button-next.swiper-button-disabled,
#home_highlight_swiper .swiper-button-prev.swiper-button-disabled{
    opacity: 0.3;
}

#home_highlight_swiper .swiper-button-prev{
    margin-right: 0.75rem;
}

@media (max-width: 991px) and (min-width: 768px) {
    .home_highlight_item .image-container {
        width: 50%;
        padding-right: 10%;
    }
    .home_highlight_item .text-container {
        width: 50%;
    }
    #home_highlight_swiper {
        padding: 4rem 0 0;
    }
    .home_highlight_item .text-container .text-container-inner {
        padding: 1.5rem 0;
    }
    .highlight-title {
        font-size: 2rem;
        max-width: 100%;
    }
}


@media (max-width: 767px){
    .home_highlight_item{
        flex-wrap: wrap;
    }
    .home_highlight_item .image-container,
    .home_highlight_item .text-container{
        width: 100%;
    }
    .home_highlight_item .image-container{
        display: flex;
        justify-content: center;
        margin-bottom: 3rem;
        padding: 0;
    }
    .home_highlight_item .grey-rectangle,
    .home_highlight_item .image-container img{
        width: 65%;
    }
    .home_highlight_item .grey-rectangle{
        left: auto;
    }
    .home_highlight_item .text-container .text-container-inner{
        border-top: none;
        border-bottom: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .highlight-text{
        font-size: 1rem;
    }
    .highlight-button{
        font-size: 1.286rem;
    }
    #home_highlight_swiper {
        padding-bottom: 8rem;
    }
    #home_highlight_swiper .swiper-buttons-container{
        top: auto;
        bottom: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    #home_highlight_swiper .swiper-button-prev{
        margin-right: 0.4rem;
    }
    #home_highlight_swiper .swiper-button-next{
        margin-left: 0.4rem;
    }
    #home_highlight{
        border-bottom: 1px solid #C82A8C;
    }
}