.experts-page {
    background: #f6f8fb;
}

.experts-page .experts-page__banner {
    background-image: linear-gradient(rgba(0, 33, 71, 0.38), rgba(0, 33, 71, 0.55)), url('/img/banner/5.jpg');
    background-position: center;
    background-size: cover;
}

.experts-page .experts-page__content {
    padding: 64px 0 76px;
}

.experts-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 38px;
    padding: 22px;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 33, 71, 0.08);
}

.experts-filter__field label {
    display: block;
    margin-bottom: 7px;
    color: #002147;
    font-size: 13px;
    font-weight: 700;
}

.experts-filter__field .form-control {
    height: 46px;
    border-color: #d5dde8;
    border-radius: 6px;
    background-color: #fbfcfe;
    box-shadow: none;
}

.experts-filter__field .form-control:focus {
    border-color: #fdc800;
    box-shadow: 0 0 0 3px rgba(253, 200, 0, 0.18);
}

.experts-page .experts-filter__submit {
    min-width: 150px;
    height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 6px;
    line-height: 46px;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.expert-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 33, 71, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(0, 33, 71, 0.15);
}

.expert-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #dfe7f1;
}

.expert-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 300ms ease;
}

.expert-card:hover .expert-card__image {
    transform: scale(1.035);
}

.expert-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.expert-card__name {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.25;
}

.expert-card__name a {
    color: #002147;
}

.expert-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 17px;
}

.expert-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf3fa;
    color: #31506f;
    font-size: 12px;
    line-height: 1.2;
}

.expert-card__meta .fa {
    color: #d5a900;
}

.expert-card__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
    color: #52677d;
}

.expert-card__stars {
    color: #f0b900;
    letter-spacing: 2px;
}

.expert-card__profile {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 17px;
    color: #002147;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.expert-card__profile:hover,
.expert-card__name a:hover {
    color: #c89f00;
}

.experts-page__empty {
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 991px) {
    .experts-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .experts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .experts-page .experts-page__content {
        padding: 40px 0 52px;
    }

    .experts-filter,
    .experts-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .experts-filter {
        gap: 14px;
        margin-bottom: 26px;
        padding: 18px;
    }

    .experts-page .experts-filter__submit {
        width: 100%;
    }

    .expert-card__body {
        padding: 19px;
    }
}
