/* =============================================================================
   Staff by Branch — card styles
   ============================================================================= */

.sbb-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

/* --- Card --- */

.sbb-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
}

.sbb-card:first-child {
    border-top: 1px solid #e8e8e8;
}

/* --- Photo --- */

.sbb-photo {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
}
.sbb-photo img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50% !important;
    border: 2px solid #928888 !important;
    display: block;
}

.sbb-photo-placeholder {
    width: 90px;
    height: 90px;
    background: #e0e0e0;
    border-radius: 50%;
    border: 1px solid #928888;
}
/* --- Details --- */

.sbb-details {
    flex: 1;
    min-width: 0;
}

.sbb-details .sbb-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 4px;
    line-height: 1.3;
}

.sbb-details .sbb-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e85d1e; /* brand orange */
    margin: 0 0 10px;
    line-height: 1.3;
}

/* --- Contact list --- */

.sbb-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sbb-contact-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #5bb8d4; /* light blue — matches screenshot */
    text-decoration: none;
    line-height: 1.3;
}

.sbb-contact-item a:hover {
    color: #e85d1e;
    text-decoration: underline;
}

.sbb-icon {
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
}

/* --- Responsive --- */

@media ( max-width: 480px ) {
    .sbb-card {
        gap: 12px;
    }
    .sbb-photo,
    .sbb-photo img {
        width: 72px;
        height: 72px;
        flex: 0 0 72px;
    }
    .sbb-details .sbb-name {
        font-size: 1rem;
    }
}
