/*
 * Expert profile cards, shared by every signup theme (Templates/twig/modules/signup/experts.twig).
 * Loaded before the per-award theme CSS, so a theme can override --expert-accent to match its
 * own brand color (see the ".expert-card" rule near the top of each Theme/Register/<name>.css).
 */

.expert-card {
    --expert-accent: #0d6efd;
    height: 100%;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
    transition: box-shadow .15s ease, transform .15s ease;
}

.expert-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

.expert-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
}

.expert-edit-btn {
    align-self: flex-end;
    margin-bottom: 10px;
}

.expert-avatar {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #eaeaea;
    margin-bottom: 14px;
}

.expert-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 2px;
}

.expert-email {
    font-size: 14px;
    margin-bottom: 12px;
    word-break: break-word;
}

.expert-email a {
    color: var(--expert-accent);
    text-decoration: none;
}

.expert-email a:hover {
    text-decoration: underline;
}

.expert-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.expert-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #f1f3f5;
    color: #495057;
    font-size: 15px;
    transition: background-color .15s ease, color .15s ease;
}

.expert-social a:hover {
    background-color: var(--expert-accent);
    color: #ffffff;
}

.expert-bio {
    font-size: 14px;
    line-height: 1.5;
    color: #6c757d;
    text-align: left;
    width: 100%;
    margin-bottom: 0;
}
