﻿.article-box {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    min-height: 100vh;
    justify-content: flex-start;
    align-items: center;
}

.adv-portal {
    width: 20%;
}

.article {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
    width: 60%;
    overflow-x: hidden;
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.6rem;
    border-radius: 5px;
}
.article-head {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    background-color: antiquewhite;
    overflow: hidden;
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.6rem;
    border-radius: 5px;
}

.article-category {
    width: 100%;
    padding: .3rem 1rem;
    background-color: var(--primary-color);
    text-align: center;
}

.article-category a {
    color: #fff;
    text-decoration: underline;
}

.article-category p {
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 700;
}

.article-title {
    width: 100%;
}

.article-title h1 {
    padding: 0 .2rem;
    line-height: 1.9rem;
}

.article-description {
    padding: 0 1rem;
}

.article-description p {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.5rem;
    text-align: justify;
}

.article-image-box {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: antiquewhite;
    border-radius: 5px;
    overflow: hidden;
}

.article-image-box p {
    padding: 0 .3rem;
    font-size: 12px;
}

.article-sections {
    display: flex;
    flex-flow: column nowrap;
    justify-content: stretch;
    align-items: center;
    gap: 1.5rem;
    background-color: #fff;
    padding-top: 2rem;
}

.article-section {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: .4rem;
}

p.article-description-paragraph {
    text-align: justify;
}


@media (300px <= width <= 576px) {
    .article-box {
        flex-flow: column nowrap;
        padding: 1rem;
    }
h1 {
    font-size: 1rem;
}

h2 {
    font-size: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.2rem;
}

.adv-portal {
    width: 100%;
}

.article {
    width: 100%;
}

    .article-image-box p {
        font-size: 10px;
    }

.article-card {
    gap: .3rem;
}

}

@media (577px <= width <= 767px) {
    .article-box {
        flex-flow: column nowrap;
        padding: 1rem;
    }

    .adv-portal {
        width: 100%;
    }

    .article {
        width: 100%;
    }
}

