/*
Wordpress Popular Posts plugin stylesheet
Developed by Hector Cabrera
cabrerahector.com | @cabrerahector

Use the following classes to style your popular posts list as you like.
*/

/* Styles the "Sorry, no data so far" message */
.wpp-no-data {
}

/* UL - Popular Posts container styles */
.wpp-list {
    counter-reset: wpp-item;
    margin: 0;
    padding: 0;
}

/* LI - Post container styles */
.wpp-list li {
    position: relative;
    overflow: hidden;
    float: none;
    clear: both;
    min-height: 104px;
    margin-bottom: 0;
    padding: 14px 0;
    border-bottom: 1px solid #d8dee8;
    list-style: none;
}

.wpp-list li:first-of-type {
    padding-top: 0;
}

.wpp-list li:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* Styles for the popular post in view */
.wpp-list li.current {
}

.wpp-list li::after {
    content: counter(wpp-item);
    counter-increment: wpp-item;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    background: #ff2a23;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
}

/* Thumbnail styles */
.wpp-thumbnail {
    display: block;
    float: right;
    width: 118px;
    height: 90px;
    margin: 0 0 0 18px;
    border: none;
    object-fit: cover;
    background: #edf2f7;
    border-radius: 14px;
}

.wpp_def_no_src {
    object-fit: contain;
    padding: 10px;
}

/* Title styles */
.wpp-post-title {
    display: block;
    color: #003b78;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.wpp-post-title:hover {
    text-decoration: underline;
}

/* Excerpt styles */
.wpp-excerpt {
}

/* Stats tag styles */
.wpp-meta,
.post-stats {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #5f6b7a;
}

/* Comments count styles */
.wpp-comments {
}

/* Views count styles */
.wpp-views {
    display: none;
}

/* Author styles */
.wpp-author {
}

/* Post date styles */
.wpp-date {
}

/* Post category styles */
.wpp-category {
}

/* WP-PostRatings styles */
.wpp-rating {
}

@media (max-width: 480px) {
    .wpp-list li {
        min-height: 92px;
    }

    .wpp-thumbnail {
        width: 104px;
        height: 82px;
        margin-left: 14px;
    }
}
