/* featured */
.blog_home_featured_articles {
    display: grid;
    font-family: var(--font-family-1);
    padding: 0 1rem 0;
}
.blog_home_section_title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1.875rem 0 1.875rem;
    padding: 0 0 0.875rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gray-dark-7, #CCCCCC);
}
.blog_home_container__desktop {
    display: grid;
    gap:1.5rem;
}
.blog_home_vehicle_card {
    position: relative;
    max-height: 220px;
    height: 220px;
}
.blog_home_vehicle_card:first-of-type {
    position: relative;
    max-height: 330px;
    height: 330px;
}
.blog_home_vehicle_card__content{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    padding: 1rem;
    color: white;
}
.blog_home_card__category{
    border-radius: 1.5625rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    background-color: var(--gray-dark-9, #F1F1F1);
    color: var(--gray-dark-1,#414141);
    font-weight: 400;
    font-size: 0.875rem;
}
.blog_home_card__paragraph{
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1rem 0;
}
.blog_home_card__date{
    font-size: 0.875rem;
    font-weight: 400;
}
.blog_home_vehicle_card__img{
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 220px;
    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: blue; */
    /* optional */
}

.blog_home_main_content__last_articles {
    width: 100%;
    /* width: 72rem; */
}

.blog_home_main_content__actions {
    width: 100%;
    /* 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;
    display: none;
}
.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;
    display: none;
}

.blog_social_media {
    display: none;
}

.blog_entry {
    position: relative;
}

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

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

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

/* 
* Medias
*/
@media (min-width: 768px) {
    /* Featured */
    .blog_home_vehicle_card {
        max-height: 220px;
    }
    .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_main_content__last_articles {
        max-width: 27.75rem;
        width: 27.75rem;
    }

    .blog_home_main_content__actions {
        width: 15.9375rem;
    }
}

@media (min-width: 1366px) {   

    /* Featured */
    .blog_home_featured_articles {
        padding: 0 3rem 0;
    }
    .blog_home_container__desktop {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        max-height: 490px; 
    }
    .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: 490px; 
        height: 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 {
        flex-direction: row;
        padding: 6.25rem 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: 1920px) {
    /* featured */
    .blog_home_featured_articles {
        padding: 0 5.5rem 0;
    }
    .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: 1.5rem;
    }
    .blog_home_vehicle_card__img {
        max-height: 686px;
    }
    /* featured */
    .blog_home_main_content {
        padding: 6.25rem 5.5rem;
    }

    .blog_home_main_content__last_articles {
        max-width: 72rem;
        width: 72rem;
    }

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