/*
    Theme Name:   location-jonzac
 Theme URI:    https://residenceczarny.fr
 Description:  location-jonzac theme
 Author:       Nicolas Métivier & Thomas Bleneau
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light
 Text Domain:  location-jonzac
*/


/*************************************
      BLOCK ARTICLES WITH TEXT
**************************************/

.articles-with-text-content {
    max-width: 100%;
    margin-left: auto;
    padding-right: 80px;
}

.articles-with-text {
    background: white;
    padding: 0vh 0;
}

.articles-with-text .offset-lg-2 {
    position: unset;
}

.articles-with-text h3 {
    color: #3A6860;
    font-size: 15px;
    letter-spacing: 4px;
    line-height: 18px;
    margin: 0 0 20px;
    text-transform: uppercase;
    font-weight: normal;
}

.articles-with-text h2 {
    color: #222222;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 42px;
    margin: 0 0 45px;
}

.articles-with-text p {
    color: #222222;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 28px;
    margin: 0;
    max-width: 300px;
}

.articles-with-text p + p {
    margin-top: 20px;
}

.articles-with-text a.articles-with-text-slider-item span:not(.articles-with-text-slider-date),
.articles-with-text a:not(.articles-with-text-slider-item) {
    color: #222222;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 19px;
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
}

.articles-with-text a.articles-with-text-slider-item span:not(.articles-with-text-slider-date) {
    color: white;
    font-weight: normal;
    margin: 50px 0 0;
}

.articles-with-text a.articles-with-text-slider-item span:not(.articles-with-text-slider-date)::after {
    content: url(../../../assets/img/svg/arrow-read-more-white.svg);
    display: block;
    position: relative;
    margin-left: 10px;
    top: -2px;
}

.articles-with-text a:not(.articles-with-text-slider-item)::after {
    content: url(../../../assets/img/svg/arrow-read-more.svg);
    display: block;
    position: relative;
    margin-left: 10px;
    top: -2px;
}

.articles-with-text .articles-with-text-prev {
    transform: rotate(180deg);
    margin-right: 10px;
}

.articles-with-text .articles-with-text-next, .articles-with-text .articles-with-text-prev {
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.5);
    width: 38px;
    height: 38px;
    display: flex;
    background: url(../../../assets/img/svg/chevron.svg) no-repeat center;
    background-size: 28px 28px;
}

.articles-with-text .articles-with-text-slider {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #18234F;
    padding: 200px 0;
    padding-left: 80px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.articles-with-text .articles-with-text-slider li {
    margin: 0;
    padding: 0;
    width: 270px;
}

.articles-with-text .articles-with-text-slider li + li {
    margin-left: 30px;
}

.articles-with-text .articles-with-text-slider img {
    height: 180px;
    width: 270px;
    border-radius: 5px;
    object-fit: cover;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.28);
    margin: 0 0 15px;
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.28);

}

.articles-with-text .articles-with-text-slider h4 {
    color: #FFFFFF;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 21px;
    font-weight: normal;
    margin: 0 0 5px;
}

.articles-with-text .articles-with-text-slider p {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 22px;
}

.articles-with-text .articles-with-text-slider .articles-with-text-slider-date {
    color: #979797;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 15px;
    margin: 0 0 10px;
}

@media only screen and (max-width: 992px) {
    .articles-with-text .articles-with-text-slider {
        padding-left: 50px;
    }

    .articles-with-text-content {
        padding-right: 50px;
        padding-right: 50px;
        margin: 0;
        padding-left: 80px;
    }
    .articles-with-text .articles-with-text-slider {
        list-style: none;
        margin: 0;
        background: #18234F;
        padding: 150px 50px;
    }
}

@media only screen and (max-width: 768px) {

    .articles-with-text h2 {
        font-size: 34px;
        line-height: 34px;
        white-space: unset;
    }

    .articles-with-text .articles-with-text-slider {
        padding: 0px;
        padding-left: 65px;
    }

    .articles-with-text p {
        max-width: 100%;
        font-size: 15px;
    }

    .articles-with-text-content {
        margin-left: 0;
        padding-left: 50px;
        margin-bottom: 140px;
    }

    .slick-list {
        transform: translateY(-90px) !important;
    }
}

@media only screen and (max-width: 575px) {

    .articles-with-text h2 {
        font-size: 24px;
        line-height: 24px;
        white-space: unset;
    }
}

@media only screen and (max-width: 420px) {
    .articles-with-text-content {
        padding-left: 5px;
    }

    .articles-with-text .articles-with-text-slider {
        padding: 0px 0px 0px 20px;
    }
}
