.api-grid {
    display: flex;
    flex-direction: column;
}


.post-title-excerpt a {
color: #240046!important; 
}
.post-title-excerpt a:hover {
	color: #5a189a!important;
	text-decoration: none;
}

.post-categories, 
.posts-wrap {
    margin-top: 30px;
}

.post-categories ul{
    padding: 0;
    margin: 0;
}
.post-categories ul li{
    list-style: none;
    margin-bottom: 10px;
}
.post-categories ul li a{
    display: block;
    padding: 10px 20px;
    background-color: #e3cbf6;
    color: #333333;
    transition: all ease 0.3s;
}
.post-categories ul li a:hover,
.post-categories ul li a.current
{
    background-color: #333333;
   color: #dddddd;
    text-decoration: none;
}

.load-more{
    margin-top: 30px;
}

.load-more.end-page{
    opacity: 0.3;
    pointer-events: none;
}

.new-post{
    opacity: 0;
}
.new-post.fadein{
    opacity: 1;
    transition: all ease 0.3s;
}

@media (min-width:600px){
    .api-grid {
        flex-direction: row;
    }
    .post-categories{
        width: 30%;
        position: relative;
    }
    .categories-container{
        position: sticky;
        top: 50px;
        padding-right: 40px;
    }
    .posts-wrap{
        width: 70%;
    }
    
}

.all-posts article{
    /*background-color: #f8f9fa; */
    padding: 15px;
    margin-bottom: 30px;
}

@media (min-width:800px){
    .all-posts article{
        display: flex;
    }
    .all-posts article .post-title-excerpt{
        width: 100%;
        padding: 15px;
    }
}

@media (min-width: 992px){
    .container{
        max-width: 940px;
    }
}
@media (min-width: 992px){
    .container{
        max-width: 960px;
    }
}