.instructors-notes ul {
    margin-bottom: 1.5rem;
}

.instructors-card {
    min-height: 350px;
    scroll-margin-top: 1rem;
}

.instructors-card-image {
    width: 100%;
    height: auto;
}

.instructors-status {
    display: inline-flex;
    vertical-align: middle;
}

.instructors-status-yes {
    color: #198754;
}

.instructors-status-contact {
    color: #ffc107;
}

.instructors-matrix {
    margin-top: 1rem;
    scroll-margin-top: 1rem;
}

.instructors-matrix-table td,
.instructors-matrix-table th {
    vertical-align: middle;
}

.instructors-matrix-table tbody th {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .instructors-card {
        min-height: 0;
    }

    .instructors-card-image {
        max-height: 320px;
        object-fit: cover;
    }
}
