/* HERO */
.blog_hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100rem;

    padding: 160rem var(--p-x) 0 var(--p-x);
}

.blog_hero__img {
    max-width: 100%;
    border-radius: 20rem;
    object-fit: cover;
    object-position: center;
}

.blog_hero__text {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 100%;
    padding-bottom: 122rem;
    border-bottom: 5rem solid var(--theme-black);
}

.blog_hero__text span {
    display: block;
    max-width: 100%;
    font-size: 36rem;
    line-height: 40rem;
    text-align: center;
}

.blog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding: 0 var(--p-x);
}

.blog__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40rem;

    padding: 60rem 0;

    max-width: 100%;
    width: 100%;
}

.blog__header__title {
    font-size: 36rem;
    line-height: 40rem;
}

.blog__header__search__container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    outline: none;
    border: 2rem solid var(--theme-black);
    border-radius: 20rem;
    overflow: hidden;
    
    width: 200rem;
}

.blog__header__search {
    font-family: NeueHass;
    font-size: 20rem;
    line-height: 20rem;
    padding: 8rem 18rem;
    
    width: 100%;

    border: none;
    outline: none;
}

.blog__header__search__container i {
    font-size: 20rem;
    line-height: 20rem;
    padding-right: 18rem;
}

.blog__header__sort {
    font-family: NeueHass;
    font-size: 20rem;
    line-height: 24rem;
    border-bottom: 1rem solid var(--theme-black);
}

.blog__cards {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 60rem;
    column-gap: 40rem;

    max-width: 100%;
}

.blog__cards__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30rem;

    width: 100%;
}

.blog__cards__card__img {
    width: 100%;
    height: 280rem;
    object-fit: cover;
    object-position: center;
    border-radius: 20rem;
}

.blog__cards__card__text {
    font-size: 20rem;
    line-height: 20rem;
    max-width: 100%;
    text-align: center;
}


/* responsive */

@media screen and (min-width:756px) {
    .blog_hero__img {
        max-width: 1310rem;
        border-radius: 40rem;
    }

    .blog_hero__text {
        max-width: 1310rem;
        border-bottom: 7rem solid var(--theme-black);
    }

    .blog_hero__text span {
        max-width: 920rem;
        font-size: 54rem;
        line-height: 54rem;
    }  

    .blog__header {        
        padding-top: 120rem;
        padding-bottom: 60rem;
    
        max-width: 1000rem;
    }
    
    .blog__header__title {
        font-size: 40rem;
        line-height: 40rem;
    }

    .blog__header__search__container {
        width: 260rem;
    }
    
    .blog__cards {
        row-gap: 100rem;
        max-width: 1000rem;
    }

    .blog__cards__card {    
        max-width: 480rem;
    }

    .blog__cards__card__img {
        width: 480rem;
        height: 280rem;
    }
    
    .blog__cards__card__text {
        width: 410rem;
    }
    
}