/* BLOG PAGE */

/* FILTERS SECTION */

.filters {
    background: #fff;
    padding: 44px 0 0 0;
}

.filters h3 {
    font-size: 24px;
    color: #000;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 16px;
}

.filters__area {
    display: flex;
    gap: 6px;
}

.filters__item {
    border-radius: 4px;
    padding: 12px 10px;
    box-sizing: border-box;
    color: #000;
    font-size: 14px;
    box-shadow: inset 0px 0px 0px 2px rgba(0,0,0,1);
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
}

.filters__item.active, .filters__item:hover {
    background-color: #000;
    color: #fff;
}

@media (max-width: 1023px) {
    
}

@media (max-width: 767px) {
    .filters__area {
        flex-wrap: wrap;
    }
}

/* BLOG LISTING */

.blog__listing {
    background: #fff;
    padding: 44px 0;
}

.blog__listing .news__items {
    flex-wrap: wrap;
}

.blog__listing .news__item {
    /*flex-basis: calc(33.33% - 9.3px);*/
    flex: 0 0 calc(33.33% - 9.3px);
}

.blog__listing .news__item img {
    width: 100%;
    max-height: 360px;
}

@media (max-width: 1439px) {
    
}

@media (max-width: 1240px) {
    .blog__listing .news__item {
        flex-basis: calc(50% - 14px);
    }
}

@media (max-width: 1023px) {
    
}

@media (max-width: 767px) {
    .blog__listing .news__item {
        flex-basis: 100%;
    }
}

/*LOAD MORE*/

.load__more__area {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.load__more__area button {
    padding: 21px 40px !important;
    background: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    color: #000;
    box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1) !important;
}


/* ARTICLE PAGE */

.article-page {
    background: #fff;
}

.article-page .breadcrumbs {
    background: #000;
}


.article-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    color: #000;
    gap: 65px;
    padding: 57px 0 84px 0;
}

article {
    width: 70%;
}

article header {
    margin-bottom: 44px;
}

article h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.article__info {
    display: flex;
    gap: 54px;
}

.article-text h2 {
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.article-text img {
    margin-bottom: 44px;
    width: 100%;
}

.article-text .wp-post-image {
    border-radius: 8px;
}

.article-text a {
    color: #F26522;
    text-decoration: underline;
}

.article-text p {
    font-size: 16px;
    color: #000;
    line-height: 1.3;
    font-weight: 400;
}

.article-text ul, .article-text ol {
    margin-left: 18px;
    margin-bottom: 18px;
}

aside {
    width: 30%;   
}

aside h3 {
    margin-bottom: 24px;
}

.aside__content .news__item img {
    width: 100%;
    max-height: 300px;
}

.news__item.aside__item:hover .article__info, .news__item.aside__item:hover h3 {
    background: none !important;
}

.news__item.aside__item:hover img {
    box-shadow: none;
    max-height: ;
}

.aside__content .article__info {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 34px;
    padding: 0;
}

.aside__content {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.aside__content h3 {
    padding: 0;
}

.aside__content .article__info span {
    font-size: 34px;
    color: #F26522;
    font-weight: 700;
    line-height: 1.1;
}

@media (max-width: 1439px) {
    .article-container {
        max-width: 1200px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 1240px) {
    article h1 {
        font-size: 28px;
    }

    .aside__content h3 {
        font-size: 20px;
    }

    .aside__content .article__info span {
        font-size: 28px;
    }
}

@media (max-width: 1023px) {
    .article-container {
        max-width: 768px;
        flex-direction: column-reverse;
        gap: 44px;
        padding: 44px 20px 74px 20px;
    }

    aside, article {
        width: 100%;
    }

    .aside__item a {
        display: flex;
        flex-direction: row;
        gap: 14px;
        align-items: flex-end;
    }

    .article__desc {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 50%;
        height: 100%;
    }

    .aside__content .article__info {
        margin: 0;
    }

    .aside__content h3 {
        margin-bottom: 0;
        font-size: 18px;
    }

    .aside__content .article__info span {
        font-size: 22px;
    }

    .aside__content .news__item img {
        width: 150px;
        height: 110px;
    }

    .aside__content .news__item {
        width: 655px !important;
    }


    .aside__content {
        flex-direction: row;
        overflow-x: scroll;
    }

    .aside__content::-webkit-scrollbar {
        display: none;
    }

    aside h3 {
        margin-bottom: 16px;
    }

    article header {
        margin-bottom: 27px;
    }
    
    .blog__listing .news__item:last-child, .aside__content .news__item:last-child {
        display: flex;
    }
}

@media (max-width: 767px) {
    .article-container {
        padding: 24px 12px 64px 12px;
        gap: 24px;
    }

    article h1 {
        font-size: 22px;
    }

    article header {
        margin-bottom: 24px;
    }

    .aside__content h3 {
        font-size: 16px;
    }

    .aside__content .article__info span {
        font-size: 18px;
    }
}

@media (max-width: 479px) {
    .aside__content h3 {
        font-size: 15px;
    }

    .article__desc {
        justify-content: flex-end;
        gap: 8px;
    } 
}


.popular__news {
    padding-bottom: 72px;
}

.popular__news h2 {
    color: #000;
    text-transform: uppercase;
    font-size: 34px;
}

.popular__news .news__items {
    margin-top: 32px;
}

@media (max-width: 767px) {
    .popular__news h2 {
        font-size: 22px;
    }
    
    .popular__news .news__items {
        margin-top: 24px;
    }
    
    .popular__news {
        padding-bottom: 64px;
    }
}