/* 下拉菜单样式修复 */
.navbar-item.has-dropdown {
    position: relative;
}

.navbar-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin-top: 0;
}

.navbar-item.has-dropdown:hover .navbar-dropdown {
    display: block;
}

.navbar-dropdown a.navbar-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-dropdown a.navbar-item:hover {
    background-color: #f5f5f5;
    color: #000;
}

.navbar-dropdown a.navbar-item.is-active {
    background-color: #e6e6e6;
    color: #000;
}

/* 文章分类组件样式 */
.article-categories {
    background-color: #fff;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

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

.category-item {
    margin: 0.5rem 0;
    transition: transform 0.2s ease;
}

.category-item:hover {
    transform: translateX(5px);
}

.category-item.current {
    font-weight: 600;
}

.category-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    background-color: #f9f9f9;
    border-radius: 4px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.category-link:hover {
    background-color: #f0f0f0;
    color: #000;
    border-left-color: #ff6600;
}

.category-item.current .category-link {
    background-color: #fff5f0;
    border-left-color: #ff6600;
    color: #ff6600;
}

/* 错误提示样式 */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    text-align: center;
    font-size: 16px;
}

.alert.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.no-categories {
    padding: 2rem;
    text-align: center;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 4px;
    font-style: italic;
}