.post .avatar {
    width: auto;
    height: auto;
}

.post .entry-footer {
    display: flex;
}

.comments-area .comments-title-wrap .comments-title:before {
    content: none;
}
.single-post .comments-title-wrap {
    margin-bottom: 0;
}
.single-post #respond {
    margin-top: 0;
}

.post-author-info>span {
    margin-top: 5px;
}

.post-posted-info {
    display: flex;
    flex-direction: column;
}

.post-author-info {
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    font-family: Mort Modern;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    color: #282828;
    justify-content: space-between;
}

.post-author-info .author {
    font-size: 24px;
}

.posts-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    align-items: stretch;
    justify-items: center;
    text-align: center;
}

.posts-list .title {
    font-size: 24px;
    line-height: 31px;
    color: white;
    font-family: PT Sans;
    font-style: normal;
    font-weight: normal;
    bottom: 40px;
    left: 40px;
    width: 70%;
    position: absolute;
}

.wrapper-posts {
    width: calc(100% - 40px);
    margin-right: auto !important;
    margin-left: auto !important;
    margin-bottom: 60px;
}
@media (min-width: 1200px) {
    .wrapper-posts {
        width: 1230px;
    }
}

@media (min-width: 1420px) {
    .wrapper-posts {
        width: 1420px;
    }
}

.post-cart-wrapper {
    min-width: 300px;
    min-height: 300px;
    display: grid;
}

.wrapper-posts .post-cart-wrapper {
    max-width: 445px;
    max-height: 459px;
    width: 100%;
    height: 459px;
}

.wrapper-posts .post-cart-wrapper:nth-child(2n+1) {
    justify-self: right;
}

.wrapper-posts .post-cart-wrapper:nth-child(2n) {
    justify-self: left;
}
.post-cart {
    width:100%;
    height:100%;
    position: relative;
    background-color: #144580;
    background-size: cover;
    background-position: center center;
}
.post-cart:hover {
     opacity: 0.6;
     color: #144580;
 }
.post-cart-title {
    position: absolute;
    bottom: 0;
    margin: 25px 32px;
    font-family: Mort Modern;
    font-size: 28px;
    line-height: 120%;
    color: #FFFFFF;
}

.post-cart-title:after {
    content: "";
    color: #fff;
    background-image: url("../../../wp-includes/images/line-post.png");
    width: 63px;
    height: 15px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 5px;
}

@media (max-width: 1311px) {
    .posts-list {
        align-content: center;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .posts-title {
        text-align: center;
    }
    .posts-title>h2 {
        width: 565px;
        display: inline-flex;
    }
}
.posts-title>h2 {
    margin-top: 0;
}
@media (max-width: 767px) {
    .posts-title {
         text-align: left;
    }
}

.single-post main {
     margin: 0;
}

.sidebar-categories .category-item-square {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
.sidebar-categories .category-item-square:hover {
    opacity: 0.7;
}
.sidebar-categories .category-item-square .category-text {
    font-family: Mort Modern;
    font-size: 24px;
    line-height: 120%;
    color: #FFFFFF;
    position: unset;
    padding: 0;
    width:auto;
    height: auto;
    text-align: center;
    margin-bottom: 30px;
    z-index: 2;
}
.blog-cart-header.sidebar-categories .category-item-square .category-text {
    font-size: 42px;
    line-height: 160%;
}
.blog-cart-header.sidebar-categories .category-item-podcasts img,
.blog-cart-header.sidebar-categories .category-item-videos img {
    width:80px;
    height: 80px;
}
.sidebar-categories .category-item-square .category-subtext {
    color: #FFFFFF;
    position: unset;
    padding: 0;
    width:auto;
    height: auto;
    text-align: center;
    margin-bottom: 55px;
    z-index: 2;
    line-height: 160%;
    font-family: Lato;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    text-align: center;
}
/*.blog-cart-header .category-item-podcasts:after {*/
/*    background: #24272C;*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    top: 0;*/
/*    left: 0;*/
/*}*/
/*.blog-cart-header .category-item-videos:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    top: 0;*/
/*    left: 0;*/
/*    background: #93E5FF;*/
/*}*/
.blog-cart-header .category-item-podcasts {
    background: #24272C;
}
.blog-cart-header .category-item-videos {
    background: #43869b;
}
.sidebar-categories:not(.blog-cart-header) .category-item-videos {
    background: #5AB5D2;
}

.sidebar-categories .category-item-podcasts img,
.sidebar-categories .category-item-videos img {
    position: relative;
    width: 60px;
    height: 60px;
    z-index: unset;
    margin-bottom: 30px;
}

.sidebar-categories .category-item-podcasts img:not(.category-bg),
.sidebar-categories .category-item-videos img:not(.category-bg) {
    margin-top: 55px;
}


.blog .carousel-item {
    display:block;
}

.category-post-element {
    color: #000000;
    opacity: 0.5;
    padding-right: 15px;
    font-size: 24px;
}

.selected-category-posts {
    font-family: Mort Modern;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: #5AB5D2;
}

.list-categories {
    width: calc(100% - 40px);
    text-align: center;
    margin-bottom:60px;
    margin-left: auto;
    margin-right: auto;
}
.list-categories h2 {
    font-family: Mort Modern;
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 43px;
    text-align: center;
    color: #24272C;
}

.blog .nav-links {
    margin-left: auto;
    margin-right: auto;
}


.featured-posts {
    /*max-width: 932px;*/
    /*height: 578px;*/
    /*margin-right: 40px;*/
    /*margin-bottom: 40px;*/
    position: relative;
}

.post-cart-wrapper {
    width: unset;
}
.post-cart-title {
    max-width: 350px;
    left: 0;
    text-align: left;
}

.category-item-promo .category-title {
    font-family: Mort Modern;
    font-style: normal;
    font-weight: 600;
    font-size: 84px;
    line-height: 120%;
    color:white;

}
.category-item .category-button {
    background: #5AB5D2;
    border-radius: 0;
    width: 345px;
    height: 60px;
    font-family: Lato;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 60px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    z-index: 2;
}
@media (max-width: 425px) {
    .post-cart-title {
        width: 215px;
        font-size: 16px;
        margin: 20px
    }
    .post-cart-title:after {
        width: 36px;
        height: 9px;
    }
    .blog-cart-header.sidebar-categories .category-item-square .category-text {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 15px;
    }
    .sidebar-categories .category-item-square .category-subtext {
        font-size: 16px;
        line-height: 150%;
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 30px;
    }
    .blog-cart-header.sidebar-categories .category-item-podcasts img, .blog-cart-header.sidebar-categories .category-item-videos img {
        width: 60px;
        height: 60px;
    }
    .category-item-promo .category-title {
        font-size: 45px;
        margin-bottom: 25px;
    }
    .category-item .category-button {
        width: 250px;
        font-size: 16px;
        line-height: 50px;
        height: 50px;
    }
    .wrapper-posts .post-cart-wrapper {
        width: auto;
        height: auto;
        min-width: unset;
    }
    .category-item-promo .category-title {
        margin-bottom: 5px;
    }
}
.sidebar-categories .category-item img.category-bg {
    max-height: 100%;
}
.blog-cart-header .category-item.category-item-square {
    max-width: 445px;
    max-height: 459px;
    width: 100%;
    height:100%;
}

.blog-cart-header .category-item.category-item-square:nth-child(2n+1) {
    justify-self: left;
}

.blog-cart-header .category-item.category-item-square:nth-child(2n) {
    justify-self: right;
}
.blog-cart-header.sidebar-categories .category-item .category-text h2 {
    padding: 60px 0;
}
.sidebar-categories {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr;
}
.sidebar-categories:not(.blog-cart-header) .category-item:not(.category-item-square){
    margin-bottom: 20px;
    grid-column-start: 1;
    grid-column-end: 3;
}
.blog-cart-header {
    grid-gap: 40px;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.blog-cart-header>*:nth-child(1) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}
@media (min-width: 1420px) {
    .blog-cart-header {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .posts-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .blog-cart-header>*:nth-child(2) {
        grid-column-start: 3;
        grid-column-end: 4;
        grid-row-start: 1;
        grid-row-end: 2;
    }
    header nav.navbar:not(.nav-down-bg) .navbar-brand img {
        margin-top: 33px;
    }
    .page header .title-container {
        padding-top: 230px;
    }
}

@media (max-width: 1025px) {
    .wrapper-posts {
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .blog-cart-header,
    .posts-list {
        display: block;
    }
    .wrapper-posts .post-cart-wrapper {
        margin-right: auto;
        margin-left: auto;
    }
    .blog-cart-header .category-item.category-item-square {
        justify-self: center;
    }
    #main .blog-cart-header>*,
    .posts-list>* {
        margin-bottom: 20px;
    }
    .blog-cart-header>*:nth-child(1) {
         grid-column-start: 1;
         grid-column-end: 1;
         grid-row-start: 1;
         grid-row-end: 1;
     }
    .blog-cart-header>*:nth-child(2) {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 2;
        grid-row-end: 2;
    }
    .blog-cart-header.sidebar-categories .category-item .category-text h2 {
        padding: 75px 0;
    }
}

.category-wrapper-first {
    display: flex;
}
@media (min-width: 1200px) {
    .blog-cart-header {
        width: 1200px;
    }
}

.category-wrapper-first .category-item:first-of-type {
    margin-right: 40px;
}
@media (min-width: 1420px) {
    .blog-cart-header {
        width: 1420px;
    }
    .category-wrapper-first {
        display: block;
    }

    .category-wrapper-first .category-item:first-of-type {
        margin-right: 0;
    }
}
.btn-group-carousel {
    position: absolute;
    z-index: 2;
    right: 15px;
    top: 15px;
}
.btn-group-carousel>span {
    color: white;
}

.btn-group-carousel .btn-carousel:hover {
    cursor: pointer;
    opacity: 0.3;
}
.carousel-title {
    position: absolute;
    z-index: 2;
    color: white;
    font-size: 18px;
    left: 20px;
    top: 20px;
    font-family: Lato;
    font-weight: 300;
}

@media (min-width: 1420px) {
    .btn-group-carousel {
        position: absolute;
        z-index: 2;
        right: 60px;
        top: 60px;
        font-family: Lato;
        font-weight: 300;
        font-size: 24px;
        line-height: 29px;
    }

    .featured-posts .post-cart-title {
        width: 55%;
    }
    .carousel-title {
        position: absolute;
        z-index: 2;
        color: white;
        font-size: 24px;
        line-height: 29px;
        left: 60px;
        top: 60px;
        font-family: Lato;
    }

    .featured-posts .post-cart-title {
        margin: 60px;
        font-weight: 500;
        font-size: 42px;
        line-height: 50px;
    }
}
.sidebar-categories .category-item-square img.category-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    z-index: 0;
    mix-blend-mode: overlay;
}

.sidebar-categories .category-item .category-text h2 {
    background: #5AB5D2;
    opacity: 0.8;
    color:white;
}
.sidebar-categories  a:not(.category-item-square):hover {
    background-color: white;
    opacity: 0.8;
}
.category-item-promo .category-text {
    margin-bottom: 25px;

}
.sidebar-categories .category-item-square.category-item-promo .category-subtext {
    line-height: 160%;
}
.category-item-square {
    background: #24272C;
}
.blog-cart-header .category-item-square {
    padding: 50px 50px 0 50px;
}
.blog-cart-header .category-item-square:after{
    content: "";
    height: 50px;
}

@media (max-width: 426px) {
    .blog-cart-header .category-item-square {
        padding: 50px 30px 0 30px;
    }
    .category-item-square {
        background: #24272C;
        padding: 15px 15px 0 15px;
    }
    .category-item-square:after{
        content: "";
        height: 15px;
    }
}

.category-item a.category-button:hover {
    background: #5AB5D2;
    color: #FFFFFF;
    opacity: 0.9;
}
.sidebar-categories .category-item {
    margin: 0;
    text-align: left;
}
.single-post .category-item-podcasts {
    margin-right: 15px;
}
.sidebar-categories .category-item-promo:hover {
    opacity: 1;
}
.owl-carousel,
.owl-carousel .post-cart,
.owl-carousel .post-cart-wrapper,
.owl-carousel .carousel-item,
.owl-carousel .owl-item,
.owl-carousel .owl-stage,
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-carousel {
    height: 100%;
}

.posts-img-categories {
    background-color: #5AB5D2;
    width:60px;
    height:60px;
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 30px;
}

.wrapper-post-cart-categories {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
}
@media (max-width: 425px) {
    .wrapper-post-cart-categories {
        top: 20px;
        left: 20px;
    }
    .posts-img-categories {
        width:40px;
        height:40px;
        background-size: 30px;
    }
}
.blog.page.single-post #page {
    width: calc(100% - 40px);
    display: grid;
    margin-left: auto;
    margin-right: auto;

    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr auto;
    grid-gap: 70px;
}


@media (min-width: 1200px) {
    .blog.page.single-post #page {
        width: 1200px;
    }
}

@media (min-width: 1420px) {
    .blog.page.single-post #page {
        width: 1420px;
    }
}
.blog.page.single-post #page #content {
    grid-column-start: 1;
    grid-column-end: 3;
}
.blog.page.single-post #page .widget-area {
    grid-column-start: 3;
    grid-column-end: 4;
}
.blog.page.single-post #page .wrapper-posts {
    width: 100%;
    grid-column-start: 1;
    grid-column-end: 4;
}

.blog.page.single-post .entry .entry-content > *,
.blog.page.single-post .entry .entry-summary > * {
    margin-top: 0;
    max-width: 100%;
}
.blog.page.single-post .entry .entry-content, .entry .entry-summary {
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.blog.page.single-post .comments-area {
    margin: 0;
}
.blog.page.single-post .entry .entry-footer {
    margin: 0;
}
.blog.page.single-post .comments-area > * {
    margin-bottom: 0;
}
.blog.page.single-post form p.form-submit {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .blog.page.single-post #page {
        grid-gap: 40px;
    }
    .sidebar-categories .category-item-podcasts img, .sidebar-categories .category-item-videos img {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    .sidebar-categories .category-item-podcasts img:not(.category-bg), .sidebar-categories .category-item-videos img:not(.category-bg) {
        margin-top: 30px;
    }
}

@media (min-width: 1024px) {
    .post-cart-title {
        margin: 40px;
    }
    .wrapper-post-cart-categories {
        top: 40px;
        left: 40px;
    }
}
aside.widget-area .sidebar-categories, aside.widget-area .widget-column {
    max-width: 100%;
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .blog.page.single-post #page {
        grid-template-rows: auto auto auto;
    }
    .blog.page.single-post #page #content {
        grid-column-start: 1;
        grid-column-end: 4;
    }
    .blog.page.single-post #page .widget-area {
        grid-column-start: 1;
        grid-column-end: 4;
    }
}
.post-category-meta {
    display: flex;
    justify-content: space-between;
}
.post-category-meta >div{
    margin-bottom: 30px;
}
.post-category-meta-img {
    background-color: #5AB5D2;
    width: 60px;
    height: 60px;
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 2px;
}

.post-category-meta-right img {
    height: 60px;
}
.post-category-meta-right img:hover {
    opacity: 0.8;
}
.post-category-meta-left {
    display: flex;
    margin-right: 10px;
}
.post-category-meta-title {
    height: 60px;
    background-color: #5AB5D2;
    padding: 15px 20px;
    font-family: Lato;
    font-weight: 300;
    font-size: 24px;
    line-height: 29px;
    text-transform: capitalize;
    color: #FFFFFF;
}


@media (max-width: 425px) {
    .post-category-meta-title {
        height: 45px;
        padding: 8px 15px;
        font-size: 18px;
    }
    .post-category-meta-img {
        width: 45px;
        height: 45px;
    }
    .post-category-meta-right img {
        height: 45px;
    }

}
.post-cart {
    position: relative;
}
.post-cart:before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-image:linear-gradient(180deg, rgb(230 231 233 / 0%) 0%, rgb(22 22 22 / 45%) 99%);
    display: block;
}

.category #main,
.home #main {
    margin-bottom: 0;
}
.category #main .navigation.pagination .page-numbers,
.home #main .navigation.pagination .page-numbers {
    position: relative;
    font-family: Mort Modern;
    font-weight: 500;
    font-size: 24px;
    line-height: 59px;
    color: #24272C;
    width: 59px;
    height: 59px;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
.category #main .navigation.pagination .page-numbers.current,
.home #main .navigation.pagination .page-numbers.current {
    color: white;
}
.category #main .navigation.pagination .page-numbers.prev,
.home #main .navigation.pagination .page-numbers.prev,
.category #main .navigation.pagination .page-numbers.next,
.home #main .navigation.pagination .page-numbers.next {
    display: none;
}
.category #main .navigation.pagination .page-numbers.current:before,
.home #main .navigation.pagination .page-numbers.current:before {
    position: absolute;
    content: '';
    width: 59px;
    height: 59px;
    border-radius: 50%;
    background: #5AB5D2;
    top: 0;
    left: 0;
    z-index: -1;
}

@media (max-width: 768px) {
    .category #main .navigation.pagination .page-numbers,
    .home #main .navigation.pagination .page-numbers {
        width: 42px;
        height: 42px;
        padding: 10px 17px;
    }
    .category #main .navigation.pagination .page-numbers.current:before,
    .home #main .navigation.pagination .page-numbers.current:before {
        width: 42px;
        height: 42px;
        line-height:42px;
    }
}
.sidebar-categories .category-item .category-text h2 {
    text-transform: capitalize;
    font-size: 34px;
}
@media (min-width: 1024px) {
    .sidebar-categories .category-item:not(.category-item-square) .category-text {
        padding: 40px;
    }
}
.page header {
    background: center/cover no-repeat url('../../../wp-includes/images/default-header.png');
}
header nav.navbar .btn-menu:before {
    margin: 0 40px 0 0;
    content: "";
    display:block;
    height: 20px;
    width: 24px;
    background-size: 24px;
    background-image: url(../../../wp-includes/images/burger.svg);
    background-repeat: no-repeat;
}

.open-menu {
    display: flex;
    align-items: center;
}
@media (max-width: 767px) {
    header nav.navbar .btn-menu:before {
        margin: 0;
        padding: 0 28px 0 0;
        height:17px;
        background-size: 18px;
    }
}
.blog.page header.page-header h1 {
    text-transform: uppercase;
}

.entry .entry-content p {
    font-size: 20px;
    line-height: 160%;
}
.sidebar-categories .category-item-square.category-item-promo .category-text {
    margin-bottom: 0;
}


@media (min-width: 756px) and (max-width: 800px) {
    .post-cart-title {
        font-size: 22px;
    }
}
@media (max-width: 767px) {
    header h1 {
        font-size: 32px;
    }

    header nav.navbar .btn-call {
        top: 82px;
    }
}

a.category-item {
    text-decoration: none;
}