.banner{
    margin-bottom: 0;
}

.categories{
    padding: 40px 0;
    border-bottom: 1px solid var(--primary);
    margin-bottom: 40px;
}

/*** filters ***/
.faq .wrapper{
   padding: 0 20px;
}
.faq .filters{
    margin-bottom: 0;
    justify-content: center;
}
.faq .filters label{
    border: none;
    height: auto;
}
.faq .filters label:has(input:checked){
    background: transparent;
    color: var(--primary) !important;
}

/*** articles ***/
.articles{
    /*display:flex;
    flex-wrap: wrap;
    justify-content: space-between;*/
    display: grid;
    /* grid-template-rows: repeat(5, 200px); */
    gap: 50px;
    margin-bottom: 50px;
}
.articles .article{
    border: 1px solid var(--primary);
    /*margin-bottom: 50px;*/
}
.articles .article .thumbnail img{
    aspect-ratio: 3 / 2;
    max-height: 240px;
    object-fit: cover;
    width: 100%;
}
.articles .article .content{
    padding: 30px 20px 20px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    text-align: center;
}
.articles .article .content .date{
    font-size: 14px;
    font-weight: 300;
}
.articles .article .content .date{
    font-size: 14px;
    font-weight: 300;
    text-align: center;
}
.articles .article .content h3{
    margin: 15px 0;
    text-align: center;
    font-weight: 400;
}
.articles .article .content .excerpt{
    font-size: 16px;
    line-height: 180%;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.articles .article .content .reding-time {
    margin: 15px 0 20px;
    font-size: 14px;
    font-weight: 300;
}
.articles .article .content .readmore {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary);
    text-transform: uppercase;
    position: relative;
}
.articles .article .content .readmore:hover {
    text-decoration: underline;
}
.articles .article .content .readmore::after{
    position: relative;
    content: '';
    display: inline-block;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAMCAYAAAC5tzfZAAAAV0lEQVR42mNgGLrg1KKsBBAmSdPJxTkNp5fk/D+9NGf98fkZCnCJ04tzHECS2DBQw36wJig+syR3PlgzSZqW5kw4P79AgDjnATWfmp9lQHRAgFwyxOIPANooW6C8qBrTAAAAAElFTkSuQmCC');
    height: 12px;
    width: 13px;
    margin-left: 10px;
}

/*** pagination ***/
.pagination{
   display: flex;
    justify-content: center;
}

.pagination .page-numbers{
    height: 40px;
    width: 40px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    margin: 0 4px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black);
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
    color: #fff;
    background: var(--primary);
}

/*** single blog ***/
.single-blog footer{
    margin-top: 0;
}
.single-blog .banner{
    height:  calc(75vh - 146px);
    margin-bottom: 50px;
}
.single-blog article{
    position: relative;
}
.single-blog article .wrapper{
    max-width: 794px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

.single-blog article .article-header .title{
    font-size: 30px;
    font-weight: 400;
}

.single-blog article .article-header .back{
    position: absolute;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: var(--black);
    border-radius: 4px;
    border: 1px solid var(--primary);
    padding: 8px 20px;
        top: -35px;
        left: 20px;
}
.single-blog article .article-header .back:hover{
    background: var(--primary);
    color: var(--white);
}
.single-blog article .article-header .back i::before{
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 10px;
}
.single-blog article .excerpt{
    font-size: 18px;
    text-align: center;
    line-height: 180%;
}
.single-blog article .article-header .date {
    color: var(--primary);
    font-size: 14px;
    margin: 20px 0 30px;
    text-align: center;  
}
.single-blog article .article-body {
    font-weight: 300;
    font-size: 16px;
    line-height: 180%;
}
.single-blog article .article-body img{
    border-radius: 4px;
    margin: 15px 0;
}

.single-blog article .article-body p{
    margin: 15px 0 50px;
}
.single-blog article .article-body h2{
    font-weight: 400;
    text-align: left;
    margin: 30px 0 15px;
    color: var(--primary);

}
.single-blog article .article-body h3{
    font-weight: 400;
    font-size: 24px;
    text-align: left;
    margin: 15px 0;
}
.single-blog article .article-body h4{
    text-align: left;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0;
}
.single-blog article .article-body ul{
    margin: 15px 0;
}
.single-blog article .article-body ul li{
    margin-bottom: 15px;
    padding-left: 22px;
    position: relative;
}
.single-blog article .article-body ul li::before{
    position: absolute;
    content: '';
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-gradient-first) 0%, var(--primary-gradient-second) 100%);
}

.single-blog article .article-footer .share{
    background: var(--grey-input2);
    padding: 28px 40px;
}
.single-blog article .article-footer .share{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin: 50px 0;
    border-radius: 4px;

}

.single-blog article .article-footer .share h2{
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 175%;
    text-align: left;
    position: relative;
    margin: 0 10px 5px 0;
}
.single-blog article .article-footer .share h2::before{
    position: absolute;
    content: '';
    display: block;
    height: calc(100% - 14px);
    top: 7px;
    left: -40px;
    width: 4px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, var(--primary-gradient-first) 0%, var(--primary-gradient-second) 100%);
}
.single-blog article .article-footer .share span{
    color: var(--primary);
    font-family: "Brandon Grotesque", serif;
    font-weight: 400;
    font-size: 24px;
}

.single-blog article .article-footer .share ul{
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    margin-left: -10px;
}

.single-blog article .article-footer .share li a{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    margin-left: 10px;
    font-size: 20px;
}
.comments h2{
    font-weight: 400;

}
.comments h2.underline{
    font-size: 36px;
}
.comment-form{
    margin-bottom: 70px;
}
.comment-form .privacy, .comment-form .logged-in-as{
    text-align: center;
    margin: 15px;
}
.comment-form fieldset {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 30px 0 10px;
}
.comment-form fieldset p{
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    margin-bottom: 20px;
}
.comment-form fieldset p.comment-form-comment{
    flex-basis: 100%;
    margin: 0;
}
.comment-form textarea{
    height: 100px;
    resize: none;
    width: 100%;
}
.comment-form .form-submit{
    text-align: center;
    margin-top: 30px;
}
.comment-form input.submit{
    padding: 10px 50px !important;
    background: linear-gradient(90deg, var(--primary-gradient-first) 0%, var(--primary-gradient-second) 100%) !important;
    height: 50px;
    border: 1px solid var(--primary);
    color: var(--white);
    text-transform: uppercase;
    cursor: pointer;
}
.comment-form input.submit:hover{
    color: var(--black);
    background: transparent !important;
}
.comments .comments-list li{
    border: 1px solid var(--grey-input2);
    border-radius: 4px;
    padding: 20px;
    font-size: 14px;
}
.comments .comments-list .comment-authorinfo{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.comments .comments-list .comment-authorname{
     font-size: 18px;
    font-weight: 400;
}
.comments .comments-list .comment-text{
    margin-top: 10px;
}
.similar{
    margin: 70px 0 0;
    padding: 70px 0 44px;
    background: var(--grey-input2);
}
.similar h2{
    font-weight: 400;
    margin-bottom: 30px;
}

/*** media ***/
@media (max-width: 550px) {
    .single-blog article .article-footer .share h2{
        flex-basis: 100%;
    }
    .single-blog article .article-footer .share h2::before{
        height: calc(100% + 50px);
    }
    .single-blog article .article-footer .share ul{
        flex-basis: 100%;
        justify-content: flex-start;
    }
}


@media (min-width: 770px) {
    .articles .article{
        /*flex-basis: calc(50% - 10px);*/
    }
    .comment-form fieldset p {
        flex-basis: calc(50% - 10px);
    }
}

@media (min-width: 770px) and (max-width: 1024px) {
    .articles{
        /*grid-template-columns: repeat(2, 1fr);*/
    }
    .articles .article:nth-child(2){
        /*display: none;*/
    }
}

@media (min-width: 1025px) {
    .articles .article{
        /*flex-basis: calc(33.333% - 20px);*/
    }
    .articles{
        grid-template-columns: repeat(3, 1fr);
    }
    .articles{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1120px) {
    .single-blog article .article-header .back {
        left: 100px;
        top: 0;
    }
    .articles{
        grid-template-columns: repeat(3, 1fr);
    }
}

