/**
 * Doctor profile — related doctors (reuses doctor-other-branches component)
 *
 * @package aldoctorz-theme
 */

/* Shares all card/grid styles from doctor-other-branches.css */

.doctor-related-doctors-wrap {
    padding: 0;
    margin-top: 1.25rem;
}

.doctor-related-doctors .doctor-other-branches__panel {
    margin-bottom: 0;
}

.doctor-related-doctors__empty {
    margin: 0;
    text-align: center;
}

/* Related-doctors cards: doctor photo + name */
.doctor-related-doctors .doctor-other-branches__card-link {
    flex-direction: column;
    align-items: stretch;
}

.doctor-related-doctors__card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.doctor-related-doctors__avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(52, 195, 219, 0.35);
    background: #f1f5f9;
}

.doctor-related-doctors__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-related-doctors__name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0a305e;
    line-height: 1.35;
    text-align: start;
}

[dir="rtl"] .doctor-related-doctors__name {
    text-align: right;
}

.doctor-related-doctors__name .dr-prefix {
    font-weight: 700;
}

@media (max-width: 575px) {
    .doctor-related-doctors .doctor-other-branches__cta {
        align-self: flex-start;
        margin-top: 0.35rem;
    }
}