body {
    counter-reset: section;
}

p {
    margin-bottom: 1.2em;
}

.pb-archive-posts.type2 .item:not(:last-child) {
    margin-bottom: 15px;
}

.pb-archive-posts.type3 .item:not(:last-child) {
    margin-bottom: 12px;
}

.pb-archive-posts .item .inner {
    background: #f2f2f2;
    border-radius: 30px;
    padding-left: 32px;
    padding-right: 32px;
    align-items: center;
}

.pb-archive-posts.type1 .item .inner {
    padding-top: 24px;
    padding-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
}

.pb-archive-posts.type2 .item .inner {
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
}

.pb-archive-posts.type3 .item .inner {
    padding-top: 20px;
    padding-bottom: 20px;
}

.pb-archive-posts.type1 .thumb {
    flex: 0 0 284px;
    max-width: 284px;
}

.pb-archive-posts.type1 .thumb img {
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.pb-archive-posts.type1 .text {
    flex: 0 0 calc(100% - 284px);
    max-width: calc(100% - 284px);
    padding: 0 0 0 38px;
}

.pb-archive-posts.type2 .thumb {
    flex: 0 0 122px;
    max-width: 122px;
}

.pb-archive-posts.type2 .thumb img {
    width: 100%;
    height: 122px;
    object-fit: cover;
}

.pb-archive-posts.type2 .text {
    flex: 0 0 calc(100% - 122px);
    max-width: calc(100% - 122px);
    padding: 0 0 0 24px;
}

.pb-archive-posts .item .date {
    color: #7a7a7a;
    font-weight: 400;
    line-height: 1.155;
    text-transform: capitalize;
}

.pb-archive-posts.type1 .item .date {
    font-size: 21px;
    margin-bottom: 7px;
}

.pb-archive-posts.type2 .item .date,
.pb-archive-posts.type3 .item .date {
    font-size: 17px;
    margin-bottom: 2px;
}

.pb-archive-posts .item h3 {
    color: #000;
    line-height: 1.155;
}

.pb-archive-posts.type1 .item h3 {
    font-size: 32px;
}

.pb-archive-posts.type2 .item h3,
.pb-archive-posts.type3 .item h3 {
    font-size: 23px;
}

.wpp-list {
    margin: 0;
    padding: 0;
}

.wpp-list .wpp-meta {
    display: none;
}

.wpp-list li {
    position: relative;
}

.wpp-list li::before {
    counter-increment: section;
    content: counter(section);
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 25px;
    color: #7A7A7A;
}

.pb-popular-posts .item,
.wpp-list li {
    border-top: 1px solid rgba(0,0,0,.15);
    padding: 0 30px 0 68px;
    margin: 0;
    height: 138px;
    display: flex;
    align-items: center;
}

.pb-popular-posts .item:last-child,
.wpp-list li:last-child {
    /*border-bottom: 1px solid rgba(0,0,0,.15);*/
}

.pb-popular-posts h3,
.wpp-list a {
    font-size: 18px;
    color: #000;
    line-height: 1.155;
    font-weight: 700;
    display: block;
}

.pb-popular-posts a {
    color: #000;
}

body.archive .site-content {
    padding-bottom: 40px;
}

.pb-related-posts .item:not(:last-child) {
    margin-bottom: 10px;
}

.pb-related-posts .item .inner {
    display: flex;
    background: #f2f2f2;
    border-radius: 30px;
    padding: 23px 18px;
    align-items: center;
}

.pb-related-posts .item img {
    flex: 0 0 98px;
    max-width: 98px;
    height: 103px;
    object-fit: cover;
    margin-right: 9px;
}

.pb-related-posts .item h3 {
    flex: 0 0 calc(100% - 107px);
    max-width: calc(100% - 107px);
    font-size: 16px;
    color: #000;
    line-height: 1.155;
    margin: -1px 0 0 0;
}

.pb-ajax-loading {
    display: none;
    text-align: center;
}

.pb-ajax-loading img {
    width: 80px;
}


@media only screen and (min-width: 768px) {
    body.archive .pb-popular-posts .item:nth-child(3),
    body.archive .wpp-list li:nth-child(3) {
        /*border-bottom: 1px solid rgba(0,0,0,.15);*/
    }
    
    body.archive .pb-popular-posts .item:nth-child(4),
    body.archive .wpp-list li:nth-child(4) {
        display: none;
    }
}

@media only screen and (max-width: 1199px) {
    .pb-archive-posts.type1 .item h3 {
        font-size: 30px;
    }
    
    .pb-archive-posts.type1 .text {
        padding-left: 30px;
    }
    
    .pb-archive-posts .item .inner {
        padding-left: 25px;
        padding-right: 25px
    }
    
    .pb-archive-posts.type2 .item h3, .pb-archive-posts.type3 .item h3 {
        font-size: 20px;
    }
    
    .pb-archive-posts.type2 .text {
        padding-left: 20px;
    }
    
    .pb-popular-posts h3, .wpp-list a {
        font-size: 18px;
    }
    
    .pb-popular-posts .item,
    .wpp-list li {
        padding: 0 20px 0 55px;
    }
    
    .wpp-list li::before {
        left: 25px;
    }
}

@media only screen and (max-width: 991px) {
    .pb-archive-posts.type1 .item h3 {
        font-size: 25px;
    }
    
    .pb-archive-posts.type2 .item h3, .pb-archive-posts.type3 .item h3 {
        font-size: 17px;
    }
    
    .pb-popular-posts .item,
    .wpp-list li {
        padding: 0 15px 0 40px;
    }
    
    .pb-popular-posts h3,
    .wpp-list a {
        font-size: 16px;
    }
    
    .wpp-list li::before {
        font-size: 22px;
        left: 18px;
    }
    
    body.archive .site-content {
        padding-bottom: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .pb-archive-posts.type1 .item .inner {
        padding: 18px 35px;
    }
    
    .pb-archive-posts.type1 .thumb {
        flex: 0 0 100%;
        max-width: 100%;
        height: 190px;  /* adjust as needed */
    }

    .pb-archive-posts.type1 .thumb img {
        width: 100%;
        height: 100%;  /* change to this */
        object-fit: cover;
    }
    
    .pb-archive-posts.type1 .text {
        padding: 9px 0 0 0;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .pb-archive-posts.type1 .item .date {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .pb-archive-posts.type1 .item h3 {
        font-size: 21px;
    }
    
    .pb-archive-posts.type2 .item .inner,
    .pb-archive-posts.type3 .item .inner {
        padding-top: 18px;
        padding-bottom: 18px;
    }
    
    .pb-archive-posts.type2 .item .date, .pb-archive-posts.type3 .item .date {
        display: none;
    }
    
    .pb-archive-posts.type2 .text {
        padding-top: 0;
        padding-left: 11px;
    }
    
    .pb-archive-posts.type2 .item:not(:last-child),
    .pb-archive-posts.type3 .item:not(:last-child) {
        margin-bottom: 13px;
    }
    
    .pb-popular-posts h3,
    .wpp-list a {
        font-size: 17px;
    }
    
    .pb-popular-posts .item,
    .wpp-list li {
        padding: 0 20px 0 55px;
    }
    
    .wpp-list li::before {
        left: 25px;
    }
    
    .pb-related-posts .item .inner {
        padding: 20px;
    }
    
    .pb-related-posts .item img {
        height: 98px;
        margin-right: 12px;
    }
}