/* Blog Sidebar Styles */

.blog-widget {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #007bff;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Recent Posts List */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

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

.recent-post-item:hover {
    padding-left: 10px;
}

.recent-post-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.recent-post-link:hover .post-title {
    color: #007bff;
}

.post-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-date {
    font-size: 12px;
    color: #999;
    display: block;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background: #007bff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .blog-widget {
        background: #2c3e50;
        color: #fff;
    }

    .widget-title {
        color: #fff;
    }

    .post-title {
        color: #f0f0f0;
    }

    .recent-post-item {
        border-bottom-color: #444;
    }

    .tag-badge {
        background: transparent;
        color: #00bfff;
        border-color: #00bfff;
    }

    .tag-badge:hover {
        background: #00bfff;
        color: #2c3e50;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .blog-widget {
        padding: 20px;
    }

    .widget-title {
        font-size: 16px;
    }

    .post-title {
        font-size: 13px;
    }

    .tag-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
}
