/*
* BLOG
*/

.blog-tab {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin: 4rem 0;
}

.blog-tab>li {
    background-color: #fff;
    border: 2px #332D2D solid;
    color: #332D2D;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 0.9em;
    word-wrap: break-word;
    list-style: none;
}

.blog-tab>li:hover {
    cursor: pointer;
    background-color: #332D2D;
    color: #fff;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    transition: all ease 0.4s;
}

.blog-tab>li.active {
    background-color: #332D2D;
    color: #fff;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
}


.blog-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 6rem;
}

.blog-primary {
    width: 55%;
    box-shadow: 2px 4px 6px #00000010;
    border-radius: 23px;
}

.blog-primary:hover {
    cursor: pointer;
    box-shadow: 2px 4px 20px #00000060;
    transition: all ease 0.3s;
}

.blog-primary img {
    border-radius: 23px 23px 0px 0px;
    box-shadow: 2px 4px 6px #00000010;
    width: 100%;
    height: 362px;
}

.article-primary-footer {
    padding: 3rem;
    font-size: 1.3em;
    font-weight: bold;
    position: relative
}

.article-primary-footer::after {
    position: absolute;
    content: attr(read-duration);
    bottom: 20px;
    right: 20px;
    font-size: 0.8em;
    font-weight: normal;
    color: #797979;
}

.blog-secondary {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-secondary img {
    height: 128px;
    width: 176px;
    border-radius: 23px 0px 0px 23px;
}

.article-secondary-footer {
    position: relative;
    border-radius: 0px 23px 23px 0px;
    font-size: 1.3em;
    font-weight: bold;
    height: 125px;
    display: flex;
    align-items: center;
    padding: 0 1.7rem;
    width: 100%;
}

.article-secondary-footer::after {
    position: absolute;
    content: attr(read-duration);
    bottom: 10px;
    right: 20px;
    font-size: 0.8em;
    font-weight: normal;
    color: #797979;
}

.secondary-article {
    display: flex;
    align-items: center;
    box-shadow: 2px 4px 6px #00000010;
    border-radius: 23px;
}

.secondary-article:hover {
    cursor: pointer;
    box-shadow: 2px 4px 20px #00000060;
    transition: all ease 0.3s;
}

@media (max-width: 900px) {

    .blog-tab>li {}


    .blog-tab {
        width: 80%;
    }

    .blog-tab {
        padding: 0px !important;
    }

    .blog-content {
        display: flex;
        flex-direction: column;
        padding: 0 5vw;
    }

    .blog-primary {
        width: 100%;
    }

    .blog-secondary {
        width: 100%;
        gap: 1rem;
    }
}