.course-instructor {
    display: flex;
    align-items: flex-start;
    gap: .55em;
    min-width: 0;
    font-size: inherit;
    line-height: 1.6;
}
.course-instructor-byline {
    min-width: 0;
    overflow-wrap: anywhere;
}
.course-instructor-label {
    color: #90969e;
    font-weight: 400;
    white-space: nowrap;
}
.course-instructor-name {
    font-size: inherit;
    font-weight: 700;
}
.course-instructor-bio {
    display: flex;
    flex: 1 1 0;
    flex-wrap: wrap;
    align-content: flex-start;
    min-width: 0;
    height: 1.6em;
    overflow: hidden;
}
/* An oversized first group also wraps below the visible line. */
.course-instructor-bio::before {
    content: "";
    flex: 0 0 0;
    height: 1.6em;
}
.course-instructor-group {
    flex: none;
    white-space: pre;
}
.course-body .course-instructor-name {
    color: var(--ink, #172b49);
}
.detail-hero .detail-footer.has-instructor {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
}
.detail-footer .course-instructor-label {
    color: #919ba8;
}
.detail-footer .course-instructor-name {
    color: #fff;
}
@media (max-width: 680px) {
    .detail-hero .detail-footer.has-instructor {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0 12px;
    }
    .detail-footer.has-instructor .course-instructor {
        grid-row: 2;
        grid-column: 1 / -1;
    }
    .detail-footer.has-instructor .favorite-icon-button {
        grid-column: 2;
        grid-row: 1;
        /* Keep the 44px tap target without making the text row 44px tall. */
        margin-block: -12px;
        z-index: 1;
    }
    .site-frontend .detail-hero .detail-footer.has-instructor {
        padding-bottom: .2em;
    }
    .mini-course-detail .detail-hero .detail-footer.has-instructor {
        padding-top: 16px;
        padding-bottom: 5px;
    }
}
