/* featured */
.blog_home_featured_articles {
    display: grid;
    /*font-family: var(--font-family-1-1);*/
    padding: 3.75rem 1rem;
}

.blog_home_section_title {
    font-family: var(--font-family-1);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 1.875rem;
    padding: 0 0 0.875rem;
    /* text-transform: uppercase; */
    /* border-bottom: 1px solid var(--gray-dark-7, #CCCCCC); */
    color: var(--brand-blue);
    line-height: 30px;
}

.blog_home_container__desktop {
    display: grid;
    gap: 1.5rem;
}

.blog_home_vehicle_card {
    position: relative;
    max-height: 319px;
    height: 319px;
}

.blog_home_vehicle_card:first-of-type {
    position: relative;
    max-height: 330px; 
    height: 330px; 
    /* height: auto;
    max-width: 100%;    */
}

@media (min-width: 511px) and (max-width: 1367px) {
    .blog_home_vehicle_card {
        /* position: relative; */
        height: auto;
        max-width: 100%; 
    }
    .blog_home_container__desktop:not(.two_cards) .blog_home_vehicle_card:first-of-type {
        /* max-height: 686px; */
        height: auto;
        max-width: 100%;
    }
}

.blog_home_vehicle_card__content {
    font-family: var(--font-family-2);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    padding: 1rem;
    color: white;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.4) 35.83%, rgba(0, 0, 0, 0) 63.99%);
    height: 100%;
}

.blog_home_card__category {
    border-radius: 1.5625rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    background-color: var(--gray-dark-5);
    color: var(--brand-gray-1);
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 16.95px;
}

.blog_home_card__paragraph {
    font-family: var(--font-family-1);
    font-size: var(--title-5);
    font-weight: var(--weight-normal);
    margin: 1rem 0;
    line-height: 29.3px;
}

.blog_home_card__date {
    font-family: var(--font-family-2);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 20.58px;
}

.blog_home_vehicle_card__img {
    position: relative;
    width: 100%;
    height: 100%;
    /* max-height: 319px; */
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 0;
    /* -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,3) 40%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,3) 40%); */
}

    .blog_home_vehicle_card__img::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(to bottom, transparent, black);
        opacity: 0.8;
        pointer-events: none;
    }

/*.blog_home_vehicle_card:first-of-type .blog_home_vehicle_card__img {
    max-height: 330px;
}*/

/* END featured */


.blog_home_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.blog_home_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 1920px;
    font-family: var(--font-family-1);
}

.blog_home_header {
    padding: 3.125rem 0;
    width: 100%;
    text-align: center;
    background-color: var(--gray-dark-9, #F1F1F1);
}

.blog_home_header__title {
}

.blog_home_header__paragraph {
}


.blog_home_main_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 1rem;
    /* optional */
    /* background-color: var(--gray-light-6); */
    /* optional */
}

.blog_home_main_content__last_articles {
    /* width: 100%; */
    padding-right: 2rem;
    /* width: 72rem; */
}

.blog_home_main_content__actions {
    width: 100%;
    padding-right: 3rem;
    /* width: 26.125rem; */
    /* optional */
    /* background-color: chocolate; */
    /* optional */
}

.blog_campaign {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 12px, 40px, 12px, 40px;
}

.blog_campaign_img {
    /*height: 328px;*/
    width: 100%;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    gap: 161px;
    display: block;
}

.blog_campaign_see_discounts {
    position: absolute;
    top: calc(100% - 69px);
    width: 208px;
    height: 48px;
    border: none;
    border-radius: 0%;
    background: var(--brand);
    color: var(--brand-white, #fff);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 5px 12px 5px;
    font-size: var(--title-6);
}

    .blog_campaign_see_discounts:hover {
        background: var(--brand-dark);
    }

.blog_home_campaign__gradient {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 329px;
    /* background:  #00000099 ; */
    z-index: 0;
}

.blog_entry {
    position: relative;
}

.blog_social_media h1 {
    font-size: var(--title-5);
}

.blog_social_media_container {
    display: flex;
    gap: 10px;
}

.blog_home_card__link {
    text-decoration: none;
    color: var(--brand-white, #fff);
    font-weight: var(--weight-bolder);
}

    .blog_home_card__link:hover {
        color: var(--brand-white, #fff);
    }

.blog_iframe_container {
    text-align: center;
}
/* 
* Medias
*/
@media (min-width: 768px) {
    /* Featured */
    .blog_home_vehicle_card {
        max-height: 331px;
    }

        .blog_home_vehicle_card:first-of-type {
            max-height: 490px;
        }
    /* Featured */

    .blog_home_main_content {
        flex-direction: row;
        padding: 3.75rem 1.5rem;
    }
    .blog_home_featured_articles {
        padding: 3.75rem 1.5rem;
    }

    /* .blog_home_main_content__last_articles {
        max-width: 55.75vw;
        width: 55.75vw;
    } */

    .blog_home_main_content__actions {
        width: 25.9375vw;
    }
}

@media (max-width: 768px) {
    .blog_home_featured_articles {
        padding: 1.05rem 1.5rem;
    }
}


/* 
* Medias
*/
@media (min-width: 1024px) {
    /* .blog_home_main_content__last_articles {
        max-width: 62.75vw;
        width: 62.75vw;
    } */

    .blog_home_main_content__actions {
        width: 25.9375vw;
    }
}

@media (min-width: 1366px) {

    /* Featured */
    .blog_home_featured_articles {
        padding: 5.25rem 3rem;
    }

    .blog_home_container__desktop {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        max-height: 686px;
    }

        .blog_home_container__desktop.one_card {
            grid-template-columns: 1fr;
            grid-template-rows: 1fr;
        }

        .blog_home_container__desktop.two_cards .blog_home_vehicle_card {
            /* max-height: 233px; */
            height: 100%;
            /* max-height: 490px; */
        }

            /* .blog_home_container__desktop.two_cards .blog_home_vehicle_card:first-of-type {
                max-height: 490px;
            } */

        .blog_home_container__desktop:not(.two_cards) .blog_home_vehicle_card:first-of-type {
            grid-column: 1;
            grid-row: 1 / span 2;
            max-height: 686px;
            height: auto;
            max-width: 100%;
        }

            .blog_home_container__desktop:not(.two_cards) .blog_home_vehicle_card:first-of-type .blog_home_vehicle_card__img {
                max-height: 100%;
            }
    /* Featured */

    .blog_home_main_content {
        /* margin-right: 50px; */
        flex-direction: row;
        padding: 3.125rem 3rem;
    }

    /* .blog_home_main_content__last_articles {
        max-width: 52.5rem;
        width: 52.5rem;
    } */

    /* .blog_home_main_content__actions {
        max-width: 18.75rem;
        width: 18.75rem;
    } */
}

@media (min-width: 1800px) {
    /* .blog_home_main_content__last_articles {
        max-width: 72rem;
        width: 72rem;
    } */

    .blog_home_main_content__actions {
        max-width: 26.125rem;
        width: 26.125rem;
    }
}

@media (min-width: 1920px) {
    /* featured */
    .blog_home_featured_articles {
        padding: 6.25rem 3rem;
    }

    .blog_home_container__desktop {
        max-height: 686px;
    }

    .blog_home_vehicle_card {
        max-height: 331px;
        height: 331px;
    }

    .blog_home_container__desktop.two_cards .blog_home_vehicle_card:first-of-type {
        max-height: 686px;
    }

    .blog_home_container__desktop:not(.two_cards) .blog_home_vehicle_card:first-of-type {
        max-height: 686px;
    }

    .blog_home_container__desktop.two_cards .blog_home_vehicle_card {
        max-height: 686px;
    }

    .blog_home_card__paragraph {
        font-size: var(--title-5);
    }

    .blog_home_vehicle_card__img {
        max-height: 686px;
    }
    /* featured */
    .blog_home_main_content {
        padding: 6.25rem 5.5rem;
    }
}

@media (max-width: 767px) {
    .blog_home_section_title {
        font-size: var(--title-3);
        line-height: var(--paragraph-2-line-height);
    }
    .blog_category_text {
        padding: 0 0 0.9375rem;
    }
    .blog_home_main_content__actions {
        padding-right: 0;
    }
    .blog_home_card__paragraph {
        font-size: 22px;
    }
}

@media (max-width: 479px) {
    .blog_home_main_content__last_articles {
        padding-right: 0;
    }
}