/* Recent Posts Custom Widget Styling - Updated */
.recent-posts-custom-widget,
.recent-posts-custom-shortcode {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    max-width: 100%;
}

.recent-posts-custom-widget .widget-title,
.recent-posts-custom-shortcode .widget-title {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c5242e;
    letter-spacing: 0.5px;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.recent-post-item {
    position: relative;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-category {
    display: inline-block;
    background-color: #c5242e;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1;
}

.post-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600; /* Semi-bold */
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: #c5242e;
    text-decoration: underline;
}

.post-meta {
    display: block;
    font-size: 11px;
    color: #888888;
    margin-top: 5px;
    font-weight: normal;
}

.post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
}

/* Remove the old post-date class styling */
.post-date {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .recent-posts-custom-widget .widget-title,
    .recent-posts-custom-shortcode .widget-title {
        font-size: 16px;
    }
    
    .post-title {
        font-size: 14px;
    }
    
    .recent-post-item {
        padding-bottom: 20px;
    }
}