@import url(variables.css);

/* BLOG PAGE STYLES */
#blog-page {
    height: auto;
    background: #282929;
    background-color: #121313;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 3% 10%;
    min-height: 80vh;
    margin-top: 84px;
}

@media screen and (max-width: 900px) {
    #blog-page {
        padding: 5% 5% 10% 5%;
    }
}

@media screen and (max-width: 768px) {
    #blog-page {
        padding: 40px 20px;
    }
}

.wrapper-blog {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 1100px;
    margin: auto;
    width: 100%;
}

#blog-page h1.title-blog {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 900;
    font-size: 48px;
    color: #fff;
}

@media screen and (max-width: 900px) {
    #blog-page h1.title-blog {
        font-size: 38px;
    }
}

@media screen and (max-width: 768px) {
    #blog-page h1.title-blog {
        font-size: 32px;
        margin-bottom: 30px;
        text-align: center;
    }
}

#blog-page .articles-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
    margin-top: 3%;
}

#blog-page .articles-wrapper .article-link {
    height: 100%;
    width: 100%;
}

#blog-page .articles-wrapper .article {
    width: 100%;
    height: 200px;
    background-color: #202020;
    border-radius: 8px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    border: 1px solid #1b1b1b;
}

#blog-page .articles-wrapper .article:hover {
    background-color: rgb(48, 48, 48);
}

@media screen and (max-width: 768px) {
    #blog-page .articles-wrapper .article {
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
    }
}

@media screen and (max-width: 550px) {
    #blog-page .articles-wrapper .article {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

#blog-page .articles-wrapper .article .img-wrapper {
    aspect-ratio: 1/1;
    width: auto;
    height: 100%;
}

@media screen and (max-width: 768px) {
    #blog-page .articles-wrapper .article .img-wrapper {
        aspect-ratio: auto;
        width: 30%;
        height: auto;
        overflow: hidden;
    }
}

@media screen and (max-width: 550px) {
    #blog-page .articles-wrapper .article .img-wrapper {
        width: 100%;
        max-height: 160px;
    }
}

#blog-page .articles-wrapper .article .article-details {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    padding: 20px;
}

@media screen and (max-width: 768px) {
    #blog-page .articles-wrapper .article .article-details {
        padding: 16px;
    }
}

@media screen and (max-width: 500px) {
    #blog-page .articles-wrapper .article .article-details {
        font-size: 12px;
    }
}

#blog-page .articles-wrapper .article .article-details .infos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

@media screen and (max-width: 768px) {
    #blog-page .articles-wrapper .article .article-details .infos {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 6px;
    }
}

#blog-page .articles-wrapper .article .article-details .infos .chips-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
}

#blog-page .articles-wrapper .article .article-details .article-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 32px;
    color: #fff;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 900px) {
    #blog-page .articles-wrapper .article .article-details .article-title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 2px;
    }
}

@media screen and (max-width: 550px) {
    #blog-page .articles-wrapper .article .article-details .article-title {
        font-size: 20px;
    }
}

#blog-page .articles-wrapper .article .article-details .article-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #868686;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 500px) {
    #blog-page .articles-wrapper .article .article-details .article-description {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    #blog-page .articles-wrapper .article .article-details .btn-read {
        font-size: 15px;
        margin-top: 4px;
    }
}
