/* ══════════════════════════════════════════════════
   EXPERT CARD COMPONENT — jlstanconsulting.com
   Shared across 7 pages (6 full + 1 compact)
   ══════════════════════════════════════════════════ */

.expert-card-section {
    padding: 3rem 0;
    background: var(--cream, #f8f5ef);
}
.expert-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--navy, #0b1929);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(201,165,78,.2);
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
.expert-card__photo-wrapper {
    flex-shrink: 0;
}
.expert-card__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    border: 3px solid rgba(201,165,78,.5);
    box-shadow: 0 0 0 6px rgba(201,165,78,.08);
}
.expert-card__content {
    flex: 1;
}
.expert-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .3rem;
}
.expert-card__name span {
    color: var(--gold, #c9a54e);
}
.expert-card__baseline {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    margin: 0 0 .5rem;
    font-weight: 400;
}
.expert-card__credentials {
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    margin: 0 0 1.2rem;
    line-height: 1.5;
    letter-spacing: .2px;
}
.expert-card__actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}
.expert-card__btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.2rem;
    border-radius: 30px;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .3s, background .3s, color .3s;
    letter-spacing: .3px;
}
.expert-card__btn svg {
    flex-shrink: 0;
}
.expert-card__btn--linkedin {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.75);
}
.expert-card__btn--linkedin svg {
    fill: #0A66C2;
}
.expert-card__btn--linkedin:hover {
    border-color: rgba(201,165,78,.5);
    color: #fff;
    background: rgba(201,165,78,.08);
}
.expert-card__btn--contact {
    background: var(--gold, #c9a54e);
    border: 1px solid var(--gold, #c9a54e);
    color: var(--navy, #0b1929);
    font-weight: 600;
}
.expert-card__btn--contact:hover {
    background: #ddb963;
    border-color: #ddb963;
}

/* ── COMPACT VARIANT (blog-weka) ── */
.expert-card--compact {
    padding: 1.5rem 2rem;
    gap: 1.2rem;
}
.expert-card__photo--sm {
    width: 72px;
    height: 72px;
    border-width: 2px;
}
.expert-card__name--sm {
    font-size: 1.1rem;
}
.expert-card--compact .expert-card__credentials {
    display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .expert-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.2rem;
    }
    .expert-card__actions {
        justify-content: center;
    }
    .expert-card--compact {
        flex-direction: row;
        text-align: left;
        padding: 1.2rem;
    }
    .expert-card--compact .expert-card__actions {
        justify-content: flex-start;
    }
}
