/* Recent Posts by Category - Frontend Styles */

.rpbc-recent-posts-container {
    margin: 20px 0;
    font-family: inherit;
}

.rpbc-category-section {
    margin-bottom: 30px;
}

.rpbc-category-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #0073aa;
    color: #333;
}

.rpbc-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rpbc-posts-list.rpbc-posts-list {
    /* Override theme styles */
    list-style: none !important;
    padding-left: 0 !important;
}

.rpbc-post-item {
    margin-bottom: 4px;
    padding: 2px 0;
}

.rpbc-post-link {
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.rpbc-post-link:hover {
    text-decoration: none !important;
}

.rpbc-category-name {
    font-weight: 600 !important;
}

.rpbc-separator {
    margin: 0 5px;
    color: #666;
    font-weight: normal;
}



/* Div-based list styling */
.rpbc-posts-list.rpbc-div-list .rpbc-post-item {
    display: block;
    position: relative;
    padding-left: 20px;
}

.rpbc-posts-list.rpbc-div-list .rpbc-post-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0073aa;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .rpbc-category-title {
        font-size: 16px;
    }
    
    .rpbc-post-item {
        margin-bottom: 6px;
    }
}

/* Footer shortcode styling */
.rpbc-footer-container {
        padding: 5px;
    margin: 0;
    
}

.rpbc-footer-container .rpbc-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rpbc-footer-container .rpbc-post-item {
    margin-bottom: 0px;
    padding: 0px;
}

.rpbc-footer-container .rpbc-post-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size:14px
}

.rpbc-footer-container .rpbc-post-link:hover {
    text-decoration: underline;
}

.rpbc-footer-container .rpbc-category-name {
    color: #3498db;
    font-weight: 600;
	font-size:15px;
}

.rpbc-footer-container .rpbc-separator {
    margin: 0 5px;
    color: #ffffff;
    font-weight: normal;
}

/* Custom styling for different list types */
.rpbc-posts-list.rpbc-ordered-list {
    counter-reset: post-counter;
}

.rpbc-posts-list.rpbc-ordered-list .rpbc-post-item {
    counter-increment: post-counter;
    position: relative;
    padding-left: 25px;
}

.rpbc-posts-list.rpbc-ordered-list .rpbc-post-item:before {
    content: counter(post-counter) ".";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #0073aa;
} 