/* Блоки с контентом в сайдбаре */
.sidebar-recent,
.sidebar-popular {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.sidebar-recent h3,
.sidebar-popular h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-recent h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 1px;
}

.sidebar-popular h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

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

.sidebar-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li:hover {
    background: rgba(107, 70, 193, 0.05);
    padding-left: 0.5rem;
    border-radius: 8px;
}

.sidebar-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-list a::before {
    content: "•";
    color: var(--primary-color);
    margin-right: 0.5rem;
    opacity: 0.7;
}

.sidebar-list a:hover {
    color: var(--primary-color);
    font-weight: 500;
}

.sidebar-recent .sidebar-list a:hover {
    color: #28a745;
}
