:root {
    --vp-primary: #2563eb;
    --vp-primary-hover: #1d4ed8;
    --vp-secondary: #64748b;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--vp-primary);
}

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

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: #475569;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    transition: all 0.2s;
}

.category-list a:hover {
    color: var(--vp-primary);
    padding-left: 5px;
}

.category-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
}

.tag-badge {
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 0.875rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.tag-badge:hover, .tag-badge.active-tag {
    background-color: var(--vp-primary);
    color: white !important;
    border-color: var(--vp-primary);
}

/* Common Post Cards */
.post-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.post-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .card-img-top {
    transform: scale(1.1);
}

.post-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--vp-primary);
    text-decoration: none;
}

.post-title {
    font-weight: 700;
    line-height: 1.3;
    margin: 0.5rem 0 1rem;
}

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

.post-title a:hover {
    color: var(--vp-primary);
}

.post-meta {
    font-size: 0.875rem;
    color: #64748b;
}

/* Utility Classes */
.hover-primary:hover {
    color: var(--vp-primary) !important;
}

.hover-white:hover {
    color: white !important;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Pagination */
.pagination .page-link {
    border: none;
    margin: 0 3px;
    border-radius: 8px !important;
    color: #475569;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background-color: var(--vp-primary);
    color: white;
}
