.expert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.expert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid #dceaf7;
    border-radius: 26px;
    padding: 28px 22px 22px;
    box-shadow: 0 12px 34px rgba(8, 42, 90, 0.06);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(8, 42, 90, 0.12);
    color: inherit;
}

.expert-card__avatar {
    position: relative;
    width: 112px;
    height: 112px;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.expert-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid #e8f2fc;
    box-shadow: 0 8px 24px rgba(11, 99, 199, 0.12);
    background: #f4f8fd;
}

.expert-card__avatar-fallback {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #0b63c7;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    border: 3px solid #e8f2fc;
    box-shadow: 0 8px 24px rgba(11, 99, 199, 0.12);
}

.expert-card__avatar--default .expert-card__avatar-fallback {
    display: flex;
}

.expert-card__body {
    width: 100%;
}

.expert-card h3 {
    margin: 0;
    color: #0b376f;
    font-size: 22px;
    font-weight: 700;
}

.expert-name-en {
    color: #5f7188;
    font-weight: 500;
}

.expert-card__tags {
    justify-content: center;
    margin: 10px 0 0;
}

.expert-card p {
    color: #5f7188;
    line-height: 1.75;
    margin: 8px 0 0;
}

.profile-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
    background: #fff;
    border: 1px solid #dceaf7;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 12px 34px rgba(8, 42, 90, 0.06);
}

.profile-card__avatar {
    position: relative;
    width: 220px;
    height: 220px;
}

.profile-card__avatar img,
.profile-card__avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid #e8f2fc;
    box-shadow: 0 8px 24px rgba(11, 99, 199, 0.12);
    background: #f4f8fd;
}

.profile-card__avatar-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #0b63c7;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.profile-card__avatar--default .profile-card__avatar-fallback {
    display: flex;
}

.expert-detail-content {
    color: #334155;
    line-height: 1.85;
    white-space: pre-line;
}

.profile-card .eyebrow {
    display: inline-block;
    color: #0b63c7;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .expert-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        grid-template-columns: 1fr;
    }

    .profile-card__avatar {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
    }
}
