/* بخش فیلترهای جستجو */
.search-filter-container {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #3a4150;
    margin-bottom: 40px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.filter-select {
    background-color: var(--bg-dark);
    color: white;
    border: 1px solid #3a4150;
    padding: 12px;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

.btn-search-main {
    background-color: #007bff; /* آبی مطابق تصویر اصلی برای جستجو */
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-search-main:hover { background-color: #0056b3; }

/* گرید ۳ ستونه وکلا */
.experts-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* استایل کارت وکیل */
.expert-profile-card {
    background-color: var(--card-bg);
    border: 1px solid #3a4150;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.expert-profile-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.expert-meta h3 { color: var(--text-light); font-size: 18px; margin-bottom: 5px; }
.expert-meta .title { color: var(--text-dim); font-size: 13px; margin-bottom: 10px; }
.expert-meta .address, .expert-meta .next-nubat { font-size: 12px; color: #ccc; margin-bottom: 5px; line-height: 1.6; }
.expert-meta a { color: var(--blue); text-decoration: none; }

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.price-tag {
    background-color: rgba(91, 178, 255, 0.1);
    color: var(--blue);
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    font-size: 13px;
    margin-bottom: 20px;
}

.price-tag span { font-weight: bold; color: #52ffaf; } /* سبز برای قیمت */

.expert-bio {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 25px;
    flex-grow: 1; /* برای هم تراز شدن دکمه ها */
}

/* دکمه درخواست مشاوره */
.btn-blue-action {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.btn-blue-action:hover { background-color: #0056b3; }

/* واکنش‌گرایی */
@media (max-width: 1100px) {
    .experts-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .filter-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .experts-grid-3, .filter-row { grid-template-columns: 1fr; }
}
