﻿.wiki-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

    .wiki-hero::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: url('/img/wiki/pattern.svg') no-repeat center;
        background-size: contain;
        opacity: 0.1;
    }

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border-radius: 50px;
    padding: 15px 60px 15px 25px;
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    font-size: 16px;
    width: 100%;
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    border: none;
    background: var(--rz-primary, #007bff);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

    .search-button:hover {
        background: var(--rz-primary-darker, #0056b3);
        transform: translateY(-50%) scale(1.05);
    }

.category-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--category-color, #007bff);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .category-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    }

        .category-card:hover::before {
            transform: scaleX(1);
        }

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--category-color, #007bff);
}

.article-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

    .article-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        border-color: var(--rz-primary, #007bff);
    }

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.tag {
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #495057;
    border: 1px solid #e9ecef;
}

.stats-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--rz-primary, #007bff);
    margin-bottom: 10px;
}

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
}

    .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
        content: "→";
        color: #6c757d;
    }

.quick-links {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid var(--rz-primary, #007bff);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .wiki-hero {
        border-radius: 12px;
    }

    .category-card {
        margin-bottom: 20px;
    }

    .search-input {
        padding: 12px 50px 12px 20px;
        font-size: 14px;
    }
}
