.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
}

.content-area {
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
    padding: 1.5rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.sidebar-widget {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #3b82f6;
}

.widget-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #3b82f6;
}

/* Categories Widget */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #111827;
}

.category-item:hover {
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
}

.category-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-count {
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
}

.category-arrow {
    width: 1rem;
    height: 1rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.category-item:hover .category-arrow {
    transform: translateX(2px);
    color: #3b82f6;
}
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.category-item:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.category-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.no-icon .category-info {
    padding-left: 0.5rem;
}

.category-icon {
    width: 2rem;
    height: 2rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    transition: all 0.2s ease;
}

.category-item:hover .category-icon {
    background: #3b82f6;
    color: #ffffff;
}

.category-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
}

.category-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.category-item:hover .category-count {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.category-arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.category-item:hover .category-arrow {
    color: #3b82f6;
    transform: translateX(4px);
}

/* Subscribe Widget */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.9375rem;
    color: #1f2937;
    transition: all 0.2s ease;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.subscribe-form button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.subscribe-form button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.subscribe-form button:active {
    transform: translateY(0);
}

.subscribe-form button svg {
    width: 1.25rem;
    height: 1.25rem;
}

.subscribe-message {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.subscribe-message.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.subscribe-message.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 0.8125rem;
    color: #4b5563;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        padding: 1rem;
        border-radius: 16px;
    }

    .sidebar-widget {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .category-item {
        padding: 0.75rem;
    }

    .category-icon {
        width: 1.75rem;
        height: 1.75rem;
        padding: 0.375rem;
    }

    .tag-cloud {
        gap: 0.375rem;
    }

    .tag-item {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }
}