.elites-archive-intro {
    position: relative;
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    background:
        linear-gradient(135deg, #f8fbff 0%, #ffffff 45%, #eff6ff 100%);
    box-shadow:
        0 1px 0 rgb(255 255 255 / 0.9) inset,
        0 10px 28px rgb(37 99 235 / 0.08);
}

.elites-archive-intro__glow {
    position: absolute;
    inset: -3rem auto auto -2rem;
    width: 12rem;
    height: 12rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgb(59 130 246 / 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.elites-archive-intro__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.25rem;
    padding: 1.15rem 1.2rem;
}

@media (min-width: 768px) {
    .elites-archive-intro__inner {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: center;
        gap: 1.5rem;
        padding: 1.35rem 1.5rem;
    }
}

.elites-archive-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
}

.elites-archive-intro__eyebrow-icon {
    display: inline-flex;
    width: 1.1rem;
    height: 1.1rem;
}

.elites-archive-intro__eyebrow-icon svg {
    width: 100%;
    height: 100%;
}

.elites-archive-intro__title {
    margin: 0;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 800;
    line-height: 1.5;
    color: #0f172a;
}

.elites-archive-intro__text {
    margin: 0.55rem 0 0;
    max-width: 40rem;
    font-size: 0.875rem;
    line-height: 1.85;
    color: #475569;
}

.elites-archive-intro__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.elites-archive-intro__stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 5.25rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: rgb(255 255 255 / 0.88);
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.elites-archive-intro__stat--total {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.elites-archive-intro__stat--public {
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
}

.elites-archive-intro__stat-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    color: #2563eb;
    background: #eff6ff;
}

.elites-archive-intro__stat--public .elites-archive-intro__stat-icon {
    color: #4f46e5;
    background: #eef2ff;
}

.elites-archive-intro__stat-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.elites-archive-intro__stat-meta {
    min-width: 0;
}

.elites-archive-intro__stat-value {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.elites-archive-intro__stat-label {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.45;
    color: #64748b;
}

.hide-scrollbar {
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.expert-modal-scroll {
    max-height: 350px;
    overflow: auto;
    scrollbar-width: thin;
}

.expert-modal-scroll::-webkit-scrollbar {
    width: 6px;
}

.expert-modal-scroll::-webkit-scrollbar-thumb {
    background: rgb(148 163 184);
    border-radius: 6px;
}

/* کارت نخبه — مطابق pure-version expert-search */
.expert-card {
    text-decoration: none;
    color: inherit;
}

.expert-card:hover .rounded-lg {
    border-color: rgb(147 197 253);
}

.expert-card.is-selected .rounded-lg {
    border-color: rgb(37 99 235);
    box-shadow: 0 0 0 2px rgb(59 130 246 / 0.35);
}

.expert-card.is-selected .rounded-lg .ring-blue-500 {
    --tw-ring-color: rgb(37 99 235);
}
