/* ==============================================
   WS Staff Card — ws-staff-card.css v1.0.0
   ============================================== */

/* ── Card wrapper ── */
.wssc-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wssc-card--lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

/* Invisible full-card link overlay */
.wssc-card__link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}

.wssc-card--linked {
    cursor: pointer;
}

/* ── Photo area ── */
.wssc-photo-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8f0f8;
    position: relative;
}

.wssc-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover effects */
.wssc-photo--zoom {
    transition: transform 0.45s ease, filter 0.4s ease;
}
.wssc-card--lift:hover .wssc-photo--zoom {
    transform: scale(1.05);
}

.wssc-photo--grayscale {
    filter: grayscale(0);
}
.wssc-card--lift:hover .wssc-photo--grayscale {
    filter: grayscale(100%);
}

/* Placeholder when no photo set */
.wssc-photo-placeholder {
    width: 100%;
    height: 100%;
    background: #dce8f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wssc-photo-placeholder svg {
    width: 60%;
    height: 60%;
    opacity: 0.35;
}

/* ── Content area ── */
.wssc-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ── Name ── */
.wssc-name {
    font-family: 'Lexend', var(--bsl-font-heading, sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: #1E5B8F;
    line-height: 1.3;
    margin: 0 0 6px;
    padding: 0;
}

/* ── Role ── */
.wssc-role {
    font-family: 'Open Sans', var(--bsl-font-body, sans-serif);
    font-size: 14px;
    font-weight: 400;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

/* ── Bio ── */
.wssc-bio {
    font-family: 'Open Sans', var(--bsl-font-body, sans-serif);
    font-size: 13px;
    font-weight: 400;
    color: #777777;
    line-height: 1.6;
    margin: 8px 0 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .wssc-photo-wrap {
        height: 220px;
    }

    .wssc-name {
        font-size: 16px;
    }

    .wssc-role {
        font-size: 13px;
    }
}
