.browse-title{
    font-weight: bold;
}

.browse-desc{
    color: #666679;
}

.browse-btn{
    border: 2px solid var(--color-green);
    padding: var(--space-md);
    transition: 0.2s;
    font-size: 1em;
}

.explore-btn{
    background-color: var(--color-green);
    color: #fff;
}

.explore-btn:hover{
    background-color: #fff;
    color: var(--color-green);
}

.sign-btn:hover{
    background-color: var(--color-green);
    color: #fff;
}

.sign-btn{
    background-color: #fff;
    color: var(--color-green);
}

.browse-actions{
    display: flex;
    flex-direction: row;
    gap: var(--space-sm);
}

.intro-browse-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.title-actions {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 280px;
    gap: var(--space-md);
}

.browse-banner-img {
    flex: 1;
    max-width: 500px;
    width: 100%;
    height: 220px;
    object-fit: cover
}

#popular-categories{
    margin-top: 7vh;
}

.categories {
    display: grid;
    gap: var(--space-md);
    margin-top: 5vh;
}

.categories-p {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.categories-a {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.categorie, .posts-card, aside{
    background-color: #fff;
    border: 2px var(--color-grey) solid;
}

.categorie, .posts-card{
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.categorie:hover, .posts-card:hover{
    transform: scale(1.05);
}

.browse-btn, .categorie, .posts-card, aside, .posts-card > img{
    border-radius: 10px;
}

.categorie {
    display: flex;
    width: 100%;
    padding: 1rem;
}

.categorie-p {
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 150px;
    height: clamp(120px, 20vh, 220px);
}

.categorie-p > p {
    font-weight: bold;
}

.categorie-a {
    padding: var(--space-xl);
    align-items: center;
    justify-content: center;
    min-height: 50px;
    height: clamp(50px, 7vh, 80px);
}

#evidence-posts{
    margin-top: 15vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.posts-card{
    width: 50vw;
    margin-top: 8vh;
    display: flex;
    flex-direction: row;
    padding: var(--space-md);
}

.posts-card > img{
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.post-desc{
    padding-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-desc > p {
    font-weight: bolder;
}

small{
    color: #00000079;
}

aside{
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
}

.aside-title {
    font-size: 1.2em;
}

aside > nav, aside > nav > ul{
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-xl);
}

aside > nav > ul > li > a{
    color: #000;
    font-weight: lighter;
}

aside > nav > ul > li{
    transition: 0.2s;
}

aside > nav > ul > li :hover{
    text-decoration: underline;
}

@media (max-width: 900px){
    #evidence-posts, .posts-card{
        width: 100%;
    }

    #evidence-posts{
        flex-direction: column;
    }

    aside{
        margin-top: 7vh;
    }

    aside > nav > ul{
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .intro-browse-content {
        flex-direction: column;
        text-align: center;
    }

    .browse-banner-img {
        max-width: 100%;
        max-height: 30vh;
    }

    .title-actions{
        align-items: center;
        gap: var(--space-xl);
    }

    .browse-actions, .browse-btn{
        width: 100%;
    }

    .browse-actions{
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
    }
}

@media (max-width: 640px){
    .categories-a {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    }
}

@media (max-width: 426px){
    .title{
        text-align: center;
    }

    .section-container{
        margin-top: 20vh;
    }

    aside > nav > ul{
        text-align: center;
        padding: 5vh 0 0 0;
    }
}

@media (max-width: 360px) {
    .title-actions {
        min-width: 100%;
        gap: var(--space-md);
    }

    .browse-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--space-xs);
    }

    .browse-btn {
        width: 100%;
        font-size: 0.9rem;
    }

    .browse-banner-img {
        height: 160px;
    }

    .posts-card{
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .posts-card > img{
        width: 100%;
    }

    .post-desc{
        margin-top: var(--space-sm);
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: var(--space-sm);
    }

    aside{
        align-items: center;
        text-align: center;
    }
}
