/* ====== صفحة الخبراء ====== */
.experts-page p {
    color: var(--text-muted);
}

.experts-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 40px 0 48px;
    padding: 10px 20px;
    background-color: var(--mint-bg);
    border-radius: 6px;
    font-size: 14px;
}

.experts-breadcrumb a {
    color: var(--text-dark);
    text-decoration: none;
}

.experts-breadcrumb .bi-house-fill {
    color: var(--green-color);
}

.experts-breadcrumb .sep {
    color: var(--text-muted);
}

.experts-breadcrumb .current {
    color: var(--green-color);
    font-weight: 600;
}

.experts-grid {
    row-gap: 40px !important;
}

.experts-empty {
    padding: 48px 0;
}

.experts-join {
    margin: 80px 0;
}

.experts-join .join-banner h2 {
    color: #fff !important;
    text-align: start;
    font-size: 32px;
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .experts-breadcrumb {
        margin: 24px 0 28px;
    }

    .experts-grid {
        row-gap: 20px !important;
    }

    .experts-join {
        margin: 48px 0;
    }

    .experts-join .join-banner h2 {
        font-size: 24px;
    }
}

/* ====== صفحة المختص ====== */
.expert-heading {
    font-size: 22px;
    font-weight: 700;
}

.expert-heading::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 8px;
    border-radius: 2px;
    background-color: #C7E36A;
}

.expert-profile {
    margin-bottom: 80px;
}

.expert-profile-card {
    max-width: 292px;
    margin-inline-start: auto;
    padding: 24px 24px 20px;
    text-align: center;
    background-color: #fff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(42, 111, 43, .06);
}

.expert-profile-card .expert-photo {
    margin-bottom: 28px;
}

.expert-profile-card .btn-pill {
    min-width: 168px;
    padding: 10px 28px;
    font-size: 17px;
    font-weight: 700;
}

.expert-profile h1 {
    font-size: 40px;
    font-weight: 800;
    color: #1D3B2A;
    margin-bottom: 4px;
}

.expert-profile .expert-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--green-color);
    margin-bottom: 8px;
}

.expert-profile .tag {
    padding: 4px 20px;
    background-color: var(--mint-bg);
    font-weight: 400;
}

.expert-profile .expert-heading {
    text-align: start;
    margin-top: 40px;
    margin-bottom: 16px;
}

.expert-profile .expert-heading::after {
    width: 38px;
}

.expert-bio {
    max-width: 570px;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.expert-lists {
    margin-bottom: 120px;
}

.expert-list-card {
    height: 100%;
    padding: 32px 40px;
    background-color: var(--mint-bg);
    border-radius: 16px;
}

.expert-list-card .expert-heading {
    text-align: center;
    margin-bottom: 32px;
}

.expert-list-card .expert-heading::after {
    margin: 8px auto 0;
}

.expert-list-card ul {
    list-style: none;
    margin: 0 auto;
    padding: 0 40px;
}

.expert-list-card li {
    position: relative;
    padding-inline-start: 24px;
    margin-bottom: 20px;
}

.expert-list-card li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--green-color);
}

.expert-list-card strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
}

.expert-list-card li span {
    font-size: 13px;
    color: var(--text-muted);
}

.expert-areas {
    margin-bottom: 140px;
    text-align: center;
}

.expert-areas .expert-heading {
    margin-bottom: 28px;
}

.expert-areas .expert-heading::after {
    margin: 8px auto 0;
    background-color: #D9A441;
}

.expert-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.expert-chips span {
    padding: 6px 16px;
    font-size: 14px;
    color: var(--green-color);
    background-color: var(--mint-bg);
    border-radius: 6px;
}

@media (max-width: 767px) {
    .expert-profile {
        margin-bottom: 48px;
        text-align: center;
    }

    .expert-profile-card {
        margin-inline: auto;
    }

    .expert-profile h1 {
        font-size: 30px;
    }

    .expert-profile .expert-title {
        font-size: 20px;
    }

    .expert-profile .expert-heading {
        text-align: center;
    }

    .expert-profile .expert-heading::after {
        margin-inline: auto;
    }

    .expert-lists {
        margin-bottom: 64px;
    }

    .expert-list-card {
        padding: 24px 20px;
    }

    .expert-list-card ul {
        padding: 0;
    }

    .expert-areas {
        margin-bottom: 72px;
    }

    .expert-chips {
        gap: 10px;
    }
}

/* أزرار الفلترة: الكل / أطباء نفسيون / معالجون نفسيون */
.experts-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -16px 0 32px;
}

.experts-filter a {
    padding: 8px 18px;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    background-color: #fff;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.experts-filter a:hover {
    border-color: var(--green-color);
    color: var(--green-color);
}

.experts-filter a.active {
    border-color: var(--green-color);
    background-color: var(--green-color);
    color: #fff;
}

/* نوع المختص بصفحته */
.expert-type-inline {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--green-color);
    font-size: 14px;
    font-weight: 700;
}
